Documentation ¶
Index ¶
- Constants
- func GetMatchingYamlNodes(nodes []*yaml.RNode, apiversion string, kind string, name string) ([]*yaml.RNode, error)
- func ParseStringToYamlNode(s string) ([]*yaml.RNode, error)
- type NamingContext
- func (c *NamingContext) GetDeployPackageName() string
- func (c *NamingContext) GetDeployRepoName() string
- func (c *NamingContext) GetNFDeployActuatorPackageName(vendor string, version string, nfType string) string
- func (c *NamingContext) GetNFProfilePackageName() string
- func (c *NamingContext) GetNFProfileRepoName() string
- func (c *NamingContext) GetNamespace() string
- func (c *NamingContext) GetNfDeployName() string
- func (c *NamingContext) GetVendorExtensionPackageName(vendor string, version string, nfType string) string
- func (c *NamingContext) GetVendorNFManifestsRepoName() string
Constants ¶
const ( NFSiteIDLabel = "nephio.org/nf-site-id" NFDeployLabel = "nephio.org/nf-deploy2" NFTypeLabel = "nephio.org/nf-type" )
const (
YamlObjectDelimiter = "---"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NamingContext ¶
type NamingContext struct {
// contains filtered or unexported fields
}
func NewNamingContext ¶
func NewNamingContext(cluster string, nfDeploy string) (NamingContext, error)
returns a new NamingContext object with the given cluster name
func (*NamingContext) GetDeployPackageName ¶
func (c *NamingContext) GetDeployPackageName() string
returns name for the new deployment package for the current NamingContext
func (*NamingContext) GetDeployRepoName ¶
func (c *NamingContext) GetDeployRepoName() string
returns repository name for the new deployment package for the current NamingContext
func (*NamingContext) GetNFDeployActuatorPackageName ¶
func (c *NamingContext) GetNFDeployActuatorPackageName(vendor string, version string, nfType string) string
returns the package name of the Vendor NF actuators manifest for the current NamingContext
func (*NamingContext) GetNFProfilePackageName ¶
func (c *NamingContext) GetNFProfilePackageName() string
returns the package name that stores the NF profiles for the current NamingContext
func (*NamingContext) GetNFProfileRepoName ¶
func (c *NamingContext) GetNFProfileRepoName() string
returns the repository that stores the NF profiles for the current NamingContext
func (*NamingContext) GetNamespace ¶
func (c *NamingContext) GetNamespace() string
returns the namespace for the current NamingContext
func (*NamingContext) GetNfDeployName ¶
func (c *NamingContext) GetNfDeployName() string
GetNfDeployName returns the nfDeploy name for the current NamingContext
func (*NamingContext) GetVendorExtensionPackageName ¶
func (c *NamingContext) GetVendorExtensionPackageName(vendor string, version string, nfType string) string
returns the package name of the Vendor NF extension manifest for the current NamingContext
func (*NamingContext) GetVendorNFManifestsRepoName ¶
func (c *NamingContext) GetVendorNFManifestsRepoName() string
returns the repository that stores the Vendor NF related manifest like actuators and extension package for the current NamingContext