UpfGtp5g

package
v0.0.0-...-1bf0fd6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int

Functions

This section is empty.

Types

type FarInfo

type FarInfo struct {
	ID          int32 `thrift:"id,1,required" db:"id" json:"id"`
	Action      int32 `thrift:"action,2,required" db:"action" json:"action"`
	Description int32 `thrift:"description,3,required" db:"description" json:"description"`
	Teid        int32 `thrift:"teid,4,required" db:"teid" json:"teid"`
	PeerAddr4   int32 `thrift:"peerAddr4,5,required" db:"peerAddr4" json:"peerAddr4"`
}

Attributes:

  • ID
  • Action
  • Description
  • Teid
  • PeerAddr4
var GetFarResponse_Far_DEFAULT *FarInfo

func NewFarInfo

func NewFarInfo() *FarInfo

func (*FarInfo) Equals

func (p *FarInfo) Equals(other *FarInfo) bool

func (*FarInfo) GetAction

func (p *FarInfo) GetAction() int32

func (*FarInfo) GetDescription

func (p *FarInfo) GetDescription() int32

func (*FarInfo) GetID

func (p *FarInfo) GetID() int32

func (*FarInfo) GetPeerAddr4

func (p *FarInfo) GetPeerAddr4() int32

func (*FarInfo) GetTeid

func (p *FarInfo) GetTeid() int32

func (*FarInfo) Read

func (p *FarInfo) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*FarInfo) ReadField1

func (p *FarInfo) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*FarInfo) ReadField2

func (p *FarInfo) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*FarInfo) ReadField3

func (p *FarInfo) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*FarInfo) ReadField4

func (p *FarInfo) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*FarInfo) ReadField5

func (p *FarInfo) ReadField5(ctx context.Context, iprot thrift.TProtocol) error

func (*FarInfo) String

func (p *FarInfo) String() string

func (*FarInfo) Write

func (p *FarInfo) Write(ctx context.Context, oprot thrift.TProtocol) error

type GetFarResponse

type GetFarResponse struct {
	ErrCode int32    `thrift:"errCode,1,required" db:"errCode" json:"errCode"`
	ErrMsg  string   `thrift:"errMsg,2,required" db:"errMsg" json:"errMsg"`
	Far     *FarInfo `thrift:"far,3,required" db:"far" json:"far"`
}

Attributes:

  • ErrCode
  • ErrMsg
  • Far
var UpfGtp5gServiceGetFarResult_Success_DEFAULT *GetFarResponse

func NewGetFarResponse

func NewGetFarResponse() *GetFarResponse

func (*GetFarResponse) Equals

func (p *GetFarResponse) Equals(other *GetFarResponse) bool

func (*GetFarResponse) GetErrCode

func (p *GetFarResponse) GetErrCode() int32

func (*GetFarResponse) GetErrMsg

func (p *GetFarResponse) GetErrMsg() string

func (*GetFarResponse) GetFar

func (p *GetFarResponse) GetFar() *FarInfo

func (*GetFarResponse) IsSetFar

func (p *GetFarResponse) IsSetFar() bool

func (*GetFarResponse) Read

func (p *GetFarResponse) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*GetFarResponse) ReadField1

func (p *GetFarResponse) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*GetFarResponse) ReadField2

func (p *GetFarResponse) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*GetFarResponse) ReadField3

func (p *GetFarResponse) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*GetFarResponse) String

func (p *GetFarResponse) String() string

func (*GetFarResponse) Write

func (p *GetFarResponse) Write(ctx context.Context, oprot thrift.TProtocol) error

type GetPdrResponse

type GetPdrResponse struct {
	ErrCode int32    `thrift:"errCode,1,required" db:"errCode" json:"errCode"`
	ErrMsg  string   `thrift:"errMsg,2,required" db:"errMsg" json:"errMsg"`
	Pdr     *PdrInfo `thrift:"pdr,3,required" db:"pdr" json:"pdr"`
}

Attributes:

  • ErrCode
  • ErrMsg
  • Pdr
var UpfGtp5gServiceGetPdrResult_Success_DEFAULT *GetPdrResponse

func NewGetPdrResponse

func NewGetPdrResponse() *GetPdrResponse

func (*GetPdrResponse) Equals

func (p *GetPdrResponse) Equals(other *GetPdrResponse) bool

