Documentation ¶
Index ¶
Constants ¶
View Source
const ( CONTAINER = "CONTAINER" DockerHost = "/var/run/docker.sock" DefaultPassword = "Seadent123" MASTER = "master" NODE = "node" ChangePasswordCmd = "echo root:%s | chpasswd" // #nosec RoleLabel = "sealer-io-role" RoleLabelMaster = "sealer-io-role-is-master" NetworkName = "sealer-network" ImageName = "registry.cn-qingdao.aliyuncs.com/sealer-io/sealer-base-image:latest" SealerImageRootPath = "/var/lib/sealer" )
Variables ¶
This section is empty.
Functions ¶
func IsDockerAvailable ¶
func IsDockerAvailable() bool
Types ¶
type ApplyProvider ¶ added in v0.6.0
type ApplyProvider struct { Cluster *v1.Cluster Provider client.ProviderService }
func NewClientWithCluster ¶
func NewClientWithCluster(cluster *v1.Cluster) (*ApplyProvider, error)
func (*ApplyProvider) Apply ¶ added in v0.6.0
func (a *ApplyProvider) Apply() error
func (*ApplyProvider) CheckServerInfo ¶ added in v0.6.0
func (a *ApplyProvider) CheckServerInfo() error
func (*ApplyProvider) CleanUp ¶ added in v0.6.0
func (a *ApplyProvider) CleanUp() error
func (*ApplyProvider) ReconcileContainer ¶ added in v0.6.0
func (a *ApplyProvider) ReconcileContainer() error
type ApplyResult ¶
Click to show internal directories.
Click to hide internal directories.