Documentation ¶
Index ¶
Constants ¶
View Source
const (
DurationSSHPause time.Duration = 20 * time.Second
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KsctlCloud ¶
type KsctlCloud string
const ( CloudCivo KsctlCloud = "civo" CloudAzure KsctlCloud = "azure" CloudLocal KsctlCloud = "local" CloudAws KsctlCloud = "aws" CloudAll KsctlCloud = "all" )
type KsctlClusterType ¶
type KsctlClusterType string
const ( ClusterTypeHa KsctlClusterType = "ha" ClusterTypeMang KsctlClusterType = "managed" )
type KsctlCounterConsts ¶
type KsctlCounterConsts uint32
const ( CounterMaxRetryCount KsctlCounterConsts = 8 CounterMaxNetworkSessionRetry KsctlCounterConsts = 9 CounterMaxWatchRetryCount KsctlCounterConsts = 4 )
type KsctlKubernetes ¶
type KsctlKubernetes string
const ( K8sK3s KsctlKubernetes = "k3s" K8sKubeadm KsctlKubernetes = "kubeadm" )
type KsctlOperation ¶
type KsctlOperation string
const ( OperationStateGet KsctlOperation = "get" OperationStateCreate KsctlOperation = "create" OperationStateDelete KsctlOperation = "delete" )
type KsctlSpecialFlags ¶
type KsctlSpecialFlags string
const ( // makes the fake client KsctlFakeFlag KsctlSpecialFlags = "KSCTL_FAKE_FLAG_ENABLED" // KsctlCustomDirEnabled use this as environment variable to set a different home directory for ksctl during testing // make sure the value is space seperated <directory> <directory> .... KsctlCustomDirEnabled KsctlSpecialFlags = "KSCTL_CUSTOM_DIR_ENABLED" // KsctlFeatureFlagHaAutoscale to be set if feature for AUTOSCALE is needed KsctlFeatureFlagHaAutoscale KsctlSpecialFlags = "KSCTL_FEATURE_FLAG_HA_AUTOSCALE" )
type KsctlStore ¶
type KsctlStore string
const ( StoreLocal KsctlStore = "local" StoreExtMongo KsctlStore = "external-mongo" )
type KsctlSupportedScriptRunners ¶ added in v1.1.4
type KsctlSupportedScriptRunners string
const ( LinuxSh KsctlSupportedScriptRunners = "/bin/sh" LinuxBash KsctlSupportedScriptRunners = "/bin/bash" )
type KsctlUtilsConsts ¶
type KsctlUtilsConsts uint8
const ( UtilCredentialPath KsctlUtilsConsts = 0 UtilClusterPath KsctlUtilsConsts = 1 UtilSSHPath KsctlUtilsConsts = 2 UtilOtherPath KsctlUtilsConsts = 3 UtilExecWithOutput KsctlUtilsConsts = 1 UtilExecWithoutOutput KsctlUtilsConsts = 0 )
type KsctlValidCNIPlugin ¶
type KsctlValidCNIPlugin string
const ( CNIFlannel KsctlValidCNIPlugin = "flannel" CNICilium KsctlValidCNIPlugin = "cilium" CNIAzure KsctlValidCNIPlugin = "azure" CNIKubenet KsctlValidCNIPlugin = "kubenet" CNIKind KsctlValidCNIPlugin = "kind" CNINone KsctlValidCNIPlugin = "none" )
Click to show internal directories.
Click to hide internal directories.