func (*GetPdrResponse) GetErrCode

func (p *GetPdrResponse) GetErrCode() int32

func (*GetPdrResponse) GetErrMsg

func (p *GetPdrResponse) GetErrMsg() string

func (*GetPdrResponse) GetPdr

func (p *GetPdrResponse) GetPdr() *PdrInfo

func (*GetPdrResponse) IsSetPdr

func (p *GetPdrResponse) IsSetPdr() bool

func (*GetPdrResponse) Read

func (p *GetPdrResponse) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*GetPdrResponse) ReadField1

func (p *GetPdrResponse) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*GetPdrResponse) ReadField2

func (p *GetPdrResponse) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*GetPdrResponse) ReadField3

func (p *GetPdrResponse) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*GetPdrResponse) String

func (p *GetPdrResponse) String() string

func (*GetPdrResponse) Write

func (p *GetPdrResponse) Write(ctx context.Context, oprot thrift.TProtocol) error

type GetQerResponse

type GetQerResponse struct {
	ErrCode int32    `thrift:"errCode,1,required" db:"errCode" json:"errCode"`
	ErrMsg  string   `thrift:"errMsg,2,required" db:"errMsg" json:"errMsg"`
	Qer     *QerInfo `thrift:"qer,3,required" db:"qer" json:"qer"`
}

Attributes:

  • ErrCode
  • ErrMsg
  • Qer
var UpfGtp5gServiceGetQerResult_Success_DEFAULT *GetQerResponse

func NewGetQerResponse

func NewGetQerResponse() *GetQerResponse

func (*GetQerResponse) Equals

func (p *GetQerResponse) Equals(other *GetQerResponse) bool

func (*GetQerResponse) GetErrCode

func (p *GetQerResponse) GetErrCode() int32

func (*GetQerResponse) GetErrMsg

func (p *GetQerResponse) GetErrMsg() string

func (*GetQerResponse) GetQer

func (p *GetQerResponse) GetQer() *QerInfo

func (*GetQerResponse) IsSetQer

func (p *GetQerResponse) IsSetQer() bool

func (*GetQerResponse) Read

func (p *GetQerResponse) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*GetQerResponse) ReadField1

func (p *GetQerResponse) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*GetQerResponse) ReadField2

func (p *GetQerResponse) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*GetQerResponse) ReadField3

func (p *GetQerResponse) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*GetQerResponse) String

func (p *GetQerResponse) String() string

func (*GetQerResponse) Write

func (p *GetQerResponse) Write(ctx context.Context, oprot thrift.TProtocol) error

type PdrInfo

type PdrInfo struct {
	ID           int32   `thrift:"id,1,required" db:"id" json:"id"`
	Precdence    int32   `thrift:"precdence,2,required" db:"precdence" json:"precdence"`
	Ohr          int32   `thrift:"Ohr,3,required" db:"Ohr" json:"Ohr"`
	RoleAddr4    int32   `thrift:"roleAddr4,4,required" db:"roleAddr4" json:"roleAddr4"`
	PdiUeAddr4   int32   `thrift:"pdiUeAddr4,5,required" db:"pdiUeAddr4" json:"pdiUeAddr4"`
	PdiFTeid     int32   `thrift:"pdiFTeid,6,required" db:"pdiFTeid" json:"pdiFTeid"`
	PdiGtpuAddr4 int32   `thrift:"pdiGtpuAddr4,7,required" db:"pdiGtpuAddr4" json:"pdiGtpuAddr4"`
	FarId        int32   `thrift:"farId,8,required" db:"farId" json:"farId"`
	QerId        []int32 `thrift:"qerId,9,required" db:"qerId" json:"qerId"`
	UlDropCount  int32   `thrift:"ulDropCount,10,required" db:"ulDropCount" json:"ulDropCount"`
	DlDropCount  int32   `thrift:"dlDropCount,11,required" db:"dlDropCount" json:"dlDropCount"`
}

Attributes:

  • ID
  • Precdence
  • Ohr
  • RoleAddr4
  • PdiUeAddr4
  • PdiFTeid
  • PdiGtpuAddr4
  • FarId
  • QerId
  • UlDropCount
  • DlDropCount
var GetPdrResponse_Pdr_DEFAULT *PdrInfo

