Documentation ¶
Overview ¶
Package v1 is the v1 version of the API.
Index ¶
- Constants
- Variables
- func Convert_example_BarList_To_v1_BarList(in *example.BarList, out *BarList, s conversion.Scope) error
- func Convert_example_BarSpec_To_v1_BarSpec(in *example.BarSpec, out *BarSpec, s conversion.Scope) error
- func Convert_example_BarStatus_To_v1_BarStatus(in *example.BarStatus, out *BarStatus, s conversion.Scope) error
- func Convert_example_Bar_To_v1_Bar(in *example.Bar, out *Bar, s conversion.Scope) error
- func Convert_example_FooList_To_v1_FooList(in *example.FooList, out *FooList, s conversion.Scope) error
- func Convert_example_FooSpec_To_v1_FooSpec(in *example.FooSpec, out *FooSpec, s conversion.Scope) error
- func Convert_example_FooStatus_To_v1_FooStatus(in *example.FooStatus, out *FooStatus, s conversion.Scope) error
- func Convert_example_Foo_To_v1_Foo(in *example.Foo, out *Foo, s conversion.Scope) error
- func Convert_v1_BarList_To_example_BarList(in *BarList, out *example.BarList, s conversion.Scope) error
- func Convert_v1_BarSpec_To_example_BarSpec(in *BarSpec, out *example.BarSpec, s conversion.Scope) error
- func Convert_v1_BarStatus_To_example_BarStatus(in *BarStatus, out *example.BarStatus, s conversion.Scope) error
- func Convert_v1_Bar_To_example_Bar(in *Bar, out *example.Bar, s conversion.Scope) error
- func Convert_v1_FooList_To_example_FooList(in *FooList, out *example.FooList, s conversion.Scope) error
- func Convert_v1_FooSpec_To_example_FooSpec(in *FooSpec, out *example.FooSpec, s conversion.Scope) error
- func Convert_v1_FooStatus_To_example_FooStatus(in *FooStatus, out *example.FooStatus, s conversion.Scope) error
- func Convert_v1_Foo_To_example_Foo(in *Foo, out *example.Foo, s conversion.Scope) error
- func Kind(kind string) schema.GroupKind
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type Bar
- type BarList
- type BarSpec
- type BarStatus
- type Foo
- type FooList
- type FooSpec
- type FooStatus
Constants ¶
const ( Version = "v1" GroupName = "example" )
Variables ¶
var ( // SchemeBuilder initializes a scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnowTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var ( // SchemeGroupPROJECT_VERSION is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version} )
Functions ¶
func Convert_example_BarList_To_v1_BarList ¶
func Convert_example_BarList_To_v1_BarList(in *example.BarList, out *BarList, s conversion.Scope) error
Convert_example_BarList_To_v1_BarList is an autogenerated conversion function.
func Convert_example_BarSpec_To_v1_BarSpec ¶
func Convert_example_BarSpec_To_v1_BarSpec(in *example.BarSpec, out *BarSpec, s conversion.Scope) error
Convert_example_BarSpec_To_v1_BarSpec is an autogenerated conversion function.
func Convert_example_BarStatus_To_v1_BarStatus ¶
func Convert_example_BarStatus_To_v1_BarStatus(in *example.BarStatus, out *BarStatus, s conversion.Scope) error
Convert_example_BarStatus_To_v1_BarStatus is an autogenerated conversion function.
func Convert_example_Bar_To_v1_Bar ¶
Convert_example_Bar_To_v1_Bar is an autogenerated conversion function.
func Convert_example_FooList_To_v1_FooList ¶
func Convert_example_FooList_To_v1_FooList(in *example.FooList, out *FooList, s conversion.Scope) error
Convert_example_FooList_To_v1_FooList is an autogenerated conversion function.
func Convert_example_FooSpec_To_v1_FooSpec ¶
func Convert_example_FooSpec_To_v1_FooSpec(in *example.FooSpec, out *FooSpec, s conversion.Scope) error
Convert_example_FooSpec_To_v1_FooSpec is an autogenerated conversion function.
func Convert_example_FooStatus_To_v1_FooStatus ¶
func Convert_example_FooStatus_To_v1_FooStatus(in *example.FooStatus, out *FooStatus, s conversion.Scope) error
Convert_example_FooStatus_To_v1_FooStatus is an autogenerated conversion function.
func Convert_example_Foo_To_v1_Foo ¶
Convert_example_Foo_To_v1_Foo is an autogenerated conversion function.
func Convert_v1_BarList_To_example_BarList ¶
func Convert_v1_BarList_To_example_BarList(in *BarList, out *example.BarList, s conversion.Scope) error
Convert_v1_BarList_To_example_BarList is an autogenerated conversion function.
func Convert_v1_BarSpec_To_example_BarSpec ¶
func Convert_v1_BarSpec_To_example_BarSpec(in *BarSpec, out *example.BarSpec, s conversion.Scope) error
Convert_v1_BarSpec_To_example_BarSpec is an autogenerated conversion function.
func Convert_v1_BarStatus_To_example_BarStatus ¶
func Convert_v1_BarStatus_To_example_BarStatus(in *BarStatus, out *example.BarStatus, s conversion.Scope) error
Convert_v1_BarStatus_To_example_BarStatus is an autogenerated conversion function.
func Convert_v1_Bar_To_example_Bar ¶
Convert_v1_Bar_To_example_Bar is an autogenerated conversion function.
func Convert_v1_FooList_To_example_FooList ¶
func Convert_v1_FooList_To_example_FooList(in *FooList, out *example.FooList, s conversion.Scope) error
Convert_v1_FooList_To_example_FooList is an autogenerated conversion function.
func Convert_v1_FooSpec_To_example_FooSpec ¶
func Convert_v1_FooSpec_To_example_FooSpec(in *FooSpec, out *example.FooSpec, s conversion.Scope) error
Convert_v1_FooSpec_To_example_FooSpec is an autogenerated conversion function.
func Convert_v1_FooStatus_To_example_FooStatus ¶
func Convert_v1_FooStatus_To_example_FooStatus(in *FooStatus, out *example.FooStatus, s conversion.Scope) error
Convert_v1_FooStatus_To_example_FooStatus is an autogenerated conversion function.
func Convert_v1_Foo_To_example_Foo ¶
Convert_v1_Foo_To_example_Foo 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 Bar ¶
type Bar struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BarSpec `json:"spec"` Status BarStatus `json:"status"` }
Bar defines Bar deployment
func (*Bar) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bar.
func (*Bar) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Bar) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BarList ¶
type BarList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Bar `json:"items"` }
BarList carries a list of Bar objects
func (*BarList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BarList.
func (*BarList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BarList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BarSpec ¶
type BarSpec struct { }
BarSpec describes the specification of Bar applications using kubernetes as a cluster manager
func (*BarSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BarSpec.
func (*BarSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BarStatus ¶
type BarStatus struct { }
BarStatus describes the current status of Bar applications
func (*BarStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BarStatus.
func (*BarStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Foo ¶
type Foo struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FooSpec `json:"spec"` Status FooStatus `json:"status"` }
Foo defines Foo deployment
func (*Foo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Foo.
func (*Foo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Foo) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FooList ¶
type FooList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Foo `json:"items"` }
FooList carries a list of Foo objects
func (*FooList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FooList.
func (*FooList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FooList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FooSpec ¶
type FooSpec struct { }
FooSpec describes the specification of Foo applications using kubernetes as a cluster manager
func (*FooSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FooSpec.
func (*FooSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FooStatus ¶
type FooStatus struct { }
FooStatus describes the current status of Foo applications
func (*FooStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FooStatus.
func (*FooStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.