Documentation
¶
Index ¶
- Constants
- func GetAllBlocks(rolloutBlockLister shipperlisters.RolloutBlockLister, obj metav1.Object) (ObjectNameList, ObjectNameList, error)
- func ValidateAnnotations(existing, overrides ObjectNameList) error
- func ValidateBlocks(existing, overrides ObjectNameList) error
- type ObjectNameList
- type RolloutBlockEvent
Constants ¶
View Source
const (
StatementSeparator = ","
)
Variables ¶
This section is empty.
Functions ¶
func GetAllBlocks ¶ added in v0.7.0
func GetAllBlocks(rolloutBlockLister shipperlisters.RolloutBlockLister, obj metav1.Object) (ObjectNameList, ObjectNameList, error)
func ValidateAnnotations ¶ added in v0.7.0
func ValidateAnnotations(existing, overrides ObjectNameList) error
func ValidateBlocks ¶ added in v0.7.0
func ValidateBlocks(existing, 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 (o ObjectNameList) Diff(o2 ObjectNameList) ObjectNameList
func (ObjectNameList) Keys ¶
func (o ObjectNameList) Keys() []string
func (ObjectNameList) String ¶
func (o ObjectNameList) String() string
type RolloutBlockEvent ¶
func BlocksRollout ¶
func BlocksRollout(rolloutBlockLister shipperlisters.RolloutBlockLister, obj metav1.Object) (bool, []RolloutBlockEvent, error)
BlocksRollout is used by application and release controllers to check if to block a rollout while updating relevant events
Click to show internal directories.
Click to hide internal directories.