v1alpha1

package
v3.17.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 11 Imported by: 2

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/v1alpha1

Package v1alpha1 contains API Schema definitions for the mutations v1alpha1 API group +kubebuilder:object:generate=true +groupName=mutations.gatekeeper.sh

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "mutations.gatekeeper.sh", Version: "v1alpha1"}

	// 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_v1alpha1_AssignField

func Convert_unversioned_AssignField_To_v1alpha1_AssignField(in *unversioned.AssignField, out *AssignField, s conversion.Scope) error

Convert_unversioned_AssignField_To_v1alpha1_AssignField is an autogenerated conversion function.

func Convert_unversioned_AssignImageList_To_v1alpha1_AssignImageList

func Convert_unversioned_AssignImageList_To_v1alpha1_AssignImageList(in *unversioned.AssignImageList, out *AssignImageList, s conversion.Scope) error

Convert_unversioned_AssignImageList_To_v1alpha1_AssignImageList is an autogenerated conversion function.

func Convert_unversioned_AssignImageParameters_To_v1alpha1_AssignImageParameters

func Convert_unversioned_AssignImageParameters_To_v1alpha1_AssignImageParameters(in *unversioned.AssignImageParameters, out *AssignImageParameters, s conversion.Scope) error

Convert_unversioned_AssignImageParameters_To_v1alpha1_AssignImageParameters is an autogenerated conversion function.

func Convert_unversioned_AssignImageSpec_To_v1alpha1_AssignImageSpec

func Convert_unversioned_AssignImageSpec_To_v1alpha1_AssignImageSpec(in *unversioned.AssignImageSpec, out *AssignImageSpec, s conversion.Scope) error

Convert_unversioned_AssignImageSpec_To_v1alpha1_AssignImageSpec is an autogenerated conversion function.

func Convert_unversioned_AssignImageStatus_To_v1alpha1_AssignImageStatus

func Convert_unversioned_AssignImageStatus_To_v1alpha1_AssignImageStatus(in *unversioned.AssignImageStatus, out *AssignImageStatus, s conversion.Scope) error

Convert_unversioned_AssignImageStatus_To_v1alpha1_AssignImageStatus is an autogenerated conversion function.

func Convert_unversioned_AssignImage_To_v1alpha1_AssignImage

func Convert_unversioned_AssignImage_To_v1alpha1_AssignImage(in *unversioned.AssignImage, out *AssignImage, s conversion.Scope) error

Convert_unversioned_AssignImage_To_v1alpha1_AssignImage is an autogenerated conversion function.

func Convert_unversioned_AssignList_To_v1alpha1_AssignList

func Convert_unversioned_AssignList_To_v1alpha1_AssignList(in *unversioned.AssignList, out *AssignList, s conversion.Scope) error

Convert_unversioned_AssignList_To_v1alpha1_AssignList is an autogenerated conversion function.

func Convert_unversioned_AssignMetadataList_To_v1alpha1_AssignMetadataList

func Convert_unversioned_AssignMetadataList_To_v1alpha1_AssignMetadataList(in *unversioned.AssignMetadataList, out *AssignMetadataList, s conversion.Scope) error

Convert_unversioned_AssignMetadataList_To_v1alpha1_AssignMetadataList is an autogenerated conversion function.

func Convert_unversioned_AssignMetadataSpec_To_v1alpha1_AssignMetadataSpec

func Convert_unversioned_AssignMetadataSpec_To_v1alpha1_AssignMetadataSpec(in *unversioned.AssignMetadataSpec, out *AssignMetadataSpec, s conversion.Scope) error

Convert_unversioned_AssignMetadataSpec_To_v1alpha1_AssignMetadataSpec is an autogenerated conversion function.

func Convert_unversioned_AssignMetadataStatus_To_v1alpha1_AssignMetadataStatus

func Convert_unversioned_AssignMetadataStatus_To_v1alpha1_AssignMetadataStatus(in *unversioned.AssignMetadataStatus, out *AssignMetadataStatus, s conversion.Scope) error

Convert_unversioned_AssignMetadataStatus_To_v1alpha1_AssignMetadataStatus is an autogenerated conversion function.

func Convert_unversioned_AssignMetadata_To_v1alpha1_AssignMetadata

func Convert_unversioned_AssignMetadata_To_v1alpha1_AssignMetadata(in *unversioned.AssignMetadata, out *AssignMetadata, s conversion.Scope) error

Convert_unversioned_AssignMetadata_To_v1alpha1_AssignMetadata is an autogenerated conversion function.

func Convert_unversioned_AssignSpec_To_v1alpha1_AssignSpec

func Convert_unversioned_AssignSpec_To_v1alpha1_AssignSpec(in *unversioned.AssignSpec, out *AssignSpec, s conversion.Scope) error

Convert_unversioned_AssignSpec_To_v1alpha1_AssignSpec is an autogenerated conversion function.

func Convert_unversioned_AssignStatus_To_v1alpha1_AssignStatus

func Convert_unversioned_AssignStatus_To_v1alpha1_AssignStatus(in *unversioned.AssignStatus, out *AssignStatus, s conversion.Scope) error

Convert_unversioned_AssignStatus_To_v1alpha1_AssignStatus is an autogenerated conversion function.

func Convert_unversioned_Assign_To_v1alpha1_Assign

func Convert_unversioned_Assign_To_v1alpha1_Assign(in *unversioned.Assign, out *Assign, s conversion.Scope) error

Convert_unversioned_Assign_To_v1alpha1_Assign is an autogenerated conversion function.

func Convert_unversioned_ExternalData_To_v1alpha1_ExternalData

func Convert_unversioned_ExternalData_To_v1alpha1_ExternalData(in *unversioned.ExternalData, out *ExternalData, s conversion.Scope) error

Convert_unversioned_ExternalData_To_v1alpha1_ExternalData is an autogenerated conversion function.

func Convert_unversioned_FromMetadata_To_v1alpha1_FromMetadata

func Convert_unversioned_FromMetadata_To_v1alpha1_FromMetadata(in *unversioned.FromMetadata, out *FromMetadata, s conversion.Scope) error

Convert_unversioned_FromMetadata_To_v1alpha1_FromMetadata is an autogenerated conversion function.

func Convert_unversioned_MetadataParameters_To_v1alpha1_MetadataParameters

func Convert_unversioned_MetadataParameters_To_v1alpha1_MetadataParameters(in *unversioned.MetadataParameters, out *MetadataParameters, s conversion.Scope) error

Convert_unversioned_MetadataParameters_To_v1alpha1_MetadataParameters is an autogenerated conversion function.

func Convert_unversioned_ModifySetList_To_v1alpha1_ModifySetList

func Convert_unversioned_ModifySetList_To_v1alpha1_ModifySetList(in *unversioned.ModifySetList, out *ModifySetList, s conversion.Scope) error

Convert_unversioned_ModifySetList_To_v1alpha1_ModifySetList is an autogenerated conversion function.

func Convert_unversioned_ModifySetParameters_To_v1alpha1_ModifySetParameters

func Convert_unversioned_ModifySetParameters_To_v1alpha1_ModifySetParameters(in *unversioned.ModifySetParameters, out *ModifySetParameters, s conversion.Scope) error

Convert_unversioned_ModifySetParameters_To_v1alpha1_ModifySetParameters is an autogenerated conversion function.

func Convert_unversioned_ModifySetSpec_To_v1alpha1_ModifySetSpec

func Convert_unversioned_ModifySetSpec_To_v1alpha1_ModifySetSpec(in *unversioned.ModifySetSpec, out *ModifySetSpec, s conversion.Scope) error

Convert_unversioned_ModifySetSpec_To_v1alpha1_ModifySetSpec is an autogenerated conversion function.

func Convert_unversioned_ModifySetStatus_To_v1alpha1_ModifySetStatus

func Convert_unversioned_ModifySetStatus_To_v1alpha1_ModifySetStatus(in *unversioned.ModifySetStatus, out *ModifySetStatus, s conversion.Scope) error

Convert_unversioned_ModifySetStatus_To_v1alpha1_ModifySetStatus is an autogenerated conversion function.

func Convert_unversioned_ModifySet_To_v1alpha1_ModifySet

func Convert_unversioned_ModifySet_To_v1alpha1_ModifySet(in *unversioned.ModifySet, out *ModifySet, s conversion.Scope) error

Convert_unversioned_ModifySet_To_v1alpha1_ModifySet is an autogenerated conversion function.

func Convert_unversioned_Parameters_To_v1alpha1_Parameters

func Convert_unversioned_Parameters_To_v1alpha1_Parameters(in *unversioned.Parameters, out *Parameters, s conversion.Scope) error

Convert_unversioned_Parameters_To_v1alpha1_Parameters is an autogenerated conversion function.

func Convert_unversioned_PathTest_To_v1alpha1_PathTest

