Documentation ¶
Index ¶
- type CertificateManager
- type CertificateManagerImple
- func (cm *CertificateManagerImple) GenerateAdminKubeConfig(advertiseAddr string, ...) (*GeneratedCertsMap, error)
- func (cm *CertificateManagerImple) GenerateETCDClientCertificatesAndManifest(certPath, etcdConfigContent string) error
- func (cm *CertificateManagerImple) GenerateMainCACertificates() (*GeneratedCertsMap, error)
- func (cm *CertificateManagerImple) GenerateMasterCertificates(advertiseAddr, serviceCIDR string) (*GeneratedCertsMap, error)
- func (cm *CertificateManagerImple) GenerateMasterCertificatesAndManifest(certPath, address string, settings map[string]string, ...) error
- type GeneratedCertsMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateManager ¶
type CertificateManager interface { GenerateAdminKubeConfig(advertiseAddr string, basicCertMap entities.LightningMonkeyCertificateCollection) (*GeneratedCertsMap, error) GenerateMasterCertificates(advertiseAddr, serviceCIDR string) (*GeneratedCertsMap, error) GenerateMainCACertificates() (*GeneratedCertsMap, error) GenerateETCDClientCertificatesAndManifest(certPath, etcdConfigContent string) error GenerateMasterCertificatesAndManifest(certPath, address string, settings map[string]string, imageCollection *entities.DockerImageCollection) error }
type CertificateManagerImple ¶
type CertificateManagerImple struct { }
func (*CertificateManagerImple) GenerateAdminKubeConfig ¶
func (cm *CertificateManagerImple) GenerateAdminKubeConfig(advertiseAddr string, basicCertMap entities.LightningMonkeyCertificateCollection) (*GeneratedCertsMap, error)
func (*CertificateManagerImple) GenerateETCDClientCertificatesAndManifest ¶
func (cm *CertificateManagerImple) GenerateETCDClientCertificatesAndManifest(certPath, etcdConfigContent string) error
func (*CertificateManagerImple) GenerateMainCACertificates ¶
func (cm *CertificateManagerImple) GenerateMainCACertificates() (*GeneratedCertsMap, error)
func (*CertificateManagerImple) GenerateMasterCertificates ¶
func (cm *CertificateManagerImple) GenerateMasterCertificates(advertiseAddr, serviceCIDR string) (*GeneratedCertsMap, error)
func (*CertificateManagerImple) GenerateMasterCertificatesAndManifest ¶
func (cm *CertificateManagerImple) GenerateMasterCertificatesAndManifest(certPath, address string, settings map[string]string, imageCollection *entities.DockerImageCollection) error
type GeneratedCertsMap ¶
type GeneratedCertsMap struct {
// contains filtered or unexported fields
}
func (*GeneratedCertsMap) CleanResource ¶
func (gm *GeneratedCertsMap) CleanResource()
func (*GeneratedCertsMap) GetResources ¶
func (gm *GeneratedCertsMap) GetResources() map[string]string
func (*GeneratedCertsMap) InitializeData ¶
func (gc *GeneratedCertsMap) InitializeData(data map[string]string) *GeneratedCertsMap
Click to show internal directories.
Click to hide internal directories.