controllers

package
v0.0.0-...-0e2d6d1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaulFluxNamespace = "flux-system"
	FluxInterval        = 10 * time.Second
	FluxOwnerLabel      = "kustomize.toolkit.fluxcd.io/name"
	FluxNamespaceLabel  = "kustomize.toolkit.fluxcd.io/namespace"
	RepoSecretName      = "gh-repo-secret"
)
View Source
const (
	ClusterTypeField      = "spec.clusterType"
	ReconcilerField       = "spec.reconciler"
	NamespaceServiceField = "spec.namespaceService"
	DeploymentTargetField = "spec.deploymentTarget"
)
View Source
const (
	PlatformConfigLabel = "platform-config"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AssignmentReconciler

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

AssignmentReconciler reconciles a Assignment object

func (*AssignmentReconciler) Reconcile

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

func (*AssignmentReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type BaseRepoReconciler

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

BaseRepoReconciler reconciles a BaseRepo object

func (*BaseRepoReconciler) Reconcile

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

func (*BaseRepoReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type EnvironmentReconciler

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

EnvironmentReconciler reconciles a Environment object

func (*EnvironmentReconciler) Reconcile

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

func (*EnvironmentReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type Flux

type Flux interface {
	CreateFluxReferenceResources(name, namespace, targetnamespace, url, branch, path, commit string) error
	DeleteFluxReferenceResources(name, namespace string) error
}

func NewFlux

func NewFlux(ctx context.Context, client client.Client) Flux

new flux function

type GitOpsRepoReconciler

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

GitOpsRepoReconciler reconciles a GitOpsRepo object

func (*GitOpsRepoReconciler) Reconcile

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

func (*GitOpsRepoReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type SchedulingPolicyReconciler

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

SchedulingPolicyReconciler reconciles a SchedulingPolicy object

func (*SchedulingPolicyReconciler) Reconcile

func (*SchedulingPolicyReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type WorkloadReconciler

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

WorkloadReconciler reconciles a Workload object

func (*WorkloadReconciler) Reconcile

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

func (*WorkloadReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type WorkloadRegistrationReconciler

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

WorkloadRegistrationReconciler reconciles a WorkloadRegistration object

func (*WorkloadRegistrationReconciler) Reconcile

func (*WorkloadRegistrationReconciler) SetupWithManager

func (r *WorkloadRegistrationReconciler) 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