rkecerts

package
v2.0.12-rc3+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

type Bundle struct {
	// contains filtered or unexported fields
}

func Generate

func Generate(config *v3.RancherKubernetesEngineConfig) (*Bundle, error)

func LoadLocal

func LoadLocal() (*Bundle, error)

func Stage

func Stage(rkeConfig *v3.RancherKubernetesEngineConfig) (*Bundle, error)

func Unmarshal

func Unmarshal(input string) (*Bundle, error)

func (*Bundle) Certs

func (b *Bundle) Certs() map[string]pki.CertificatePKI

func (*Bundle) Explode

func (b *Bundle) Explode() error

func (*Bundle) ForNode

func (b *Bundle) ForNode(config *v3.RancherKubernetesEngineConfig, nodeAddress string) *Bundle

func (*Bundle) KubeConfig

func (b *Bundle) KubeConfig() string

func (*Bundle) Marshal

func (b *Bundle) Marshal() (string, error)

func (*Bundle) SaveLocal

func (b *Bundle) SaveLocal() error

type BundleLookup

type BundleLookup struct {
	// contains filtered or unexported fields
}

func NewLookup

func NewLookup(namespaces v1.NamespaceInterface, secrets v1.SecretsGetter) *BundleLookup

func (*BundleLookup) Lookup

func (r *BundleLookup) Lookup(cluster *v3.Cluster) (*Bundle, error)

Jump to

Keyboard shortcuts

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