Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PatchOption ¶
type PatchOption struct { Metadata struct { Annotations map[string]string `json:"annotations,omitempty"` Labels map[string]string `json:"labels,omitempty"` } `json:"metadata"` Spec struct { Tolerations []v1.Toleration `json:"tolerations,omitempty"` } `json:"spec"` }
func NewPatchOption ¶
func NewPatchOption() *PatchOption
func (*PatchOption) WithAnnotations ¶
func (o *PatchOption) WithAnnotations(annotations map[string]string) *PatchOption
func (*PatchOption) WithLabels ¶
func (o *PatchOption) WithLabels(labels map[string]string) *PatchOption
func (*PatchOption) WithTolerations ¶
func (o *PatchOption) WithTolerations(tolerations []v1.Toleration) *PatchOption
Click to show internal directories.
Click to hide internal directories.