func Convert_unversioned_PathTest_To_v1alpha1_PathTest(in *unversioned.PathTest, out *PathTest, s conversion.Scope) error

Convert_unversioned_PathTest_To_v1alpha1_PathTest is an autogenerated conversion function.

func Convert_unversioned_Values_To_v1alpha1_Values

func Convert_unversioned_Values_To_v1alpha1_Values(in *unversioned.Values, out *Values, s conversion.Scope) error

Convert_unversioned_Values_To_v1alpha1_Values is an autogenerated conversion function.

func Convert_v1alpha1_AssignField_To_unversioned_AssignField

func Convert_v1alpha1_AssignField_To_unversioned_AssignField(in *AssignField, out *unversioned.AssignField, s conversion.Scope) error

Convert_v1alpha1_AssignField_To_unversioned_AssignField is an autogenerated conversion function.

func Convert_v1alpha1_AssignImageList_To_unversioned_AssignImageList

func Convert_v1alpha1_AssignImageList_To_unversioned_AssignImageList(in *AssignImageList, out *unversioned.AssignImageList, s conversion.Scope) error

Convert_v1alpha1_AssignImageList_To_unversioned_AssignImageList is an autogenerated conversion function.

func Convert_v1alpha1_AssignImageParameters_To_unversioned_AssignImageParameters

func Convert_v1alpha1_AssignImageParameters_To_unversioned_AssignImageParameters(in *AssignImageParameters, out *unversioned.AssignImageParameters, s conversion.Scope) error

Convert_v1alpha1_AssignImageParameters_To_unversioned_AssignImageParameters is an autogenerated conversion function.

func Convert_v1alpha1_AssignImageSpec_To_unversioned_AssignImageSpec

func Convert_v1alpha1_AssignImageSpec_To_unversioned_AssignImageSpec(in *AssignImageSpec, out *unversioned.AssignImageSpec, s conversion.Scope) error

Convert_v1alpha1_AssignImageSpec_To_unversioned_AssignImageSpec is an autogenerated conversion function.

func Convert_v1alpha1_AssignImageStatus_To_unversioned_AssignImageStatus

func Convert_v1alpha1_AssignImageStatus_To_unversioned_AssignImageStatus(in *AssignImageStatus, out *unversioned.AssignImageStatus, s conversion.Scope) error

Convert_v1alpha1_AssignImageStatus_To_unversioned_AssignImageStatus is an autogenerated conversion function.

func Convert_v1alpha1_AssignImage_To_unversioned_AssignImage

func Convert_v1alpha1_AssignImage_To_unversioned_AssignImage(in *AssignImage, out *unversioned.AssignImage, s conversion.Scope) error

Convert_v1alpha1_AssignImage_To_unversioned_AssignImage is an autogenerated conversion function.

func Convert_v1alpha1_AssignList_To_unversioned_AssignList

func Convert_v1alpha1_AssignList_To_unversioned_AssignList(in *AssignList, out *unversioned.AssignList, s conversion.Scope) error

Convert_v1alpha1_AssignList_To_unversioned_AssignList is an autogenerated conversion function.

func Convert_v1alpha1_AssignMetadataList_To_unversioned_AssignMetadataList

func Convert_v1alpha1_AssignMetadataList_To_unversioned_AssignMetadataList(in *AssignMetadataList, out *unversioned.AssignMetadataList, s conversion.Scope) error

Convert_v1alpha1_AssignMetadataList_To_unversioned_AssignMetadataList is an autogenerated conversion function.

func Convert_v1alpha1_AssignMetadataSpec_To_unversioned_AssignMetadataSpec

func Convert_v1alpha1_AssignMetadataSpec_To_unversioned_AssignMetadataSpec(in *AssignMetadataSpec, out *unversioned.AssignMetadataSpec, s conversion.Scope) error

Convert_v1alpha1_AssignMetadataSpec_To_unversioned_AssignMetadataSpec is an autogenerated conversion function.

func Convert_v1alpha1_AssignMetadataStatus_To_unversioned_AssignMetadataStatus

func Convert_v1alpha1_AssignMetadataStatus_To_unversioned_AssignMetadataStatus(in *AssignMetadataStatus, out *unversioned.AssignMetadataStatus, s conversion.Scope) error

Convert_v1alpha1_AssignMetadataStatus_To_unversioned_AssignMetadataStatus is an autogenerated conversion function.

func Convert_v1alpha1_AssignMetadata_To_unversioned_AssignMetadata

func Convert_v1alpha1_AssignMetadata_To_unversioned_AssignMetadata(in *AssignMetadata, out *unversioned.AssignMetadata, s conversion.Scope) error

