Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertReconciler ¶
type CertReconciler struct { client.Client CertReconcilerOpts }
func NewCertReconciler ¶
func NewCertReconciler(client client.Client, caSecretKey types.NamespacedName, caCommonName string, certSecretKey types.NamespacedName, certCommonName string, certDNSNames []string, reconcilerOpts ...CertReconcilerOpt) *CertReconciler
func (*CertReconciler) Reconcile ¶
func (r *CertReconciler) Reconcile(ctx context.Context) (*ReconcileResult, error)
type CertReconcilerOpt ¶
type CertReconcilerOpt func(opts *CertReconcilerOpts)
func WithCAValidity ¶
func WithCAValidity(validity time.Duration) CertReconcilerOpt
func WithCertValidity ¶
func WithCertValidity(validity time.Duration) CertReconcilerOpt
func WithLookaheadValidity ¶
func WithLookaheadValidity(validity time.Duration) CertReconcilerOpt
type CertReconcilerOpts ¶
type CertReconcilerOpts struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.