controller

package
Version: v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2019 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecheckDeletionTimestamp

func RecheckDeletionTimestamp(getObject func() (metav1.Object, error)) func() error

RecheckDeletionTimestamp returns a canAdopt() function to recheck deletion.

The canAdopt() function calls getObject() to fetch the latest value, and denies adoption attempts if that object has a non-nil DeletionTimestamp.

func SplitNamespaceAndNameByDot added in v0.2.0

func SplitNamespaceAndNameByDot(value string) (namespace, name string, err error)

SplitNamespaceAndNameByDot returns the namespace and name that encoded into the label or value by dot

Types

type CanaryReleaseController

type CanaryReleaseController struct {
	// contains filtered or unexported fields
}

CanaryReleaseController ...

func NewCanaryReleaseController

func NewCanaryReleaseController(cfg config.Configuration) *CanaryReleaseController

NewCanaryReleaseController creates a new CanaryReleaseController

func (*CanaryReleaseController) Run

func (crc *CanaryReleaseController) Run(workers int, stopCh <-chan struct{})

Run ...

type SortPodStatusByName added in v0.2.0

type SortPodStatusByName []releaseapi.PodStatus

SortPodStatusByName ...

func (SortPodStatusByName) Len added in v0.2.0

func (s SortPodStatusByName) Len() int

func (SortPodStatusByName) Less added in v0.2.0

func (s SortPodStatusByName) Less(i, j int) bool

func (SortPodStatusByName) Swap added in v0.2.0

func (s SortPodStatusByName) Swap(i, j int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL