nfdeploy

package
v0.0.0-...-97a5d7c Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Overview

+kubebuilder:object:generate=true +groupName=nfdeploy.nephio.org

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{
		Group: "nfdeploy.nephio.org", Version: "v1alpha1",
	}

	// 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

This section is empty.

Types

type BgpConfig

type BgpConfig struct {
	VirtualRouterName   string         `json:"virtualRouterName"`
	VirtualRouterNumber int            `json:"virtualRouterNumber"`
	RouteId             string         `json:"routeId"`
	AsNumber            int            `json:"asNumber"`
	PeerAsNumber        int            `json:"peerAsNumber"`
	RouteDistinguisher  string         `json:"routeDistinguisher"`
	Interfaces          []BgpInterface `json:"interfaces"`
}

BgpConfig specifies parameters for BGP related configuration for UPF and SMF

func (*BgpConfig) DeepCopy

func (in *BgpConfig) DeepCopy() *BgpConfig

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

func (*BgpConfig) DeepCopyInto

func (in *BgpConfig) DeepCopyInto(out *BgpConfig)

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

type BgpInterface

type BgpInterface struct {
	Name       string `json:"interfaceName,omitempty"`
	NeighborIp string `json:"neighborIp,omitempty"`
}

func (*BgpInterface) DeepCopy

func (in *BgpInterface) DeepCopy() *BgpInterface

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

func (*BgpInterface) DeepCopyInto

func (in *BgpInterface) DeepCopyInto(out *BgpInterface)

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

type Connectivity

type Connectivity struct {
	NeighborName string `json:"neighborName,omitempty" yaml:"neighborName,omitempty"`
}

func (*Connectivity) DeepCopy

func (in *Connectivity) DeepCopy() *Connectivity

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

func (*Connectivity) DeepCopyInto

func (in *Connectivity) DeepCopyInto(out *Connectivity)

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

type InterfaceConfig

type InterfaceConfig struct {
	Name   string   `json:"interfaceName"`
	IpAddr []string `json:"ipAddr"`
	Vlan   []string `json:"vlan"`
}

func (*InterfaceConfig) DeepCopy

func (in *InterfaceConfig) DeepCopy() *InterfaceConfig

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

func (*InterfaceConfig) DeepCopyInto

func (in *InterfaceConfig) DeepCopyInto(out *InterfaceConfig)

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

type InterfaceProfile

type InterfaceProfile struct {
	Name string `json:"profileName,omitempty" yaml:"profileName,omitempty"`
	ID   int    `json:"id,omitempty" yaml:"id,omitempty"`
}

func (*InterfaceProfile) DeepCopy

func (in *InterfaceProfile) DeepCopy() *InterfaceProfile

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

func (*InterfaceProfile) DeepCopyInto

func (in *InterfaceProfile) DeepCopyInto(out *InterfaceProfile)

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

type NFCondition

type NFCondition struct {
	// Type of deployment condition.
	Type NFConditionType `json:"type"`

	// Status of the condition, one of True, False, Unknown.
	Status corev1.ConditionStatus `json:"status"`

	// The last time this condition was probed for.
	LastProbeTime metav1.Time `json:"lastProbeTime,omitempty"`

	// Last time the condition transitioned from one status to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`

	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`

	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty"`
}

func (*NFCondition) DeepCopy

func (in *NFCondition) DeepCopy() *NFCondition

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

func (*NFCondition) DeepCopyInto

func (in *NFCondition) DeepCopyInto(out *NFCondition)

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

type NFConditionType

type NFConditionType string

TODO: Reconsider the name of this ConditionType. The NFDeploymentConditionType and NFDeployConditionType is reserved for NFDeploy.

const (
	// Reconciling implies that the deployment is progressing.
	// Reconciliation for a deployment is considered when a new version
	// is adopted, when new pods scale up or old pods scale down, or when
	// required peering is in progress.
	// Condition name follows Kpt guidelines.
	Reconciling NFConditionType = "Reconciling"

	// Deployment is unable to make progress towards Reconciliation.
	// Reasons could be Pod creation failure, Peering failure etc.
	// Condition name follows Kpt guidelines.
	Stalled NFConditionType = "Stalled"

	// The Deployment is considered available when following conditions hold:
	// 1. At-least the minimal set of Pods are up and running for at-least
	//minReadySeconds.
	// 2. The Deployment is ready for required peering.
	Available NFConditionType = "Available"

	// The Deployment is making progress towards peering on the required
	// interfaces. A successful peering implies that the NF is reachable by
	// the required peers and is a able to reach them.
	Peering NFConditionType = "Peering"

	// The Deployment is available and has peered successfully on required
	// interfaces.
	// At this stage, the deployment is ready to serve requests.
	Ready NFConditionType = "Ready"
)

