udm

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: 5 Imported by: 3

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the nfdeploy v1alpha1 API group. +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 CapacityProfile

type CapacityProfile struct {
	// The number of CPU cores requested by the NF.
	RequestedCpu int32 `json:"requestedCpu" yaml:"requestedCpu,omitempty"`

	// The memory requested by the NF in bytes.
	RequestedMemory int32 `json:"requestedMemory" yaml:"requestedMemory,omitempty"`
}

func (*CapacityProfile) DeepCopy

func (in *CapacityProfile) DeepCopy() *CapacityProfile

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

func (*CapacityProfile) DeepCopyInto

func (in *CapacityProfile) DeepCopyInto(out *CapacityProfile)

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

type NfInfo

type NfInfo struct {
	// The name of the NF vendor.
	Vendor string `json:"vendor" yaml:"vendor,omitempty"`

	// The version of the NF.
	Version string `json:"version" yaml:"version,omitempty"`
}

func (*NfInfo) DeepCopy

func (in *NfInfo) DeepCopy() *NfInfo

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

func (*NfInfo) DeepCopyInto

func (in *NfInfo) DeepCopyInto(out *NfInfo)

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

type UdmDeploy

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

	Spec   UdmDeploySpec   `json:"spec,omitempty"`
	Status UdmDeployStatus `json:"status,omitempty"`
}

UdmDeploy is the Schema for the udmdeploys API

func (*UdmDeploy) DeepCopy

func (in *UdmDeploy) DeepCopy() *UdmDeploy

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

func (*UdmDeploy) DeepCopyInto

func (in *UdmDeploy) DeepCopyInto(out *UdmDeploy)

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

func (*UdmDeploy) DeepCopyObject

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

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

type UdmDeployList

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

UdmDeployList contains a list of UdmDeploy

func (*UdmDeployList) DeepCopy

func (in *UdmDeployList) DeepCopy() *UdmDeployList

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

func (*UdmDeployList) DeepCopyInto

func (in *UdmDeployList) DeepCopyInto(out *UdmDeployList)

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

func (*UdmDeployList) DeepCopyObject

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

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

type UdmDeploySpec

type UdmDeploySpec struct {
	// Machine resources needed by the NF.
	CapacityProfile CapacityProfile `json:"capacityProfile" yaml:"capacityProfile,omitempty"`

	// Metadata regarding the NF.
	NfInfo NfInfo `json:"nfInfo" yaml:"nfInfo,omitempty"`
}

UdmDeploySpec specifies config parameters for UDM

func (*UdmDeploySpec) DeepCopy

func (in *UdmDeploySpec) DeepCopy() *UdmDeploySpec

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

func (*UdmDeploySpec) DeepCopyInto

func (in *UdmDeploySpec) DeepCopyInto(out *UdmDeploySpec)

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

type UdmDeployStatus

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

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

UdmDeployStatus defines the observed state of a deployed UDM instance.

func (*UdmDeployStatus) DeepCopy

func (in *UdmDeployStatus) DeepCopy() *UdmDeployStatus

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

func (*UdmDeployStatus) DeepCopyInto

func (in *UdmDeployStatus) DeepCopyInto(out *UdmDeployStatus)

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