Documentation ¶
Index ¶
Constants ¶
View Source
const AcmeHttpChallengePath = "/.well-known/acme-challenge"
View Source
const AcmeHttpSelfTest = "/.well-known/acme-challenge/_selftest"
View Source
const AcmePrivateKey = k8sApi.TLSPrivateKeyKey
View Source
const AcmeRegistration = "acme-registration.json"
View Source
const AcmeRegistrationUrl = "acme-registration-url"
View Source
const AnnotationEnabled = "kubernetes.io/tls-acme"
View Source
const AnnotationIngressChallengeEndpoints = "kubernetes.io/tls-acme-challenge-endpoints"
View Source
const AnnotationIngressChallengeEndpointsHash = "kubernetes.io/tls-acme-challenge-endpoints-hash"
View Source
const AnnotationIngressClass = "kubernetes.io/ingress.class"
View Source
const AnnotationKubeLegoManaged = "kubernetes.io/kube-lego-managed"
View Source
const AnnotationSslRedirect = "ingress.kubernetes.io/ssl-redirect"
View Source
const RsaKeySize = 2048
View Source
const TLSCaKey = "ca.crt"
View Source
const TLSCertKey = k8sApi.TLSCertKey
View Source
const TLSPrivateKeyKey = k8sApi.TLSPrivateKeyKey
Variables ¶
View Source
var SupportedIngressClasses = []string{"nginx", "gce"}
Functions ¶
This section is empty.
Types ¶
type IngressProvider ¶
type KubeLego ¶
type KubeLego interface { KubeClient() *k8sClient.Client Log() *logrus.Entry AcmeClient() Acme LegoHTTPPort() intstr.IntOrString LegoEmail() string LegoURL() string LegoNamespace() string LegoIngressNameNginx() string LegoServiceNameNginx() string LegoServiceNameGce() string LegoDefaultIngressClass() string LegoCheckInterval() time.Duration LegoMinimumValidity() time.Duration LegoPodIP() net.IP IngressProvider(string) (IngressProvider, error) Version() string AcmeUser() (map[string][]byte, error) SaveAcmeUser(map[string][]byte) error }
type Tls ¶
type Tls interface { Hosts() []string SecretMetadata() *k8sApi.ObjectMeta IngressMetadata() *k8sApi.ObjectMeta Process() error }
Click to show internal directories.
Click to hide internal directories.