Documentation
¶
Index ¶
- Variables
- func Init(opts *Options, logger *log.Logger) error
- func NewClient(logger *log.Logger, labels map[string]string) client.HelmClient
- func ReinitActionConfig(logger *log.Logger) error
- type LibClient
- func (h *LibClient) DeleteRelease(releaseName string) error
- func (h *LibClient) GetReleaseChecksum(releaseName string) (string, error)deprecated
- func (h *LibClient) GetReleaseLabels(releaseName, labelName string) (string, error)
- func (h *LibClient) GetReleaseValues(releaseName string) (utils.Values, error)
- func (h *LibClient) IsReleaseExists(releaseName string) (bool, error)
- func (h *LibClient) LastReleaseStatus(releaseName string) (string, string, error)
- func (h *LibClient) ListReleases() ([]*release.Release, error)
- func (h *LibClient) ListReleasesNames() ([]string, error)
- func (h *LibClient) Render(releaseName, modulePath string, valuesPaths, setValues []string, ...) (string, error)
- func (h *LibClient) UpgradeRelease(releaseName, modulePath string, valuesPaths []string, setValues []string, ...) error
- func (h *LibClient) WithExtraAnnotations(_ map[string]string)
- func (h *LibClient) WithExtraLabels(labels map[string]string)
- func (h *LibClient) WithLogLabels(logLabels map[string]string)
- type Options
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLabelIsNotFound = errors.New("label is not found")
Functions ¶
func ReinitActionConfig ¶ added in v1.5.0
ReinitActionConfig reinitializes helm3 action configuration to update its list of capabilities
Types ¶
type LibClient ¶
type LibClient struct {
Logger *log.Logger
Namespace string
HelmIgnoreRelease string
// contains filtered or unexported fields
}
LibClient use helm3 package as Go library.
func (*LibClient) DeleteRelease ¶
func (*LibClient) GetReleaseChecksum
deprecated
added in
v1.6.2
func (*LibClient) GetReleaseLabels ¶ added in v1.7.1
func (*LibClient) GetReleaseValues ¶
func (*LibClient) IsReleaseExists ¶
func (*LibClient) LastReleaseStatus ¶
LastReleaseStatus returns last known revision for release and its status
func (*LibClient) ListReleases ¶
ListReleases retrieves all Helm releases regardless of their state.
func (*LibClient) ListReleasesNames ¶
ListReleasesNames returns list of release names.
func (*LibClient) UpgradeRelease ¶
func (*LibClient) WithExtraAnnotations ¶ added in v1.14.0
func (*LibClient) WithExtraLabels ¶ added in v1.6.2
func (*LibClient) WithLogLabels ¶ added in v1.6.2
Click to show internal directories.
Click to hide internal directories.