Convert_v1alpha1_AssignMetadata_To_unversioned_AssignMetadata is an autogenerated conversion function.

func Convert_v1alpha1_AssignSpec_To_unversioned_AssignSpec

func Convert_v1alpha1_AssignSpec_To_unversioned_AssignSpec(in *AssignSpec, out *unversioned.AssignSpec, s conversion.Scope) error

Convert_v1alpha1_AssignSpec_To_unversioned_AssignSpec is an autogenerated conversion function.

func Convert_v1alpha1_AssignStatus_To_unversioned_AssignStatus

func Convert_v1alpha1_AssignStatus_To_unversioned_AssignStatus(in *AssignStatus, out *unversioned.AssignStatus, s conversion.Scope) error

Convert_v1alpha1_AssignStatus_To_unversioned_AssignStatus is an autogenerated conversion function.

func Convert_v1alpha1_Assign_To_unversioned_Assign

func Convert_v1alpha1_Assign_To_unversioned_Assign(in *Assign, out *unversioned.Assign, s conversion.Scope) error

Convert_v1alpha1_Assign_To_unversioned_Assign is an autogenerated conversion function.

func Convert_v1alpha1_ExternalData_To_unversioned_ExternalData

func Convert_v1alpha1_ExternalData_To_unversioned_ExternalData(in *ExternalData, out *unversioned.ExternalData, s conversion.Scope) error

Convert_v1alpha1_ExternalData_To_unversioned_ExternalData is an autogenerated conversion function.

func Convert_v1alpha1_FromMetadata_To_unversioned_FromMetadata

func Convert_v1alpha1_FromMetadata_To_unversioned_FromMetadata(in *FromMetadata, out *unversioned.FromMetadata, s conversion.Scope) error

Convert_v1alpha1_FromMetadata_To_unversioned_FromMetadata is an autogenerated conversion function.

func Convert_v1alpha1_MetadataParameters_To_unversioned_MetadataParameters

func Convert_v1alpha1_MetadataParameters_To_unversioned_MetadataParameters(in *MetadataParameters, out *unversioned.MetadataParameters, s conversion.Scope) error

Convert_v1alpha1_MetadataParameters_To_unversioned_MetadataParameters is an autogenerated conversion function.

func Convert_v1alpha1_ModifySetList_To_unversioned_ModifySetList

func Convert_v1alpha1_ModifySetList_To_unversioned_ModifySetList(in *ModifySetList, out *unversioned.ModifySetList, s conversion.Scope) error

Convert_v1alpha1_ModifySetList_To_unversioned_ModifySetList is an autogenerated conversion function.

func Convert_v1alpha1_ModifySetParameters_To_unversioned_ModifySetParameters

func Convert_v1alpha1_ModifySetParameters_To_unversioned_ModifySetParameters(in *ModifySetParameters, out *unversioned.ModifySetParameters, s conversion.Scope) error

Convert_v1alpha1_ModifySetParameters_To_unversioned_ModifySetParameters is an autogenerated conversion function.

func Convert_v1alpha1_ModifySetSpec_To_unversioned_ModifySetSpec

func Convert_v1alpha1_ModifySetSpec_To_unversioned_ModifySetSpec(in *ModifySetSpec, out *unversioned.ModifySetSpec, s conversion.Scope) error

Convert_v1alpha1_ModifySetSpec_To_unversioned_ModifySetSpec is an autogenerated conversion function.

func Convert_v1alpha1_ModifySetStatus_To_unversioned_ModifySetStatus

func Convert_v1alpha1_ModifySetStatus_To_unversioned_ModifySetStatus(in *ModifySetStatus, out *unversioned.ModifySetStatus, s conversion.Scope) error

Convert_v1alpha1_ModifySetStatus_To_unversioned_ModifySetStatus is an autogenerated conversion function.

func Convert_v1alpha1_ModifySet_To_unversioned_ModifySet

func Convert_v1alpha1_ModifySet_To_unversioned_ModifySet(in *ModifySet, out *unversioned.ModifySet, s conversion.Scope) error

Convert_v1alpha1_ModifySet_To_unversioned_ModifySet is an autogenerated conversion function.

func Convert_v1alpha1_Parameters_To_unversioned_Parameters

func Convert_v1alpha1_Parameters_To_unversioned_Parameters(in *Parameters, out *unversioned.Parameters, s conversion.Scope) error

Convert_v1alpha1_Parameters_To_unversioned_Parameters is an autogenerated conversion function.

