Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the neighbordiscoverer v1 API group +kubebuilder:object:generate=true +groupName=neighbordiscoverer.openshift.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "neighbordiscoverer.openshift.io", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
Types ¶
type InterfaceStatus ¶
type InterfaceStatus struct { Name string `json:"name"` HardwareAddr string `json:"hardwareAddr,omitempty"` Neighbors []Neighbor `json:"neighbors,omitempty"` }
func (*InterfaceStatus) DeepCopy ¶
func (in *InterfaceStatus) DeepCopy() *InterfaceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceStatus.
func (*InterfaceStatus) DeepCopyInto ¶
func (in *InterfaceStatus) DeepCopyInto(out *InterfaceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Neighbor ¶
type Neighbor struct { NodeName string `json:"nodeName"` InterfaceName string `json:"interfaceName"` HardwareAddr string `json:"hardwareAddr,omitempty"` }
func (*Neighbor) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Neighbor.
func (*Neighbor) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeNeighborNetwork ¶
type NodeNeighborNetwork struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NodeNeighborNetworkSpec `json:"spec,omitempty"` Status NodeNeighborNetworkStatus `json:"status,omitempty"` }
NodeNeighborNetwork is the Schema for the nodeneighbornetworks API
func (*NodeNeighborNetwork) DeepCopy ¶
func (in *NodeNeighborNetwork) DeepCopy() *NodeNeighborNetwork
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeNeighborNetwork.
func (*NodeNeighborNetwork) DeepCopyInto ¶
func (in *NodeNeighborNetwork) DeepCopyInto(out *NodeNeighborNetwork)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeNeighborNetwork) DeepCopyObject ¶
func (in *NodeNeighborNetwork) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeNeighborNetworkList ¶
type NodeNeighborNetworkList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NodeNeighborNetwork `json:"items"` }
NodeNeighborNetworkList contains a list of NodeNeighborNetwork
func (*NodeNeighborNetworkList) DeepCopy ¶
func (in *NodeNeighborNetworkList) DeepCopy() *NodeNeighborNetworkList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeNeighborNetworkList.
func (*NodeNeighborNetworkList) DeepCopyInto ¶
func (in *NodeNeighborNetworkList) DeepCopyInto(out *NodeNeighborNetworkList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeNeighborNetworkList) DeepCopyObject ¶
func (in *NodeNeighborNetworkList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeNeighborNetworkSpec ¶
type NodeNeighborNetworkSpec struct { // Foo is an example field of NodeNeighborNetwork. Edit nodeneighbornetwork_types.go to remove/update Foo string `json:"foo,omitempty"` }
NodeNeighborNetworkSpec defines the desired state of NodeNeighborNetwork
func (*NodeNeighborNetworkSpec) DeepCopy ¶
func (in *NodeNeighborNetworkSpec) DeepCopy() *NodeNeighborNetworkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeNeighborNetworkSpec.
func (*NodeNeighborNetworkSpec) DeepCopyInto ¶
func (in *NodeNeighborNetworkSpec) DeepCopyInto(out *NodeNeighborNetworkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeNeighborNetworkStatus ¶
type NodeNeighborNetworkStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Interfaces []InterfaceStatus `json:"interfaces,omitempty"` }
NodeNeighborNetworkStatus defines the observed state of NodeNeighborNetwork
func (*NodeNeighborNetworkStatus) DeepCopy ¶
func (in *NodeNeighborNetworkStatus) DeepCopy() *NodeNeighborNetworkStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeNeighborNetworkStatus.
func (*NodeNeighborNetworkStatus) DeepCopyInto ¶
func (in *NodeNeighborNetworkStatus) DeepCopyInto(out *NodeNeighborNetworkStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.