rolloutblock

package
v0.7.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatementSeparator = ","
)

Variables

This section is empty.

Functions

func ValidateOverrides

func ValidateOverrides(overrides ObjectNameList) error

Types

type ObjectNameList

type ObjectNameList map[string]struct{}

func NewObjectNameList

func NewObjectNameList(statement string) ObjectNameList

func NewObjectNameListFromRolloutBlocksList

func NewObjectNameListFromRolloutBlocksList(rbs []*shipper.RolloutBlock) ObjectNameList

func (ObjectNameList) Add

func (o ObjectNameList) Add(statement string)

func (ObjectNameList) Delete

func (o ObjectNameList) Delete(rm string)

func (ObjectNameList) Diff

func (ObjectNameList) Keys

func (o ObjectNameList) Keys() []string

func (ObjectNameList) String

func (o ObjectNameList) String() string

type RolloutBlockEvent

type RolloutBlockEvent struct {
	Type    string
	Reason  string
	Message string
}

func BlocksRollout

func BlocksRollout(rolloutBlockLister shipperlisters.RolloutBlockLister, obj metav1.Object) (bool, []RolloutBlockEvent, error)

Jump to

Keyboard shortcuts

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