func Convert_v1alpha1_PathTest_To_unversioned_PathTest

func Convert_v1alpha1_PathTest_To_unversioned_PathTest(in *PathTest, out *unversioned.PathTest, s conversion.Scope) error

Convert_v1alpha1_PathTest_To_unversioned_PathTest is an autogenerated conversion function.

func Convert_v1alpha1_Values_To_unversioned_Values

func Convert_v1alpha1_Values_To_unversioned_Values(in *Values, out *unversioned.Values, s conversion.Scope) error

Convert_v1alpha1_Values_To_unversioned_Values is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

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

func (in *Assign) DeepCopy() *Assign

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Assign.

func (*Assign) DeepCopyInto

func (in *Assign) DeepCopyInto(out *Assign)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Assign) DeepCopyObject

func (in *Assign) DeepCopyObject() runtime.Object

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 AssignImage

type AssignImage struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AssignImageSpec   `json:"spec,omitempty"`
	Status AssignImageStatus `json:"status,omitempty"`
}

AssignImage is the Schema for the assignimage API.

func (*AssignImage) DeepCopy

func (in *AssignImage) DeepCopy() *AssignImage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignImage.

func (*AssignImage) DeepCopyInto

func (in *AssignImage) DeepCopyInto(out *AssignImage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AssignImage) DeepCopyObject

func (in *AssignImage) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AssignImageList

type AssignImageList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []AssignImage `json:"items"`
}

AssignImageList contains a list of AssignImage.

func (*AssignImageList) DeepCopy

func (in *AssignImageList) DeepCopy() *AssignImageList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignImageList.

func (*AssignImageList) DeepCopyInto

func (in *AssignImageList) DeepCopyInto(out *AssignImageList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AssignImageList) DeepCopyObject

func (in *AssignImageList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AssignImageParameters

type AssignImageParameters struct {
	PathTests []PathTest `json:"pathTests,omitempty"`

	// AssignDomain sets the domain component on an image string. The trailing
	// slash should not be included.
	AssignDomain string `json:"assignDomain,omitempty"`

	// AssignPath sets the domain component on an image string.
	AssignPath string `json:"assignPath,omitempty"`

	// AssignImage sets the image component on an image string. It must start
	// with a `:` or `@`.
	AssignTag string `json:"assignTag,omitempty"`
}

func (*AssignImageParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignImageParameters.

func (*AssignImageParameters) DeepCopyInto

func (in *AssignImageParameters) DeepCopyInto(out *AssignImageParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AssignImageSpec

type AssignImageSpec 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].image`.
	Location string `json:"location,omitempty"`

	// Parameters define the behavior of the mutator.
	Parameters AssignImageParameters `json:"parameters,omitempty"`
}

AssignImageSpec defines the desired state of AssignImage.

func (*AssignImageSpec) DeepCopy

func (in *AssignImageSpec) DeepCopy() *AssignImageSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignImageSpec.

func (*AssignImageSpec) DeepCopyInto

func (in *AssignImageSpec) DeepCopyInto(out *AssignImageSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AssignImageStatus

type AssignImageStatus struct {
	ByPod []v1beta1.MutatorPodStatusStatus `json:"byPod,omitempty"`
}

AssignImageStatus defines the observed state of AssignImage.

func (*AssignImageStatus) DeepCopy

func (in *AssignImageStatus) DeepCopy() *AssignImageStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignImageStatus.

func (*AssignImageStatus) DeepCopyInto

func (in *AssignImageStatus) DeepCopyInto(out *AssignImageStatus)

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

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

func (in *ModifySet) DeepCopy() *ModifySet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModifySet.

func (*ModifySet) DeepCopyInto

func (in *ModifySet) DeepCopyInto(out *ModifySet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModifySet) DeepCopyObject

func (in *ModifySet) DeepCopyObject() runtime.Object

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 Operation

type Operation string
const (
	// MergeOp means that the provided values should be merged with the existing values.
	MergeOp Operation = "merge"

	// PruneOp means that the provided values should be removed from the existing values.
	PruneOp Operation = "prune"
)

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

func (in *PathTest) DeepCopy() *PathTest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PathTest.

func (*PathTest) DeepCopyInto

func (in *PathTest) DeepCopyInto(out *PathTest)

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

func (*Values) DeepCopy

func (in *Values) DeepCopy() *Values

func (*Values) DeepCopyInto

func (in *Values) DeepCopyInto(out *Values)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL