Documentation ¶
Index ¶
Constants ¶
const GroupName = "k8s.cni.cncf.io"
const GroupVersion = "v1"
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type InterfaceMap ¶
type InterfaceMap struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec []InterfaceMapSpec `json:"spec"` }
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*InterfaceMap) DeepCopy ¶
func (in *InterfaceMap) DeepCopy() *InterfaceMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceMap.
func (*InterfaceMap) DeepCopyInto ¶
func (in *InterfaceMap) DeepCopyInto(out *InterfaceMap)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InterfaceMap) DeepCopyObject ¶
func (in *InterfaceMap) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InterfaceMapList ¶
type InterfaceMapList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []InterfaceMap `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*InterfaceMapList) DeepCopy ¶
func (in *InterfaceMapList) DeepCopy() *InterfaceMapList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceMapList.
func (*InterfaceMapList) DeepCopyInto ¶
func (in *InterfaceMapList) DeepCopyInto(out *InterfaceMapList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InterfaceMapList) DeepCopyObject ¶
func (in *InterfaceMapList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.