controller

package
v0.0.0-...-ea0ec0e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventTypeNormal  = "Normal"
	EventTypeWarning = "Warning"
	EventTypeError   = "Error"

	ReasonAWSAPIError    = "AWSReturnedError"
	ReasonSuccessfulSync = "ACMSuccessfulSync"
)
View Source
const (
	SyncAnnotationKey   = "experimental.cert-manager.io/acm-sync"
	SyncAnnotationValue = "true"
	ARNAnnotationKey    = "experimental.cert-manager.io/acm-arn"
)

Variables

This section is empty.

Functions

func New

func New(log logr.Logger) (manager.Manager, error)

Types

type ACMSyncer

type ACMSyncer struct {
	// contains filtered or unexported fields
}

func (*ACMSyncer) Reconcile

func (a *ACMSyncer) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)

func (*ACMSyncer) ShouldSyncCert

func (a *ACMSyncer) ShouldSyncCert(ctx context.Context, secret *corev1.Secret) (bool, error)

func (*ACMSyncer) Sync

func (a *ACMSyncer) Sync(ctx context.Context, secret *corev1.Secret) (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL