Documentation ¶
Index ¶
- type Client
- func (c *Client) CertificateInstall(cert model.Certificate) error
- func (c *Client) CertificateInstallInGrid(grid string, cert model.Certificate) error
- func (c *Client) CreateSecretsImport(stack, path string, currentSecrets []model.Secret) (map[string]string, error)
- func (c *Client) CurrentCertificates() ([]string, error)
- func (c *Client) CurrentGrid() Grid
- func (c *Client) CurrentMaster() Master
- func (c *Client) DeployCertificateInGrid(grid string, cert model.Certificate, bundle string) error
- func (c *Client) EnsureMasterLogin() error
- func (c *Client) GridUse(grid string) error
- func (c *Client) MasterLogin(masterURL, token string) error
- func (c *Client) RegistryAdd(registry model.Registry) error
- func (c *Client) RegistryAddToGrid(grid string, registry model.Registry) error
- func (c *Client) RegistryExists(name string) (bool, error)
- func (c *Client) RegistryExistsInGrid(grid, name string) (bool, error)
- func (c *Client) RegistryList() ([]string, error)
- func (c *Client) RegistryListInGrid(grid string) ([]string, error)
- func (c *Client) RegistryRemove(name string) error
- func (c *Client) RegistryRemoveFromGrid(grid, name string) error
- func (c *Client) SecretExists(name, stack string) bool
- func (c *Client) SecretExistsInGrid(grid, name, stack string) bool
- func (c *Client) SecretList() ([]model.Secret, error)
- func (c *Client) SecretListInGrid(grid string) ([]model.Secret, error)
- func (c *Client) SecretRemove(secret string) error
- func (c *Client) SecretRemoveFromGrid(grid, secret string) error
- func (c *Client) SecretValue(name string) (string, error)
- func (c *Client) SecretValueInGrid(grid, name string) (string, error)
- func (c *Client) SecretWrite(secret, value string) error
- func (c *Client) SecretWriteToGrid(grid, secret, value string) error
- func (c *Client) SecretsImportInGrid(secrets map[string]string) error
- func (c *Client) ServiceCreate(name string, service model.KontenaService) error
- func (c *Client) ServiceCreateInGrid(grid, name string, service model.KontenaService) error
- func (c *Client) ServiceDeploy(service string) error
- func (c *Client) ServiceDeployInGrid(grid, service string) error
- func (c *Client) ServiceExec(service, command string) ([]byte, error)
- func (c *Client) ServiceExecCommand(service, command string) *exec.Cmd
- func (c *Client) ServiceExecInGrid(grid, service, command string) ([]byte, error)
- func (c *Client) ServiceExecInGridCommand(grid, service, command string) *exec.Cmd
- func (c *Client) ServiceExists(stack, service string) (bool, error)
- func (c *Client) ServiceExistsInGrid(grid, stack, service string) (bool, error)
- func (c *Client) ServiceInStackDeploy(stack, service string) error
- func (c *Client) ServiceInStackExec(stack, service, command string) ([]byte, error)
- func (c *Client) ServiceInStackExecCommand(stack, service, command string) *exec.Cmd
- func (c *Client) ServiceInStackInGridDeploy(grid, stack, service string) error
- func (c *Client) ServiceInStackInGridExec(grid, stack, service, command string) ([]byte, error)
- func (c *Client) ServiceInStackInGridExecCommand(grid, stack, service, command string) *exec.Cmd
- func (c *Client) ServiceInStackInGridLogs(grid, stack, service string) (string, error)
- func (c *Client) ServiceInStackLogs(stack, service string) (string, error)
- func (c *Client) ServiceList() ([]string, error)
- func (c *Client) ServiceListInGrid(grid string) ([]string, error)
- func (c *Client) ServiceLogs(service string) (string, error)
- func (c *Client) ServiceRemove(service string) error
- func (c *Client) StackDeploy(name string) error
- func (c *Client) StackDeployInGrid(grid, name string) error
- func (c *Client) StackExists(stack string) bool
- func (c *Client) StackExistsInGrid(grid, stack string) bool
- func (c *Client) StackInstall(stack model.KontenaStack) error
- func (c *Client) StackInstallInGrid(grid string, stack model.KontenaStack) error
- func (c *Client) StackInstallOrUpgrade(stack model.KontenaStack) error
- func (c *Client) StackInstallOrUpgradeInGrid(grid string, stack model.KontenaStack) error
- func (c *Client) StackList() ([]string, error)
- func (c *Client) StackListInGrid(grid string) ([]string, error)
- func (c *Client) StackRemove(name string) error
- func (c *Client) StackRemoveFromGrid(grid, name string) error
- func (c *Client) StackUpgrade(stack model.KontenaStack) error
- func (c *Client) StackUpgradeInGrid(grid string, stack model.KontenaStack) error
- type Grid
- type Master
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client ...
func (*Client) CertificateInstall ¶
func (c *Client) CertificateInstall(cert model.Certificate) error
CertificateInstall ...
func (*Client) CertificateInstallInGrid ¶
func (c *Client) CertificateInstallInGrid(grid string, cert model.Certificate) error
CertificateInstallInGrid ...
func (*Client) CreateSecretsImport ¶
func (c *Client) CreateSecretsImport(stack, path string, currentSecrets []model.Secret) (map[string]string, error)
CreateSecretsImport ...
func (*Client) CurrentCertificates ¶
CurrentCertificates ...
func (*Client) DeployCertificateInGrid ¶
DeployCertificateInGrid ...
func (*Client) MasterLogin ¶
MasterLogin ...
func (*Client) RegistryAdd ¶
RegistryAdd ...
func (*Client) RegistryAddToGrid ¶
RegistryAddToGrid ...
func (*Client) RegistryExists ¶
RegistryExists ...
func (*Client) RegistryExistsInGrid ¶
RegistryExistsInGrid ...
func (*Client) RegistryListInGrid ¶
RegistryListInGrid ...
func (*Client) RegistryRemove ¶
RegistryRemove ...
func (*Client) RegistryRemoveFromGrid ¶
RegistryRemoveFromGrid ...
func (*Client) SecretExists ¶
SecretExists ...
func (*Client) SecretExistsInGrid ¶
SecretExistsInGrid ...
func (*Client) SecretListInGrid ¶
SecretListInGrid ...
func (*Client) SecretRemoveFromGrid ¶
SecretRemoveFromGrid ...
func (*Client) SecretValue ¶
SecretValue ...
func (*Client) SecretValueInGrid ¶
SecretValueInGrid ...
func (*Client) SecretWrite ¶
SecretWrite ...
func (*Client) SecretWriteToGrid ¶
SecretWriteToGrid ...
func (*Client) SecretsImportInGrid ¶
SecretsImportInGrid ...
func (*Client) ServiceCreate ¶
func (c *Client) ServiceCreate(name string, service model.KontenaService) error
ServiceCreate ...
func (*Client) ServiceCreateInGrid ¶
func (c *Client) ServiceCreateInGrid(grid, name string, service model.KontenaService) error
ServiceCreateInGrid ...
func (*Client) ServiceDeploy ¶
ServiceDeploy ...
func (*Client) ServiceDeployInGrid ¶
ServiceDeployInGrid ...
func (*Client) ServiceExec ¶
ServiceExec ...
func (*Client) ServiceExecCommand ¶
ServiceExecCommand ...
func (*Client) ServiceExecInGrid ¶
ServiceExecInGrid ...
func (*Client) ServiceExecInGridCommand ¶
ServiceExecInGridCommand ...
func (*Client) ServiceExists ¶
ServiceExists ...
func (*Client) ServiceExistsInGrid ¶
ServiceExistsInGrid ...
func (*Client) ServiceInStackDeploy ¶
ServiceInStackDeploy ...
func (*Client) ServiceInStackExec ¶
ServiceInStackExec ...
func (*Client) ServiceInStackExecCommand ¶
ServiceInStackExecCommand ...
func (*Client) ServiceInStackInGridDeploy ¶
ServiceInStackInGridDeploy ...
func (*Client) ServiceInStackInGridExec ¶
ServiceInStackInGridExec ...
func (*Client) ServiceInStackInGridExecCommand ¶
ServiceInStackInGridExecCommand ...
func (*Client) ServiceInStackInGridLogs ¶
ServiceInStackInGridLogs ...
func (*Client) ServiceInStackLogs ¶
ServiceInStackLogs ...
func (*Client) ServiceListInGrid ¶
ServiceListInGrid ...
func (*Client) ServiceLogs ¶
ServiceLogs ...
func (*Client) ServiceRemove ¶
ServiceRemove ...
func (*Client) StackDeployInGrid ¶
StackDeployInGrid ...
func (*Client) StackExistsInGrid ¶
StackExistsInGrid ...
func (*Client) StackInstall ¶
func (c *Client) StackInstall(stack model.KontenaStack) error
StackInstall ...
func (*Client) StackInstallInGrid ¶
func (c *Client) StackInstallInGrid(grid string, stack model.KontenaStack) error
StackInstallInGrid ...
func (*Client) StackInstallOrUpgrade ¶
func (c *Client) StackInstallOrUpgrade(stack model.KontenaStack) error
StackInstallOrUpgrade ...
func (*Client) StackInstallOrUpgradeInGrid ¶
func (c *Client) StackInstallOrUpgradeInGrid(grid string, stack model.KontenaStack) error
StackInstallOrUpgradeInGrid ...
func (*Client) StackListInGrid ¶
StackListInGrid ...
func (*Client) StackRemoveFromGrid ¶
StackRemoveFromGrid ...
func (*Client) StackUpgrade ¶
func (c *Client) StackUpgrade(stack model.KontenaStack) error
StackUpgrade ...
func (*Client) StackUpgradeInGrid ¶
func (c *Client) StackUpgradeInGrid(grid string, stack model.KontenaStack) error
StackUpgradeInGrid ...