Documentation
¶
Index ¶
- Constants
- type Installer
- func (a *Installer) CheckProviderReadiness(ctx context.Context) readiness.CheckResult
- func (a *Installer) InstallInitJob(ctx context.Context) (completed bool, err error)
- func (a *Installer) InstallProvider(ctx context.Context) error
- func (a *Installer) UninstallProvider(ctx context.Context) (deleted bool, err error)
- type Values
- func (v *Values) ClusterScopedDefaultResourceName() string
- func (v *Values) ClusterScopedResourceName(suffix string) string
- func (v *Values) Image() string
- func (v *Values) ImagePullSecrets() []corev1.LocalObjectReference
- func (v *Values) LabelsCommon() map[string]string
- func (v *Values) LabelsController() map[string]string
- func (v *Values) LabelsInitJob() map[string]string
- func (v *Values) Namespace() string
- func (v *Values) NamespacedDefaultResourceName() string
- func (v *Values) NamespacedResourceName(suffix string) string
Constants ¶
View Source
const ( ProviderNameLabel = "openmcp.cloud/provider-name" ProviderKindLabel = "openmcp.cloud/provider-kind" ProviderGenerationLabel = "openmcp.cloud/provider-generation" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Installer ¶
type Installer struct { PlatformClient client.Client Provider *unstructured.Unstructured DeploymentSpec *v1alpha1.DeploymentSpec }
func (*Installer) CheckProviderReadiness ¶
func (a *Installer) CheckProviderReadiness(ctx context.Context) readiness.CheckResult
func (*Installer) InstallInitJob ¶
InstallInitJob installs the init job of a provider. Does nothing if the generation has not changed. Otherwise, it deletes the old job before it creates the new job. Adds provider generation as annotation to the job.
type Values ¶ added in v0.2.0
type Values struct {
// contains filtered or unexported fields
}
func NewValues ¶ added in v0.2.0
func NewValues(provider *unstructured.Unstructured, deploymentSpec *v1alpha1.DeploymentSpec) *Values
func (*Values) ClusterScopedDefaultResourceName ¶ added in v0.2.0
func (*Values) ClusterScopedResourceName ¶ added in v0.2.0
func (*Values) ImagePullSecrets ¶ added in v0.2.0
func (v *Values) ImagePullSecrets() []corev1.LocalObjectReference
func (*Values) LabelsCommon ¶ added in v0.2.0
func (*Values) LabelsController ¶ added in v0.2.0
func (*Values) LabelsInitJob ¶ added in v0.2.0
func (*Values) NamespacedDefaultResourceName ¶ added in v0.2.0
func (*Values) NamespacedResourceName ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.