Documentation ¶
Index ¶
- Constants
- func InstallHarbor(i *InstallRegistryModule) []task.Interface
- func InstallRegistry(i *InstallRegistryModule) []task.Interface
- func KubekeyCertRegistryCA() *certs.KubekeyCert
- func KubekeyCertRegistryServer(baseName string, altNames *certutil.AltNames) *certs.KubekeyCert
- type FetchCerts
- type FirstRegistryNode
- type GenerateCerts
- type GenerateHarborConfig
- type InstallDockerCompose
- type InstallRegistryBinary
- type InstallRegistryModule
- type RegistryCertsModule
- type StartHarbor
- type StartRegistryService
- type SyncCertsFile
- type SyncCertsToAllNodes
- type SyncHarborPackage
Constants ¶
View Source
const ( RegistryCertificateBaseName = "dockerhub.kubekey.local" LocalCertsDir = "localCertsDir" CertsFileList = "certsFileList" )
Variables ¶
This section is empty.
Functions ¶
func InstallHarbor ¶
func InstallHarbor(i *InstallRegistryModule) []task.Interface
func InstallRegistry ¶
func InstallRegistry(i *InstallRegistryModule) []task.Interface
func KubekeyCertRegistryCA ¶
func KubekeyCertRegistryCA() *certs.KubekeyCert
KubekeyCertRegistryCA is the definition of the root CA used by the hosted etcd server.
func KubekeyCertRegistryServer ¶
func KubekeyCertRegistryServer(baseName string, altNames *certutil.AltNames) *certs.KubekeyCert
KubekeyCertRegistryServer is the definition of the cert for etcd admin.
Types ¶
type FetchCerts ¶
type FetchCerts struct {
common.KubeAction
}
type FirstRegistryNode ¶
type FirstRegistryNode struct { common.KubePrepare Not bool }
type GenerateCerts ¶
type GenerateCerts struct {
common.KubeAction
}
type GenerateHarborConfig ¶ added in v3.1.0
type GenerateHarborConfig struct {
common.KubeAction
}
type InstallDockerCompose ¶
type InstallDockerCompose struct {
common.KubeAction
}
type InstallRegistryBinary ¶
type InstallRegistryBinary struct {
common.KubeAction
}
type InstallRegistryModule ¶
type InstallRegistryModule struct {
common.KubeModule
}
func (*InstallRegistryModule) Init ¶
func (i *InstallRegistryModule) Init()
type RegistryCertsModule ¶
type RegistryCertsModule struct { common.KubeModule Skip bool }
func (*RegistryCertsModule) Init ¶
func (i *RegistryCertsModule) Init()
func (*RegistryCertsModule) IsSkip ¶
func (p *RegistryCertsModule) IsSkip() bool
type StartHarbor ¶
type StartHarbor struct {
common.KubeAction
}
type StartRegistryService ¶
type StartRegistryService struct {
common.KubeAction
}
type SyncCertsFile ¶
type SyncCertsFile struct {
common.KubeAction
}
type SyncCertsToAllNodes ¶
type SyncCertsToAllNodes struct {
common.KubeAction
}
type SyncHarborPackage ¶
type SyncHarborPackage struct {
common.KubeAction
}
Click to show internal directories.
Click to hide internal directories.