controller

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//GiantSwarm team label
	GSTeamLabel = "application.giantswarm.io/team"
	//Policy API Exemption label
	//TODO: Move to Policy API
	PolicyAPIExemptionLabel = "policy.giantswarm.io/giantswarm-exempt"
)

Functions

This section is empty.

Types

type AutomatedExceptionReconciler

type AutomatedExceptionReconciler struct {
	client.Client
	Scheme           *runtime.Scheme
	EdgeDBClient     *edgedb.Client
	MaxJitterPercent int
}

AutomatedExceptionReconciler reconciles an AutomatedException object

func (*AutomatedExceptionReconciler) Reconcile

func (*AutomatedExceptionReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ClusterPolicyReconciler

type ClusterPolicyReconciler struct {
	client.Client
	EdgeDBClient     *edgedb.Client
	Scheme           *runtime.Scheme
	MaxJitterPercent int
}

PolicyReconciler reconciles a AutomatedException object

func (*ClusterPolicyReconciler) Reconcile

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

func (*ClusterPolicyReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type PolicyConfigReconciler

type PolicyConfigReconciler struct {
	client.Client
	EdgeDBClient     *edgedb.Client
	Scheme           *runtime.Scheme
	MaxJitterPercent int
}

PolicyConfigReconciler reconciles a AutomatedException object

func (*PolicyConfigReconciler) Reconcile

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

func (*PolicyConfigReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type PolicyExceptionReconciler

type PolicyExceptionReconciler struct {
	client.Client
	EdgeDBClient     *edgedb.Client
	Scheme           *runtime.Scheme
	MaxJitterPercent int
}

PolicyExceptionReconciler reconciles a AutomatedException object

func (*PolicyExceptionReconciler) Reconcile

func (*PolicyExceptionReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type PolicyManifestReconciler

type PolicyManifestReconciler struct {
	client.Client
	EdgeDBClient *edgedb.Client
	Scheme       *runtime.Scheme
}

func (*PolicyManifestReconciler) Reconcile

func (r *PolicyManifestReconciler) Reconcile(ctx context.Context) error

type PolicyReconciler

type PolicyReconciler struct {
	client.Client
	EdgeDBClient     *edgedb.Client
	Scheme           *runtime.Scheme
	MaxJitterPercent int
}

PolicyReconciler reconciles a AutomatedException object

func (*PolicyReconciler) Reconcile

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

func (*PolicyReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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