func NewPdrInfo

func NewPdrInfo() *PdrInfo

func (*PdrInfo) Equals

func (p *PdrInfo) Equals(other *PdrInfo) bool

func (*PdrInfo) GetDlDropCount

func (p *PdrInfo) GetDlDropCount() int32

func (*PdrInfo) GetFarId

func (p *PdrInfo) GetFarId() int32

func (*PdrInfo) GetID

func (p *PdrInfo) GetID() int32

func (*PdrInfo) GetOhr

func (p *PdrInfo) GetOhr() int32

func (*PdrInfo) GetPdiFTeid

func (p *PdrInfo) GetPdiFTeid() int32

func (*PdrInfo) GetPdiGtpuAddr4

func (p *PdrInfo) GetPdiGtpuAddr4() int32

func (*PdrInfo) GetPdiUeAddr4

func (p *PdrInfo) GetPdiUeAddr4() int32

func (*PdrInfo) GetPrecdence

func (p *PdrInfo) GetPrecdence() int32

func (*PdrInfo) GetQerId

func (p *PdrInfo) GetQerId() []int32

func (*PdrInfo) GetRoleAddr4

func (p *PdrInfo) GetRoleAddr4() int32

func (*PdrInfo) GetUlDropCount

func (p *PdrInfo) GetUlDropCount() int32

func (*PdrInfo) Read

func (p *PdrInfo) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*PdrInfo) ReadField1

func (p *PdrInfo) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*PdrInfo) ReadField10

func (p *PdrInfo) ReadField10(ctx context.Context, iprot thrift.TProtocol) error

func (*PdrInfo) ReadField11

func (p *PdrInfo) ReadField11(ctx context.Context, iprot thrift.TProtocol) error

func (*PdrInfo) ReadField2

func (p *PdrInfo) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*PdrInfo) ReadField3

func (p *PdrInfo) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*PdrInfo) ReadField4

func (p *PdrInfo) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*PdrInfo) ReadField5

func (p *PdrInfo) ReadField5(ctx context.Context, iprot thrift.TProtocol) error

func (*PdrInfo) ReadField6

func (p *PdrInfo) ReadField6(ctx context.Context, iprot thrift.TProtocol) error

func (*PdrInfo) ReadField7

func (p *PdrInfo) ReadField7(ctx context.Context, iprot thrift.TProtocol) error

func (*PdrInfo) ReadField8

func (p *PdrInfo) ReadField8(ctx context.Context, iprot thrift.TProtocol) error

func (*PdrInfo) ReadField9

func (p *PdrInfo) ReadField9(ctx context.Context, iprot thrift.TProtocol) error

func (*PdrInfo) String

func (p *PdrInfo) String() string

func (*PdrInfo) Write

func (p *PdrInfo) Write(ctx context.Context, oprot thrift.TProtocol) error

type QerInfo

type QerInfo struct {
	ID  int32 `thrift:"id,1,required" db:"id" json:"id"`
	Qfi int32 `thrift:"qfi,2,required" db:"qfi" json:"qfi"`
}

Attributes:

  • ID
  • Qfi
var GetQerResponse_Qer_DEFAULT *QerInfo

func NewQerInfo

func NewQerInfo() *QerInfo

func (*QerInfo) Equals

func (p *QerInfo) Equals(other *QerInfo) bool

func (*QerInfo) GetID

func (p *QerInfo) GetID() int32

func (*QerInfo) GetQfi

func (p *QerInfo) GetQfi() int32

func (*QerInfo) Read

func (p *QerInfo) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*QerInfo) ReadField1

func (p *QerInfo) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*QerInfo) ReadField2

func (p *QerInfo) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*QerInfo) String

func (p *QerInfo) String() string

func (*QerInfo) Write

func (p *QerInfo) Write(ctx context.Context, oprot thrift.TProtocol) error

type UpfGtp5gService

type UpfGtp5gService interface {
	// Parameters:
	//  - Iface
	//  - ID
	GetPdr(ctx context.Context, iface string, id int32) (_r *GetPdrResponse, _err error)
	// Parameters:
	//  - Iface
	//  - ID
	GetFar(ctx context.Context, iface string, id int32) (_r *GetFarResponse, _err error)
	// Parameters:
	//  - Iface
	//  - ID
	GetQer(ctx context.Context, iface string, id int32) (_r *GetQerResponse, _err error)
}

