install

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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
	Namespace      string
}

func (*Installer) CheckInitJobReadiness

func (a *Installer) CheckInitJobReadiness(ctx context.Context) readiness.CheckResult

func (*Installer) CheckProviderReadiness

func (a *Installer) CheckProviderReadiness(ctx context.Context) readiness.CheckResult

func (*Installer) InstallInitJob

func (a *Installer) InstallInitJob(ctx context.Context) (completed bool, err error)

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.

func (*Installer) InstallProvider

func (a *Installer) InstallProvider(ctx context.Context) error

func (*Installer) UninstallProvider

func (a *Installer) UninstallProvider(ctx context.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL