...

Package externalsecret

import "github.com/external-secrets/external-secrets/pkg/controllers/externalsecret"
Overview
Index
Subdirectories

Overview ▾

func GetExternalSecretCondition

func GetExternalSecretCondition(status esv1beta1.ExternalSecretStatus, condType esv1beta1.ExternalSecretConditionType) *esv1beta1.ExternalSecretStatusCondition

GetExternalSecretCondition returns the condition with the provided type.

func NewExternalSecretCondition

func NewExternalSecretCondition(condType esv1beta1.ExternalSecretConditionType, status v1.ConditionStatus, reason, message string) *esv1beta1.ExternalSecretStatusCondition

NewExternalSecretCondition a set of default options for creating an External Secret Condition.

func SetExternalSecretCondition

func SetExternalSecretCondition(es *esv1beta1.ExternalSecret, condition esv1beta1.ExternalSecretStatusCondition)

SetExternalSecretCondition updates the external secret to include the provided condition.

type Reconciler

Reconciler reconciles a ExternalSecret object.

type Reconciler struct {
    client.Client
    Log                       logr.Logger
    Scheme                    *runtime.Scheme
    RestConfig                *rest.Config
    ControllerClass           string
    RequeueInterval           time.Duration
    ClusterSecretStoreEnabled bool
    EnableFloodGate           bool
    // contains filtered or unexported fields
}

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile implements the main reconciliation loop for watched objects (ExternalSecret, ClusterSecretStore and SecretStore), and updates/creates a Kubernetes secret based on them.

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager, opts controller.Options) error

SetupWithManager returns a new controller builder that will be started by the provided Manager.

Subdirectories

Name Synopsis
..
esmetrics