certificate

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2017 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResourceStatusKey   = "archon.kubeup.com/status"
	ResourceTypeKey     = "archon.kubeup.com/type"
	ResourceInstanceKey = "archon.kubeup.com/instance"
	ResourceCAKey       = "archon.kubeup.com/ca"
	CSRKey              = "archon.kubeup.com/csr"
)

Variables

This section is empty.

Functions

func GenerateCA

func GenerateCA(secret *v1.Secret) error

Types

type CertificateControl

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

func NewCertificateControl

func NewCertificateControl(caCertFile, caKeyFile string) (*CertificateControl, error)

func NewCertificateControlFromSecret

func NewCertificateControlFromSecret(secret *v1.Secret) (*CertificateControl, error)

func (*CertificateControl) GenerateCertificate

func (cc *CertificateControl) GenerateCertificate(secret *v1.Secret, instance *cluster.Instance) error

type CertificateControlInterface

type CertificateControlInterface interface {
	GenerateCertificate(secret *v1.Secret, instance *cluster.Instance) error
}

type CertificateController

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

func New

func New(kubeClient clientset.Interface, syncPeriod time.Duration, caCertFile, caKeyFile string, namespace string) (*CertificateController, error)

func (*CertificateController) Run

func (cc *CertificateController) Run(workers int, stopCh <-chan struct{})

Run the main goroutine responsible for watching and syncing jobs.

Jump to

Keyboard shortcuts

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