type NFDeploy

type NFDeploy struct {
	v1.TypeMeta   `json:",inline" yaml:",inline"`
	v1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
	Spec          NFDeploySpec   `json:"spec,omitempty" yaml:"spec,omitempty"`
	Status        NFDeployStatus `json:"status,omitempty" yaml:"status,omitempty"`
}

func (*NFDeploy) DeepCopy

func (in *NFDeploy) DeepCopy() *NFDeploy

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

func (*NFDeploy) DeepCopyInto

func (in *NFDeploy) DeepCopyInto(out *NFDeploy)

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

type NFDeployCondition

type NFDeployCondition struct {
	// Type of deployment condition.
	Type NFDeployConditionType `json:"type"`
	// Status of the condition, one of True, False, Unknown.
	Status corev1.ConditionStatus `json:"status"`
	// The last time this condition was updated.
	LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`
	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty"`
}

func (*NFDeployCondition) DeepCopy

func (in *NFDeployCondition) DeepCopy() *NFDeployCondition

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

func (*NFDeployCondition) DeepCopyInto

func (in *NFDeployCondition) DeepCopyInto(out *NFDeployCondition)

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

type NFDeployConditionType

type NFDeployConditionType string
const (
	// Reconciling implies that the deployment is progressing.
	// Reconciliation for a deployment is considered when a
	// 1. new version of at-least one NF is adopted,
	// 2. when new pods scale up or old pods scale down,
	// 3. when required peering is in progress, or,
	// 4. location of at-least one NF changes.
	//
	// Condition name follows Kpt guidelines.
	DeploymentReconciling NFDeployConditionType = "Reconciling"

	// Deployment is unable to make progress towards Reconciliation.
	// Reasons could be NF creation failure, Peering failure etc.
	//
	// Condition name follows Kpt guidelines.
	DeploymentStalled NFDeployConditionType = "Stalled"

	// The Deployment is considered available when following conditions hold:
	// 1. All the NFs are Available.
	// 2. The NFs are making progress towards peering on the required
	//    interfaces.
	DeploymentPeering NFDeployConditionType = "Peering"

	// The Deployment is said to be Ready when all the NFs are Ready.
	// At this stage, the deployment is ready to serve requests.
	DeploymentReady NFDeployConditionType = "Ready"
)

type NFDeploySpec

type NFDeploySpec struct {
	Plmn  Plmn   `json:"plmn,omitempty" yaml:"plmn,omitempty"`
	Sites []Site `json:"sites,omitempty" yaml:"sites,omitempty"`
}

func (*NFDeploySpec) DeepCopy

func (in *NFDeploySpec) DeepCopy() *NFDeploySpec

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

func (*NFDeploySpec) DeepCopyInto

func (in *NFDeploySpec) DeepCopyInto(out *NFDeploySpec)

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

type NFDeployStatus

type NFDeployStatus struct {
	// The generation observed by the deployment controller.
	ObservedGeneration int32 `json:"observedGeneration,omitempty"`

	// Total number of NFs targeted by this deployment
	TargetedNFs int32 `json:"targetedNFs,omitempty"`

	// Total number of NFs targeted by this deployment with a Ready Condition.
	ReadyNFs int32 `json:"readyNFs,omitempty"`

	// Total number of available NFs targeted by this deployment.
	AvailableNFs int32 `json:"availableNFs,omitempty"`

	// Total number of stalled NFs targeted by this deployment.
	StalledNFs int32 `json:"stalledNFs,omitempty"`

	// Current service state of the UPF.
	Conditions []NFDeployCondition `json:"conditions,omitempty"`
}

func (*NFDeployStatus) DeepCopy

func (in *NFDeployStatus) DeepCopy() *NFDeployStatus

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

func (*NFDeployStatus) DeepCopyInto

func (in *NFDeployStatus) DeepCopyInto(out *NFDeployStatus)

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

type ObjectReference

