nfdeployvalidator

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: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateNFDeploy

func ValidateNFDeploy(nfDeploy v1alpha1.NfDeploy) error

ValidateNFDeploy is the validation function for validating a given NFDeploy An NFDeploy is invalid when - NFDeploy name is empty - Two sites (NFs) with same name are present - NFType is not recognised (Other than AMF/SMF/UPF) - More than one connection is present between two sites - site A is present as connection of site B, but not present in list of sites - site A is present as connection of site B, but site B is not present as

connection of site A

Types

type NFType

type NFType string
const UnspecifiedNFType NFType = "unspecified"

Jump to

Keyboard shortcuts

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