v1beta1

package
v3.14.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+k8s:conversion-gen=github.com/open-policy-agent/gatekeeper/v3/apis/expansion/unversioned -external-types=github.com/open-policy-agent/gatekeeper/v3/apis/expansion/v1beta1

Package v1beta1 contains API Schema definitions for the expansion v1beta1 API group +kubebuilder:object:generate=true +groupName=expansion.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: "expansion.gatekeeper.sh", Version: "v1beta1"}

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

func Convert_unversioned_ExpansionTemplateList_To_v1beta1_ExpansionTemplateList(in *unversioned.ExpansionTemplateList, out *ExpansionTemplateList, s conversion.Scope) error

Convert_unversioned_ExpansionTemplateList_To_v1beta1_ExpansionTemplateList is an autogenerated conversion function.

func Convert_unversioned_ExpansionTemplateSpec_To_v1beta1_ExpansionTemplateSpec

func Convert_unversioned_ExpansionTemplateSpec_To_v1beta1_ExpansionTemplateSpec(in *unversioned.ExpansionTemplateSpec, out *ExpansionTemplateSpec, s conversion.Scope) error

Convert_unversioned_ExpansionTemplateSpec_To_v1beta1_ExpansionTemplateSpec is an autogenerated conversion function.

func Convert_unversioned_ExpansionTemplateStatus_To_v1beta1_ExpansionTemplateStatus

func Convert_unversioned_ExpansionTemplateStatus_To_v1beta1_ExpansionTemplateStatus(in *unversioned.ExpansionTemplateStatus, out *ExpansionTemplateStatus, s conversion.Scope) error

Convert_unversioned_ExpansionTemplateStatus_To_v1beta1_ExpansionTemplateStatus is an autogenerated conversion function.

func Convert_unversioned_ExpansionTemplate_To_v1beta1_ExpansionTemplate

func Convert_unversioned_ExpansionTemplate_To_v1beta1_ExpansionTemplate(in *unversioned.ExpansionTemplate, out *ExpansionTemplate, s conversion.Scope) error

Convert_unversioned_ExpansionTemplate_To_v1beta1_ExpansionTemplate is an autogenerated conversion function.

func Convert_unversioned_GeneratedGVK_To_v1beta1_GeneratedGVK

func Convert_unversioned_GeneratedGVK_To_v1beta1_GeneratedGVK(in *unversioned.GeneratedGVK, out *GeneratedGVK, s conversion.Scope) error

Convert_unversioned_GeneratedGVK_To_v1beta1_GeneratedGVK is an autogenerated conversion function.

func Convert_v1beta1_ExpansionTemplateList_To_unversioned_ExpansionTemplateList

func Convert_v1beta1_ExpansionTemplateList_To_unversioned_ExpansionTemplateList(in *ExpansionTemplateList, out *unversioned.ExpansionTemplateList, s conversion.Scope) error

Convert_v1beta1_ExpansionTemplateList_To_unversioned_ExpansionTemplateList is an autogenerated conversion function.

func Convert_v1beta1_ExpansionTemplateSpec_To_unversioned_ExpansionTemplateSpec

func Convert_v1beta1_ExpansionTemplateSpec_To_unversioned_ExpansionTemplateSpec(in *ExpansionTemplateSpec, out *unversioned.ExpansionTemplateSpec, s conversion.Scope) error

Convert_v1beta1_ExpansionTemplateSpec_To_unversioned_ExpansionTemplateSpec is an autogenerated conversion function.

func Convert_v1beta1_ExpansionTemplateStatus_To_unversioned_ExpansionTemplateStatus

func Convert_v1beta1_ExpansionTemplateStatus_To_unversioned_ExpansionTemplateStatus(in *ExpansionTemplateStatus, out *unversioned.ExpansionTemplateStatus, s conversion.Scope) error

Convert_v1beta1_ExpansionTemplateStatus_To_unversioned_ExpansionTemplateStatus is an autogenerated conversion function.

