Documentation ¶
Index ¶
- type Releaser
- func (r *Releaser) ReleaseBootstrapComponent(components map[string]*ocm.Component, bootstrapVersion string) (err error)
- func (r *Releaser) ReleaseCertManagerComponent(ctx context.Context, version string) (*ocm.Component, error)
- func (r *Releaser) ReleaseExternalSecretsComponent(ctx context.Context, version string) (*ocm.Component, error)
- func (r *Releaser) ReleaseFluxCliComponent(ctx context.Context, fluxVersion, targetOS, targetArch string) (component *ocm.Component, err error)
- func (r *Releaser) ReleaseFluxComponent(ctx context.Context, fluxVersion string) (*ocm.Component, error)
- func (r *Releaser) ReleaseGitControllerComponent(ctx context.Context, gitVersion string) (*ocm.Component, error)
- func (r *Releaser) ReleaseMpasProductControllerComponent(ctx context.Context, mpasProductVersion string) (*ocm.Component, error)
- func (r *Releaser) ReleaseMpasProjectControllerComponent(ctx context.Context, mpasProjectVersion string) (*ocm.Component, error)
- func (r *Releaser) ReleaseOCMCliComponent(ctx context.Context, ocmCliVersion, targetOS, targetArch string) (component *ocm.Component, err error)
- func (r *Releaser) ReleaseOcmControllerComponent(ctx context.Context, ocmVersion string) (*ocm.Component, error)
- func (r *Releaser) ReleaseReplicationControllerComponent(ctx context.Context, replicationVersion string) (*ocm.Component, error)
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.