type UpfGtp5gServiceClient

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

func NewUpfGtp5gServiceClient

func NewUpfGtp5gServiceClient(c thrift.TClient) *UpfGtp5gServiceClient

func NewUpfGtp5gServiceClientProtocol

func NewUpfGtp5gServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *UpfGtp5gServiceClient

func (*UpfGtp5gServiceClient) Client_

func (p *UpfGtp5gServiceClient) Client_() thrift.TClient

func (*UpfGtp5gServiceClient) GetFar

func (p *UpfGtp5gServiceClient) GetFar(ctx context.Context, iface string, id int32) (_r *GetFarResponse, _err error)

Parameters:

  • Iface
  • ID

func (*UpfGtp5gServiceClient) GetPdr

func (p *UpfGtp5gServiceClient) GetPdr(ctx context.Context, iface string, id int32) (_r *GetPdrResponse, _err error)

Parameters:

  • Iface
  • ID

func (*UpfGtp5gServiceClient) GetQer

func (p *UpfGtp5gServiceClient) GetQer(ctx context.Context, iface string, id int32) (_r *GetQerResponse, _err error)

Parameters:

  • Iface
  • ID

func (*UpfGtp5gServiceClient) LastResponseMeta_

func (p *UpfGtp5gServiceClient) LastResponseMeta_() thrift.ResponseMeta

func (*UpfGtp5gServiceClient) SetLastResponseMeta_

func (p *UpfGtp5gServiceClient) SetLastResponseMeta_(meta thrift.ResponseMeta)

type UpfGtp5gServiceGetFarArgs

type UpfGtp5gServiceGetFarArgs struct {
	Iface string `thrift:"iface,1,required" db:"iface" json:"iface"`
	ID    int32  `thrift:"id,2,required" db:"id" json:"id"`
}

Attributes:

  • Iface
  • ID

func NewUpfGtp5gServiceGetFarArgs

func NewUpfGtp5gServiceGetFarArgs() *UpfGtp5gServiceGetFarArgs

func (*UpfGtp5gServiceGetFarArgs) GetID

func (p *UpfGtp5gServiceGetFarArgs) GetID() int32

func (*UpfGtp5gServiceGetFarArgs) GetIface

func (p *UpfGtp5gServiceGetFarArgs) GetIface() string

func (*UpfGtp5gServiceGetFarArgs) Read

func (*UpfGtp5gServiceGetFarArgs) ReadField1

func (p *UpfGtp5gServiceGetFarArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*UpfGtp5gServiceGetFarArgs) ReadField2

func (p *UpfGtp5gServiceGetFarArgs) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*UpfGtp5gServiceGetFarArgs) String

func (p *UpfGtp5gServiceGetFarArgs) String() string

func (*UpfGtp5gServiceGetFarArgs) Write

type UpfGtp5gServiceGetFarResult

type UpfGtp5gServiceGetFarResult struct {
	Success *GetFarResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewUpfGtp5gServiceGetFarResult

func NewUpfGtp5gServiceGetFarResult() *UpfGtp5gServiceGetFarResult

func (*UpfGtp5gServiceGetFarResult) GetSuccess

func (*UpfGtp5gServiceGetFarResult) IsSetSuccess

func (p *UpfGtp5gServiceGetFarResult) IsSetSuccess() bool

func (*UpfGtp5gServiceGetFarResult) Read

func (*UpfGtp5gServiceGetFarResult) ReadField0

func (*UpfGtp5gServiceGetFarResult) String

func (p *UpfGtp5gServiceGetFarResult) String() string

func (*UpfGtp5gServiceGetFarResult) Write

type UpfGtp5gServiceGetPdrArgs

type UpfGtp5gServiceGetPdrArgs struct {
	Iface string `thrift:"iface,1,required" db:"iface" json:"iface"`
	ID    int32  `thrift:"id,2,required" db:"id" json:"id"`
}

Attributes:

  • Iface
  • ID

func NewUpfGtp5gServiceGetPdrArgs

func NewUpfGtp5gServiceGetPdrArgs() *UpfGtp5gServiceGetPdrArgs

func (*UpfGtp5gServiceGetPdrArgs) GetID

func (p *UpfGtp5gServiceGetPdrArgs) GetID() int32

func (*UpfGtp5gServiceGetPdrArgs) GetIface

func (p *UpfGtp5gServiceGetPdrArgs) GetIface() string

func (*UpfGtp5gServiceGetPdrArgs) Read

func (*UpfGtp5gServiceGetPdrArgs) ReadField1

func (p *UpfGtp5gServiceGetPdrArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*UpfGtp5gServiceGetPdrArgs) ReadField2

func (p *UpfGtp5gServiceGetPdrArgs) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*UpfGtp5gServiceGetPdrArgs) String

