Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFailWholeDeployProcessImmediately = errors.New("fail whole deploy process immediately")
Functions ¶
func Multitrack ¶
func Multitrack(kube kubernetes.Interface, specs MultitrackSpecs, opts MultitrackOptions) error
Types ¶
type MultitrackOptions ¶
type MultitrackOptions struct { tracker.Options DynamicClient dynamic.Interface DiscoveryClient discovery.CachedDiscoveryInterface Mapper meta.RESTMapper StatusProgressPeriod time.Duration }
type MultitrackSpec ¶
type MultitrackSpec struct { ResourceName string Namespace string TrackTerminationMode TrackTerminationMode FailMode FailMode AllowFailuresCount *int FailureThresholdSeconds *int IgnoreReadinessProbeFailsByContainerName map[string]time.Duration LogRegex *regexp.Regexp LogRegexByContainerName map[string]*regexp.Regexp SkipLogs bool SkipLogsForContainers []string ShowLogsOnlyForContainers []string ShowServiceMessages bool }
type MultitrackSpecs ¶
type MultitrackSpecs struct { Deployments []MultitrackSpec StatefulSets []MultitrackSpec DaemonSets []MultitrackSpec Jobs []MultitrackSpec Canaries []MultitrackSpec Generics []*generic.Spec }
type TrackTerminationMode ¶
type TrackTerminationMode string
const ( WaitUntilResourceReady TrackTerminationMode = "WaitUntilResourceReady" NonBlocking TrackTerminationMode = "NonBlocking" )
Source Files ¶
Click to show internal directories.
Click to hide internal directories.