io.alauda.client.IServiceClient Maven / Gradle / Ivy
package io.alauda.client;
import io.alauda.model.ServiceCreatePayload;
import io.alauda.model.ServiceDetails;
import io.alauda.model.ServiceUpdatePayload;
import java.io.IOException;
public interface IServiceClient {
ServiceDetails retrieveService(String serviceID) throws IOException;
ServiceDetails retrieveService(String serviceName, String clusterName, String namespace, String projectName) throws IOException;
String createService(ServiceCreatePayload payload) throws IOException;
String updateService(String serviceID, ServiceUpdatePayload payload) throws IOException;
String updateService(String serviceName, String clusterName, String namespace, String projectName, ServiceUpdatePayload payload) throws IOException;
void deleteService(String serviceID) throws IOException;
void deleteService(String serviceName, String clusterName, String namespace, String projectName) throws IOException;
void startService(String serviceID) throws IOException;
void startService(String serviceName, String clusterName, String namespace, String projectName) throws IOException;
void stopService(String serviceID) throws IOException;
void stopService(String serviceName, String clusterName, String namespace, String projectName) throws IOException;
void rollbackService(String serviceID) throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy