sdcoreConfig

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: Apache-2.0 Imports: 8 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Status_name = map[int32]string{
		0: "SUCCESS",
		1: "FAILURE",
	}
	Status_value = map[string]int32{
		"SUCCESS": 0,
		"FAILURE": 1,
	}
)

Enum value maps for Status.

View Source
var ConfigService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sdcoreConfig.ConfigService",
	HandlerType: (*ConfigServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetNetworkSlice",
			Handler:    _ConfigService_GetNetworkSlice_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "NetworkSliceSubscribe",
			Handler:       _ConfigService_NetworkSliceSubscribe_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "config.proto",
}

ConfigService_ServiceDesc is the grpc.ServiceDesc for ConfigService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_config_proto protoreflect.FileDescriptor

Functions

func RegisterConfigServiceServer

func RegisterConfigServiceServer(s grpc.ServiceRegistrar, srv ConfigServiceServer)

Types

type AppInfo

type AppInfo struct {
	AppName   string `protobuf:"bytes,1,opt,name=AppName,proto3" json:"AppName,omitempty"`
	Startport uint32 `protobuf:"varint,2,opt,name=Startport,proto3" json:"Startport,omitempty"`
	Endport   uint32 `protobuf:"varint,3,opt,name=Endport,proto3" json:"Endport,omitempty"`
	Protocol  uint32 `protobuf:"varint,4,opt,name=Protocol,proto3" json:"Protocol,omitempty"`
	EndPoint  string `protobuf:"bytes,5,opt,name=EndPoint,proto3" json:"EndPoint,omitempty"`
	// contains filtered or unexported fields
}

func (*AppInfo) Descriptor deprecated

func (*AppInfo) Descriptor() ([]byte, []int)

Deprecated: Use AppInfo.ProtoReflect.Descriptor instead.

func (*AppInfo) GetAppName

func (x *AppInfo) GetAppName() string

func (*AppInfo) GetEndPoint

func (x *AppInfo) GetEndPoint() string

func (*AppInfo) GetEndport

func (x *AppInfo) GetEndport() uint32

func (*AppInfo) GetProtocol

func (x *AppInfo) GetProtocol() uint32

func (*AppInfo) GetStartport

func (x *AppInfo) GetStartport() uint32

func (*AppInfo) ProtoMessage

func (*AppInfo) ProtoMessage()

func (*AppInfo) ProtoReflect

func (x *AppInfo) ProtoReflect() protoreflect.Message

func (*AppInfo) Reset

func (x *AppInfo) Reset()

func (*AppInfo) String

func (x *AppInfo) String() string

type ConfigServiceClient

type ConfigServiceClient interface {
	GetNetworkSlice(ctx context.Context, in *NetworkSliceRequest, opts ...grpc.CallOption) (*NetworkSliceResponse, error)
	NetworkSliceSubscribe(ctx context.Context, in *NetworkSliceRequest, opts ...grpc.CallOption) (ConfigService_NetworkSliceSubscribeClient, error)
}

ConfigServiceClient is the client API for ConfigService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ConfigServiceServer

type ConfigServiceServer interface {
	GetNetworkSlice(context.Context, *NetworkSliceRequest) (*NetworkSliceResponse, error)
	NetworkSliceSubscribe(*NetworkSliceRequest, ConfigService_NetworkSliceSubscribeServer) error
	// contains filtered or unexported methods
}

ConfigServiceServer is the server API for ConfigService service. All implementations must embed UnimplementedConfigServiceServer for forward compatibility

type ConfigService_NetworkSliceSubscribeClient added in v1.0.1

type ConfigService_NetworkSliceSubscribeClient interface {
	Recv() (*NetworkSliceResponse, error)
	grpc.ClientStream
}

type ConfigService_NetworkSliceSubscribeServer added in v1.0.1

type ConfigService_NetworkSliceSubscribeServer interface {
	Send(*NetworkSliceResponse) error
	grpc.ServerStream
}

type DeviceGroup

