Documentation ¶
Index ¶
- Constants
- type AccessManagementReconciler
- type BackupReconciler
- type ClusterDeploymentReconciler
- func (r *ClusterDeploymentReconciler) Delete(ctx context.Context, clusterDeployment *hmc.ClusterDeployment) (ctrl.Result, error)
- func (r *ClusterDeploymentReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *ClusterDeploymentReconciler) SetupWithManager(mgr ctrl.Manager) error
- type ClusterTemplateChainReconciler
- type ClusterTemplateReconciler
- type CredentialReconciler
- type ManagementReconciler
- func (r *ManagementReconciler) Delete(ctx context.Context, management *hmc.Management) (ctrl.Result, error)
- func (r *ManagementReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *ManagementReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *ManagementReconciler) Update(ctx context.Context, management *hmc.Management) (ctrl.Result, error)
- type MultiClusterServiceReconciler
- type ProviderTemplateReconciler
- type ReleaseReconciler
- type ServiceTemplateChainReconciler
- type ServiceTemplateReconciler
- type TemplateChainReconciler
- type TemplateReconciler
Constants ¶
const (
DefaultRequeueInterval = 10 * time.Second
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessManagementReconciler ¶
AccessManagementReconciler reconciles an AccessManagement object
func (*AccessManagementReconciler) SetupWithManager ¶
func (r *AccessManagementReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type BackupReconciler ¶
BackupReconciler reconciles a Backup object
func (*BackupReconciler) 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. 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 ¶
func (r *BackupReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ClusterDeploymentReconciler ¶
type ClusterDeploymentReconciler struct { client.Client Config *rest.Config DynamicClient *dynamic.DynamicClient SystemNamespace string }
ClusterDeploymentReconciler reconciles a ClusterDeployment object
func (*ClusterDeploymentReconciler) Delete ¶
func (r *ClusterDeploymentReconciler) Delete(ctx context.Context, clusterDeployment *hmc.ClusterDeployment) (ctrl.Result, error)
func (*ClusterDeploymentReconciler) Reconcile ¶
func (r *ClusterDeploymentReconciler) 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 (*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) 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) SetupWithManager ¶
func (r *ClusterTemplateReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type CredentialReconciler ¶
CredentialReconciler reconciles a Credential object
func (*CredentialReconciler) SetupWithManager ¶
func (r *CredentialReconciler) 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 ¶
func (r *ManagementReconciler) Delete(ctx context.Context, management *hmc.Management) (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 ¶
func (r *ManagementReconciler) Update(ctx context.Context, management *hmc.Management) (ctrl.Result, error)
type MultiClusterServiceReconciler ¶
MultiClusterServiceReconciler reconciles a MultiClusterService object
func (*MultiClusterServiceReconciler) Reconcile ¶
func (r *MultiClusterServiceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
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 ProviderTemplateReconciler ¶
type ProviderTemplateReconciler struct {
TemplateReconciler
}
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 HMCTemplatesChartName string SystemNamespace string DefaultRegistryConfig helm.DefaultRegistryConfig CreateManagement bool CreateRelease bool CreateTemplates bool }
ReleaseReconciler reconciles a Template object
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) SetupWithManager ¶
func (r *ServiceTemplateChainReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ServiceTemplateReconciler ¶
type ServiceTemplateReconciler struct {
TemplateReconciler
}
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 ¶
type TemplateReconciler ¶
type TemplateReconciler struct { client.Client SystemNamespace string DefaultRegistryConfig helm.DefaultRegistryConfig // contains filtered or unexported fields }
TemplateReconciler reconciles a *Template object