certs

package
v0.0.90 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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