Documentation ¶
Index ¶
- Constants
- func Init(opts InitOptions) error
- func InitActionConfig(envSettings *cli.EnvSettings, actionConfig *action.Configuration, ...)
- func Install(ctx context.Context, chart, releaseName string, opts InstallOptions) error
- func IsErrReleaseNotFound(err error) bool
- func NewActionConfig(envSettings *cli.EnvSettings, opts InitActionConfigOptions) *action.Configuration
- func NewEnvSettings(namespace string) (res *cli.EnvSettings)
- func Rollback(releaseName string, opts RollbackOptions) error
- func Status(releaseName string, opts StatusOptions) (*release.Release, error)
- func Upgrade(ctx context.Context, chart, releaseName string, opts UpgradeOptions) error
- type InitActionConfigOptions
- type InitOptions
- type InstallOptions
- type ResourcesWaiter
- type RollbackOptions
- type StatusOptions
- type UpgradeOptions
Constants ¶
View Source
const ( TrackTerminationModeAnnoName = "werf.io/track-termination-mode" FailModeAnnoName = "werf.io/fail-mode" FailuresAllowedPerReplicaAnnoName = "werf.io/failures-allowed-per-replica" LogRegexAnnoName = "werf.io/log-regex" LogRegexForAnnoPrefix = "werf.io/log-regex-for-" SkipLogsAnnoName = "werf.io/skip-logs" SkipLogsForContainersAnnoName = "werf.io/skip-logs-for-containers" ShowLogsOnlyForContainers = "werf.io/show-logs-only-for-containers" ShowLogsUntilAnnoName = "werf.io/show-logs-until" ShowEventsAnnoName = "werf.io/show-service-messages" )
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(opts InitOptions) error
func InitActionConfig ¶
func InitActionConfig(envSettings *cli.EnvSettings, actionConfig *action.Configuration, opts InitActionConfigOptions)
func Install ¶
func Install(ctx context.Context, chart, releaseName string, opts InstallOptions) error
func IsErrReleaseNotFound ¶
func NewActionConfig ¶
func NewActionConfig(envSettings *cli.EnvSettings, opts InitActionConfigOptions) *action.Configuration
func NewEnvSettings ¶
func NewEnvSettings(namespace string) (res *cli.EnvSettings)
func Rollback ¶
func Rollback(releaseName string, opts RollbackOptions) error
Types ¶
type InitActionConfigOptions ¶
type InitOptions ¶
type InitOptions struct {
Debug bool
}
type InstallOptions ¶
type ResourcesWaiter ¶
type ResourcesWaiter struct { Client *helm_kube.Client LogsFromTime time.Time StatusProgressPeriod time.Duration HooksStatusProgressPeriod time.Duration }
func NewResourcesWaiter ¶
func (*ResourcesWaiter) Wait ¶
func (waiter *ResourcesWaiter) Wait(ctx context.Context, namespace string, resources helm_kube.ResourceList, timeout time.Duration) error
func (*ResourcesWaiter) WatchUntilReady ¶
func (waiter *ResourcesWaiter) WatchUntilReady(ctx context.Context, namespace string, resources helm_kube.ResourceList, timeout time.Duration) error
type RollbackOptions ¶
type StatusOptions ¶
Click to show internal directories.
Click to hide internal directories.