usecase

package
v1.0.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFoundConfig = errors.New("config not found")
	ErrNoEUPFAddr     = errors.New("no eupf address")

	ErrInvalidURLFormat  = errors.New("invalid URL format")
	ErrUnsupportedScheme = errors.New("unsupported scheme: must be http or https")
	ErrMissingHostInURL  = errors.New("missing host in URL")
)

Functions

Types

type Eupf

type Eupf struct {
	// contains filtered or unexported fields
}

func (*Eupf) BackupCreate

func (e *Eupf) BackupCreate(ctx context.Context, tempBaseURL string) error

func (*Eupf) BackupList

func (e *Eupf) BackupList(ctx context.Context) ([]domain.BackupRecord, error)

func (*Eupf) BackupRestore

func (e *Eupf) BackupRestore(ctx context.Context, tempBaseURL string, name string) error

func (*Eupf) CliConfigSetNewEUPFBaseURL

func (e *Eupf) CliConfigSetNewEUPFBaseURL(baseURL string) error

func (*Eupf) CliConfigShowEUPFBaseURL

func (e *Eupf) CliConfigShowEUPFBaseURL() (string, error)

func (*Eupf) GetConfig

func (e *Eupf) GetConfig(ctx context.Context, tempBaseURL string) (*domain.UpfConfig, error)

func (*Eupf) SessionRelease

func (e *Eupf) SessionRelease(ctx context.Context, imsi, msisdn, id, tempBaseURL string) error

func (*Eupf) SessionShow

func (e *Eupf) SessionShow(ctx context.Context, ip, teid, tempBaseURL string) ([]domain.PfcpSession, error)

func (*Eupf) SetDataPlaneAddresses

func (e *Eupf) SetDataPlaneAddresses(ctx context.Context, n3Address string, n9Address string, tempBaseURL string) error

func (*Eupf) SetDataPlaneEbpf

func (e *Eupf) SetDataPlaneEbpf(ctx context.Context, interfaceName []string, xdpAttachMode string, tempBaseURL string) error

func (*Eupf) SetGTPPath

func (e *Eupf) SetGTPPath(ctx context.Context, gtpPeer []string, gtpEchoInterval uint32, tempBaseURL string) error

func (*Eupf) SetLoggingCaller

func (e *Eupf) SetLoggingCaller(ctx context.Context, logCaller bool, tempBaseURL string) error

func (*Eupf) SetLoggingLevel

func (e *Eupf) SetLoggingLevel(ctx context.Context, logLevel string, tempBaseURL string) error

func (*Eupf) SetPFCPN4

func (e *Eupf) SetPFCPN4(ctx context.Context, pfcpAddress string, pfcpNodeId string, pfcpRemoteNode []string, tempBaseURL string) error

func (*Eupf) SetPFCPSxa

func (e *Eupf) SetPFCPSxa(ctx context.Context, sxaAddress string, sxaNodeId string, sxaRemoteNode []string, tempBaseURL string) error

func (*Eupf) SetPFCPSxb

func (e *Eupf) SetPFCPSxb(ctx context.Context, sxbAddress string, sxbNodeId string, sxbRemoteNode []string, tempBaseURL string) error

func (*Eupf) SetPFCPTimers

func (e *Eupf) SetPFCPTimers(ctx context.Context, associationSetupTimeout uint32, heartbeatTimeout uint32, tempBaseURL string) error

func (*Eupf) StartTrace

func (e *Eupf) StartTrace(ctx context.Context, imsi, msisdn *string, tempBaseURL string) error

func (*Eupf) StopTrace

func (e *Eupf) StopTrace(ctx context.Context, imsi, msisdn *string, tempBaseURL string) error

func (*Eupf) TraceList

func (e *Eupf) TraceList(ctx context.Context, tempBaseURL string) ([]domain.TraceRecord, error)

Jump to

Keyboard shortcuts

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