Documentation
¶
Index ¶
- func Reconcile(ctx context.Context, hostedClusterClient client.Client, ...) error
- func ReconcileGlobal(ctx context.Context, hosted HostedCluster, controlPlane ControlPlane, ...) error
- func ReconcileImagePolicy(ctx context.Context, hosted HostedCluster, ...) error
- func ReconcileInstallMetadata(ctx context.Context, hosted HostedCluster, ...) error
- func ReconcileObserved(ctx context.Context, hosted HostedCluster, controlPlane ControlPlane, ...) error
- func ReconcileProxyCABundle(ctx context.Context, hosted HostedCluster, controlPlane ControlPlane, ...) error
- func ReconcileProxyTrustedCA(ctx context.Context, hosted HostedCluster, controlPlane ControlPlane, ...) error
- type ControlPlane
- type HostedCluster
- type ObservedConfigParams
- type ProxyParams
- type ReconcileParams
- type Stage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Reconcile ¶
func Reconcile(ctx context.Context, hostedClusterClient client.Client, createOrUpdate upsert.CreateOrUpdateFN, params ReconcileParams, stage Stage) error
func ReconcileGlobal ¶ added in v0.1.88
func ReconcileGlobal(ctx context.Context, hosted HostedCluster, controlPlane ControlPlane, hcp *hyperv1.HostedControlPlane) error
func ReconcileImagePolicy ¶ added in v0.1.88
func ReconcileImagePolicy(ctx context.Context, hosted HostedCluster, sources []hyperv1.ImageContentSource) error
func ReconcileInstallMetadata ¶ added in v0.1.88
func ReconcileInstallMetadata(ctx context.Context, hosted HostedCluster, componentVersions func() (map[string]string, error)) error
ReconcileInstallMetadata reconciles the install metadata ConfigMap, recording the invoker and, when the version is not yet set, the release version.
Callers must provide a callable componentVersions accessor whenever initial version population can occur. The lookup is deliberately lazy: an existing "version" key avoids calling the accessor. A nil accessor is not valid when that key is absent; no eager lookup or alternative nil/error policy is provided.
func ReconcileObserved ¶ added in v0.1.88
func ReconcileObserved(ctx context.Context, hosted HostedCluster, controlPlane ControlPlane, params ObservedConfigParams) error
func ReconcileProxyCABundle ¶ added in v0.1.88
func ReconcileProxyCABundle(ctx context.Context, hosted HostedCluster, controlPlane ControlPlane, params ProxyParams) error
func ReconcileProxyTrustedCA ¶ added in v0.1.88
func ReconcileProxyTrustedCA(ctx context.Context, hosted HostedCluster, controlPlane ControlPlane, params ProxyParams) error
Types ¶
type ControlPlane ¶ added in v0.1.88
type ControlPlane struct {
// contains filtered or unexported fields
}
func NewControlPlane ¶ added in v0.1.88
func NewControlPlane(target client.Client, createOrUpdate upsert.CreateOrUpdateFN) ControlPlane
type HostedCluster ¶ added in v0.1.88
type HostedCluster struct {
// contains filtered or unexported fields
}
func NewHostedCluster ¶ added in v0.1.88
func NewHostedCluster(target client.Client, createOrUpdate upsert.CreateOrUpdateFN) HostedCluster
type ObservedConfigParams ¶ added in v0.1.88
type ProxyParams ¶ added in v0.1.88
func ProxyParamsFor ¶ added in v0.1.88
func ProxyParamsFor(namespace string, configuration *hyperv1.ClusterConfiguration) ProxyParams