example

package
v0.0.0-...-913260b Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "example.api.code-generator.k8s.io", Version: runtime.APIVersionInternal}

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Conversion

type Conversion struct {
	Identical MemoryIdentical
	Different MemoryDifferent
}

func (*Conversion) DeepCopy

func (in *Conversion) DeepCopy() *Conversion

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

func (*Conversion) DeepCopyInto

func (in *Conversion) DeepCopyInto(out *Conversion)

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

type ConversionCustom

type ConversionCustom struct {
	PublicField string
	// contains filtered or unexported fields
}

func (*ConversionCustom) DeepCopy

func (in *ConversionCustom) DeepCopy() *ConversionCustom

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

func (*ConversionCustom) DeepCopyInto

func (in *ConversionCustom) DeepCopyInto(out *ConversionCustom)

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

type ConversionCustomContainer

type ConversionCustomContainer struct {
	Slice   []ConversionCustom
	SliceP  []*ConversionCustom
	Map     map[string]ConversionCustom
	MapP    map[string]*ConversionCustom
	Struct  ConversionCustom
	StructP *ConversionCustom
}

func (*ConversionCustomContainer) DeepCopy

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

func (*ConversionCustomContainer) DeepCopyInto

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

type ConversionPrivate

type ConversionPrivate struct {
	PublicField string
	// contains filtered or unexported fields
}

func (*ConversionPrivate) DeepCopy

func (in *ConversionPrivate) DeepCopy() *ConversionPrivate

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

func (*ConversionPrivate) DeepCopyInto

func (in *ConversionPrivate) DeepCopyInto(out *ConversionPrivate)

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

type MemoryDifferent

type MemoryDifferent struct {
	Items      *MemoryDifferent
	Properties map[string]MemoryDifferent
	AllOf      []MemoryDifferent
	Bool       bool // differs from external representation
}

func (*MemoryDifferent) DeepCopy

func (in *MemoryDifferent) DeepCopy() *MemoryDifferent

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

func (*MemoryDifferent) DeepCopyInto

func (in *MemoryDifferent) DeepCopyInto(out *MemoryDifferent)

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

type MemoryIdentical

type MemoryIdentical struct {
	Items      *MemoryIdentical
	Properties map[string]MemoryIdentical
	AllOf      []MemoryIdentical
	Bool       bool
}

func (*MemoryIdentical) DeepCopy

func (in *MemoryIdentical) DeepCopy() *MemoryIdentical

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

func (*MemoryIdentical) DeepCopyInto

func (in *MemoryIdentical) DeepCopyInto(out *MemoryIdentical)

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

type TestType

type TestType struct {
	metav1.TypeMeta
	// +optional
	metav1.ObjectMeta
	// +optional
	Status TestTypeStatus
}

TestType is a top-level type. A client is created for it.

func (*TestType) DeepCopy

func (in *TestType) DeepCopy() *TestType

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

func (*TestType) DeepCopyInto

func (in *TestType) DeepCopyInto(out *TestType)

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

func (*TestType) DeepCopyObject

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

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

type TestTypeList

type TestTypeList struct {
	metav1.TypeMeta
	// +optional
	metav1.ListMeta

	Items []TestType
}

TestTypeList is a top-level list type. The client methods for lists are automatically created. You are not supposed to create a separated client for this one.

func (*TestTypeList) DeepCopy

func (in *TestTypeList) DeepCopy() *TestTypeList

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

func (*TestTypeList) DeepCopyInto

func (in *TestTypeList) DeepCopyInto(out *TestTypeList)

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

func (*TestTypeList) DeepCopyObject

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

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

type TestTypeStatus

type TestTypeStatus struct {
	Blah string
}

func (*TestTypeStatus) DeepCopy

func (in *TestTypeStatus) DeepCopy() *TestTypeStatus

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

func (*TestTypeStatus) DeepCopyInto

func (in *TestTypeStatus) DeepCopyInto(out *TestTypeStatus)

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

Directories

Path Synopsis
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.

Jump to

Keyboard shortcuts

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