Documentation ¶
Index ¶
- Constants
- func CertsModuleForExternal(c *CertsModule) []task.Interface
- func CertsModuleForKubeKey(c *CertsModule) []task.Interface
- func GenerateAltName(k *common.KubeConf, runtime *connector.Runtime) *cert.AltNames
- func KubekeyCertEtcdAdmin(hostname string, altNames *certutil.AltNames) *certs.KubekeyCert
- func KubekeyCertEtcdCA() *certs.KubekeyCert
- func KubekeyCertEtcdClient(hostname string, altNames *certutil.AltNames) *certs.KubekeyCert
- func KubekeyCertEtcdMember(hostname string, altNames *certutil.AltNames) *certs.KubekeyCert
- type BackupETCD
- type BackupModule
- type CertsModule
- type CheckMember
- type ConfigureModule
- type EnableBackupETCDService
- type EtcdCluster
- type EtcdNode
- type FetchCerts
- type FetchCertsForExternalEtcd
- type FirstETCDNode
- type GenerateAccessAddress
- type GenerateCerts
- type GenerateConfig
- type GetStatus
- type HealthCheck
- type InstallETCDBinary
- type InstallETCDBinaryModule
- type JoinMember
- type NodeETCDExist
- type PreCheckModule
- type RefreshConfig
- type RestartETCD
- type SyncCertsFile
Constants ¶
View Source
const ( LocalCertsDir = "localCertsDir" CertsFileList = "certsFileList" NewCluster = "new" ExistCluster = "existing" )
Variables ¶
This section is empty.
Functions ¶
func CertsModuleForExternal ¶
func CertsModuleForExternal(c *CertsModule) []task.Interface
func CertsModuleForKubeKey ¶
func CertsModuleForKubeKey(c *CertsModule) []task.Interface
func GenerateAltName ¶
func KubekeyCertEtcdAdmin ¶
func KubekeyCertEtcdAdmin(hostname string, altNames *certutil.AltNames) *certs.KubekeyCert
KubekeyCertEtcdAdmin is the definition of the cert for etcd admin.
func KubekeyCertEtcdCA ¶
func KubekeyCertEtcdCA() *certs.KubekeyCert
KubekeyCertEtcdCA is the definition of the root CA used by the hosted etcd server.
func KubekeyCertEtcdClient ¶
func KubekeyCertEtcdClient(hostname string, altNames *certutil.AltNames) *certs.KubekeyCert
KubekeyCertEtcdClient is the definition of the cert for etcd client.
func KubekeyCertEtcdMember ¶
func KubekeyCertEtcdMember(hostname string, altNames *certutil.AltNames) *certs.KubekeyCert
KubekeyCertEtcdMember is the definition of the cert for etcd member.
Types ¶
type BackupETCD ¶
type BackupETCD struct {
common.KubeAction
}
type BackupModule ¶
type BackupModule struct { common.KubeModule Skip bool }
func (*BackupModule) Init ¶
func (b *BackupModule) Init()
func (*BackupModule) IsSkip ¶
func (p *BackupModule) IsSkip() bool
type CertsModule ¶
type CertsModule struct { common.KubeModule Skip bool }
func (*CertsModule) Init ¶
func (c *CertsModule) Init()
func (*CertsModule) IsSkip ¶
func (p *CertsModule) IsSkip() bool
type CheckMember ¶
type CheckMember struct {
common.KubeAction
}
type ConfigureModule ¶
type ConfigureModule struct { common.KubeModule Skip bool }
func (*ConfigureModule) Init ¶
func (e *ConfigureModule) Init()
func (*ConfigureModule) IsSkip ¶
func (p *ConfigureModule) IsSkip() bool
type EnableBackupETCDService ¶
type EnableBackupETCDService struct {
common.KubeAction
}
type EtcdCluster ¶
type EtcdCluster struct {
// contains filtered or unexported fields
}
type FetchCerts ¶
type FetchCerts struct {
common.KubeAction
}
type FetchCertsForExternalEtcd ¶
type FetchCertsForExternalEtcd struct {
common.KubeAction
}
type FirstETCDNode ¶
type FirstETCDNode struct { common.KubePrepare Not bool }
type GenerateAccessAddress ¶
type GenerateAccessAddress struct {
common.KubeAction
}
type GenerateCerts ¶
type GenerateCerts struct {
common.KubeAction
}
type GenerateConfig ¶
type GenerateConfig struct {
common.KubeAction
}
type GetStatus ¶
type GetStatus struct {
common.KubeAction
}
type HealthCheck ¶
type HealthCheck struct {
common.KubeAction
}
type InstallETCDBinary ¶
type InstallETCDBinary struct {
common.KubeAction
}
type InstallETCDBinaryModule ¶
type InstallETCDBinaryModule struct { common.KubeModule Skip bool }
func (*InstallETCDBinaryModule) Init ¶
func (i *InstallETCDBinaryModule) Init()
func (*InstallETCDBinaryModule) IsSkip ¶
func (p *InstallETCDBinaryModule) IsSkip() bool
type JoinMember ¶
type JoinMember struct {
common.KubeAction
}
type NodeETCDExist ¶
type NodeETCDExist struct { common.KubePrepare Not bool }
type PreCheckModule ¶
type PreCheckModule struct { common.KubeModule Skip bool }
func (*PreCheckModule) Init ¶
func (p *PreCheckModule) Init()
func (*PreCheckModule) IsSkip ¶
func (p *PreCheckModule) IsSkip() bool
type RefreshConfig ¶
type RefreshConfig struct { common.KubeAction ToExisting bool }
type RestartETCD ¶
type RestartETCD struct {
common.KubeAction
}
type SyncCertsFile ¶
type SyncCertsFile struct {
common.KubeAction
}
Click to show internal directories.
Click to hide internal directories.