consumer

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NFDiscoveryToUDRParamNone int = iota
	NFDiscoveryToUDRParamSupi
	NFDiscoveryToUDRParamExtGroupId
	NFDiscoveryToUDRParamGpsi
)

Variables

This section is empty.

Functions

func SendNFIntances

func SendNFIntances(nrfUri string, targetNfType, requestNfType models.NfType,
	param Nnrf_NFDiscovery.SearchNFInstancesParamOpts,
) (result models.SearchResult, err error)

func SendNFIntancesUDR

func SendNFIntancesUDR(id string, types int) string

Types

type Consumer

type Consumer struct {
	ConsumerUdm
	// contains filtered or unexported fields
}

func NewConsumer

func NewConsumer(udm ConsumerUdm) (*Consumer, error)

func (Consumer) CreateUDMClientToUDR

func (s Consumer) CreateUDMClientToUDR(id string) (*Nudr_DataRepository.APIClient, error)

func (Consumer) GetSDMClient

func (s Consumer) GetSDMClient(uri string) *Nudm_SubscriberDataManagement.APIClient

func (Consumer) GetUECMClient

func (s Consumer) GetUECMClient(uri string) *Nudm_UEContextManagement.APIClient

func (Consumer) RegisterNFInstance

func (s Consumer) RegisterNFInstance(ctx context.Context) (
	resouceNrfUri string, retrieveNfInstanceID string, err error,
)

func (Consumer) SendDeregisterNFInstance

func (s Consumer) SendDeregisterNFInstance() (problemDetails *models.ProblemDetails, err error)

func (Consumer) SendSearchNFInstances

func (s Consumer) SendSearchNFInstances(
	nrfUri string, targetNfType, requestNfType models.NfType, param Nnrf_NFDiscovery.SearchNFInstancesParamOpts) (
	*models.SearchResult, error,
)

type ConsumerUdm

type ConsumerUdm interface {
	app.App
}

Jump to

Keyboard shortcuts

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