Documentation ¶
Overview ¶
+kubebuilder:object:generate=true
Package v1 contains core API types used by most ndd resources. +kubebuilder:object:generate=true
Index ¶
Constants ¶
const ( ConditionReasonReady nddv1.ConditionReason = "Ready" ConditionReasonNotReady nddv1.ConditionReason = "NotReady" )
ConditionReasons a package is or is not installed.
const ( // A ConditionKindAllocationReady indicates whether the allocation is ready. ConditionKindAllocationReady nddv1.ConditionKind = "Ready" )
Condition Kinds.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EpgInfo ¶ added in v0.0.4
type EpgInfo struct { EpgName string ItfceKind string // extra selector for ipvlan, sriov e.g. VlanID uint32 Ipv4Prefixes []*string Ipv6Prefixes []*string }
func (*EpgInfo) DeepCopy ¶ added in v0.0.5
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EpgInfo.
func (*EpgInfo) DeepCopyInto ¶ added in v0.0.5
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InterfaceSelector ¶ added in v0.0.4
type InterfaceSelector struct { Tag []*Tag `json:"tag,omitempty"` Ipv4Prefixes []*string `json:"ipv4-prefixes,omitempty"` Ipv6Prefixes []*string `json:"ipv6-prefixes,omitempty"` Vlan *uint32 `json:"vlan,omitempty"` }
func (*InterfaceSelector) DeepCopy ¶ added in v0.0.5
func (in *InterfaceSelector) DeepCopy() *InterfaceSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceSelector.
func (*InterfaceSelector) DeepCopyInto ¶ added in v0.0.5
func (in *InterfaceSelector) DeepCopyInto(out *InterfaceSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InterfaceSelector) GetEpgNodeItfceInfo ¶ added in v0.0.4
func (r *InterfaceSelector) GetEpgNodeItfceInfo(is InterfaceSelectorKind) (EpgInfo, map[string]ItfceInfo, error)
func (*InterfaceSelector) GetTags ¶ added in v0.0.4
func (r *InterfaceSelector) GetTags() map[string]string
type InterfaceSelectorKey ¶ added in v0.0.4
type InterfaceSelectorKey string
const ( InterfaceSelectorKeyKind InterfaceSelectorKey = "kind" InterfaceSelectorKeyEndpointGroup InterfaceSelectorKey = "endpoint-group" InterfaceSelectorKeyInterfaceKind InterfaceSelectorKey = "itfce-kind" )
func (InterfaceSelectorKey) String ¶ added in v0.0.4
func (s InterfaceSelectorKey) String() string
type InterfaceSelectorKind ¶ added in v0.0.4
type InterfaceSelectorKind string
const ( InterfaceSelectorKindEndpointGroup InterfaceSelectorKind = "epg" InterfaceSelectorKindNodeInterface InterfaceSelectorKind = "node-itfce" InterfaceSelectorKindEndpointGroupInterfaceKind InterfaceSelectorKind = "epg-itfce" )
func (InterfaceSelectorKind) String ¶ added in v0.0.4
func (s InterfaceSelectorKind) String() string
type ItfceInfo ¶ added in v0.0.4
type ItfceInfo struct { ItfceName string VlanID uint32 Ipv4Prefixes []*string Ipv6Prefixes []*string }
func (*ItfceInfo) DeepCopy ¶ added in v0.0.5
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItfceInfo.
func (*ItfceInfo) DeepCopyInto ¶ added in v0.0.5
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Register ¶ added in v0.0.3
func (*Register) DeepCopy ¶ added in v0.0.3
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Register.
func (*Register) DeepCopyInto ¶ added in v0.0.3
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Register) GetRegister ¶ added in v0.0.3
type RegisterKind ¶ added in v0.0.3
type RegisterKind string
const ( RegisterKindIpam RegisterKind = "ipam" RegisterKindAs RegisterKind = "as" RegisterKindNetworkInstance RegisterKind = "network-instance" RegisterKindVlan RegisterKind = "vlan" RegisterKindEndpointGroup RegisterKind = "endpoint-group" )
func (RegisterKind) String ¶ added in v0.0.3
func (r RegisterKind) String() string