unversioned

package
v3.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package unversioned contains the internal representation of expansion objects

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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 []statusv1alpha1.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