Documentation
¶
Index ¶
- type CommandExecutorKind
- func (c *CommandExecutorKind) ClusterByNameExists(clusterName string, verbose bool) (exists bool, err error)
- func (c *CommandExecutorKind) CreateClusterByName(clusterName string, verbose bool) (cluster kubernetes.KubernetesCluster, err error)
- func (c *CommandExecutorKind) DeleteClusterByName(clusterName string, verbose bool) (err error)
- func (c *CommandExecutorKind) GetClusterByName(clusterName string) (cluster kubernetes.KubernetesCluster, err error)
- func (c *CommandExecutorKind) GetCommandExecutor() (commandExecutor commandexecutor.CommandExecutor, err error)
- func (c *CommandExecutorKind) GetHostDescription() (hostDescription string, err error)
- func (c *CommandExecutorKind) ListClusterNames(verbose bool) (clusterNames []string, err error)
- func (c *CommandExecutorKind) MustClusterByNameExists(clusterName string, verbose bool) (exists bool)
- func (c *CommandExecutorKind) MustCreateClusterByName(clusterName string, verbose bool) (cluster kubernetes.KubernetesCluster)
- func (c *CommandExecutorKind) MustDeleteClusterByName(clusterName string, verbose bool)
- func (c *CommandExecutorKind) MustGetClusterByName(clusterName string) (cluster kubernetes.KubernetesCluster)
- func (c *CommandExecutorKind) MustGetCommandExecutor() (commandExecutor commandexecutor.CommandExecutor)
- func (c *CommandExecutorKind) MustGetHostDescription() (hostDescription string)
- func (c *CommandExecutorKind) MustListClusterNames(verbose bool) (clusterNames []string)
- func (c *CommandExecutorKind) MustRunCommand(runOptions *parameteroptions.RunCommandOptions) (commandOutput *commandexecutor.CommandOutput)
- func (c *CommandExecutorKind) MustRunCommandAndGetStdoutAsLines(runOptions *parameteroptions.RunCommandOptions) (lines []string)
- func (c *CommandExecutorKind) MustSetCommandExecutor(commandExecutor commandexecutor.CommandExecutor)
- func (c *CommandExecutorKind) RunCommand(runOptions *parameteroptions.RunCommandOptions) (commandOutput *commandexecutor.CommandOutput, err error)
- func (c *CommandExecutorKind) RunCommandAndGetStdoutAsLines(runOptions *parameteroptions.RunCommandOptions) (lines []string, err error)
- func (c *CommandExecutorKind) SetCommandExecutor(commandExecutor commandexecutor.CommandExecutor) (err error)
- type Kind
- func GetCommandExecutorKind(commandExecutor commandexecutor.CommandExecutor) (kind Kind, err error)
- func GetLocalCommandExecutorKind() (kind Kind, err error)
- func MustGetCommandExecutorKind(commandExecutor commandexecutor.CommandExecutor) (kind Kind)
- func MustGetLocalCommandExecutorKind() (kind Kind)
- type KindCluster
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandExecutorKind ¶
type CommandExecutorKind struct {
// contains filtered or unexported fields
}
func NewCommandExecutorKind ¶
func NewCommandExecutorKind() (c *CommandExecutorKind)
func (*CommandExecutorKind) ClusterByNameExists ¶
func (c *CommandExecutorKind) ClusterByNameExists(clusterName string, verbose bool) (exists bool, err error)
func (*CommandExecutorKind) CreateClusterByName ¶
func (c *CommandExecutorKind) CreateClusterByName(clusterName string, verbose bool) (cluster kubernetes.KubernetesCluster, err error)
func (*CommandExecutorKind) DeleteClusterByName ¶
func (c *CommandExecutorKind) DeleteClusterByName(clusterName string, verbose bool) (err error)
func (*CommandExecutorKind) GetClusterByName ¶
func (c *CommandExecutorKind) GetClusterByName(clusterName string) (cluster kubernetes.KubernetesCluster, err error)
func (*CommandExecutorKind) GetCommandExecutor ¶
func (c *CommandExecutorKind) GetCommandExecutor() (commandExecutor commandexecutor.CommandExecutor, err error)
func (*CommandExecutorKind) GetHostDescription ¶
func (c *CommandExecutorKind) GetHostDescription() (hostDescription string, err error)
func (*CommandExecutorKind) ListClusterNames ¶
func (c *CommandExecutorKind) ListClusterNames(verbose bool) (clusterNames []string, err error)
func (*CommandExecutorKind) MustClusterByNameExists ¶
func (c *CommandExecutorKind) MustClusterByNameExists(clusterName string, verbose bool) (exists bool)
func (*CommandExecutorKind) MustCreateClusterByName ¶
func (c *CommandExecutorKind) MustCreateClusterByName(clusterName string, verbose bool) (cluster kubernetes.KubernetesCluster)
func (*CommandExecutorKind) MustDeleteClusterByName ¶
func (c *CommandExecutorKind) MustDeleteClusterByName(clusterName string, verbose bool)
func (*CommandExecutorKind) MustGetClusterByName ¶
func (c *CommandExecutorKind) MustGetClusterByName(clusterName string) (cluster kubernetes.KubernetesCluster)
func (*CommandExecutorKind) MustGetCommandExecutor ¶
func (c *CommandExecutorKind) MustGetCommandExecutor() (commandExecutor commandexecutor.CommandExecutor)
func (*CommandExecutorKind) MustGetHostDescription ¶
func (c *CommandExecutorKind) MustGetHostDescription() (hostDescription string)
func (*CommandExecutorKind) MustListClusterNames ¶
func (c *CommandExecutorKind) MustListClusterNames(verbose bool) (clusterNames []string)
func (*CommandExecutorKind) MustRunCommand ¶
func (c *CommandExecutorKind) MustRunCommand(runOptions *parameteroptions.RunCommandOptions) (commandOutput *commandexecutor.CommandOutput)
func (*CommandExecutorKind) MustRunCommandAndGetStdoutAsLines ¶
func (c *CommandExecutorKind) MustRunCommandAndGetStdoutAsLines(runOptions *parameteroptions.RunCommandOptions) (lines []string)
func (*CommandExecutorKind) MustSetCommandExecutor ¶
func (c *CommandExecutorKind) MustSetCommandExecutor(commandExecutor commandexecutor.CommandExecutor)
func (*CommandExecutorKind) RunCommand ¶
func (c *CommandExecutorKind) RunCommand(runOptions *parameteroptions.RunCommandOptions) (commandOutput *commandexecutor.CommandOutput, err error)
func (*CommandExecutorKind) RunCommandAndGetStdoutAsLines ¶
func (c *CommandExecutorKind) RunCommandAndGetStdoutAsLines(runOptions *parameteroptions.RunCommandOptions) (lines []string, err error)
func (*CommandExecutorKind) SetCommandExecutor ¶
func (c *CommandExecutorKind) SetCommandExecutor(commandExecutor commandexecutor.CommandExecutor) (err error)
type Kind ¶
type Kind interface { ClusterByNameExists(clusterName string, verbose bool) (exists bool, err error) CreateClusterByName(clusterName string, verbose bool) (cluster kubernetes.KubernetesCluster, err error) DeleteClusterByName(clusterName string, verbose bool) (err error) ListClusterNames(verbose bool) (clusterNames []string, err error) MustClusterByNameExists(clusterName string, verbose bool) (exists bool) MustCreateClusterByName(clusterName string, verbose bool) (cluster kubernetes.KubernetesCluster) MustDeleteClusterByName(clusterName string, verbose bool) MustListClusterNames(verbose bool) (clusterNames []string) }
Kubernetes in Docker
func GetCommandExecutorKind ¶
func GetCommandExecutorKind(commandExecutor commandexecutor.CommandExecutor) (kind Kind, err error)
func MustGetCommandExecutorKind ¶
func MustGetCommandExecutorKind(commandExecutor commandexecutor.CommandExecutor) (kind Kind)
func MustGetLocalCommandExecutorKind ¶
func MustGetLocalCommandExecutorKind() (kind Kind)
type KindCluster ¶ added in v0.182.0
type KindCluster struct { kubernetes.CommandExecutorKubernetes // contains filtered or unexported fields }
func NewKindCluster ¶ added in v0.182.0
func NewKindCluster() (k *KindCluster)
func (*KindCluster) GetKind ¶ added in v0.182.0
func (k *KindCluster) GetKind() (kind Kind, err error)
func (*KindCluster) MustGetKind ¶ added in v0.182.0
func (k *KindCluster) MustGetKind() (kind Kind)
func (*KindCluster) MustSetKind ¶ added in v0.182.0
func (k *KindCluster) MustSetKind(kind Kind)
func (*KindCluster) SetKind ¶ added in v0.182.0
func (k *KindCluster) SetKind(kind Kind) (err error)
Click to show internal directories.
Click to hide internal directories.