Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultReleaseManager ¶
NewDefaultReleaseManager constructs new defaultReleaseManager.
Types ¶
type ActionOption ¶
type ActionOption func(opts *ActionOptions)
ActionOption configures ActionOptions.
func WithTimeout ¶
func WithTimeout(timeout time.Duration) ActionOption
WithTimeout configures timeout for helm action
type ActionOptions ¶
type ActionOptions struct { // The duration to wait for helm operations. when zero, wait is disabled. Timeout time.Duration }
ActionOptions contains general helm action options
func (*ActionOptions) ApplyOptions ¶
func (opts *ActionOptions) ApplyOptions(options []ActionOption)
ApplyOptions applies all ActionOption
type ReleaseManager ¶
type ReleaseManager interface { // InstallOrUpgradeRelease install or upgrade helm release InstallOrUpgradeRelease(chartName string, namespace string, releaseName string, vals map[string]interface{}, opts ...ActionOption) (*release.Release, error) // InstallRelease install helm release InstallRelease(chartName string, namespace string, releaseName string, vals map[string]interface{}, opts ...ActionOption) (*release.Release, error) // UpgradeRelease upgrade helm release UpgradeRelease(chartName string, namespace string, releaseName string, vals map[string]interface{}, opts ...ActionOption) (*release.Release, error) }
ReleaseManager is responsible for manage helm releases
Click to show internal directories.
Click to hide internal directories.