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 = "sealerio/sealer-base-image:v1" SealerImageRootPath = "/var/lib/sealer" // for check rootless docker in info.SecurityOptions RootlessDocker = "name=rootless" // for check overlay2 StorageDriver in info.StorageDriver Overlay2 = "overlay2" )
Variables ¶
This section is empty.
Functions ¶
func GenUniqueID ¶
func IsDockerAvailable ¶
func IsDockerAvailable() bool
Types ¶
type ApplyProvider ¶
type ApplyProvider struct { Cluster *v1.Cluster Provider client.ProviderService }
func NewClientWithCluster ¶
func NewClientWithCluster(cluster *v1.Cluster) (*ApplyProvider, error)
func (*ApplyProvider) Apply ¶
func (a *ApplyProvider) Apply() error
func (*ApplyProvider) CheckServerInfo ¶
func (a *ApplyProvider) CheckServerInfo() error
func (*ApplyProvider) CleanUp ¶
func (a *ApplyProvider) CleanUp() error
func (*ApplyProvider) ReconcileContainer ¶
func (a *ApplyProvider) ReconcileContainer() error
Click to show internal directories.
Click to hide internal directories.