Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloadClient ¶
DownloadClient is an interface to resource-service.
func NewHTTPDownloadClient ¶
func NewHTTPDownloadClient(debug bool) DownloadClient
NewHTTPDownloadClient returns client for resource-service working via restful api
type KubeAPIClient ¶
type KubeAPIClient interface { GetUserDeployments(ctx context.Context, namespace, solutionName string) (*kube_types.DeploymentsList, error) GetUserServices(ctx context.Context, namespace, solutionName string) (*kube_types.ServicesList, error) }
KubeAPIClient is an interface to Kube-API.
func NewHTTPKubeAPIClient ¶
func NewHTTPKubeAPIClient(serverURL string, debug bool) KubeAPIClient
NewHTTPKubeAPIClient returns client for resource-service working via restful api
type ResourceClient ¶
type ResourceClient interface { CreateDeployment(ctx context.Context, namespace string, deployment kube_types.Deployment) error CreateService(ctx context.Context, namespace string, service kube_types.Service) error DeleteDeployments(ctx context.Context, namespace, solutionName string) error DeleteServices(ctx context.Context, namespace, solutionName string) error }
ResourceClient is an interface to resource-service.
func NewHTTPResourceClient ¶
func NewHTTPResourceClient(serverURL string, debug bool) ResourceClient
NewHTTPResourceClient returns client for resource-service working via restful api
Click to show internal directories.
Click to hide internal directories.