v1

package
v0.0.0-...-8221660 Latest Latest
Warning

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

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

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

View Source
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

func NeighborContains

func NeighborContains(slice []Neighbor, target Neighbor) (int, bool)

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

func (in *Neighbor) DeepCopy() *Neighbor

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Neighbor.

func (*Neighbor) DeepCopyInto

func (in *Neighbor) DeepCopyInto(out *Neighbor)

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

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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeNeighborNetworkStatus.

func (*NodeNeighborNetworkStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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