v1

package
v0.0.0-...-287aef4 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "k8s.cni.cncf.io"
View Source
const GroupVersion = "v1"

Variables

View Source
var (
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
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.

type InterfaceMapSpec

type InterfaceMapSpec struct {
	Interface string `json:"interface"`
	Network   string `json:"network"`
}

Jump to

Keyboard shortcuts

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