controller

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ACRPullBindingLabel is a label on Secrets that holds the name of the ACRPullBinding for which the Secret holds a pull credential
	ACRPullBindingLabel = "acr.microsoft.com/binding"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AcrPullBindingReconciler

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

AcrPullBindingReconciler reconciles a AcrPullBinding object

func NewV1beta1Reconciler added in v0.1.5

func NewV1beta1Reconciler(opts *V1beta1ReconcilerOpts) *AcrPullBindingReconciler

func (AcrPullBindingReconciler) Reconcile

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

func (*AcrPullBindingReconciler) SetupWithManager

func (r *AcrPullBindingReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

type CoreOpts added in v0.1.5

type CoreOpts struct {
	Client crclient.Client
	Logger logr.Logger
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

type PullBindingReconciler added in v0.1.5

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

PullBindingReconciler reconciles AcrPullBindings

func NewV1beta2Reconciler added in v0.1.5

func NewV1beta2Reconciler(opts *V1beta2ReconcilerOpts) *PullBindingReconciler

func (PullBindingReconciler) Reconcile added in v0.1.5

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

func (*PullBindingReconciler) SetupWithManager added in v0.1.5

func (r *PullBindingReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

type ServiceAccountTokenMinter added in v0.1.5

type ServiceAccountTokenMinter func(ctx context.Context, serviceAccountNamespace, serviceAccountName string) (*authenticationv1.TokenRequest, error)

type V1beta1ReconcilerOpts added in v0.1.5

type V1beta1ReconcilerOpts struct {
	CoreOpts

	Auth                             authorizer.Interface
	DefaultManagedIdentityResourceID string
	DefaultManagedIdentityClientID   string
	DefaultACRServer                 string
}

V1beta1ReconcilerOpts configures the inputs for reconciling v1beta2 pull bindings

type V1beta2ReconcilerOpts added in v0.1.5

type V1beta2ReconcilerOpts struct {
	CoreOpts

	TTLRotationFraction         float64
	ServiceAccountClient        corev1client.ServiceAccountsGetter
	ServiceAccountTokenAudience string
	// contains filtered or unexported fields
}

V1beta2ReconcilerOpts configures the inputs for reconciling v1beta2 pull bindings

Jump to

Keyboard shortcuts

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