Documentation
¶
Index ¶
- Constants
- type BaseReconciler
- func (r *BaseReconciler) GetAPIServerRouteURL(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane) (string, error)
- func (r *BaseReconciler) GetConfig(ctx context.Context) (*SharedConfig, error)
- func (r *BaseReconciler) ReconcileAPIServerIngress(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane, svcName string, ...) error
- func (r *BaseReconciler) ReconcileAPIServerRoute(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane, svcName string, ...) error
- func (r *BaseReconciler) ReconcileNamespace(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane) error
- func (r *BaseReconciler) UpdateStatusForSyncingError(hcp *tenancyv1alpha1.ControlPlane, e error) (ctrl.Result, error)
- func (r *BaseReconciler) UpdateStatusForSyncingSuccess(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane) (ctrl.Result, error)
- func (r *BaseReconciler) UpdateStatusWithSecretRef(hcp *tenancyv1alpha1.ControlPlane, secretName string)
- type SharedConfig
Constants ¶
View Source
const ( DefaulPort = 443 SecurePort = 9444 CMHealthzPort = 10257 )
View Source
const (
IngressClassNameNGINX = "nginx"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseReconciler ¶
BaseReconciler provide common reconcilers used by other reconcilers
func (*BaseReconciler) GetAPIServerRouteURL ¶ added in v0.2.5
func (r *BaseReconciler) GetAPIServerRouteURL(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane) (string, error)
func (*BaseReconciler) GetConfig ¶ added in v0.2.3
func (r *BaseReconciler) GetConfig(ctx context.Context) (*SharedConfig, error)
func (*BaseReconciler) ReconcileAPIServerIngress ¶
func (r *BaseReconciler) ReconcileAPIServerIngress(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane, svcName string, svcPort int, domain string) error
func (*BaseReconciler) ReconcileAPIServerRoute ¶ added in v0.2.5
func (r *BaseReconciler) ReconcileAPIServerRoute(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane, svcName string, svcPort int, domain string) error
func (*BaseReconciler) ReconcileNamespace ¶
func (r *BaseReconciler) ReconcileNamespace(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane) error
func (*BaseReconciler) UpdateStatusForSyncingError ¶
func (r *BaseReconciler) UpdateStatusForSyncingError(hcp *tenancyv1alpha1.ControlPlane, e error) (ctrl.Result, error)
func (*BaseReconciler) UpdateStatusForSyncingSuccess ¶
func (r *BaseReconciler) UpdateStatusForSyncingSuccess(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane) (ctrl.Result, error)
func (*BaseReconciler) UpdateStatusWithSecretRef ¶ added in v0.2.6
func (r *BaseReconciler) UpdateStatusWithSecretRef(hcp *tenancyv1alpha1.ControlPlane, secretName string)
type SharedConfig ¶ added in v0.2.3
type SharedConfig struct {}
Click to show internal directories.
Click to hide internal directories.