kube

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2022 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCertificate

func CreateCertificate(domain string, issuer cmmeta.ObjectReference) error

func SetManagerId added in v0.8.0

func SetManagerId(newId string)

func SetNamespace added in v0.6.0

func SetNamespace(kubens string)

Types

type CertifcateResult

type CertifcateResult struct {
	Domain     string
	CertsFound []KubeCertificate
}

func GetCertificate

func GetCertificate(domain string, updateAccess bool) (CertifcateResult, error)

type KubeCertificate

type KubeCertificate struct {
	Certificate certv1.Certificate
	Domains     []string
	Secret      corev1.Secret
	LastAccess  int64
	Ready       bool
}

func GetCertificates added in v0.8.0

func GetCertificates() ([]KubeCertificate, error)

func (KubeCertificate) Delete added in v1.0.0

func (k KubeCertificate) Delete() error

type KubeClients

type KubeClients struct {
	Namespace   string
	Version     string
	K8s         *kubernetes.Clientset
	CertManager *cmclient.Clientset
	Created     bool
}

Jump to

Keyboard shortcuts

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