helm

package
v1.2.13-test1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: Apache-2.0 Imports: 40 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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"

	ReplicasOnCreationAnnoName = "werf.io/replicas-on-creation"
)

Variables

View Source
var WerfRuntimeAnnotations = map[string]string{
	"werf.io/version": werf.Version,
}
View Source
var WerfRuntimeLabels = map[string]string{}

Functions

func InitActionConfig added in v1.2.0

func InitActionConfig(ctx context.Context, kubeInitializer KubeInitializer, namespace string, envSettings *cli.EnvSettings, registryClientHandle *helm_v3.RegistryClientHandle, actionConfig *action.Configuration, opts InitActionConfigOptions) error

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)

func (*ExtraAnnotationsAndLabelsPostRenderer) Run added in v1.2.0

func (pr *ExtraAnnotationsAndLabelsPostRenderer) Run(renderedManifests *bytes.Buffer) (*bytes.Buffer, error)

type HelmKubeClientExtender added in v1.2.6

type HelmKubeClientExtender struct{}

func NewHelmKubeClientExtender added in v1.2.6

func NewHelmKubeClientExtender() *HelmKubeClientExtender

func (*HelmKubeClientExtender) BeforeCreateResource added in v1.2.6

func (extender *HelmKubeClientExtender) BeforeCreateResource(info *resource.Info) error

func (*HelmKubeClientExtender) BeforeDeleteResource added in v1.2.6

func (extender *HelmKubeClientExtender) BeforeDeleteResource(info *resource.Info) error

func (*HelmKubeClientExtender) BeforeUpdateResource added in v1.2.6

func (extender *HelmKubeClientExtender) BeforeUpdateResource(info *resource.Info) error

type InitActionConfigOptions added in v1.2.0

type InitActionConfigOptions struct {
	StatusProgressPeriod      time.Duration
	HooksStatusProgressPeriod time.Duration
	KubeConfigOptions         kube.KubeConfigOptions
	ReleasesHistoryMax        int
}

type KubeInitializer added in v1.2.4

type KubeInitializer interface {
	Init(ctx context.Context) error
}

type ResourcesWaiter

type ResourcesWaiter struct {
	KubeInitializer           KubeInitializer
	Client                    *helm_kube.Client
	LogsFromTime              time.Time
	StatusProgressPeriod      time.Duration
	HooksStatusProgressPeriod time.Duration
}

func NewResourcesWaiter added in v1.2.0

func NewResourcesWaiter(kubeInitializer KubeInitializer, client *helm_kube.Client, logsFromTime time.Time, statusProgressPeriod, hooksStatusProgressPeriod time.Duration) *ResourcesWaiter

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

Directories

Path Synopsis
module

Jump to

Keyboard shortcuts

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