v1

package
v1.8.0-alpha.2....-f6929fc Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package,register +k8s:openapi-gen=true +groupName=testgroup.k8s.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "testgroup.k8s.io", Version: "v1"}

Functions

func RegisterDeepCopies deprecated

func RegisterDeepCopies(scheme *runtime.Scheme) error

RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.

Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type TestType

type TestType struct {
	metav1.TypeMeta `json:",inline"`
	// ---
	// the next tag removes the field from openapi spec. Adding unversioned objectMeta bring in a whole set of
	// unversioned objects in the generate file that is not used anywhere other than this test type.
	// +k8s:openapi-gen=false
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +optional
	Status TestTypeStatus `json:"status,omitempty"`
}

func (*TestType) CodecDecodeSelf

func (x *TestType) CodecDecodeSelf(d *codec1978.Decoder)

func (*TestType) CodecEncodeSelf

func (x *TestType) CodecEncodeSelf(e *codec1978.Encoder)

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 `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []TestType `json:"items"`
}

func (*TestTypeList) CodecDecodeSelf

func (x *TestTypeList) CodecDecodeSelf(d *codec1978.Decoder)

func (*TestTypeList) CodecEncodeSelf

func (x *TestTypeList) CodecEncodeSelf(e *codec1978.Encoder)

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) CodecDecodeSelf

func (x *TestTypeStatus) CodecDecodeSelf(d *codec1978.Decoder)

func (*TestTypeStatus) CodecEncodeSelf

func (x *TestTypeStatus) CodecEncodeSelf(e *codec1978.Encoder)

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.

Jump to

Keyboard shortcuts

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