controller

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2025 License: Apache-2.0 Imports: 64 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessManagementReconciler

type AccessManagementReconciler struct {
	client.Client
	SystemNamespace string
}

AccessManagementReconciler reconciles an AccessManagement object

func (*AccessManagementReconciler) Reconcile

func (*AccessManagementReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ClusterDeploymentReconciler

type ClusterDeploymentReconciler struct {
	Client client.Client

	Config                 *rest.Config
	DynamicClient          *dynamic.DynamicClient
	SystemNamespace        string
	GlobalRegistry         string
	GlobalK0sURL           string
	K0sURLCertSecretName   string // Name of a Secret with K0s Download URL Root CA with ca.crt key
	RegistryCertSecretName string // Name of a Secret with Registry Root CA with ca.crt key

	IsDisabledValidationWH bool // is webhook disabled set via the controller flags
	// contains filtered or unexported fields
}

ClusterDeploymentReconciler reconciles a ClusterDeployment object

func (*ClusterDeploymentReconciler) 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.

func (*ClusterDeploymentReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ClusterTemplateChainReconciler

type ClusterTemplateChainReconciler struct {
	TemplateChainReconciler
}

func (*ClusterTemplateChainReconciler) Reconcile

func (*ClusterTemplateChainReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ClusterTemplateReconciler

type ClusterTemplateReconciler struct {
	TemplateReconciler
}

func (*ClusterTemplateReconciler) Reconcile

func (*ClusterTemplateReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type CredentialReconciler

type CredentialReconciler struct {
	client.Client
	SystemNamespace string
	// contains filtered or unexported fields
}

CredentialReconciler reconciles a Credential object

func (*CredentialReconciler) Reconcile

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

func (*CredentialReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ManagementBackupReconciler added in v0.1.0

type ManagementBackupReconciler struct {
	client.Client

	SystemNamespace string
	// contains filtered or unexported fields
}

ManagementBackupReconciler reconciles a ManagementBackup object

func (*ManagementBackupReconciler) Reconcile added in v0.1.0

func (*ManagementBackupReconciler) SetupWithManager added in v0.1.0

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

SetupWithManager sets up the controller with the Manager.

type ManagementReconciler

type ManagementReconciler struct {
	Client                 client.Client
	Manager                manager.Manager
	Config                 *rest.Config
	DynamicClient          *dynamic.DynamicClient
	SystemNamespace        string
	GlobalRegistry         string
	GlobalK0sURL           string
	K0sURLCertSecretName   string // Name of a Secret with K0s Download URL Root CA with ca.crt key; to be passed to the ClusterDeploymentReconciler
	RegistryCertSecretName string // Name of a Secret with Registry Root CA with ca.crt key; used by ManagementReconciler and ClusterDeploymentReconciler

	CreateAccessManagement bool
	IsDisabledValidationWH bool // is webhook disabled set via the controller flags
	// contains filtered or unexported fields
}

ManagementReconciler reconciles a Management object

func (*ManagementReconciler) Reconcile

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

func (*ManagementReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type MultiClusterServiceReconciler

type MultiClusterServiceReconciler struct {
	Client                 client.Client
	SystemNamespace        string
	IsDisabledValidationWH bool // is webhook disabled set via the controller flags
}

MultiClusterServiceReconciler reconciles a MultiClusterService object

func (*MultiClusterServiceReconciler) Reconcile

Reconcile reconciles a MultiClusterService object.

func (*MultiClusterServiceReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ProviderInterfaceReconciler added in v0.3.0

type ProviderInterfaceReconciler struct {
	client.Client
	// contains filtered or unexported fields
}

ProviderInterfaceReconciler reconciles a ProviderInterface objects

func (*ProviderInterfaceReconciler) Reconcile added in v0.3.0

func (*ProviderInterfaceReconciler) SetupWithManager added in v0.3.0

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

SetupWithManager sets up the controller with the Manager.

type ProviderTemplateReconciler

type ProviderTemplateReconciler struct {
	TemplateReconciler
}

func (*ProviderTemplateReconciler) Reconcile

func (*ProviderTemplateReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ReleaseReconciler

type ReleaseReconciler struct {
	client.Client

	Config *rest.Config

	KCMTemplatesChartName string
	SystemNamespace       string

	DefaultRegistryConfig helm.DefaultRegistryConfig

	CreateManagement bool
	CreateRelease    bool
	CreateTemplates  bool
}

ReleaseReconciler reconciles a Template object

func (*ReleaseReconciler) Reconcile

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

func (*ReleaseReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ServiceTemplateChainReconciler

type ServiceTemplateChainReconciler struct {
	TemplateChainReconciler
}

func (*ServiceTemplateChainReconciler) Reconcile

func (*ServiceTemplateChainReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ServiceTemplateReconciler

type ServiceTemplateReconciler struct {
	TemplateReconciler
}

ServiceTemplateReconciler reconciles a ServiceTemplate object

func (*ServiceTemplateReconciler) Reconcile

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

func (*ServiceTemplateReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type TemplateChainReconciler

type TemplateChainReconciler struct {
	client.Client
	SystemNamespace string
	// contains filtered or unexported fields
}

TemplateChainReconciler reconciles a TemplateChain object

func (*TemplateChainReconciler) ReconcileTemplateChain

func (r *TemplateChainReconciler) ReconcileTemplateChain(ctx context.Context, templateChain templateChain) (ctrl.Result, error)

type TemplateReconciler

type TemplateReconciler struct {
	client.Client

	SystemNamespace       string
	DefaultRegistryConfig helm.DefaultRegistryConfig
	CreateManagement      bool
	// contains filtered or unexported fields
}

TemplateReconciler reconciles a *Template object

func (*TemplateReconciler) ReconcileTemplate

func (r *TemplateReconciler) ReconcileTemplate(ctx context.Context, template templateCommon) (ctrl.Result, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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