release

package
v0.0.0-...-3e220e4 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Namespace

type Namespace struct {
	Name    string
	Install bool
}

Namespace represents struct with release namespace name and if it should be installed

type Release

type Release struct {
	Name           string
	Repo           string
	Chart          *helmchart.Chart
	Version        string
	Revision       int
	ValuesTemplate *values.ValueTemplate
	Namespace      Namespace

	Flags     *helmv1alpha1.Flags
	Config    *action.Configuration
	Client    *action.Install
	K8sClient client.WithWatch
	// contains filtered or unexported fields
}

Release represents data needed for installing and updating a helm release

func New

func New(instance *helmv1alpha1.Release, watchNamespace string, scheme *runtime.Scheme, reqLogger logr.Logger, k8sclient client.WithWatch, g utils.HTTPClientInterface, getter genericclioptions.RESTClientGetter, kubeconfig []byte) (*Release, error)

New represents initialization of internal release struct

func (*Release) Remove

func (hc *Release) Remove() error

Remove represents removing release related resource

func (*Release) RemoveRelease

func (hr *Release) RemoveRelease() error

RemoveRelease represents func for managing action related to a change of a finalizer related to a release or repo resource

func (*Release) Update

func (hc *Release) Update() error

Update represents update or installation process of a release

Jump to

Keyboard shortcuts

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