kontena

package
v0.0.0-...-59fe875 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

func (c *Client) CurrentCertificates() ([]string, error)

CurrentCertificates ...

func (*Client) CurrentGrid

func (c *Client) CurrentGrid() Grid

CurrentGrid ...

func (*Client) CurrentMaster

func (c *Client) CurrentMaster() Master

CurrentMaster ...

func (*Client) DeployCertificateInGrid

func (c *Client) DeployCertificateInGrid(grid string, cert model.Certificate, bundle string) error

DeployCertificateInGrid ...

func (*Client) EnsureMasterLogin

func (c *Client) EnsureMasterLogin() error

EnsureMasterLogin ...

func (*Client) GridUse

func (c *Client) GridUse(grid string) error

GridUse ...

func (*Client) MasterLogin

func (c *Client) MasterLogin(masterURL, token string) error

MasterLogin ...

func (*Client) RegistryAdd

func (c *Client) RegistryAdd(registry model.Registry) error

RegistryAdd ...

func (*Client) RegistryAddToGrid

func (c *Client) RegistryAddToGrid(grid string, registry model.Registry) error

RegistryAddToGrid ...

func (*Client) RegistryExists

func (c *Client) RegistryExists(name string) (bool, error)

RegistryExists ...

func (*Client) RegistryExistsInGrid

func (c *Client) RegistryExistsInGrid(grid, name string) (bool, error)

RegistryExistsInGrid ...

func (*Client) RegistryList

func (c *Client) RegistryList() ([]string, error)

RegistryList ...

func (*Client) RegistryListInGrid

func (c *Client) RegistryListInGrid(grid string) ([]string, error)

RegistryListInGrid ...

func (*Client) RegistryRemove

func (c *Client) RegistryRemove(name string) error

RegistryRemove ...

func (*Client) RegistryRemoveFromGrid

func (c *Client) RegistryRemoveFromGrid(grid, name string) error

RegistryRemoveFromGrid ...

func (*Client) SecretExists

func (c *Client) SecretExists(name, stack string) bool

SecretExists ...

func (*Client) SecretExistsInGrid

func (c *Client) SecretExistsInGrid(grid, name, stack string) bool

SecretExistsInGrid ...

func (*Client) SecretList

func (c *Client) SecretList() ([]model.Secret, error)

SecretList ...

func (*Client) SecretListInGrid

func (c *Client) SecretListInGrid(grid string) ([]model.Secret, error)

SecretListInGrid ...

func (*Client) SecretRemove

func (c *Client) SecretRemove(secret string) error

SecretRemove ...

func (*Client) SecretRemoveFromGrid

func (c *Client) SecretRemoveFromGrid(grid, secret string) error

SecretRemoveFromGrid ...

func (*Client) SecretValue

func (c *Client) SecretValue(name string) (string, error)

SecretValue ...

func (*Client) SecretValueInGrid

func (c *Client) SecretValueInGrid(grid, name string) (string, error)

SecretValueInGrid ...

func (*Client) SecretWrite

func (c *Client) SecretWrite(secret, value string) error

SecretWrite ...

func (*Client) SecretWriteToGrid

func (c *Client) SecretWriteToGrid(grid, secret, value string) error

SecretWriteToGrid ...

func (*Client) SecretsImportInGrid

func (c *Client) SecretsImportInGrid(secrets map[string]string) error

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

func (c *Client) ServiceDeploy(service string) error

ServiceDeploy ...

func (*Client) ServiceDeployInGrid

func (c *Client) ServiceDeployInGrid(grid, service string) error

ServiceDeployInGrid ...

func (*Client) ServiceExec

func (c *Client) ServiceExec(service, command string) ([]byte, error)

ServiceExec ...

func (*Client) ServiceExecCommand

func (c *Client) ServiceExecCommand(service, command string) *exec.Cmd

ServiceExecCommand ...

func (*Client) ServiceExecInGrid

func (c *Client) ServiceExecInGrid(grid, service, command string) ([]byte, error)

ServiceExecInGrid ...

func (*Client) ServiceExecInGridCommand

func (c *Client) ServiceExecInGridCommand(grid, service, command string) *exec.Cmd

ServiceExecInGridCommand ...

func (*Client) ServiceExists

func (c *Client) ServiceExists(stack, service string) (bool, error)

ServiceExists ...

func (*Client) ServiceExistsInGrid

func (c *Client) ServiceExistsInGrid(grid, stack, service string) (bool, error)

ServiceExistsInGrid ...

func (*Client) ServiceInStackDeploy

func (c *Client) ServiceInStackDeploy(stack, service string) error

ServiceInStackDeploy ...

func (*Client) ServiceInStackExec

func (c *Client) ServiceInStackExec(stack, service, command string) ([]byte, error)

ServiceInStackExec ...

func (*Client) ServiceInStackExecCommand

func (c *Client) ServiceInStackExecCommand(stack, service, command string) *exec.Cmd

ServiceInStackExecCommand ...

func (*Client) ServiceInStackInGridDeploy

func (c *Client) ServiceInStackInGridDeploy(grid, stack, service string) error

ServiceInStackInGridDeploy ...

func (*Client) ServiceInStackInGridExec

func (c *Client) ServiceInStackInGridExec(grid, stack, service, command string) ([]byte, error)

ServiceInStackInGridExec ...

func (*Client) ServiceInStackInGridExecCommand

func (c *Client) ServiceInStackInGridExecCommand(grid, stack, service, command string) *exec.Cmd

ServiceInStackInGridExecCommand ...

func (*Client) ServiceInStackInGridLogs

func (c *Client) ServiceInStackInGridLogs(grid, stack, service string) (string, error)

ServiceInStackInGridLogs ...

func (*Client) ServiceInStackLogs

func (c *Client) ServiceInStackLogs(stack, service string) (string, error)

ServiceInStackLogs ...

func (*Client) ServiceList

func (c *Client) ServiceList() ([]string, error)

ServiceList ...

func (*Client) ServiceListInGrid

func (c *Client) ServiceListInGrid(grid string) ([]string, error)

ServiceListInGrid ...

func (*Client) ServiceLogs

func (c *Client) ServiceLogs(service string) (string, error)

ServiceLogs ...

func (*Client) ServiceRemove

func (c *Client) ServiceRemove(service string) error

ServiceRemove ...

func (*Client) StackDeploy

func (c *Client) StackDeploy(name string) error

StackDeploy ...

func (*Client) StackDeployInGrid

func (c *Client) StackDeployInGrid(grid, name string) error

StackDeployInGrid ...

func (*Client) StackExists

func (c *Client) StackExists(stack string) bool

StackExists ...

func (*Client) StackExistsInGrid

func (c *Client) StackExistsInGrid(grid, stack string) bool

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) StackList

func (c *Client) StackList() ([]string, error)

StackList ...

func (*Client) StackListInGrid

func (c *Client) StackListInGrid(grid string) ([]string, error)

StackListInGrid ...

func (*Client) StackRemove

func (c *Client) StackRemove(name string) error

StackRemove ...

func (*Client) StackRemoveFromGrid

func (c *Client) StackRemoveFromGrid(grid, name string) error

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 ...

type Grid

type Grid struct {
	Name string
}

Grid ...

type Master

type Master struct {
	// contains filtered or unexported fields
}

Master ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL