release

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 12 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(ctx context.Context, components map[string]*ocm.Component, bootstrapVersion string) error

ReleaseBootstrapComponent releases the bootstrap component.

func (*Releaser) ReleaseFluxCliComponent

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

ReleaseFluxCliComponent releases flux-cli.

func (*Releaser) ReleaseFluxComponent

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

ReleaseFluxComponent releases flux with all its components

func (*Releaser) ReleaseGitControllerComponent

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

ReleaseGitControllerComponent releases the git-controller component.

func (*Releaser) ReleaseMpasProductControllerComponent

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

ReleaseMpasProductControllerComponent releases the mpas-product-controller component.

func (*Releaser) ReleaseMpasProjectControllerComponent

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

ReleaseMpasProjectControllerComponent releases the mpas-project-controller component.

func (*Releaser) ReleaseOCMCliComponent

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

ReleaseOCMCliComponent releases ocm-cli.

func (*Releaser) ReleaseOcmControllerComponent

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

ReleaseOcmControllerComponent releases the ocm-controller component.

func (*Releaser) ReleaseReplicationControllerComponent

func (r *Releaser) ReleaseReplicationControllerComponent(ctx context.Context, replicationVersion, comp 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