Documentation
¶
Index ¶
- Constants
- type PatchK8sObjects
- func (pko *PatchK8sObjects) AllowConcurrency() bool
- func (pko *PatchK8sObjects) Init(c types.Common, properties map[string]interface{}) error
- func (pko *PatchK8sObjects) New() types.Action
- func (pko *PatchK8sObjects) Run(ctx context.Context, sourceType string, event interface{}, data interface{}, ...) error
- func (pko *PatchK8sObjects) Type() string
- func (pko *PatchK8sObjects) Validate(properties map[string]interface{}) error
- type PatchTarget
- type Properties
Constants ¶
View Source
const (
// TypeName is the name of this action
TypeName = "patch-k8s-objects"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PatchK8sObjects ¶
type PatchK8sObjects struct {
// contains filtered or unexported fields
}
PatchK8sObjects patches k8s objects.
func (*PatchK8sObjects) AllowConcurrency ¶
func (pko *PatchK8sObjects) AllowConcurrency() bool
func (*PatchK8sObjects) Init ¶
func (pko *PatchK8sObjects) Init(c types.Common, properties map[string]interface{}) error
func (*PatchK8sObjects) New ¶
func (pko *PatchK8sObjects) New() types.Action
func (*PatchK8sObjects) Type ¶
func (pko *PatchK8sObjects) Type() string
func (*PatchK8sObjects) Validate ¶
func (pko *PatchK8sObjects) Validate(properties map[string]interface{}) error
type PatchTarget ¶
type PatchTarget struct {
APIVersion string `json:"apiVersion"`
Kind string `json:"kind"`
//+optional
Namespace string `json:"namespace"`
//+optional
Name string `json:"name"`
//+optional
LabelSelectors map[string]string `json:"labelSelectors"`
}
+kubebuilder:object:generate=true
func (*PatchTarget) DeepCopy ¶
func (in *PatchTarget) DeepCopy() *PatchTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchTarget.
func (*PatchTarget) DeepCopyInto ¶
func (in *PatchTarget) DeepCopyInto(out *PatchTarget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Properties ¶
type Properties struct {
PatchTarget PatchTarget `json:"patchTarget"`
Patch string `json:"patch"`
//+optional
AllowConcurrency bool `json:"allowConcurrency"`
}
+kubebuilder:object:generate=true
func (*Properties) DeepCopy ¶
func (in *Properties) DeepCopy() *Properties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Properties.
func (*Properties) DeepCopyInto ¶
func (in *Properties) DeepCopyInto(out *Properties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Click to show internal directories.
Click to hide internal directories.