Documentation ¶
Overview ¶
+k8s:conversion-gen=github.com/open-policy-agent/gatekeeper/v3/apis/mutations/unversioned -external-types=github.com/open-policy-agent/gatekeeper/v3/apis/mutations/v1beta1
Package v1alpha1 contains API Schema definitions for the mutations v1alpha1 API group +kubebuilder:object:generate=true +groupName=mutations.gatekeeper.sh
Index ¶
- Variables
- func Convert_unversioned_AssignField_To_v1_AssignField(in *unversioned.AssignField, out *AssignField, s conversion.Scope) error
- func Convert_unversioned_AssignList_To_v1_AssignList(in *unversioned.AssignList, out *AssignList, s conversion.Scope) error
- func Convert_unversioned_AssignMetadataList_To_v1_AssignMetadataList(in *unversioned.AssignMetadataList, out *AssignMetadataList, ...) error
- func Convert_unversioned_AssignMetadataSpec_To_v1_AssignMetadataSpec(in *unversioned.AssignMetadataSpec, out *AssignMetadataSpec, ...) error
- func Convert_unversioned_AssignMetadataStatus_To_v1_AssignMetadataStatus(in *unversioned.AssignMetadataStatus, out *AssignMetadataStatus, ...) error
- func Convert_unversioned_AssignMetadata_To_v1_AssignMetadata(in *unversioned.AssignMetadata, out *AssignMetadata, s conversion.Scope) error
- func Convert_unversioned_AssignSpec_To_v1_AssignSpec(in *unversioned.AssignSpec, out *AssignSpec, s conversion.Scope) error
- func Convert_unversioned_AssignStatus_To_v1_AssignStatus(in *unversioned.AssignStatus, out *AssignStatus, s conversion.Scope) error
- func Convert_unversioned_Assign_To_v1_Assign(in *unversioned.Assign, out *Assign, s conversion.Scope) error
- func Convert_unversioned_ExternalData_To_v1_ExternalData(in *unversioned.ExternalData, out *ExternalData, s conversion.Scope) error
- func Convert_unversioned_FromMetadata_To_v1_FromMetadata(in *unversioned.FromMetadata, out *FromMetadata, s conversion.Scope) error
- func Convert_unversioned_MetadataParameters_To_v1_MetadataParameters(in *unversioned.MetadataParameters, out *MetadataParameters, ...) error
- func Convert_unversioned_ModifySetList_To_v1_ModifySetList(in *unversioned.ModifySetList, out *ModifySetList, s conversion.Scope) error
- func Convert_unversioned_ModifySetParameters_To_v1_ModifySetParameters(in *unversioned.ModifySetParameters, out *ModifySetParameters, ...) error
- func Convert_unversioned_ModifySetSpec_To_v1_ModifySetSpec(in *unversioned.ModifySetSpec, out *ModifySetSpec, s conversion.Scope) error
- func Convert_unversioned_ModifySetStatus_To_v1_ModifySetStatus(in *unversioned.ModifySetStatus, out *ModifySetStatus, s conversion.Scope) error
- func Convert_unversioned_ModifySet_To_v1_ModifySet(in *unversioned.ModifySet, out *ModifySet, s conversion.Scope) error
- func Convert_unversioned_Parameters_To_v1_Parameters(in *unversioned.Parameters, out *Parameters, s conversion.Scope) error
- func Convert_unversioned_PathTest_To_v1_PathTest(in *unversioned.PathTest, out *PathTest, s conversion.Scope) error
- func Convert_unversioned_Values_To_v1_Values(in *unversioned.Values, out *Values, s conversion.Scope) error
- func Convert_v1_AssignField_To_unversioned_AssignField(in *AssignField, out *unversioned.AssignField, s conversion.Scope) error
- func Convert_v1_AssignList_To_unversioned_AssignList(in *AssignList, out *unversioned.AssignList, s conversion.Scope) error
- func Convert_v1_AssignMetadataList_To_unversioned_AssignMetadataList(in *AssignMetadataList, out *unversioned.AssignMetadataList, ...) error
- func Convert_v1_AssignMetadataSpec_To_unversioned_AssignMetadataSpec(in *AssignMetadataSpec, out *unversioned.AssignMetadataSpec, ...) error
- func Convert_v1_AssignMetadataStatus_To_unversioned_AssignMetadataStatus(in *AssignMetadataStatus, out *unversioned.AssignMetadataStatus, ...) error
- func Convert_v1_AssignMetadata_To_unversioned_AssignMetadata(in *AssignMetadata, out *unversioned.AssignMetadata, s conversion.Scope) error
- func Convert_v1_AssignSpec_To_unversioned_AssignSpec(in *AssignSpec, out *unversioned.AssignSpec, s conversion.Scope) error
- func Convert_v1_AssignStatus_To_unversioned_AssignStatus(in *AssignStatus, out *unversioned.AssignStatus, s conversion.Scope) error
- func Convert_v1_Assign_To_unversioned_Assign(in *Assign, out *unversioned.Assign, s conversion.Scope) error
- func Convert_v1_ExternalData_To_unversioned_ExternalData(in *ExternalData, out *unversioned.ExternalData, s conversion.Scope) error
- func Convert_v1_FromMetadata_To_unversioned_FromMetadata(in *FromMetadata, out *unversioned.FromMetadata, s conversion.Scope) error
- func Convert_v1_MetadataParameters_To_unversioned_MetadataParameters(in *MetadataParameters, out *unversioned.MetadataParameters, ...) error
- func Convert_v1_ModifySetList_To_unversioned_ModifySetList(in *ModifySetList, out *unversioned.ModifySetList, s conversion.Scope) error
- func Convert_v1_ModifySetParameters_To_unversioned_ModifySetParameters(in *ModifySetParameters, out *unversioned.ModifySetParameters, ...) error
- func Convert_v1_ModifySetSpec_To_unversioned_ModifySetSpec(in *ModifySetSpec, out *unversioned.ModifySetSpec, s conversion.Scope) error
- func Convert_v1_ModifySetStatus_To_unversioned_ModifySetStatus(in *ModifySetStatus, out *unversioned.ModifySetStatus, s conversion.Scope) error
- func Convert_v1_ModifySet_To_unversioned_ModifySet(in *ModifySet, out *unversioned.ModifySet, s conversion.Scope) error
- func Convert_v1_Parameters_To_unversioned_Parameters(in *Parameters, out *unversioned.Parameters, s conversion.Scope) error
- func Convert_v1_PathTest_To_unversioned_PathTest(in *PathTest, out *unversioned.PathTest, s conversion.Scope) error
- func Convert_v1_Values_To_unversioned_Values(in *Values, out *unversioned.Values, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- type Assign
- type AssignField
- type AssignList
- type AssignMetadata
- type AssignMetadataList
- type AssignMetadataSpec
- type AssignMetadataStatus
- type AssignSpec
- type AssignStatus
- type ExternalData
- type FromMetadata
- type MetadataParameters
- type ModifySet
- type ModifySetList
- type ModifySetParameters
- type ModifySetSpec
- type ModifySetStatus
- type Operation
- type Parameters
- type PathTest
- type Values
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "mutations.gatekeeper.sh", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = localSchemeBuilder.AddToScheme )
Functions ¶
func Convert_unversioned_AssignField_To_v1_AssignField ¶
func Convert_unversioned_AssignField_To_v1_AssignField(in *unversioned.AssignField, out *AssignField, s conversion.Scope) error
Convert_unversioned_AssignField_To_v1_AssignField is an autogenerated conversion function.
func Convert_unversioned_AssignList_To_v1_AssignList ¶
func Convert_unversioned_AssignList_To_v1_AssignList(in *unversioned.AssignList, out *AssignList, s conversion.Scope) error
Convert_unversioned_AssignList_To_v1_AssignList is an autogenerated conversion function.
func Convert_unversioned_AssignMetadataList_To_v1_AssignMetadataList ¶
func Convert_unversioned_AssignMetadataList_To_v1_AssignMetadataList(in *unversioned.AssignMetadataList, out *AssignMetadataList, s conversion.Scope) error
Convert_unversioned_AssignMetadataList_To_v1_AssignMetadataList is an autogenerated conversion function.
func Convert_unversioned_AssignMetadataSpec_To_v1_AssignMetadataSpec ¶
func Convert_unversioned_AssignMetadataSpec_To_v1_AssignMetadataSpec(in *unversioned.AssignMetadataSpec, out *AssignMetadataSpec, s conversion.Scope) error
Convert_unversioned_AssignMetadataSpec_To_v1_AssignMetadataSpec is an autogenerated conversion function.
func Convert_unversioned_AssignMetadataStatus_To_v1_AssignMetadataStatus ¶
func Convert_unversioned_AssignMetadataStatus_To_v1_AssignMetadataStatus(in *unversioned.AssignMetadataStatus, out *AssignMetadataStatus, s conversion.Scope) error
Convert_unversioned_AssignMetadataStatus_To_v1_AssignMetadataStatus is an autogenerated conversion function.
func Convert_unversioned_AssignMetadata_To_v1_AssignMetadata ¶
func Convert_unversioned_AssignMetadata_To_v1_AssignMetadata(in *unversioned.AssignMetadata, out *AssignMetadata, s conversion.Scope) error
Convert_unversioned_AssignMetadata_To_v1_AssignMetadata is an autogenerated conversion function.
func Convert_unversioned_AssignSpec_To_v1_AssignSpec ¶
func Convert_unversioned_AssignSpec_To_v1_AssignSpec(in *unversioned.AssignSpec, out *AssignSpec, s conversion.Scope) error
Convert_unversioned_AssignSpec_To_v1_AssignSpec is an autogenerated conversion function.
func Convert_unversioned_AssignStatus_To_v1_AssignStatus ¶
func Convert_unversioned_AssignStatus_To_v1_AssignStatus(in *unversioned.AssignStatus, out *AssignStatus, s conversion.Scope) error
Convert_unversioned_AssignStatus_To_v1_AssignStatus is an autogenerated conversion function.
func Convert_unversioned_Assign_To_v1_Assign ¶
func Convert_unversioned_Assign_To_v1_Assign(in *unversioned.Assign, out *Assign, s conversion.Scope) error
Convert_unversioned_Assign_To_v1_Assign is an autogenerated conversion function.
func Convert_unversioned_ExternalData_To_v1_ExternalData ¶
func Convert_unversioned_ExternalData_To_v1_ExternalData(in *unversioned.ExternalData, out *ExternalData, s conversion.Scope) error
Convert_unversioned_ExternalData_To_v1_ExternalData is an autogenerated conversion function.
func Convert_unversioned_FromMetadata_To_v1_FromMetadata ¶
func Convert_unversioned_FromMetadata_To_v1_FromMetadata(in *unversioned.FromMetadata, out *FromMetadata, s conversion.Scope) error
Convert_unversioned_FromMetadata_To_v1_FromMetadata is an autogenerated conversion function.
func Convert_unversioned_MetadataParameters_To_v1_MetadataParameters ¶
func Convert_unversioned_MetadataParameters_To_v1_MetadataParameters(in *unversioned.MetadataParameters, out *MetadataParameters, s conversion.Scope) error
Convert_unversioned_MetadataParameters_To_v1_MetadataParameters is an autogenerated conversion function.
func Convert_unversioned_ModifySetList_To_v1_ModifySetList ¶
func Convert_unversioned_ModifySetList_To_v1_ModifySetList(in *unversioned.ModifySetList, out *ModifySetList, s conversion.Scope) error
Convert_unversioned_ModifySetList_To_v1_ModifySetList is an autogenerated conversion function.
func Convert_unversioned_ModifySetParameters_To_v1_ModifySetParameters ¶
func Convert_unversioned_ModifySetParameters_To_v1_ModifySetParameters(in *unversioned.ModifySetParameters, out *ModifySetParameters, s conversion.Scope) error
Convert_unversioned_ModifySetParameters_To_v1_ModifySetParameters is an autogenerated conversion function.
func Convert_unversioned_ModifySetSpec_To_v1_ModifySetSpec ¶
func Convert_unversioned_ModifySetSpec_To_v1_ModifySetSpec(in *unversioned.ModifySetSpec, out *ModifySetSpec, s conversion.Scope) error
Convert_unversioned_ModifySetSpec_To_v1_ModifySetSpec is an autogenerated conversion function.
func Convert_unversioned_ModifySetStatus_To_v1_ModifySetStatus ¶
func Convert_unversioned_ModifySetStatus_To_v1_ModifySetStatus(in *unversioned.ModifySetStatus, out *ModifySetStatus, s conversion.Scope) error
Convert_unversioned_ModifySetStatus_To_v1_ModifySetStatus is an autogenerated conversion function.
func Convert_unversioned_ModifySet_To_v1_ModifySet ¶
func Convert_unversioned_ModifySet_To_v1_ModifySet(in *unversioned.ModifySet, out *ModifySet, s conversion.Scope) error
Convert_unversioned_ModifySet_To_v1_ModifySet is an autogenerated conversion function.
func Convert_unversioned_Parameters_To_v1_Parameters ¶
func Convert_unversioned_Parameters_To_v1_Parameters(in *unversioned.Parameters, out *Parameters, s conversion.Scope) error
Convert_unversioned_Parameters_To_v1_Parameters is an autogenerated conversion function.
func Convert_unversioned_PathTest_To_v1_PathTest ¶
func Convert_unversioned_PathTest_To_v1_PathTest(in *unversioned.PathTest, out *PathTest, s conversion.Scope) error
Convert_unversioned_PathTest_To_v1_PathTest is an autogenerated conversion function.
func Convert_unversioned_Values_To_v1_Values ¶
func Convert_unversioned_Values_To_v1_Values(in *unversioned.Values, out *Values, s conversion.Scope) error
Convert_unversioned_Values_To_v1_Values is an autogenerated conversion function.
func Convert_v1_AssignField_To_unversioned_AssignField ¶
func Convert_v1_AssignField_To_unversioned_AssignField(in *AssignField, out *unversioned.AssignField, s conversion.Scope) error
Convert_v1_AssignField_To_unversioned_AssignField is an autogenerated conversion function.
func Convert_v1_AssignList_To_unversioned_AssignList ¶
func Convert_v1_AssignList_To_unversioned_AssignList(in *AssignList, out *unversioned.AssignList, s conversion.Scope) error
Convert_v1_AssignList_To_unversioned_AssignList is an autogenerated conversion function.
func Convert_v1_AssignMetadataList_To_unversioned_AssignMetadataList ¶
func Convert_v1_AssignMetadataList_To_unversioned_AssignMetadataList(in *AssignMetadataList, out *unversioned.AssignMetadataList, s conversion.Scope) error
Convert_v1_AssignMetadataList_To_unversioned_AssignMetadataList is an autogenerated conversion function.
func Convert_v1_AssignMetadataSpec_To_unversioned_AssignMetadataSpec ¶
func Convert_v1_AssignMetadataSpec_To_unversioned_AssignMetadataSpec(in *AssignMetadataSpec, out *unversioned.AssignMetadataSpec, s conversion.Scope) error
Convert_v1_AssignMetadataSpec_To_unversioned_AssignMetadataSpec is an autogenerated conversion function.
func Convert_v1_AssignMetadataStatus_To_unversioned_AssignMetadataStatus ¶
func Convert_v1_AssignMetadataStatus_To_unversioned_AssignMetadataStatus(in *AssignMetadataStatus, out *unversioned.AssignMetadataStatus, s conversion.Scope) error
Convert_v1_AssignMetadataStatus_To_unversioned_AssignMetadataStatus is an autogenerated conversion function.
func Convert_v1_AssignMetadata_To_unversioned_AssignMetadata ¶
func Convert_v1_AssignMetadata_To_unversioned_AssignMetadata(in *AssignMetadata, out *unversioned.AssignMetadata, s conversion.Scope) error
Convert_v1_AssignMetadata_To_unversioned_AssignMetadata is an autogenerated conversion function.
func Convert_v1_AssignSpec_To_unversioned_AssignSpec ¶
func Convert_v1_AssignSpec_To_unversioned_AssignSpec(in *AssignSpec, out *unversioned.AssignSpec, s conversion.Scope) error
Convert_v1_AssignSpec_To_unversioned_AssignSpec is an autogenerated conversion function.
func Convert_v1_AssignStatus_To_unversioned_AssignStatus ¶
func Convert_v1_AssignStatus_To_unversioned_AssignStatus(in *AssignStatus, out *unversioned.AssignStatus, s conversion.Scope) error
Convert_v1_AssignStatus_To_unversioned_AssignStatus is an autogenerated conversion function.
func Convert_v1_Assign_To_unversioned_Assign ¶
func Convert_v1_Assign_To_unversioned_Assign(in *Assign, out *unversioned.Assign, s conversion.Scope) error
Convert_v1_Assign_To_unversioned_Assign is an autogenerated conversion function.
func Convert_v1_ExternalData_To_unversioned_ExternalData ¶
func Convert_v1_ExternalData_To_unversioned_ExternalData(in *ExternalData, out *unversioned.ExternalData, s conversion.Scope) error
Convert_v1_ExternalData_To_unversioned_ExternalData is an autogenerated conversion function.
func Convert_v1_FromMetadata_To_unversioned_FromMetadata ¶
func Convert_v1_FromMetadata_To_unversioned_FromMetadata(in *FromMetadata, out *unversioned.FromMetadata, s conversion.Scope) error
Convert_v1_FromMetadata_To_unversioned_FromMetadata is an autogenerated conversion function.
func Convert_v1_MetadataParameters_To_unversioned_MetadataParameters ¶
func Convert_v1_MetadataParameters_To_unversioned_MetadataParameters(in *MetadataParameters, out *unversioned.MetadataParameters, s conversion.Scope) error
Convert_v1_MetadataParameters_To_unversioned_MetadataParameters is an autogenerated conversion function.
func Convert_v1_ModifySetList_To_unversioned_ModifySetList ¶
func Convert_v1_ModifySetList_To_unversioned_ModifySetList(in *ModifySetList, out *unversioned.ModifySetList, s conversion.Scope) error
Convert_v1_ModifySetList_To_unversioned_ModifySetList is an autogenerated conversion function.
func Convert_v1_ModifySetParameters_To_unversioned_ModifySetParameters ¶
func Convert_v1_ModifySetParameters_To_unversioned_ModifySetParameters(in *ModifySetParameters, out *unversioned.ModifySetParameters, s conversion.Scope) error
Convert_v1_ModifySetParameters_To_unversioned_ModifySetParameters is an autogenerated conversion function.
func Convert_v1_ModifySetSpec_To_unversioned_ModifySetSpec ¶
func Convert_v1_ModifySetSpec_To_unversioned_ModifySetSpec(in *ModifySetSpec, out *unversioned.ModifySetSpec, s conversion.Scope) error
Convert_v1_ModifySetSpec_To_unversioned_ModifySetSpec is an autogenerated conversion function.
func Convert_v1_ModifySetStatus_To_unversioned_ModifySetStatus ¶
func Convert_v1_ModifySetStatus_To_unversioned_ModifySetStatus(in *ModifySetStatus, out *unversioned.ModifySetStatus, s conversion.Scope) error
Convert_v1_ModifySetStatus_To_unversioned_ModifySetStatus is an autogenerated conversion function.
func Convert_v1_ModifySet_To_unversioned_ModifySet ¶
func Convert_v1_ModifySet_To_unversioned_ModifySet(in *ModifySet, out *unversioned.ModifySet, s conversion.Scope) error
Convert_v1_ModifySet_To_unversioned_ModifySet is an autogenerated conversion function.
func Convert_v1_Parameters_To_unversioned_Parameters ¶
func Convert_v1_Parameters_To_unversioned_Parameters(in *Parameters, out *unversioned.Parameters, s conversion.Scope) error
Convert_v1_Parameters_To_unversioned_Parameters is an autogenerated conversion function.
func Convert_v1_PathTest_To_unversioned_PathTest ¶
func Convert_v1_PathTest_To_unversioned_PathTest(in *PathTest, out *unversioned.PathTest, s conversion.Scope) error
Convert_v1_PathTest_To_unversioned_PathTest is an autogenerated conversion function.
func Convert_v1_Values_To_unversioned_Values ¶
func Convert_v1_Values_To_unversioned_Values(in *Values, out *unversioned.Values, s conversion.Scope) error
Convert_v1_Values_To_unversioned_Values is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
Types ¶
type Assign ¶
type Assign struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AssignSpec `json:"spec,omitempty"` Status AssignStatus `json:"status,omitempty"` }
Assign is the Schema for the assign API.
func (*Assign) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Assign.
func (*Assign) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Assign) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AssignField ¶
type AssignField struct { // Value is a constant value that will be assigned to `location` // +kubebuilder:validation:Schemaless // +kubebuilder:validation:XPreserveUnknownFields Value *types.Anything `json:"value,omitempty"` // FromMetadata assigns a value from the specified metadata field. FromMetadata *FromMetadata `json:"fromMetadata,omitempty"` // ExternalData describes the external data provider to be used for mutation. ExternalData *ExternalData `json:"externalData,omitempty"` }
func (*AssignField) DeepCopy ¶
func (in *AssignField) DeepCopy() *AssignField
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignField.
func (*AssignField) DeepCopyInto ¶
func (in *AssignField) DeepCopyInto(out *AssignField)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AssignList ¶
type AssignList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Assign `json:"items"` }
AssignList contains a list of Assign.
func (*AssignList) DeepCopy ¶
func (in *AssignList) DeepCopy() *AssignList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignList.
func (*AssignList) DeepCopyInto ¶
func (in *AssignList) DeepCopyInto(out *AssignList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AssignList) DeepCopyObject ¶
func (in *AssignList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AssignMetadata ¶
type AssignMetadata struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AssignMetadataSpec `json:"spec,omitempty"` Status AssignMetadataStatus `json:"status,omitempty"` }
AssignMetadata is the Schema for the assignmetadata API.
func (*AssignMetadata) DeepCopy ¶
func (in *AssignMetadata) DeepCopy() *AssignMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignMetadata.
func (*AssignMetadata) DeepCopyInto ¶
func (in *AssignMetadata) DeepCopyInto(out *AssignMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AssignMetadata) DeepCopyObject ¶
func (in *AssignMetadata) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AssignMetadataList ¶
type AssignMetadataList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AssignMetadata `json:"items"` }
AssignMetadataList contains a list of AssignMetadata.
func (*AssignMetadataList) DeepCopy ¶
func (in *AssignMetadataList) DeepCopy() *AssignMetadataList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignMetadataList.
func (*AssignMetadataList) DeepCopyInto ¶
func (in *AssignMetadataList) DeepCopyInto(out *AssignMetadataList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AssignMetadataList) DeepCopyObject ¶
func (in *AssignMetadataList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AssignMetadataSpec ¶
type AssignMetadataSpec struct { Match match.Match `json:"match,omitempty"` Location string `json:"location,omitempty"` Parameters MetadataParameters `json:"parameters,omitempty"` }
AssignMetadataSpec defines the desired state of AssignMetadata.
func (*AssignMetadataSpec) DeepCopy ¶
func (in *AssignMetadataSpec) DeepCopy() *AssignMetadataSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignMetadataSpec.
func (*AssignMetadataSpec) DeepCopyInto ¶
func (in *AssignMetadataSpec) DeepCopyInto(out *AssignMetadataSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AssignMetadataStatus ¶
type AssignMetadataStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file ByPod []v1beta1.MutatorPodStatusStatus `json:"byPod,omitempty"` }
AssignMetadataStatus defines the observed state of AssignMetadata.
func (*AssignMetadataStatus) DeepCopy ¶
func (in *AssignMetadataStatus) DeepCopy() *AssignMetadataStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignMetadataStatus.
func (*AssignMetadataStatus) DeepCopyInto ¶
func (in *AssignMetadataStatus) DeepCopyInto(out *AssignMetadataStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AssignSpec ¶
type AssignSpec struct { // ApplyTo lists the specific groups, versions and kinds a mutation will be applied to. // This is necessary because every mutation implies part of an object schema and object // schemas are associated with specific GVKs. ApplyTo []match.ApplyTo `json:"applyTo,omitempty"` // Match allows the user to limit which resources get mutated. // Individual match criteria are AND-ed together. An undefined // match criteria matches everything. Match match.Match `json:"match,omitempty"` // Location describes the path to be mutated, for example: `spec.containers[name: main]`. Location string `json:"location,omitempty"` // Parameters define the behavior of the mutator. Parameters Parameters `json:"parameters,omitempty"` }
AssignSpec defines the desired state of Assign.
func (*AssignSpec) DeepCopy ¶
func (in *AssignSpec) DeepCopy() *AssignSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignSpec.
func (*AssignSpec) DeepCopyInto ¶
func (in *AssignSpec) DeepCopyInto(out *AssignSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AssignStatus ¶
type AssignStatus struct {
ByPod []v1beta1.MutatorPodStatusStatus `json:"byPod,omitempty"`
}
AssignStatus defines the observed state of Assign.
func (*AssignStatus) DeepCopy ¶
func (in *AssignStatus) DeepCopy() *AssignStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignStatus.
func (*AssignStatus) DeepCopyInto ¶
func (in *AssignStatus) DeepCopyInto(out *AssignStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExternalData ¶
type ExternalData struct { // Provider is the name of the external data provider. // +kubebuilder:validation:Required Provider string `json:"provider,omitempty"` // DataSource specifies where to extract the data that will be sent // to the external data provider as parameters. // +kubebuilder:default="ValueAtLocation" DataSource types.ExternalDataSource `json:"dataSource,omitempty"` // FailurePolicy specifies the policy to apply when the external data // provider returns an error. // +kubebuilder:default="Fail" FailurePolicy types.ExternalDataFailurePolicy `json:"failurePolicy,omitempty"` // Default specifies the default value to use when the external data // provider returns an error and the failure policy is set to "UseDefault". Default string `json:"default,omitempty"` }
ExternalData describes the external data source to use for the mutation.
func (*ExternalData) DeepCopy ¶
func (in *ExternalData) DeepCopy() *ExternalData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalData.
func (*ExternalData) DeepCopyInto ¶
func (in *ExternalData) DeepCopyInto(out *ExternalData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FromMetadata ¶
type FromMetadata struct { // Field specifies which metadata field provides the assigned value. Valid fields are `namespace` and `name`. Field unversioned.Field `json:"field,omitempty"` }
func (*FromMetadata) DeepCopy ¶
func (in *FromMetadata) DeepCopy() *FromMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FromMetadata.
func (*FromMetadata) DeepCopyInto ¶
func (in *FromMetadata) DeepCopyInto(out *FromMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetadataParameters ¶
type MetadataParameters struct { // Assign.value holds the value to be assigned Assign AssignField `json:"assign,omitempty"` }
func (*MetadataParameters) DeepCopy ¶
func (in *MetadataParameters) DeepCopy() *MetadataParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataParameters.
func (*MetadataParameters) DeepCopyInto ¶
func (in *MetadataParameters) DeepCopyInto(out *MetadataParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ModifySet ¶
type ModifySet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ModifySetSpec `json:"spec,omitempty"` Status ModifySetStatus `json:"status,omitempty"` }
ModifySet allows the user to modify non-keyed lists, such as the list of arguments to a container.
func (*ModifySet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModifySet.
func (*ModifySet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ModifySet) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ModifySetList ¶
type ModifySetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ModifySet `json:"items"` }
ModifySetList contains a list of ModifySet.
func (*ModifySetList) DeepCopy ¶
func (in *ModifySetList) DeepCopy() *ModifySetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModifySetList.
func (*ModifySetList) DeepCopyInto ¶
func (in *ModifySetList) DeepCopyInto(out *ModifySetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ModifySetList) DeepCopyObject ¶
func (in *ModifySetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ModifySetParameters ¶
type ModifySetParameters struct { // PathTests are a series of existence tests that can be checked // before a mutation is applied PathTests []PathTest `json:"pathTests,omitempty"` // Operation describes whether values should be merged in ("merge"), or pruned ("prune"). Default value is "merge" // +kubebuilder:validation:Enum=merge;prune // +kubebuilder:default=merge Operation Operation `json:"operation,omitempty"` // Values describes the values provided to the operation as `values.fromList`. // +kubebuilder:validation:Schemaless // +kubebuilder:validation:Type=object // +kubebuilder:validation:XPreserveUnknownFields Values Values `json:"values,omitempty"` }
func (*ModifySetParameters) DeepCopy ¶
func (in *ModifySetParameters) DeepCopy() *ModifySetParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModifySetParameters.
func (*ModifySetParameters) DeepCopyInto ¶
func (in *ModifySetParameters) DeepCopyInto(out *ModifySetParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ModifySetSpec ¶
type ModifySetSpec struct { // ApplyTo lists the specific groups, versions and kinds a mutation will be applied to. // This is necessary because every mutation implies part of an object schema and object // schemas are associated with specific GVKs. ApplyTo []match.ApplyTo `json:"applyTo,omitempty"` // Match allows the user to limit which resources get mutated. // Individual match criteria are AND-ed together. An undefined // match criteria matches everything. Match match.Match `json:"match,omitempty"` // Location describes the path to be mutated, for example: `spec.containers[name: main].args`. Location string `json:"location,omitempty"` // Parameters define the behavior of the mutator. Parameters ModifySetParameters `json:"parameters,omitempty"` }
ModifySetSpec defines the desired state of ModifySet.
func (*ModifySetSpec) DeepCopy ¶
func (in *ModifySetSpec) DeepCopy() *ModifySetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModifySetSpec.
func (*ModifySetSpec) DeepCopyInto ¶
func (in *ModifySetSpec) DeepCopyInto(out *ModifySetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ModifySetStatus ¶
type ModifySetStatus struct {
ByPod []v1beta1.MutatorPodStatusStatus `json:"byPod,omitempty"`
}
ModifySetStatus defines the observed state of ModifySet.
func (*ModifySetStatus) DeepCopy ¶
func (in *ModifySetStatus) DeepCopy() *ModifySetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModifySetStatus.
func (*ModifySetStatus) DeepCopyInto ¶
func (in *ModifySetStatus) DeepCopyInto(out *ModifySetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Parameters ¶
type Parameters struct { PathTests []PathTest `json:"pathTests,omitempty"` // Assign.value holds the value to be assigned Assign AssignField `json:"assign,omitempty"` }
func (*Parameters) DeepCopy ¶
func (in *Parameters) DeepCopy() *Parameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Parameters.
func (*Parameters) DeepCopyInto ¶
func (in *Parameters) DeepCopyInto(out *Parameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PathTest ¶
type PathTest struct { SubPath string `json:"subPath,omitempty"` Condition tester.Condition `json:"condition,omitempty"` }
PathTest allows the user to customize how the mutation works if parent paths are missing. It traverses the list in order. All sub paths are tested against the provided condition, if the test fails, the mutation is not applied. All `subPath` entries must be a prefix of `location`. Any glob characters will take on the same value as was used to expand the matching glob in `location`.
Available Tests: * MustExist - the path must exist or do not mutate * MustNotExist - the path must not exist or do not mutate.
func (*PathTest) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PathTest.
func (*PathTest) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Values ¶
type Values struct {
FromList []interface{} `json:"fromList,omitempty"`
}
Values describes the values provided to the operation. +kubebuilder:object:generate=false