v1

package
v0.0.0-...-d3ccc4f Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2018 License: Apache-2.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +k8s:defaulter-gen=TypeMeta +k8s:conversion-gen=k8s.io/code-generator/_examples/apiserver/apis/example +groupName=example.apiserver.code-generator.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: "example.apiserver.code-generator.k8s.io", Version: "v1"}

Functions

func Convert_example_TestTypeList_To_v1_TestTypeList

func Convert_example_TestTypeList_To_v1_TestTypeList(in *example.TestTypeList, out *TestTypeList, s conversion.Scope) error

Convert_example_TestTypeList_To_v1_TestTypeList is an autogenerated conversion function.

func Convert_example_TestTypeStatus_To_v1_TestTypeStatus

func Convert_example_TestTypeStatus_To_v1_TestTypeStatus(in *example.TestTypeStatus, out *TestTypeStatus, s conversion.Scope) error

Convert_example_TestTypeStatus_To_v1_TestTypeStatus is an autogenerated conversion function.

func Convert_example_TestType_To_v1_TestType

func Convert_example_TestType_To_v1_TestType(in *example.TestType, out *TestType, s conversion.Scope) error

Convert_example_TestType_To_v1_TestType is an autogenerated conversion function.

func Convert_v1_TestTypeList_To_example_TestTypeList

func Convert_v1_TestTypeList_To_example_TestTypeList(in *TestTypeList, out *example.TestTypeList, s conversion.Scope) error

Convert_v1_TestTypeList_To_example_TestTypeList is an autogenerated conversion function.

func Convert_v1_TestTypeStatus_To_example_TestTypeStatus

func Convert_v1_TestTypeStatus_To_example_TestTypeStatus(in *TestTypeStatus, out *example.TestTypeStatus, s conversion.Scope) error

Convert_v1_TestTypeStatus_To_example_TestTypeStatus is an autogenerated conversion function.

func Convert_v1_TestType_To_example_TestType

func Convert_v1_TestType_To_example_TestType(in *TestType, out *example.TestType, s conversion.Scope) error

Convert_v1_TestType_To_example_TestType 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.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

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"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +optional
	Status TestTypeStatus `json:"status,omitempty"`
}

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

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

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.

Jump to

Keyboard shortcuts

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