type ObjectReference struct {
	// APIGroup of the referent.
	APIGroup string `json:"apiGroup"`

	// Kind of the referent.
	Kind string `json:"kind"`

	// Name of the referent.
	Name string `json:"name"`

	// Namespace of the referent.
	// +kubebuilder:validation:Optional
	Namespace string `json:"namespace"`
}

ObjectReference represents the reference to kubernetes object.

func (*ObjectReference) DeepCopy

func (in *ObjectReference) DeepCopy() *ObjectReference

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

func (*ObjectReference) DeepCopyInto

func (in *ObjectReference) DeepCopyInto(out *ObjectReference)

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

type Plmn

type Plmn struct {
	MCC int `json:"mcc,omitempty" yaml:"mcc,omitempty"`
	MNC int `json:"mnc,omitempty" yaml:"mnc,omitempty"`
}

func (*Plmn) DeepCopy

func (in *Plmn) DeepCopy() *Plmn

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

func (*Plmn) DeepCopyInto

func (in *Plmn) DeepCopyInto(out *Plmn)

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

type SMFCapacityProfile

type SMFCapacityProfile struct {
	v1.TypeMeta   `json:",inline" yaml:",inline"`
	v1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
	Spec          SMFCapacityProfileSpec `json:"spec,omitempty" yaml:"spec,omitempty"`
}

func (*SMFCapacityProfile) DeepCopy

func (in *SMFCapacityProfile) DeepCopy() *SMFCapacityProfile

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

func (*SMFCapacityProfile) DeepCopyInto

func (in *SMFCapacityProfile) DeepCopyInto(out *SMFCapacityProfile)

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

type SMFCapacityProfileSpec

type SMFCapacityProfileSpec struct {
	MaxSessions string `json:"maxSessions,omitempty" yaml:"maxSessions,omitempty"`
}

func (*SMFCapacityProfileSpec) DeepCopy

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

func (*SMFCapacityProfileSpec) DeepCopyInto

func (in *SMFCapacityProfileSpec) DeepCopyInto(out *SMFCapacityProfileSpec)

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

type SMFType

type SMFType struct {
	v1.TypeMeta   `json:",inline" yaml:",inline"`
	v1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
	Spec          SMFTypeSpec `json:"spec,omitempty" yaml:"spec,omitempty"`
}

func (*SMFType) DeepCopy

func (in *SMFType) DeepCopy() *SMFType

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

func (*SMFType) DeepCopyInto

func (in *SMFType) DeepCopyInto(out *SMFType)

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

type SMFTypeSpec

type SMFTypeSpec struct {
	Name                string             `json:"name,omitempty" yaml:"name,omitempty"`
	CapacityProfile     string             `json:"capacityProfile,omitempty" yaml:"capacityProfile,omitempty"`
	N4InterfaceProfile  []InterfaceProfile `json:"N4InterfaceProfile,omitempty" yaml:"N4InterfaceProfile,omitempty"`
	N7InterfaceProfile  []InterfaceProfile `json:"N7InterfaceProfile,omitempty" yaml:"N7InterfaceProfile,omitempty"`
	N10InterfaceProfile []InterfaceProfile `json:"N10InterfaceProfile,omitempty" yaml:"N10InterfaceProfile,omitempty"`
	N11InterfaceProfile []InterfaceProfile `json:"N11InterfaceProfile,omitempty" yaml:"N11InterfaceProfile,omitempty"`
}

func (*SMFTypeSpec) DeepCopy

func (in *SMFTypeSpec) DeepCopy() *SMFTypeSpec

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

func (*SMFTypeSpec) DeepCopyInto

func (in *SMFTypeSpec) DeepCopyInto(out *SMFTypeSpec)

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

type Site

type Site struct {
	Id           string `json:"id,omitempty" yaml:"id,omitempty"`
	LocationName string `json:"locationName,omitempty" yaml:"locationName,omitempty"`
	ClusterName  string `json:"clusterName,omitempty" yaml:"clusterName,omitempty"`
	NFType       string `json:"nfType,omitempty" yaml:"nfType,omitempty"`
	NFTypeName   string `json:"nfTypeName,omitempty" yaml:"nfTypeName,omitempty"`
	NFVendor     string `json:"nfVendor,omitempty" yaml:"nfVendor,omitempty"`
	NFVersion    string `json:"nfVersion,omitempty" yaml:"nfVersion,omitempty"`
	NFNamespace  string `json:"nfNamespace,omitempty" yaml:"nfNamespace,omitempty"`

	Connectivities []Connectivity `json:"connectivities,omitempty" yaml:"connectivities,omitempty"`
}

