controller

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 49 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultRequeueInterval = 10 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessManagementReconciler added in v0.0.5

type AccessManagementReconciler struct {
	client.Client
	Config          *rest.Config
	SystemNamespace string
}

AccessManagementReconciler reconciles an AccessManagement object

func (*AccessManagementReconciler) Reconcile added in v0.0.5

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

func (*AccessManagementReconciler) SetupWithManager added in v0.0.5

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

SetupWithManager sets up the controller with the Manager.

type BackupReconciler added in v0.0.5

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

BackupReconciler reconciles a Backup object

func (*BackupReconciler) Reconcile added in v0.0.5

func (*BackupReconciler) Reconcile(ctx context.Context, _ 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. TODO(user): Modify the Reconcile function to compare the state specified by the Backup object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

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

func (*BackupReconciler) SetupWithManager added in v0.0.5

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

SetupWithManager sets up the controller with the Manager.

type ClusterTemplateChainReconciler added in v0.0.2

type ClusterTemplateChainReconciler struct {
	TemplateChainReconciler
}

func (*ClusterTemplateChainReconciler) Reconcile added in v0.0.2

func (*ClusterTemplateChainReconciler) SetupWithManager added in v0.0.2

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

SetupWithManager sets up the controller with the Manager.

type ClusterTemplateReconciler added in v0.0.2

type ClusterTemplateReconciler struct {
	TemplateReconciler
}

func (*ClusterTemplateReconciler) Reconcile added in v0.0.2

func (*ClusterTemplateReconciler) SetupWithManager added in v0.0.2

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

SetupWithManager sets up the controller with the Manager.

type CredentialReconciler added in v0.0.2

type CredentialReconciler struct {
	client.Client
}

CredentialReconciler reconciles a Credential object

func (*CredentialReconciler) Reconcile added in v0.0.2

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

func (*CredentialReconciler) SetupWithManager added in v0.0.2

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

SetupWithManager sets up the controller with the Manager.

type ManagedClusterReconciler added in v0.0.2

type ManagedClusterReconciler struct {
	client.Client
	Config          *rest.Config
	DynamicClient   *dynamic.DynamicClient
	SystemNamespace string
}

ManagedClusterReconciler reconciles a ManagedCluster object

func (*ManagedClusterReconciler) Delete added in v0.0.2

func (r *ManagedClusterReconciler) Delete(ctx context.Context, managedCluster *hmc.ManagedCluster) (ctrl.Result, error)

func (*ManagedClusterReconciler) Reconcile added in v0.0.2

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 (*ManagedClusterReconciler) SetupWithManager added in v0.0.2

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

SetupWithManager sets up the controller with the Manager.

type ManagementReconciler

type ManagementReconciler struct {
	client.Client
	Scheme                 *runtime.Scheme
	Config                 *rest.Config
	DynamicClient          *dynamic.DynamicClient
	SystemNamespace        string
	CreateAccessManagement bool
}

ManagementReconciler reconciles a Management object

func (*ManagementReconciler) Delete added in v0.0.2

func (r *ManagementReconciler) Delete(ctx context.Context, management *hmc.Management) (ctrl.Result, error)

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.

func (*ManagementReconciler) Update added in v0.0.2

func (r *ManagementReconciler) Update(ctx context.Context, management *hmc.Management) (ctrl.Result, error)

type MultiClusterServiceReconciler added in v0.0.3

type MultiClusterServiceReconciler struct {
	client.Client
	SystemNamespace string
}

MultiClusterServiceReconciler reconciles a MultiClusterService object

func (*MultiClusterServiceReconciler) Reconcile added in v0.0.3

Reconcile reconciles a MultiClusterService object.

func (*MultiClusterServiceReconciler) SetupWithManager added in v0.0.3

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

SetupWithManager sets up the controller with the Manager.

type ProviderTemplateReconciler added in v0.0.2

type ProviderTemplateReconciler struct {
	TemplateReconciler
}

func (*ProviderTemplateReconciler) Reconcile added in v0.0.2

func (*ProviderTemplateReconciler) SetupWithManager added in v0.0.2

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

SetupWithManager sets up the controller with the Manager.

type ReleaseReconciler added in v0.0.2

type ReleaseReconciler struct {
	client.Client

	Config *rest.Config

	HMCTemplatesChartName string
	SystemNamespace       string

	DefaultRegistryConfig helm.DefaultRegistryConfig

	CreateManagement bool
	CreateRelease    bool
	CreateTemplates  bool
}

ReleaseReconciler reconciles a Template object

func (*ReleaseReconciler) Reconcile added in v0.0.2

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

func (*ReleaseReconciler) SetupWithManager added in v0.0.2

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

SetupWithManager sets up the controller with the Manager.

type ServiceTemplateChainReconciler added in v0.0.2

type ServiceTemplateChainReconciler struct {
	TemplateChainReconciler
}

func (*ServiceTemplateChainReconciler) Reconcile added in v0.0.2

func (*ServiceTemplateChainReconciler) SetupWithManager added in v0.0.2

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

SetupWithManager sets up the controller with the Manager.

type ServiceTemplateReconciler added in v0.0.2

type ServiceTemplateReconciler struct {
	TemplateReconciler
}

func (*ServiceTemplateReconciler) Reconcile added in v0.0.2

func (*ServiceTemplateReconciler) SetupWithManager added in v0.0.2

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

SetupWithManager sets up the controller with the Manager.

type TemplateChainReconciler added in v0.0.2

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

TemplateChainReconciler reconciles a TemplateChain object

func (*TemplateChainReconciler) ReconcileTemplateChain added in v0.0.2

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

type TemplateReconciler

type TemplateReconciler struct {
	client.Client

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

TemplateReconciler reconciles a *Template object

func (*TemplateReconciler) ReconcileTemplate added in v0.0.2

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

Jump to

Keyboard shortcuts

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