type DeviceGroup struct {
	Name            string    `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	IpDomainDetails *IpDomain `protobuf:"bytes,2,opt,name=IpDomainDetails,proto3" json:"IpDomainDetails,omitempty"`
	Imsi            []string  `protobuf:"bytes,3,rep,name=Imsi,proto3" json:"Imsi,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceGroup) Descriptor deprecated

func (*DeviceGroup) Descriptor() ([]byte, []int)

Deprecated: Use DeviceGroup.ProtoReflect.Descriptor instead.

func (*DeviceGroup) GetImsi

func (x *DeviceGroup) GetImsi() []string

func (*DeviceGroup) GetIpDomainDetails

func (x *DeviceGroup) GetIpDomainDetails() *IpDomain

func (*DeviceGroup) GetName

func (x *DeviceGroup) GetName() string

func (*DeviceGroup) ProtoMessage

func (*DeviceGroup) ProtoMessage()

func (*DeviceGroup) ProtoReflect

func (x *DeviceGroup) ProtoReflect() protoreflect.Message

func (*DeviceGroup) Reset

func (x *DeviceGroup) Reset()

func (*DeviceGroup) String

func (x *DeviceGroup) String() string

type GNodeB

type GNodeB struct {
	Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Tac  int32  `protobuf:"varint,2,opt,name=Tac,proto3" json:"Tac,omitempty"`
	// contains filtered or unexported fields
}

func (*GNodeB) Descriptor deprecated

func (*GNodeB) Descriptor() ([]byte, []int)

Deprecated: Use GNodeB.ProtoReflect.Descriptor instead.

func (*GNodeB) GetName

func (x *GNodeB) GetName() string

func (*GNodeB) GetTac

func (x *GNodeB) GetTac() int32

func (*GNodeB) ProtoMessage

func (*GNodeB) ProtoMessage()

func (*GNodeB) ProtoReflect

func (x *GNodeB) ProtoReflect() protoreflect.Message

func (*GNodeB) Reset

func (x *GNodeB) Reset()

func (*GNodeB) String

func (x *GNodeB) String() string

type IpDomain

type IpDomain struct {
	Name       string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	DnnName    string `protobuf:"bytes,2,opt,name=DnnName,proto3" json:"DnnName,omitempty"`
	UePool     string `protobuf:"bytes,3,opt,name=UePool,proto3" json:"UePool,omitempty"`
	DnsPrimary string `protobuf:"bytes,4,opt,name=DnsPrimary,proto3" json:"DnsPrimary,omitempty"`
	Mtu        int32  `protobuf:"varint,5,opt,name=Mtu,proto3" json:"Mtu,omitempty"`
	// contains filtered or unexported fields
}

func (*IpDomain) Descriptor deprecated

func (*IpDomain) Descriptor() ([]byte, []int)

Deprecated: Use IpDomain.ProtoReflect.Descriptor instead.

func (*IpDomain) GetDnnName

func (x *IpDomain) GetDnnName() string

func (*IpDomain) GetDnsPrimary

func (x *IpDomain) GetDnsPrimary() string

func (*IpDomain) GetMtu

func (x *IpDomain) GetMtu() int32

func (*IpDomain) GetName

func (x *IpDomain) GetName() string

func (*IpDomain) GetUePool

func (x *IpDomain) GetUePool() string

func (*IpDomain) ProtoMessage

func (*IpDomain) ProtoMessage()

func (*IpDomain) ProtoReflect

func (x *IpDomain) ProtoReflect() protoreflect.Message

func (*IpDomain) Reset

func (x *IpDomain) Reset()

func (*IpDomain) String

func (x *IpDomain) String() string

type NSSAI

type NSSAI struct {
	Sst string `protobuf:"bytes,1,opt,name=Sst,proto3" json:"Sst,omitempty"`
	Sd  string `protobuf:"bytes,2,opt,name=Sd,proto3" json:"Sd,omitempty"`
	// contains filtered or unexported fields
}

func (*NSSAI) Descriptor deprecated

func (*NSSAI) Descriptor() ([]byte, []int)

Deprecated: Use NSSAI.ProtoReflect.Descriptor instead.

func (*NSSAI) GetSd

func (x *NSSAI) GetSd() string

func (*NSSAI) GetSst

func (x *NSSAI) GetSst() string

func (*NSSAI) ProtoMessage

func (*NSSAI) ProtoMessage()

func (*NSSAI) ProtoReflect

func (x *NSSAI) ProtoReflect() protoreflect.Message

func (*NSSAI) Reset

func (x *NSSAI) Reset()

func (*NSSAI) String

func (x *NSSAI) String() string

type NetworkSlice

type NetworkSlice struct {
	Name        string         `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Nssai       *NSSAI         `protobuf:"bytes,2,opt,name=Nssai,proto3" json:"Nssai,omitempty"`
	Qos         *QoS           `protobuf:"bytes,3,opt,name=Qos,proto3" json:"Qos,omitempty"`
	DeviceGroup []*DeviceGroup `protobuf:"bytes,4,rep,name=DeviceGroup,proto3" json:"DeviceGroup,omitempty"`
	Site        *SiteInfo      `protobuf:"bytes,5,opt,name=Site,proto3" json:"Site,omitempty"`
	DenyApps    []string       `protobuf:"bytes,6,rep,name=DenyApps,proto3" json:"DenyApps,omitempty"`
	PermitApps  []string       `protobuf:"bytes,7,rep,name=PermitApps,proto3" json:"PermitApps,omitempty"`
	AppInfo     []*AppInfo     `protobuf:"bytes,8,rep,name=AppInfo,proto3" json:"AppInfo,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkSlice) Descriptor deprecated

func (*NetworkSlice) Descriptor() ([]byte, []int)

Deprecated: Use NetworkSlice.ProtoReflect.Descriptor instead.

func (*NetworkSlice) GetAppInfo

func (x *NetworkSlice) GetAppInfo() []*AppInfo

func (*NetworkSlice) GetDenyApps

func (x *NetworkSlice) GetDenyApps() []string

func (*NetworkSlice) GetDeviceGroup

func (x *NetworkSlice) GetDeviceGroup() []*DeviceGroup

func (*NetworkSlice) GetName

func (x *NetworkSlice) GetName() string

func (*NetworkSlice) GetNssai

func (x *NetworkSlice) GetNssai() *NSSAI

func (*NetworkSlice) GetPermitApps

func (x *NetworkSlice) GetPermitApps() []string

func (*NetworkSlice) GetQos

func (x *NetworkSlice) GetQos() *QoS

func (*NetworkSlice) GetSite

func (x *NetworkSlice) GetSite() *SiteInfo

func (*NetworkSlice) ProtoMessage

func (*NetworkSlice) ProtoMessage()

func (*NetworkSlice) ProtoReflect

func (x *NetworkSlice) ProtoReflect() protoreflect.Message

func (*NetworkSlice) Reset

func (x *NetworkSlice) Reset()

func (*NetworkSlice) String

func (x *NetworkSlice) String() string

type NetworkSliceRequest

type NetworkSliceRequest struct {
	RestartCounter uint32 `protobuf:"varint,1,opt,name=RestartCounter,proto3" json:"RestartCounter,omitempty"`
	ClientId       string `protobuf:"bytes,2,opt,name=ClientId,proto3" json:"ClientId,omitempty"`
	ImsiRequested  bool   `protobuf:"varint,3,opt,name=ImsiRequested,proto3" json:"ImsiRequested,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkSliceRequest) Descriptor deprecated

func (*NetworkSliceRequest) Descriptor() ([]byte, []int)

Deprecated: Use NetworkSliceRequest.ProtoReflect.Descriptor instead.

func (*NetworkSliceRequest) GetClientId

func (x *NetworkSliceRequest) GetClientId() string

func (*NetworkSliceRequest) GetImsiRequested

func (x *NetworkSliceRequest) GetImsiRequested() bool

func (*NetworkSliceRequest) GetRestartCounter

func (x *NetworkSliceRequest) GetRestartCounter() uint32

func (*NetworkSliceRequest) ProtoMessage

func (*NetworkSliceRequest) ProtoMessage()

func (*NetworkSliceRequest) ProtoReflect

func (x *NetworkSliceRequest) ProtoReflect() protoreflect.Message

func (*NetworkSliceRequest) Reset

func (x *NetworkSliceRequest) Reset()

func (*NetworkSliceRequest) String

func (x *NetworkSliceRequest) String() string

type NetworkSliceResponse

type NetworkSliceResponse struct {
	RestartCounter uint32          `protobuf:"varint,1,opt,name=RestartCounter,proto3" json:"RestartCounter,omitempty"`
	NetworkSlice   []*NetworkSlice `protobuf:"bytes,2,rep,name=NetworkSlice,proto3" json:"NetworkSlice,omitempty"`
	ConfigUpdated  uint32          `protobuf:"varint,3,opt,name=ConfigUpdated,proto3" json:"ConfigUpdated,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkSliceResponse) Descriptor deprecated

func (*NetworkSliceResponse) Descriptor() ([]byte, []int)

Deprecated: Use NetworkSliceResponse.ProtoReflect.Descriptor instead.

func (*NetworkSliceResponse) GetConfigUpdated

func (x *NetworkSliceResponse) GetConfigUpdated() uint32

func (*NetworkSliceResponse) GetNetworkSlice

func (x *NetworkSliceResponse) GetNetworkSlice() []*NetworkSlice

func (*NetworkSliceResponse) GetRestartCounter

func (x *NetworkSliceResponse) GetRestartCounter() uint32

func (*NetworkSliceResponse) ProtoMessage

func (*NetworkSliceResponse) ProtoMessage()

func (*NetworkSliceResponse) ProtoReflect

func (x *NetworkSliceResponse) ProtoReflect() protoreflect.Message

func (*NetworkSliceResponse) Reset

func (x *NetworkSliceResponse) Reset()

func (*NetworkSliceResponse) String

func (x *NetworkSliceResponse) String() string

type PlmnId

type PlmnId struct {
	Mcc string `protobuf:"bytes,1,opt,name=mcc,proto3" json:"mcc,omitempty"`
	Mnc string `protobuf:"bytes,2,opt,name=mnc,proto3" json:"mnc,omitempty"`
	// contains filtered or unexported fields
}

func (*PlmnId) Descriptor deprecated

func (*PlmnId) Descriptor() ([]byte, []int)

Deprecated: Use PlmnId.ProtoReflect.Descriptor instead.

func (*PlmnId) GetMcc

func (x *PlmnId) GetMcc() string

func (*PlmnId) GetMnc

func (x *PlmnId) GetMnc() string

func (*PlmnId) ProtoMessage

func (*PlmnId) ProtoMessage()

func (*PlmnId) ProtoReflect

func (x *PlmnId) ProtoReflect() protoreflect.Message

func (*PlmnId) Reset

func (x *PlmnId) Reset()

func (*PlmnId) String

func (x *PlmnId) String() string

type QoS

type QoS struct {
	Uplink       int32  `protobuf:"varint,1,opt,name=uplink,proto3" json:"uplink,omitempty"`
	Downlink     int32  `protobuf:"varint,2,opt,name=downlink,proto3" json:"downlink,omitempty"`
	TrafficClass string `protobuf:"bytes,3,opt,name=trafficClass,proto3" json:"trafficClass,omitempty"`
	// contains filtered or unexported fields
}

func (*QoS) Descriptor deprecated

func (*QoS) Descriptor() ([]byte, []int)

Deprecated: Use QoS.ProtoReflect.Descriptor instead.

func (x *QoS) GetDownlink() int32

func (*QoS) GetTrafficClass

func (x *QoS) GetTrafficClass() string
func (x *QoS) GetUplink() int32

func (*QoS) ProtoMessage

func (*QoS) ProtoMessage()

func (*QoS) ProtoReflect

func (x *QoS) ProtoReflect() protoreflect.Message

func (*QoS) Reset

func (x *QoS) Reset()

func (*QoS) String

func (x *QoS) String() string

type SiteInfo

type SiteInfo struct {
	SiteName string    `protobuf:"bytes,1,opt,name=SiteName,proto3" json:"SiteName,omitempty"`
	Gnb      []*GNodeB `protobuf:"bytes,2,rep,name=Gnb,proto3" json:"Gnb,omitempty"`
	Plmn     *PlmnId   `protobuf:"bytes,3,opt,name=Plmn,proto3" json:"Plmn,omitempty"`
	Upf      *UpfInfo  `protobuf:"bytes,4,opt,name=Upf,proto3" json:"Upf,omitempty"`
	// contains filtered or unexported fields
}

func (*SiteInfo) Descriptor deprecated

func (*SiteInfo) Descriptor() ([]byte, []int)

Deprecated: Use SiteInfo.ProtoReflect.Descriptor instead.

func (*SiteInfo) GetGnb

func (x *SiteInfo) GetGnb() []*GNodeB

func (*SiteInfo) GetPlmn

func (x *SiteInfo) GetPlmn() *PlmnId

func (*SiteInfo) GetSiteName

func (x *SiteInfo) GetSiteName() string

func (*SiteInfo) GetUpf

func (x *SiteInfo) GetUpf() *UpfInfo

func (*SiteInfo) ProtoMessage

func (*SiteInfo) ProtoMessage()

func (*SiteInfo) ProtoReflect

func (x *SiteInfo) ProtoReflect() protoreflect.Message

func (*SiteInfo) Reset

func (x *SiteInfo) Reset()

func (*SiteInfo) String

func (x *SiteInfo) String() string

type Status

type Status int32
const (
	Status_SUCCESS Status = 0
	Status_FAILURE Status = 1
)

func (Status) Descriptor

func (Status) Descriptor() protoreflect.EnumDescriptor

func (Status) Enum

func (x Status) Enum() *Status

func (Status) EnumDescriptor deprecated

func (Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Status.Descriptor instead.

func (Status) Number

func (x Status) Number() protoreflect.EnumNumber

func (Status) String

func (x Status) String() string

func (Status) Type

func (Status) Type() protoreflect.EnumType

type UnimplementedConfigServiceServer

type UnimplementedConfigServiceServer struct {
}

UnimplementedConfigServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedConfigServiceServer) GetNetworkSlice

func (UnimplementedConfigServiceServer) NetworkSliceSubscribe added in v1.0.1

type UnsafeConfigServiceServer

type UnsafeConfigServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeConfigServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConfigServiceServer will result in compilation errors.

type UpfInfo

type UpfInfo struct {
	UpfName string `protobuf:"bytes,1,opt,name=UpfName,proto3" json:"UpfName,omitempty"`
	UpfPort uint32 `protobuf:"varint,2,opt,name=UpfPort,proto3" json:"UpfPort,omitempty"`
	// contains filtered or unexported fields
}

func (*UpfInfo) Descriptor deprecated

func (*UpfInfo) Descriptor() ([]byte, []int)

Deprecated: Use UpfInfo.ProtoReflect.Descriptor instead.

func (*UpfInfo) GetUpfName

func (x *UpfInfo) GetUpfName() string

func (*UpfInfo) GetUpfPort

func (x *UpfInfo) GetUpfPort() uint32

func (*UpfInfo) ProtoMessage

func (*UpfInfo) ProtoMessage()

func (*UpfInfo) ProtoReflect

func (x *UpfInfo) ProtoReflect() protoreflect.Message

func (*UpfInfo) Reset

func (x *UpfInfo) Reset()

func (*UpfInfo) String

func (x *UpfInfo) String() string

Jump to

Keyboard shortcuts

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