Documentation ¶
Index ¶
- Constants
- Variables
- func LoadOrGenCA(secrets corectlv1.SecretClient, namespace, name string) (*x509.Certificate, crypto.Signer, error)
- func LoadOrGenClientCert(secrets corectlv1.SecretClient, namespace, name string, ...) (*x509.Certificate, crypto.Signer, error)
- func LoadOrGenServerCert(secrets corectlv1.SecretClient, namespace, name string, ...) (*x509.Certificate, crypto.Signer, error)
- type Config
- type Interface
Constants ¶
View Source
const (
DefaultNamespace = "kube-image"
)
Variables ¶
View Source
var DefaultConfig = Config{ Namespace: DefaultNamespace, }
Functions ¶
func LoadOrGenCA ¶
func LoadOrGenCA(secrets corectlv1.SecretClient, namespace, name string) (*x509.Certificate, crypto.Signer, error)
func LoadOrGenClientCert ¶
func LoadOrGenClientCert(secrets corectlv1.SecretClient, namespace, name string, issuer *x509.Certificate, signer crypto.Signer, cn string) (*x509.Certificate, crypto.Signer, error)
func LoadOrGenServerCert ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.