Versions in this module Expand all Collapse all v0 v0.1.0 Oct 31, 2018 Changes in this version + const TLSCACertKey + const TLSPrivateCAKeyKey + var ErrCAKeyAndCACertReq = errors.New("ca key and ca cert need to be provided when requesting a custom CA.") + var ErrCANotFound = errors.New("ca secret and configMap are not found") + var ErrInternal = errors.New("internal error while generating TLS assets.") + func ToAppSecretName(kind, name, certName string) string + func ToCASecretAndConfigMapName(kind, name string) string + type CertConfig struct + CACert string + CAKey string + CertName string + CertType CertType + CommonName string + Organization []string + type CertGenerator interface + GenerateCert func(cr runtime.Object, service *v1.Service, config *CertConfig) (*v1.Secret, *v1.ConfigMap, *v1.Secret, error) + func NewSDKCertGenerator(kubeClient kubernetes.Interface) CertGenerator + type CertType int + const ClientAndServingCert + const ClientCert + const ServingCert + type SDKCertGenerator struct + KubeClient kubernetes.Interface + func (scg *SDKCertGenerator) GenerateCert(cr runtime.Object, service *v1.Service, config *CertConfig) (*v1.Secret, *v1.ConfigMap, *v1.Secret, error)