Documentation ¶
Index ¶
- type Map
- type Slice
- func (s Slice) ApplyTemplate(template []v1.Taint, lastApplied []v1.Taint) (Slice, bool)
- func (s Slice) Array() []v1.Taint
- func (s Slice) Equal(in []v1.Taint) bool
- func (s Slice) ExcessKeys(in []v1.Taint) map[string]struct{}
- func (s Slice) HasKey(key string) bool
- func (s Slice) Merge(in []v1.Taint) Slice
- func (s Slice) WithoutKey(key string) Slice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Slice ¶
func (Slice) ApplyTemplate ¶
ApplyTemplate use "template" slice to add new taints and update existin. lastApplied slice is used to delete excess taints.
func (Slice) ExcessKeys ¶
ExcessKeys returns taint keys without equal keys from "in" taints.
func (Slice) WithoutKey ¶
Click to show internal directories.
Click to hide internal directories.