registry

package
v3.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 22 Imported by: 2

Documentation

Index

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
}

func (*FetchCerts) Execute

func (f *FetchCerts) Execute(runtime connector.Runtime) error

type FirstRegistryNode

type FirstRegistryNode struct {
	common.KubePrepare
	Not bool
}

func (*FirstRegistryNode) PreCheck

func (f *FirstRegistryNode) PreCheck(runtime connector.Runtime) (bool, error)

type GenerateCerts

type GenerateCerts struct {
	common.KubeAction
}

func (*GenerateCerts) Execute

func (g *GenerateCerts) Execute(runtime connector.Runtime) error

type GenerateHarborConfig added in v3.1.0

type GenerateHarborConfig struct {
	common.KubeAction
}

func (*GenerateHarborConfig) Execute added in v3.1.0

func (g *GenerateHarborConfig) Execute(runtime connector.Runtime) error

type InstallDockerCompose

type InstallDockerCompose struct {
	common.KubeAction
}

func (*InstallDockerCompose) Execute

func (g *InstallDockerCompose) Execute(runtime connector.Runtime) error

type InstallRegistryBinary

type InstallRegistryBinary struct {
	common.KubeAction
}

func (*InstallRegistryBinary) Execute

func (g *InstallRegistryBinary) Execute(runtime connector.Runtime) error

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
}

func (*StartHarbor) Execute

func (g *StartHarbor) Execute(runtime connector.Runtime) error

type StartRegistryService

type StartRegistryService struct {
	common.KubeAction
}

func (*StartRegistryService) Execute

func (g *StartRegistryService) Execute(runtime connector.Runtime) error

type SyncCertsFile

type SyncCertsFile struct {
	common.KubeAction
}

func (*SyncCertsFile) Execute

func (s *SyncCertsFile) Execute(runtime connector.Runtime) error

type SyncCertsToAllNodes

type SyncCertsToAllNodes struct {
	common.KubeAction
}

func (*SyncCertsToAllNodes) Execute

func (s *SyncCertsToAllNodes) Execute(runtime connector.Runtime) error

type SyncHarborPackage

type SyncHarborPackage struct {
	common.KubeAction
}

func (*SyncHarborPackage) Execute

func (g *SyncHarborPackage) Execute(runtime connector.Runtime) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL