Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +k8s:deepcopy-gen=package,register +k8s:openapi-gen=true
+kubebuilder:object:generate=true +groupName=req.nephio.org
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type AttachmentType
- type Capacity
- type CapacityList
- type CapacitySpec
- type CapacityStatus
- type DataNetwork
- type DataNetworkList
- type DataNetworkSpec
- type DataNetworkStatus
- type Interface
- type InterfaceList
- type InterfaceSpec
- type InterfaceStatus
- type Network
- type NetworkList
- type NetworkSpec
- type NetworkStatus
- type Pool
- type PoolPrefixStatusIPv4
- type PoolPrefixStatusIPv6
- type PoolStatus
- type PoolStatusPrefix
- type PoolStatusPrefixes
Constants ¶
const ( Group = "req.nephio.org" Version = "v1alpha1" )
Variables ¶
var ( CapacityKind = reflect.TypeOf(Capacity{}).Name() CapacityListKind = reflect.TypeOf(CapacityList{}).Name() )
Capacity type metadata.
var ( DataNetworkKind = reflect.TypeOf(DataNetwork{}).Name() DataNetworkListKind = reflect.TypeOf(DataNetworkList{}).Name() )
DataNetworkName type metadata.
var ( InterfaceKind = reflect.TypeOf(Interface{}).Name() InterfaceListKind = reflect.TypeOf(InterfaceList{}).Name() )
Interface type metadata.
var ( NetworkKind = reflect.TypeOf(Network{}).Name() NetworkListKind = reflect.TypeOf(NetworkList{}).Name() )
Network type metadata.
var ( // SchemeGroupVersion contains the API group and version information for the types in this package. SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // AddToScheme applies all the stored functions to the scheme. A non-nil error // indicates that one function failed and the attempt was abandoned. //AddToScheme = (&runtime.SchemeBuilder{}).AddToScheme AddToScheme = localSchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type AttachmentType ¶
type AttachmentType string
const ( // AttachmentTypeNone defines an untagged attachement (no VLAN) AttachmentTypeNone AttachmentType = "none" // AttachmentTypeVLAN defines a tagged/vlan attachement AttachmentTypeVLAN AttachmentType = "vlan" )
type Capacity ¶
type Capacity struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` Spec CapacitySpec `json:"spec,omitempty" yaml:"spec,omitempty"` Status CapacityStatus `json:"status,omitempty" yaml:"status,omitempty"` }
+kubebuilder:object:root=true
func (*Capacity) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Capacity.
func (*Capacity) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Capacity) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CapacityList ¶
type CapacityList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []Capacity `json:"items" yaml:"items" protobuf:"bytes,2,rep,name=items"` }
+kubebuilder:object:root=true
func (*CapacityList) DeepCopy ¶
func (in *CapacityList) DeepCopy() *CapacityList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapacityList.
func (*CapacityList) DeepCopyInto ¶
func (in *CapacityList) DeepCopyInto(out *CapacityList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CapacityList) DeepCopyObject ¶
func (in *CapacityList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CapacitySpec ¶
type CapacitySpec struct { // MaxUplinkThroughput defines the max uplink dataplane throughput MaxUplinkThroughput resource.Quantity `json:"maxUplinkThroughput,omitempty" yaml:"maxUplinkThroughput,omitempty"` // MaxDownlinkThroughput defines the max downlink dataplane throughput MaxDownlinkThroughput resource.Quantity `json:"maxDownlinkThroughput,omitempty" yaml:"maxDownlinkThroughput,omitempty"` // MaxSessions defines the max sessions of the control plane // expressed in unit of 1000s MaxSessions int `json:"maxSessions,omitempty" yaml:"maxSessions,omitempty"` // MaxSubscribers defines the max subscribers // expressed in unit of 1000s MaxSubscribers int `json:"maxSubscribers,omitempty" yaml:"maxSubscribers,omitempty"` // MaxNFConnections defines the max NF(s) that can be connected to this NF/device MaxNFConnections uint16 `json:"maxNFConnections,omitempty" yaml:"maxNFConnections,omitempty"` }
func (*CapacitySpec) DeepCopy ¶
func (in *CapacitySpec) DeepCopy() *CapacitySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapacitySpec.
func (*CapacitySpec) DeepCopyInto ¶
func (in *CapacitySpec) DeepCopyInto(out *CapacitySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CapacityStatus ¶
type CapacityStatus struct { // ConditionedStatus provides the status of the IPClain using conditions // - a ready condition indicates the overall status of the resource condv1alpha1.ConditionedStatus `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"` }
func (*CapacityStatus) DeepCopy ¶
func (in *CapacityStatus) DeepCopy() *CapacityStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapacityStatus.
func (*CapacityStatus) DeepCopyInto ¶
func (in *CapacityStatus) DeepCopyInto(out *CapacityStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataNetwork ¶
type DataNetwork struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` Spec DataNetworkSpec `json:"spec,omitempty" yaml:"spec,omitempty"` Status DataNetworkStatus `json:"status,omitempty" yaml:"status,omitempty"` }
+kubebuilder:object:root=true
func (*DataNetwork) DeepCopy ¶
func (in *DataNetwork) DeepCopy() *DataNetwork
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataNetwork.
func (*DataNetwork) DeepCopyInto ¶
func (in *DataNetwork) DeepCopyInto(out *DataNetwork)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataNetwork) DeepCopyObject ¶
func (in *DataNetwork) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DataNetworkList ¶
type DataNetworkList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []DataNetwork `json:"items" yaml:"items" protobuf:"bytes,2,rep,name=items"` }
+kubebuilder:object:root=true
func (*DataNetworkList) DeepCopy ¶
func (in *DataNetworkList) DeepCopy() *DataNetworkList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataNetworkList.
func (*DataNetworkList) DeepCopyInto ¶
func (in *DataNetworkList) DeepCopyInto(out *DataNetworkList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataNetworkList) DeepCopyObject ¶
func (in *DataNetworkList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DataNetworkSpec ¶
type DataNetworkSpec struct { // Pools defines the parameters of the IP pool associated with the DNN Pools []*Pool `json:"pools,omitempty"` // NetworkInstance defines the networkInstance context to which this DNN belongs // Name and optionally Namespace is used here Network string `json:"network" yaml:"network"` }
func (*DataNetworkSpec) DeepCopy ¶
func (in *DataNetworkSpec) DeepCopy() *DataNetworkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataNetworkSpec.
func (*DataNetworkSpec) DeepCopyInto ¶
func (in *DataNetworkSpec) DeepCopyInto(out *DataNetworkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataNetworkStatus ¶
type DataNetworkStatus struct { // ConditionedStatus provides the status of the IPClain using conditions // - a ready condition indicates the overall status of the resource condv1alpha1.ConditionedStatus `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"` // Pools contains the statuses of individual pools Pools []PoolStatus `yaml:"pools,omitempty" json:"pools,omitempty"` }
func (*DataNetworkStatus) DeepCopy ¶
func (in *DataNetworkStatus) DeepCopy() *DataNetworkStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataNetworkStatus.
func (*DataNetworkStatus) DeepCopyInto ¶
func (in *DataNetworkStatus) DeepCopyInto(out *DataNetworkStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Interface ¶
type Interface struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` Spec InterfaceSpec `json:"spec,omitempty" yaml:"spec,omitempty"` Status InterfaceStatus `json:"status,omitempty" yaml:"status,omitempty"` }
+kubebuilder:object:root=true
func (*Interface) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Interface.
func (*Interface) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Interface) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InterfaceList ¶
type InterfaceList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []Interface `json:"items" yaml:"items" protobuf:"bytes,2,rep,name=items"` }
+kubebuilder:object:root=true
func (*InterfaceList) DeepCopy ¶
func (in *InterfaceList) DeepCopy() *InterfaceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceList.
func (*InterfaceList) DeepCopyInto ¶
func (in *InterfaceList) DeepCopyInto(out *InterfaceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InterfaceList) DeepCopyObject ¶
func (in *InterfaceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InterfaceSpec ¶
type InterfaceSpec struct { // NetworkInstance defines the networkInstance to which this interface belongs // Name and optionally Namespace is used here Network string `json:"network" yaml:"network"` // AttachmentType defines if the interface is attached using a vlan or not // +kubebuilder:validation:Enum=none;vlan AttachmentType AttachmentType `json:"attachmentType,omitempty" yaml:"attachmentType,omitempty"` // IpFamilyPolicy defines the ip family policy on this interface to determine single stack, dual stack // +kubebuilder:validation:Enum=none;ipv6-only;ipv4-only;dual-stack IPFamilyPolicy kuidreqv1alpha1.IPFamilyPolicy `json:"ipFamilyPolicy,omitempty" yaml:"ipFamilyPolicy,omitempty"` }
TBD how do we distinguish the loopback from the vnic(s)
func (*InterfaceSpec) DeepCopy ¶
func (in *InterfaceSpec) DeepCopy() *InterfaceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceSpec.
func (*InterfaceSpec) DeepCopyInto ¶
func (in *InterfaceSpec) DeepCopyInto(out *InterfaceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InterfaceStatus ¶
type InterfaceStatus struct { // ConditionedStatus provides the status of the IPClain using conditions // - a ready condition indicates the overall status of the resource condv1alpha1.ConditionedStatus `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"` }
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 Network ¶
type Network struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` Spec NetworkSpec `json:"spec,omitempty" yaml:"spec,omitempty"` Status NetworkStatus `json:"status,omitempty" yaml:"status,omitempty"` }
+kubebuilder:object:root=true
func (*Network) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.
func (*Network) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Network) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkList ¶
type NetworkList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []Network `json:"items" yaml:"items" protobuf:"bytes,2,rep,name=items"` }
+kubebuilder:object:root=true
func (*NetworkList) DeepCopy ¶
func (in *NetworkList) DeepCopy() *NetworkList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkList.
func (*NetworkList) DeepCopyInto ¶
func (in *NetworkList) DeepCopyInto(out *NetworkList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkList) DeepCopyObject ¶
func (in *NetworkList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkSpec ¶
type NetworkSpec struct { }
func (*NetworkSpec) DeepCopy ¶
func (in *NetworkSpec) DeepCopy() *NetworkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSpec.
func (*NetworkSpec) DeepCopyInto ¶
func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkStatus ¶
type NetworkStatus struct { // ConditionedStatus provides the status of the IPClain using conditions // - a ready condition indicates the overall status of the resource condv1alpha1.ConditionedStatus `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"` }
func (*NetworkStatus) DeepCopy ¶
func (in *NetworkStatus) DeepCopy() *NetworkStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkStatus.
func (*NetworkStatus) DeepCopyInto ¶
func (in *NetworkStatus) DeepCopyInto(out *NetworkStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Pool ¶
type Pool struct { // Name defines the name of the pool // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:MaxLength=253 Name string `json:"name,omitempty" yaml:"name,omitempty"` // PrefixLength define the size of the pool PrefixLength uint32 `json:"prefixLength,omitempty" yaml:"prefixLength,omitempty"` // IpFamilyPolicy defines the ip family policy on this interface to determine single stack, dual stack // +kubebuilder:validation:Enum=none;ipv6-only;ipv4-only;dual-stack IPFamilyPolicy kuidreqv1alpha1.IPFamilyPolicy `json:"ipFamilyPolicy,omitempty" yaml:"ipFamilyPolicy,omitempty"` }
func (*Pool) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pool.
func (*Pool) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PoolPrefixStatusIPv4 ¶
type PoolPrefixStatusIPv4 struct {
PoolStatusPrefixes `json:",inline" yaml:",inline"`
}
func (*PoolPrefixStatusIPv4) DeepCopy ¶
func (in *PoolPrefixStatusIPv4) DeepCopy() *PoolPrefixStatusIPv4
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolPrefixStatusIPv4.
func (*PoolPrefixStatusIPv4) DeepCopyInto ¶
func (in *PoolPrefixStatusIPv4) DeepCopyInto(out *PoolPrefixStatusIPv4)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PoolPrefixStatusIPv6 ¶
type PoolPrefixStatusIPv6 struct {
PoolStatusPrefixes `json:",inline" yaml:",inline"`
}
func (*PoolPrefixStatusIPv6) DeepCopy ¶
func (in *PoolPrefixStatusIPv6) DeepCopy() *PoolPrefixStatusIPv6
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolPrefixStatusIPv6.
func (*PoolPrefixStatusIPv6) DeepCopyInto ¶
func (in *PoolPrefixStatusIPv6) DeepCopyInto(out *PoolPrefixStatusIPv6)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PoolStatus ¶
type PoolStatus struct { // Name of the pool Name string `yaml:"name,omitempty" json:"name,omitempty"` // IPv4 defines the IPv4 status of the attachment IPv4 *PoolPrefixStatusIPv4 `json:"ipv4,omitempty" yaml:"ipv4,omitempty" protobuf:"bytes,2,opt,name=ipv4"` // IPv6 defines the IPv6 status of the attachment IPv6 *PoolPrefixStatusIPv6 `json:"ipv6,omitempty" yaml:"ipv6,omitempty" protobuf:"bytes,3,opt,name=prefix"` }
func (*PoolStatus) DeepCopy ¶
func (in *PoolStatus) DeepCopy() *PoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolStatus.
func (*PoolStatus) DeepCopyInto ¶
func (in *PoolStatus) DeepCopyInto(out *PoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PoolStatusPrefix ¶
type PoolStatusPrefix struct { // Prefix defines the prefix, claimed for the attachment // +optional Prefix *string `json:"prefix,omitempty" yaml:"prefix,omitempty" protobuf:"bytes,4,opt,name=prefix"` }
func (*PoolStatusPrefix) DeepCopy ¶
func (in *PoolStatusPrefix) DeepCopy() *PoolStatusPrefix
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolStatusPrefix.
func (*PoolStatusPrefix) DeepCopyInto ¶
func (in *PoolStatusPrefix) DeepCopyInto(out *PoolStatusPrefix)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PoolStatusPrefixes ¶
type PoolStatusPrefixes struct {
Prefixes []*PoolStatusPrefix `json:"prefixes,omitempty" yaml:"prefixes,omitempty" protobuf:"bytes,1,opt,name=prefix"`
}
func (*PoolStatusPrefixes) DeepCopy ¶
func (in *PoolStatusPrefixes) DeepCopy() *PoolStatusPrefixes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolStatusPrefixes.
func (*PoolStatusPrefixes) DeepCopyInto ¶
func (in *PoolStatusPrefixes) DeepCopyInto(out *PoolStatusPrefixes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.