func (p *UpfGtp5gServiceGetPdrArgs) String() string

func (*UpfGtp5gServiceGetPdrArgs) Write

type UpfGtp5gServiceGetPdrResult

type UpfGtp5gServiceGetPdrResult struct {
	Success *GetPdrResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewUpfGtp5gServiceGetPdrResult

func NewUpfGtp5gServiceGetPdrResult() *UpfGtp5gServiceGetPdrResult

func (*UpfGtp5gServiceGetPdrResult) GetSuccess

func (*UpfGtp5gServiceGetPdrResult) IsSetSuccess

func (p *UpfGtp5gServiceGetPdrResult) IsSetSuccess() bool

func (*UpfGtp5gServiceGetPdrResult) Read

func (*UpfGtp5gServiceGetPdrResult) ReadField0

func (*UpfGtp5gServiceGetPdrResult) String

func (p *UpfGtp5gServiceGetPdrResult) String() string

func (*UpfGtp5gServiceGetPdrResult) Write

type UpfGtp5gServiceGetQerArgs

type UpfGtp5gServiceGetQerArgs struct {
	Iface string `thrift:"iface,1,required" db:"iface" json:"iface"`
	ID    int32  `thrift:"id,2,required" db:"id" json:"id"`
}

Attributes:

  • Iface
  • ID

func NewUpfGtp5gServiceGetQerArgs

func NewUpfGtp5gServiceGetQerArgs() *UpfGtp5gServiceGetQerArgs

func (*UpfGtp5gServiceGetQerArgs) GetID

func (p *UpfGtp5gServiceGetQerArgs) GetID() int32

func (*UpfGtp5gServiceGetQerArgs) GetIface

func (p *UpfGtp5gServiceGetQerArgs) GetIface() string

func (*UpfGtp5gServiceGetQerArgs) Read

func (*UpfGtp5gServiceGetQerArgs) ReadField1

func (p *UpfGtp5gServiceGetQerArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*UpfGtp5gServiceGetQerArgs) ReadField2

func (p *UpfGtp5gServiceGetQerArgs) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*UpfGtp5gServiceGetQerArgs) String

func (p *UpfGtp5gServiceGetQerArgs) String() string

func (*UpfGtp5gServiceGetQerArgs) Write

type UpfGtp5gServiceGetQerResult

type UpfGtp5gServiceGetQerResult struct {
	Success *GetQerResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewUpfGtp5gServiceGetQerResult

func NewUpfGtp5gServiceGetQerResult() *UpfGtp5gServiceGetQerResult

func (*UpfGtp5gServiceGetQerResult) GetSuccess

func (*UpfGtp5gServiceGetQerResult) IsSetSuccess

func (p *UpfGtp5gServiceGetQerResult) IsSetSuccess() bool

func (*UpfGtp5gServiceGetQerResult) Read

func (*UpfGtp5gServiceGetQerResult) ReadField0

func (*UpfGtp5gServiceGetQerResult) String

func (p *UpfGtp5gServiceGetQerResult) String() string

func (*UpfGtp5gServiceGetQerResult) Write

type UpfGtp5gServiceProcessor

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

func NewUpfGtp5gServiceProcessor

func NewUpfGtp5gServiceProcessor(handler UpfGtp5gService) *UpfGtp5gServiceProcessor

func (*UpfGtp5gServiceProcessor) AddToProcessorMap

func (p *UpfGtp5gServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*UpfGtp5gServiceProcessor) GetProcessorFunction

func (p *UpfGtp5gServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*UpfGtp5gServiceProcessor) Process

func (p *UpfGtp5gServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*UpfGtp5gServiceProcessor) ProcessorMap

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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