func (*Site) DeepCopy

func (in *Site) DeepCopy() *Site

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

func (*Site) DeepCopyInto

func (in *Site) DeepCopyInto(out *Site)

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

type SmfDeploy

type SmfDeploy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SmfDeploySpec   `json:"spec,omitempty"`
	Status SmfDeployStatus `json:"status,omitempty"`
}

SmfDeploy is the Schema for the smfdeploys API

func (*SmfDeploy) DeepCopy

func (in *SmfDeploy) DeepCopy() *SmfDeploy

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

func (*SmfDeploy) DeepCopyInto

func (in *SmfDeploy) DeepCopyInto(out *SmfDeploy)

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

func (*SmfDeploy) DeepCopyObject

func (in *SmfDeploy) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SmfDeployList

type SmfDeployList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SmfDeploy `json:"items"`
}

SmfDeployList contains a list of SmfDeploy

func (*SmfDeployList) DeepCopy

func (in *SmfDeployList) DeepCopy() *SmfDeployList

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

func (*SmfDeployList) DeepCopyInto

func (in *SmfDeployList) DeepCopyInto(out *SmfDeployList)

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

func (*SmfDeployList) DeepCopyObject

func (in *SmfDeployList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SmfDeploySpec

type SmfDeploySpec struct {
	BgpConfigs    []BgpConfig       `json:"BgpConfig,omitempty"`
	N4Interfaces  []InterfaceConfig `json:"N4Interfaces,omitempty"`
	N7Interfaces  []InterfaceConfig `json:"N7Interfaces,omitempty"`
	N10Interfaces []InterfaceConfig `json:"N10Interfaces,omitempty"`
	N11Interfaces []InterfaceConfig `json:"N11Interfaces,omitempty"`
	VendorRef     *ObjectReference  `json:"vendorRef,omitempty"`
}

SmfDeploySpec defines the desired state of SmfDeploy

func (*SmfDeploySpec) DeepCopy

func (in *SmfDeploySpec) DeepCopy() *SmfDeploySpec

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

func (*SmfDeploySpec) DeepCopyInto

func (in *SmfDeploySpec) DeepCopyInto(out *SmfDeploySpec)

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

type SmfDeployStatus

type SmfDeployStatus struct {
	// The generation observed by the deployment controller.
	ObservedGeneration int32 `json:"observedGeneration"`

	// Current service state of the UPF.
	Conditions []NFCondition `json:"conditions,omitempty"`
}

SmfDeployStatus defines the observed state of SmfDeploy

func (*SmfDeployStatus) DeepCopy

func (in *SmfDeployStatus) DeepCopy() *SmfDeployStatus

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

func (*SmfDeployStatus) DeepCopyInto

func (in *SmfDeployStatus) DeepCopyInto(out *SmfDeployStatus)

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

type UPFCapacityProfile

type UPFCapacityProfile struct {
	v1.TypeMeta   `json:",inline" yaml:",inline"`
	v1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
	Spec          UPFCapacityProfileSpec `json:"spec,omitempty" yaml:"spec,omitempty"`
}

func (*UPFCapacityProfile) DeepCopy

func (in *UPFCapacityProfile) DeepCopy() *UPFCapacityProfile

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

func (*UPFCapacityProfile) DeepCopyInto

func (in *UPFCapacityProfile) DeepCopyInto(out *UPFCapacityProfile)

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

type UPFCapacityProfileSpec

type UPFCapacityProfileSpec struct {
	Throughput string `json:"throughput,omitempty" yaml:"throughput,omitempty"`
}

func (*UPFCapacityProfileSpec) DeepCopy

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

func (*UPFCapacityProfileSpec) DeepCopyInto

func (in *UPFCapacityProfileSpec) DeepCopyInto(out *UPFCapacityProfileSpec)

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

type UPFType

type UPFType struct {
	v1.TypeMeta   `json:",inline" yaml:",inline"`
	v1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
	Spec          UPFTypeSpec `json:"spec,omitempty" yaml:"spec,omitempty"`
}

func (*UPFType) DeepCopy

func (in *UPFType) DeepCopy() *UPFType

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

func (*UPFType) DeepCopyInto

func (in *UPFType) DeepCopyInto(out *UPFType)

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

type UPFTypeSpec

type UPFTypeSpec struct {
	Name               string             `json:"name,omitempty" yaml:"name,omitempty"`
	CapacityProfile    string             `json:"capacityProfile,omitempty" yaml:"capacityProfile,omitempty"`
	N3InterfaceProfile []InterfaceProfile `json:"N3InterfaceProfile,omitempty" yaml:"N3InterfaceProfile,omitempty"`
	N4InterfaceProfile []InterfaceProfile `json:"N4InterfaceProfile,omitempty" yaml:"N4InterfaceProfile,omitempty"`
	N6InterfaceProfile []InterfaceProfile `json:"N6InterfaceProfile,omitempty" yaml:"N6InterfaceProfile,omitempty"`
	N9InterfaceProfile []InterfaceProfile `json:"N9InterfaceProfile,omitempty" yaml:"N9InterfaceProfile,omitempty"`
}

func (*UPFTypeSpec) DeepCopy

func (in *UPFTypeSpec) DeepCopy() *UPFTypeSpec

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

func (*UPFTypeSpec) DeepCopyInto

func (in *UPFTypeSpec) DeepCopyInto(out *UPFTypeSpec)

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

type UpfCapacity

type UpfCapacity struct {
	UplinkThroughput   resource.Quantity `json:"uplinkThroughput"`
	DownlinkThroughput resource.Quantity `json:"downlinkThroughput"`
	MaximumConnections int               `json:"maximumConnections"`
}

UpfCapacity specifies the operational paramerters of the UPF. The UpfDeploy operator should translate them into node resource requirements.

type UpfDeploy

type UpfDeploy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   UpfDeploySpec   `json:"spec,omitempty"`
	Status UpfDeployStatus `json:"status,omitempty"`
}

