Documentation ¶
Index ¶
- Constants
- Variables
- func Init(opts InitOptions) error
- func InitActionConfig(ctx context.Context, envSettings *cli.EnvSettings, ...) error
- func NewActionConfig(ctx context.Context, envSettings *cli.EnvSettings, ...) *action.Configuration
- func NewEnvSettings(ctx context.Context, namespace string) (res *cli.EnvSettings)
- type ExtraAnnotationsAndLabelsPostRenderer
- type InitActionConfigOptions
- type InitOptions
- type ResourcesWaiter
- func (waiter *ResourcesWaiter) Wait(ctx context.Context, namespace string, resources helm_kube.ResourceList, ...) error
- func (waiter *ResourcesWaiter) WaitUntilDeleted(ctx context.Context, specs []*helm_kube.ResourcesWaiterDeleteResourceSpec, ...) error
- func (waiter *ResourcesWaiter) WatchUntilReady(ctx context.Context, namespace string, resources helm_kube.ResourceList, ...) error
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 ¶
View Source
var DefaultExtraAnnotations = map[string]string{ "werf.io/version": werf.Version, }
Functions ¶
func Init ¶
func Init(opts InitOptions) error
func InitActionConfig ¶ added in v1.2.0
func InitActionConfig(ctx context.Context, envSettings *cli.EnvSettings, actionConfig *action.Configuration, opts InitActionConfigOptions) error
func NewActionConfig ¶
func NewActionConfig(ctx context.Context, envSettings *cli.EnvSettings, opts InitActionConfigOptions) *action.Configuration
func NewEnvSettings ¶ added in v1.2.0
func NewEnvSettings(ctx context.Context, namespace string) (res *cli.EnvSettings)
Types ¶
type ExtraAnnotationsAndLabelsPostRenderer ¶ added in v1.2.0
type ExtraAnnotationsAndLabelsPostRenderer struct { ExtraAnnotations map[string]string ExtraLabels map[string]string }
func NewExtraAnnotationsAndLabelsPostRenderer ¶ added in v1.2.0
func NewExtraAnnotationsAndLabelsPostRenderer(extraAnnotations, extraLabels map[string]string) *ExtraAnnotationsAndLabelsPostRenderer
func (*ExtraAnnotationsAndLabelsPostRenderer) Add ¶ added in v1.2.0
func (pr *ExtraAnnotationsAndLabelsPostRenderer) Add(extraAnnotations, extraLabels map[string]string)
type InitActionConfigOptions ¶ added in v1.2.0
type InitOptions ¶
type InitOptions struct {
Debug bool
}
type ResourcesWaiter ¶
type ResourcesWaiter struct { Client *helm_kube.Client LogsFromTime time.Time StatusProgressPeriod time.Duration HooksStatusProgressPeriod time.Duration }
func NewResourcesWaiter ¶ added in v1.2.0
func (*ResourcesWaiter) Wait ¶ added in v1.2.0
func (waiter *ResourcesWaiter) Wait(ctx context.Context, namespace string, resources helm_kube.ResourceList, timeout time.Duration) error
func (*ResourcesWaiter) WaitUntilDeleted ¶ added in v1.2.0
func (waiter *ResourcesWaiter) WaitUntilDeleted(ctx context.Context, specs []*helm_kube.ResourcesWaiterDeleteResourceSpec, timeout time.Duration) error
func (*ResourcesWaiter) WatchUntilReady ¶
func (waiter *ResourcesWaiter) WatchUntilReady(ctx context.Context, namespace string, resources helm_kube.ResourceList, timeout time.Duration) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.