Documentation ¶
Index ¶
- func CheckDockerAllocatedMemory(ctx context.Context, dockerExecutable DockerExecutable)
- func CheckMinimumDockerVersion(ctx context.Context, dockerExecutable DockerExecutable) error
- func ClusterName(clusterName string) error
- func ClusterNameLength(clusterName string) error
- func FileExists(filename string) bool
- func KubeConfigExists(dir, clusterName string, kubeConfigFileOverride string, ...) bool
- func ValidateClusterNameArg(args []string) (string, error)
- type DockerExecutable
- type Runner
- type Validation
- type ValidationResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDockerAllocatedMemory ¶
func CheckDockerAllocatedMemory(ctx context.Context, dockerExecutable DockerExecutable)
func CheckMinimumDockerVersion ¶
func CheckMinimumDockerVersion(ctx context.Context, dockerExecutable DockerExecutable) error
func ClusterName ¶
func ClusterNameLength ¶
func FileExists ¶
func KubeConfigExists ¶
func ValidateClusterNameArg ¶
Types ¶
type DockerExecutable ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func (*Runner) Register ¶
func (r *Runner) Register(validations ...Validation)
type Validation ¶
type Validation func() *ValidationResult
type ValidationResult ¶
func (*ValidationResult) LogPass ¶
func (v *ValidationResult) LogPass()
func (*ValidationResult) Report ¶
func (v *ValidationResult) Report()
Click to show internal directories.
Click to hide internal directories.