Documentation ¶
Index ¶
Constants ¶
View Source
const (
LetsEncryptACMEUrl = "https://acme-staging.apiv1.letsencrypt.org/directory"
)
Variables ¶
This section is empty.
Functions ¶
func CheckCertificates ¶
Types ¶
type ACMECertData ¶
type ACMECertData struct { Domains *DomainCollection Cert []byte PrivateKey []byte }
func NewACMECertDataFromSecret ¶
func NewACMECertDataFromSecret(s *apiv1.Secret) (ACMECertData, error)
func (ACMECertData) EqualDomains ¶
func (a ACMECertData) EqualDomains(c *x509.Certificate) bool
type ACMECertDetails ¶
type ACMEClient ¶
type ACMEClient struct { *acme.Client HTTPProviderLock sync.Mutex // contains filtered or unexported fields }
func NewACMEClient ¶
func NewACMEClient(config *ACMEConfig) (*ACMEClient, error)
type ACMEConfig ¶
type ACMEUserData ¶
type ACMEUserData struct { Email string `json:"email"` Registration *acme.RegistrationResource `json:"registration"` Key []byte `json:"key"` }
func (*ACMEUserData) GetEmail ¶
func (u *ACMEUserData) GetEmail() string
func (*ACMEUserData) GetPrivateKey ¶
func (u *ACMEUserData) GetPrivateKey() crypto.PrivateKey
func (*ACMEUserData) GetRegistration ¶
func (u *ACMEUserData) GetRegistration() *acme.RegistrationResource
func (*ACMEUserData) Json ¶
func (u *ACMEUserData) Json() []byte
type Controller ¶
type Controller struct { KubeClient clientset.Interface ExtClient acs.ExtensionInterface Opt config.Options sync.Mutex // contains filtered or unexported fields }
func NewController ¶
func NewController(kubeClient clientset.Interface, extClient acs.ExtensionInterface, opt config.Options, tpr *api.Certificate) *Controller
func (*Controller) HandleIngress ¶
func (c *Controller) HandleIngress(ingress *api.Ingress) error
func (*Controller) Process ¶
func (c *Controller) Process() error
type DomainCollection ¶
type DomainCollection []string
func NewDomainCollection ¶
func NewDomainCollection(domain ...string) *DomainCollection
func (*DomainCollection) Append ¶
func (d *DomainCollection) Append(domain ...string) *DomainCollection
func (*DomainCollection) FromString ¶
func (d *DomainCollection) FromString(data string) *DomainCollection
func (*DomainCollection) String ¶
func (d *DomainCollection) String() string
func (*DomainCollection) StringSlice ¶
func (d *DomainCollection) StringSlice() []string
Click to show internal directories.
Click to hide internal directories.