Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
 - Variables
 - func Convert_example2_TestTypeList_To_v1_TestTypeList(in *example2.TestTypeList, out *TestTypeList, s conversion.Scope) error
 - func Convert_example2_TestTypeStatus_To_v1_TestTypeStatus(in *example2.TestTypeStatus, out *TestTypeStatus, s conversion.Scope) error
 - func Convert_example2_TestType_To_v1_TestType(in *example2.TestType, out *TestType, s conversion.Scope) error
 - func Convert_v1_TestTypeList_To_example2_TestTypeList(in *TestTypeList, out *example2.TestTypeList, s conversion.Scope) error
 - func Convert_v1_TestTypeStatus_To_example2_TestTypeStatus(in *TestTypeStatus, out *example2.TestTypeStatus, s conversion.Scope) error
 - func Convert_v1_TestType_To_example2_TestType(in *TestType, out *example2.TestType, s conversion.Scope) error
 - func RegisterConversions(s *runtime.Scheme) error
 - func RegisterDefaults(scheme *runtime.Scheme) error
 - func Resource(resource string) schema.GroupResource
 - type TestType
 - type TestTypeList
 - type TestTypeStatus
 
Constants ¶
const GroupName = "example.test.apiserver.code-generator.k8s.io"
    GroupName specifies the group name used to register the objects.
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder // Deprecated: use Install instead AddToScheme = localSchemeBuilder.AddToScheme Install = localSchemeBuilder.AddToScheme )
var GroupVersion = metav1.GroupVersion{Group: GroupName, Version: "v1"}
    GroupVersion specifies the group and the version used to register the objects.
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
    SchemeGroupVersion is group version used to register these objects
Deprecated: use GroupVersion instead.
Functions ¶
func Convert_example2_TestTypeList_To_v1_TestTypeList ¶
func Convert_example2_TestTypeList_To_v1_TestTypeList(in *example2.TestTypeList, out *TestTypeList, s conversion.Scope) error
Convert_example2_TestTypeList_To_v1_TestTypeList is an autogenerated conversion function.
func Convert_example2_TestTypeStatus_To_v1_TestTypeStatus ¶
func Convert_example2_TestTypeStatus_To_v1_TestTypeStatus(in *example2.TestTypeStatus, out *TestTypeStatus, s conversion.Scope) error
Convert_example2_TestTypeStatus_To_v1_TestTypeStatus is an autogenerated conversion function.
func Convert_example2_TestType_To_v1_TestType ¶
func Convert_example2_TestType_To_v1_TestType(in *example2.TestType, out *TestType, s conversion.Scope) error
Convert_example2_TestType_To_v1_TestType is an autogenerated conversion function.
func Convert_v1_TestTypeList_To_example2_TestTypeList ¶
func Convert_v1_TestTypeList_To_example2_TestTypeList(in *TestTypeList, out *example2.TestTypeList, s conversion.Scope) error
Convert_v1_TestTypeList_To_example2_TestTypeList is an autogenerated conversion function.
func Convert_v1_TestTypeStatus_To_example2_TestTypeStatus ¶
func Convert_v1_TestTypeStatus_To_example2_TestTypeStatus(in *TestTypeStatus, out *example2.TestTypeStatus, s conversion.Scope) error
Convert_v1_TestTypeStatus_To_example2_TestTypeStatus is an autogenerated conversion function.
func Convert_v1_TestType_To_example2_TestType ¶
func Convert_v1_TestType_To_example2_TestType(in *TestType, out *example2.TestType, s conversion.Scope) error
Convert_v1_TestType_To_example2_TestType is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType.
func (*TestType) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestType) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (TestType) OpenAPIModelName ¶
OpenAPIModelName returns the OpenAPI model name for this type.
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.
func (TestTypeList) OpenAPIModelName ¶
func (in TestTypeList) OpenAPIModelName() string
OpenAPIModelName returns the OpenAPI model name for this type.
type TestTypeStatus ¶
type TestTypeStatus struct {
	Blah string `json:"blah"`
}
    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.
func (TestTypeStatus) OpenAPIModelName ¶
func (in TestTypeStatus) OpenAPIModelName() string
OpenAPIModelName returns the OpenAPI model name for this type.