func Convert_v1beta1_ExpansionTemplate_To_unversioned_ExpansionTemplate

func Convert_v1beta1_ExpansionTemplate_To_unversioned_ExpansionTemplate(in *ExpansionTemplate, out *unversioned.ExpansionTemplate, s conversion.Scope) error

Convert_v1beta1_ExpansionTemplate_To_unversioned_ExpansionTemplate is an autogenerated conversion function.

func Convert_v1beta1_GeneratedGVK_To_unversioned_GeneratedGVK

func Convert_v1beta1_GeneratedGVK_To_unversioned_GeneratedGVK(in *GeneratedGVK, out *unversioned.GeneratedGVK, s conversion.Scope) error

Convert_v1beta1_GeneratedGVK_To_unversioned_GeneratedGVK 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 ExpansionTemplate

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

	Spec   ExpansionTemplateSpec   `json:"spec,omitempty"`
	Status ExpansionTemplateStatus `json:"status,omitempty"`
}

ExpansionTemplate is the Schema for the ExpansionTemplate API.

func (*ExpansionTemplate) DeepCopy

func (in *ExpansionTemplate) DeepCopy() *ExpansionTemplate

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

func (*ExpansionTemplate) DeepCopyInto

func (in *ExpansionTemplate) DeepCopyInto(out *ExpansionTemplate)

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

func (*ExpansionTemplate) DeepCopyObject

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

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

type ExpansionTemplateList

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

ExpansionTemplateList contains a list of ExpansionTemplate.

func (*ExpansionTemplateList) DeepCopy

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

func (*ExpansionTemplateList) DeepCopyInto

func (in *ExpansionTemplateList) DeepCopyInto(out *ExpansionTemplateList)

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

func (*ExpansionTemplateList) DeepCopyObject

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

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

type ExpansionTemplateSpec

type ExpansionTemplateSpec struct {

	// ApplyTo lists the specific groups, versions and kinds of generator resources
	// which will be expanded.
	ApplyTo []match.ApplyTo `json:"applyTo,omitempty"`

	// TemplateSource specifies the source field on the generator resource to
	// use as the base for expanded resource. For Pod-creating generators, this
	// is usually spec.template
	TemplateSource string `json:"templateSource,omitempty"`

	// GeneratedGVK specifies the GVK of the resources which the generator
	// resource creates.
	GeneratedGVK GeneratedGVK `json:"generatedGVK,omitempty"`

	// EnforcementAction specifies the enforcement action to be used for resources
	// matching the ExpansionTemplate. Specifying an empty value will use the
	// enforcement action specified by the Constraint in violation.
	EnforcementAction string `json:"enforcementAction,omitempty"`
}

ExpansionTemplateSpec defines the desired state of ExpansionTemplate.

func (*ExpansionTemplateSpec) DeepCopy

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

func (*ExpansionTemplateSpec) DeepCopyInto

func (in *ExpansionTemplateSpec) DeepCopyInto(out *ExpansionTemplateSpec)

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

type ExpansionTemplateStatus

type ExpansionTemplateStatus struct {
	ByPod []status.ExpansionTemplatePodStatusStatus `json:"byPod,omitempty"`
}

ExpansionTemplateStatus defines the observed state of ExpansionTemplate.

func (*ExpansionTemplateStatus) DeepCopy

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

func (*ExpansionTemplateStatus) DeepCopyInto

func (in *ExpansionTemplateStatus) DeepCopyInto(out *ExpansionTemplateStatus)

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

type GeneratedGVK

type GeneratedGVK struct {
	Group   string `json:"group,omitempty"`
	Version string `json:"version,omitempty"`
	Kind    string `json:"kind,omitempty"`
}

func (*GeneratedGVK) DeepCopy

func (in *GeneratedGVK) DeepCopy() *GeneratedGVK

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

func (*GeneratedGVK) DeepCopyInto

func (in *GeneratedGVK) DeepCopyInto(out *GeneratedGVK)

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

Jump to

Keyboard shortcuts

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