ausf

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 AusfDeploy

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

	Spec   AusfDeploySpec   `json:"spec,omitempty"`
	Status AusfDeployStatus `json:"status,omitempty"`
}

AusfDeploy is the Schema for the ausfdeploys API

func (*AusfDeploy) DeepCopy

func (in *AusfDeploy) DeepCopy() *AusfDeploy

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

func (*AusfDeploy) DeepCopyInto

func (in *AusfDeploy) DeepCopyInto(out *AusfDeploy)

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

func (*AusfDeploy) DeepCopyObject

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

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

type AusfDeployList

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

AusfDeployList contains a list of AusfDeploy

func (*AusfDeployList) DeepCopy

func (in *AusfDeployList) DeepCopy() *AusfDeployList

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

func (*AusfDeployList) DeepCopyInto

func (in *AusfDeployList) DeepCopyInto(out *AusfDeployList)

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

func (*AusfDeployList) DeepCopyObject

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

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

type AusfDeploySpec

type AusfDeploySpec 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"`
}

AusfDeploySpec specifies config parameters for AUSF

func (*AusfDeploySpec) DeepCopy

func (in *AusfDeploySpec) DeepCopy() *AusfDeploySpec

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

func (*AusfDeploySpec) DeepCopyInto

func (in *AusfDeploySpec) DeepCopyInto(out *AusfDeploySpec)

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

type AusfDeployStatus

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

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

AusfDeployStatus defines the observed state of a deployed AUSF instance.

func (*AusfDeployStatus) DeepCopy

func (in *AusfDeployStatus) DeepCopy() *AusfDeployStatus

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

func (*AusfDeployStatus) DeepCopyInto

func (in *AusfDeployStatus) DeepCopyInto(out *AusfDeployStatus)

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

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.

Jump to

Keyboard shortcuts

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