Documentation
¶
Overview ¶
Package kustomize contains a selective set of Kustomize APIs for use by toolkit components. +kubebuilder:object:generate=true
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct {
// Name is a tag-less image name.
// +required
Name string `json:"name"`
// NewName is the value used to replace the original name.
// +optional
NewName string `json:"newName,omitempty"`
// NewTag is the value used to replace the original tag.
// +optional
NewTag string `json:"newTag,omitempty"`
// Digest is the value used to replace the original image tag.
// If digest is present NewTag value is ignored.
// +optional
Digest string `json:"digest,omitempty"`
}
Image contains an image name, a new name, a new tag or digest, which will replace the original name and tag.
func (*Image) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JSON6902 ¶
type JSON6902 struct {
// +kubebuilder:validation:Enum=test;remove;add;replace;move;copy
// +required
Op string `json:"op"`
// +required
Path string `json:"path"`
// +optional
From string `json:"from,omitempty"`
// +optional
Value *apiextensionsv1.JSON `json:"value,omitempty"`
}
JSON6902 is a JSON6902 operation object. https://tools.ietf.org/html/rfc6902#section-4
func (*JSON6902) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSON6902.
func (*JSON6902) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JSON6902Patch ¶
type JSON6902Patch struct {
// Patch contains the JSON6902 patch document with an array of
// operation objects.
// +required
Patch []JSON6902 `json:"patch"`
// Target points to the resources that the patch document should
// be applied to.
// +required
Target Selector `json:"target"`
}
JSON6902Patch contains a JSON6902 patch and the target the patch should be applied to.
func (*JSON6902Patch) DeepCopy ¶
func (in *JSON6902Patch) DeepCopy() *JSON6902Patch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSON6902Patch.
func (*JSON6902Patch) DeepCopyInto ¶
func (in *JSON6902Patch) DeepCopyInto(out *JSON6902Patch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Patch ¶ added in v0.2.0
type Patch struct {
// Patch contains the JSON6902 patch document with an array of
// operation objects.
// +required
Patch string `json:"patch,omitempty"`
// Target points to the resources that the patch document should
// be applied to.
// +optional
Target Selector `json:"target,omitempty"`
}
Patch contains either a StrategicMerge or a JSON6902 patch, either a file or inline, and the target the patch should be applied to.
func (*Patch) DeepCopy ¶ added in v0.2.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Patch.
func (*Patch) DeepCopyInto ¶ added in v0.2.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Selector ¶
type Selector struct {
// Group is the API group to select resources from.
// Together with Version and Kind it is capable of unambiguously
// identifying and/or selecting resources.
// https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
// +optional
Group string `json:"group,omitempty"`
// Version of the API Group to select resources from.
// Together with Group and Kind it is capable of unambiguously
// identifying and/or selecting resources.
// https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
// +optional
Version string `json:"version,omitempty"`
// Kind of the API Group to select resources from.
// Together with Group and Version it is capable of unambiguously
// identifying and/or selecting resources.
// https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
// +optional
Kind string `json:"kind,omitempty"`
// Namespace to select resources from.
// +optional
Namespace string `json:"namespace,omitempty"`
// Name to match resources with.
// +optional
Name string `json:"name,omitempty"`
// AnnotationSelector is a string that follows the label selection expression
// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
// It matches with the resource annotations.
// +optional
AnnotationSelector string `json:"annotationSelector,omitempty"`
// LabelSelector is a string that follows the label selection expression
// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
// It matches with the resource labels.
// +optional
LabelSelector string `json:"labelSelector,omitempty"`
}
Selector specifies a set of resources. Any resource that matches intersection of all conditions is included in this set.
func (*Selector) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Selector.
func (*Selector) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.