release

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Releaser

type Releaser struct {
	// contains filtered or unexported fields
}

Releaser releases the bootstrap component and its dependencies.

func New

func New(
	octx om.Context,
	username, token, tmpDir, repositoryURL string,
	ctf om.Repository,
) *Releaser

New creates a new Releaser.

func (*Releaser) ReleaseBootstrapComponent

func (r *Releaser) ReleaseBootstrapComponent(
	components map[string]*ocm.Component,
	bootstrapVersion string,
) (err error)

ReleaseBootstrapComponent releases the bootstrap component.

func (*Releaser) ReleaseCertManagerComponent added in v0.4.0

func (r *Releaser) ReleaseCertManagerComponent(
	ctx context.Context,
	version string,
) (*ocm.Component, error)

ReleaseCertManagerComponent releases cert-manager with all its components

func (*Releaser) ReleaseExternalSecretsComponent added in v0.5.0

func (r *Releaser) ReleaseExternalSecretsComponent(
	ctx context.Context,
	version string,
) (*ocm.Component, error)

ReleaseExternalSecretsComponent releases external-secrets with all its components

func (*Releaser) ReleaseFluxCliComponent

func (r *Releaser) ReleaseFluxCliComponent(
	ctx context.Context,
	fluxVersion, targetOS, targetArch string,
) (component *ocm.Component, err error)

ReleaseFluxCliComponent releases flux-cli.

func (*Releaser) ReleaseFluxComponent

func (r *Releaser) ReleaseFluxComponent(
	ctx context.Context,
	fluxVersion string,
) (*ocm.Component, error)

ReleaseFluxComponent releases flux with all its components

func (*Releaser) ReleaseGitControllerComponent

func (r *Releaser) ReleaseGitControllerComponent(
	ctx context.Context,
	gitVersion string,
) (*ocm.Component, error)

ReleaseGitControllerComponent releases the git-controller component.

func (*Releaser) ReleaseMpasProductControllerComponent

func (r *Releaser) ReleaseMpasProductControllerComponent(
	ctx context.Context,
	mpasProductVersion string,
) (*ocm.Component, error)

ReleaseMpasProductControllerComponent releases the mpas-product-controller component.

func (*Releaser) ReleaseMpasProjectControllerComponent

func (r *Releaser) ReleaseMpasProjectControllerComponent(
	ctx context.Context,
	mpasProjectVersion string,
) (*ocm.Component, error)

ReleaseMpasProjectControllerComponent releases the mpas-project-controller component.

func (*Releaser) ReleaseOCMCliComponent

func (r *Releaser) ReleaseOCMCliComponent(
	ctx context.Context,
	ocmCliVersion, targetOS, targetArch string,
) (component *ocm.Component, err error)

ReleaseOCMCliComponent releases ocm-cli.

func (*Releaser) ReleaseOcmControllerComponent

func (r *Releaser) ReleaseOcmControllerComponent(
	ctx context.Context,
	ocmVersion string,
) (*ocm.Component, error)

ReleaseOcmControllerComponent releases the ocm-controller component.

func (*Releaser) ReleaseReplicationControllerComponent

func (r *Releaser) ReleaseReplicationControllerComponent(
	ctx context.Context,
	replicationVersion string,
) (*ocm.Component, error)

ReleaseReplicationControllerComponent releases the replication-controller component.

Jump to

Keyboard shortcuts

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