{"modulePath":"github.com/docker/compose-cli","version":"v1.0.35","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package client\n\n## Functions\n\n```go\nfunc GetCloudService(ctx context.Context, backendType string) (cloud.Service, error)\n```\nGetCloudService returns a backend CloudService (typically login, create context)\n\n## Types\n\n```go\ntype Client struct {\n\t// contains filtered or unexported fields\n}\n```\nClient is a multi-backend client\n\n```go\nfunc New(ctx context.Context) (*Client, error)\n```\nNew returns a backend client associated with current context\n\n```go\nfunc NewClient(backendType string, service backend.Service) Client\n```\nNewClient returns new client\n\n```go\nfunc (c *Client) ComposeService() api.Service\n```\nComposeService returns the backend service for the current context\n\n```go\nfunc (c *Client) ContainerService() containers.Service\n```\nContainerService returns the backend service for the current context\n\n```go\nfunc (c *Client) ContextType() string\n```\nContextType the context type associated with backend\n\n```go\nfunc (c *Client) ResourceService() resources.Service\n```\nResourceService returns the backend service for the current context\n\n```go\nfunc (c *Client) SecretsService() secrets.Service\n```\nSecretsService returns the backend service for the current context\n\n```go\nfunc (c *Client) VolumeService() volumes.Service\n```\nVolumeService returns the backend service for the current context\n\n","path":"github.com/docker/compose-cli/api/client","name":"client","synopsis":"","isRedistributable":true}