UpfDeploy is the Schema for the upfdeploys API

func (*UpfDeploy) DeepCopy

func (in *UpfDeploy) DeepCopy() *UpfDeploy

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

func (*UpfDeploy) DeepCopyInto

func (in *UpfDeploy) DeepCopyInto(out *UpfDeploy)

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

func (*UpfDeploy) DeepCopyObject

func (in *UpfDeploy) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type UpfDeployList

type UpfDeployList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []UpfDeploy `json:"items"`
}

UpfDeployList contains a list of UpfDeploy

func (*UpfDeployList) DeepCopy

func (in *UpfDeployList) DeepCopy() *UpfDeployList

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

func (*UpfDeployList) DeepCopyInto

func (in *UpfDeployList) DeepCopyInto(out *UpfDeployList)

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

func (*UpfDeployList) DeepCopyObject

func (in *UpfDeployList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type UpfDeploySpec

type UpfDeploySpec struct {
	BgpConfigs   []BgpConfig       `json:"BgpConfig,omitempty"`
	Capacity     UpfCapacity       `json:"capacity,omitempty"`
	N3Interfaces []InterfaceConfig `json:"N3Interfaces,omitempty"`
	N4Interfaces []InterfaceConfig `json:"N4Interfaces,omitempty"`
	N6Interfaces []InterfaceConfig `json:"N6Interfaces,omitempty"`
	N9Interfaces []InterfaceConfig `json:"N9Interfaces,omitempty"`
	VendorRef    *ObjectReference  `json:"vendorRef,omitempty"`
}

UpfDeploySpec specifies config parameters for UPF

func (*UpfDeploySpec) DeepCopy

func (in *UpfDeploySpec) DeepCopy() *UpfDeploySpec

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

func (*UpfDeploySpec) DeepCopyInto

func (in *UpfDeploySpec) DeepCopyInto(out *UpfDeploySpec)

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

type UpfDeployStatus

type UpfDeployStatus struct {
	// The generation observed by the deployment controller.
	ObservedGeneration int32 `json:"observedGeneration"`

	// Current service state of the UPF.
	Conditions []NFCondition `json:"conditions,omitempty"`
}

UpfDeployStatus defines the observed state of a deployed UPF instance.

func (*UpfDeployStatus) DeepCopy

func (in *UpfDeployStatus) DeepCopy() *UpfDeployStatus

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

func (*UpfDeployStatus) DeepCopyInto

func (in *UpfDeployStatus) DeepCopyInto(out *UpfDeployStatus)

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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