controllers

package
v0.0.0-...-5897a89 Latest Latest
Warning

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

Go to latest
Published: May 20, 2023 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConditionAddonDigest         = "DigestResolved"
	ConditionAddonDigestResolved = "Resolved"
	ConditionAddonDigestErr      = "Error"

	ConditionVersion         = "VersionResolved"
	ConditionVersionResolved = "Resolved"
	ConditionVersionErr      = "Error"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterAddonBindingReconciler

type ClusterAddonBindingReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ClusterAddonBindingReconciler reconciles a ClusterAddonBinding object

func (*ClusterAddonBindingReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.0/pkg/reconcile

func (*ClusterAddonBindingReconciler) SetupWithManager

func (r *ClusterAddonBindingReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type ClusterAddonReconciler

type ClusterAddonReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

ClusterAddonReconciler reconciles a ClusterAddon object

func (*ClusterAddonReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.0/pkg/reconcile

func (*ClusterAddonReconciler) SetupWithManager

func (r *ClusterAddonReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type ClusterOptions

type ClusterOptions struct {
	AllowHA                   bool
	UseHANonce                bool
	PostgresResourceName      string
	PostgresResourceNamespace string
	RootCAIssuerName          string
	RootCAIssuerKind          string
}

type ClusterReconciler

type ClusterReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
	DexCA    string
	Options  ClusterOptions
}

ClusterReconciler reconciles a Cluster object

func (*ClusterReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.2/pkg/reconcile

func (*ClusterReconciler) SafeUpdate

func (r *ClusterReconciler) SafeUpdate(ctx context.Context, old, new client.Object, option ...client.UpdateOption) error

SafeUpdate calls Update with hacks required to ensure that the update is applied correctly.

https://github.com/argoproj/argo-cd/issues/3657

func (*ClusterReconciler) SetupWithManager

func (r *ClusterReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type ClusterVersionReconciler

type ClusterVersionReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ClusterVersionReconciler reconciles a ClusterVersion object

func (*ClusterVersionReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.0/pkg/reconcile

func (*ClusterVersionReconciler) SetupWithManager

func (r *ClusterVersionReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type TenantOptions

type TenantOptions struct {
	SkipDefaultAddons bool
	CustomCAFile      string

	NamespaceOwnership bool
	NamespaceLabels    bool
}

type TenantReconciler

type TenantReconciler struct {
	client.Client
	Scheme  *runtime.Scheme
	Options TenantOptions
}

TenantReconciler reconciles a Tenant object

func (*TenantReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*TenantReconciler) SafeUpdate

func (r *TenantReconciler) SafeUpdate(ctx context.Context, old, new client.Object, option ...client.UpdateOption) error

SafeUpdate calls Update with hacks required to ensure that the update is applied correctly.

https://github.com/argoproj/argo-cd/issues/3657

func (*TenantReconciler) SetupWithManager

func (r *TenantReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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