Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider is used to provide a tls config containing an automatically renewed private key and certificate. The provider will continue to renew the signed certificate and private in the background, while consumers can transparently use an exposed TLS config. Consumers *MUST* using this config as is, in order for the certificate and private key be renewed transparently.
func NewProvider ¶
func NewProvider(ctx context.Context, log logr.Logger, tlsOptions *options.TLSOptions, kubeOptions *options.KubeOptions, cmOptions *options.CertManagerOptions, readyz *healthz.Check) (*Provider, error)
NewProvider will return a new provider where a TLS config is ready to be fetched.
Click to show internal directories.
Click to hide internal directories.