Documentation ¶
Index ¶
Constants ¶
View Source
const ( SealerBinPath = "/usr/local/bin/sealer" DefaultImageDomain = "docker.io" DefaultImageRepo = "sealerio" DefaultImageName = "kubernetes:v1-22-15-sealerio-2" DefaultRegistryAuthFileDir = "/root/.docker" DefaultClusterFileNeedToBeCleaned = "/root/.sealer/%s/Clusterfile" SealerImageRootPath = "/var/lib/sealer" )
View Source
const ( FileMode0755 = 0755 FileMode0644 = 0644 )
View Source
const ( BAREMETAL = "BAREMETAL" AliCloud = "ALI_CLOUD" CONTAINER = "CONTAINER" DefaultImage = "docker.io/sealerio/kubernetes:v1-22-15-sealerio-2" DefaultNydusImage = "registry.cn-qingdao.aliyuncs.com/sealer-io/kubernetes-nydus:v1.19.8" ClusterNameForRun = "my-cluster" TMPClusterFile = "/tmp/Clusterfile" ClusterWorkDir = "/root/.sealer" )
View Source
const (
LiteBuild = "lite"
)
Variables ¶
View Source
var ( DefaultPollingInterval time.Duration MaxWaiteTime time.Duration DefaultWaiteTime time.Duration DefaultSealerBin = "" DefaultTestEnvDir = "" RegistryURL = os.Getenv("REGISTRY_URL") RegistryUsername = os.Getenv("REGISTRY_USERNAME") RegistryPasswd = os.Getenv("REGISTRY_PASSWORD") CustomImageName = os.Getenv("IMAGE_NAME") CustomNydusImageName = os.Getenv("NYDUS_IMAGE_NAME") AccessKey = os.Getenv("ACCESSKEYID") AccessSecret = os.Getenv("ACCESSKEYSECRET") Region = os.Getenv("RegionID") TestImageName = DefaultImage //default: docker.io/sealerio/kubernetes:v1-22-15-sealerio-2 TestNydusImageName = "registry.cn-qingdao.aliyuncs.com/sealer-io/kubernetes-nydus:v1.19.8.test" //default: registry.cn-qingdao.aliyuncs.com/sealer-io/kubernetes-nydus:v1.19.8 )
Functions ¶
func GetClusterWorkDir ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.