Documentation ¶
Index ¶
- Constants
- func IsStorageAndCSIManaged(hostedControlPlane *hyperv1.HostedControlPlane) bool
- type HostedControlPlaneReconciler
- func (r *HostedControlPlaneReconciler) GetGuestClusterClient(ctx context.Context, hcp *hyperv1.HostedControlPlane) (*kubernetes.Clientset, error)
- func (r *HostedControlPlaneReconciler) LookupReleaseImage(ctx context.Context, hcp *hyperv1.HostedControlPlane) (*releaseinfo.ReleaseImage, error)
- func (r *HostedControlPlaneReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *HostedControlPlaneReconciler) SetupWithManager(mgr ctrl.Manager, createOrUpdate upsert.CreateOrUpdateFN) error
- type InfrastructureStatus
Constants ¶
View Source
const ( DefaultAdminKubeconfigKey = "kubeconfig" ImageStreamAutoscalerImage = "cluster-autoscaler" ImageStreamClusterMachineApproverImage = "cluster-machine-approver" )
Variables ¶
This section is empty.
Functions ¶
func IsStorageAndCSIManaged ¶
func IsStorageAndCSIManaged(hostedControlPlane *hyperv1.HostedControlPlane) bool
Types ¶
type HostedControlPlaneReconciler ¶
type HostedControlPlaneReconciler struct { client.Client // ManagementClusterCapabilities can be asked for support of optional management cluster capabilities ManagementClusterCapabilities capabilities.CapabiltyChecker // SetDefaultSecurityContext is used to configure Security Context for containers SetDefaultSecurityContext bool // CertRotationScale determines how quickly we rotate certificates - should only be set faster in testing CertRotationScale time.Duration Log logr.Logger ReleaseProvider releaseinfo.ProviderWithOpenShiftImageRegistryOverrides UserReleaseProvider releaseinfo.Provider EnableCIDebugOutput bool OperateOnReleaseImage string DefaultIngressDomain string MetricsSet metrics.MetricsSet SREConfigHash string EnableCVOManagementClusterMetricsAccess bool // contains filtered or unexported fields }
func (*HostedControlPlaneReconciler) GetGuestClusterClient ¶ added in v0.1.2
func (r *HostedControlPlaneReconciler) GetGuestClusterClient(ctx context.Context, hcp *hyperv1.HostedControlPlane) (*kubernetes.Clientset, error)
func (*HostedControlPlaneReconciler) LookupReleaseImage ¶
func (r *HostedControlPlaneReconciler) LookupReleaseImage(ctx context.Context, hcp *hyperv1.HostedControlPlane) (*releaseinfo.ReleaseImage, error)
func (*HostedControlPlaneReconciler) SetupWithManager ¶
func (r *HostedControlPlaneReconciler) SetupWithManager(mgr ctrl.Manager, createOrUpdate upsert.CreateOrUpdateFN) error
type InfrastructureStatus ¶
type InfrastructureStatus struct { APIHost string APIPort int32 OAuthEnabled bool OAuthHost string OAuthPort int32 KonnectivityHost string KonnectivityPort int32 OpenShiftAPIHost string OauthAPIServerHost string PackageServerAPIAddress string Message string InternalHCPRouterHost string NeedInternalRouter bool ExternalHCPRouterHost string NeedExternalRouter bool }
func (InfrastructureStatus) IsReady ¶
func (s InfrastructureStatus) IsReady() bool
Source Files ¶
Click to show internal directories.
Click to hide internal directories.