Documentation
¶
Index ¶
- type Controller
- func (c *Controller) Delete(ctx context.Context, id entity.Id) error
- func (c *Controller) GetCertificate(hello *tls.ClientHelloInfo) (*tls.Certificate, error)
- func (c *Controller) Init(ctx context.Context) error
- func (c *Controller) Reconcile(ctx context.Context, route *ingress_v1alpha.HttpRoute, meta *entity.Meta) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
Controller provisions and manages TLS certificates for http_route entities using DNS-01 ACME challenges
func NewController ¶
NewController creates a new certificate controller
func (*Controller) Delete ¶
Delete handles http_route deletion - we keep the cert in cache/disk for potential reuse
func (*Controller) GetCertificate ¶
func (c *Controller) GetCertificate(hello *tls.ClientHelloInfo) (*tls.Certificate, error)
GetCertificate implements tls.Config.GetCertificate - returns cached certs for TLS handshakes
func (*Controller) Init ¶
func (c *Controller) Init(ctx context.Context) error
Init implements ReconcileControllerI - called once at startup
func (*Controller) Reconcile ¶
func (c *Controller) Reconcile(ctx context.Context, route *ingress_v1alpha.HttpRoute, meta *entity.Meta) error
Reconcile implements ReconcileControllerI - called for each http_route add/update and periodic resyncs
Click to show internal directories.
Click to hide internal directories.