Documentation ¶
Index ¶
- Variables
- func RegisterConfigServiceServer(s grpc.ServiceRegistrar, srv ConfigServiceServer)
- type AppInfo
- func (*AppInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AppInfo) GetAppName() string
- func (x *AppInfo) GetEndPoint() string
- func (x *AppInfo) GetEndport() uint32
- func (x *AppInfo) GetProtocol() uint32
- func (x *AppInfo) GetStartport() uint32
- func (*AppInfo) ProtoMessage()
- func (x *AppInfo) ProtoReflect() protoreflect.Message
- func (x *AppInfo) Reset()
- func (x *AppInfo) String() string
- type ConfigServiceClient
- type ConfigServiceServer
- type DeviceGroup
- func (*DeviceGroup) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceGroup) GetImsi() []string
- func (x *DeviceGroup) GetIpDomainDetails() *IpDomain
- func (x *DeviceGroup) GetName() string
- func (*DeviceGroup) ProtoMessage()
- func (x *DeviceGroup) ProtoReflect() protoreflect.Message
- func (x *DeviceGroup) Reset()
- func (x *DeviceGroup) String() string
- type GNodeB
- type IpDomain
- func (*IpDomain) Descriptor() ([]byte, []int)deprecated
- func (x *IpDomain) GetDnnName() string
- func (x *IpDomain) GetDnsPrimary() string
- func (x *IpDomain) GetMtu() int32
- func (x *IpDomain) GetName() string
- func (x *IpDomain) GetUePool() string
- func (*IpDomain) ProtoMessage()
- func (x *IpDomain) ProtoReflect() protoreflect.Message
- func (x *IpDomain) Reset()
- func (x *IpDomain) String() string
- type NSSAI
- type NetworkSlice
- func (*NetworkSlice) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkSlice) GetAppInfo() []*AppInfo
- func (x *NetworkSlice) GetDenyApps() []string
- func (x *NetworkSlice) GetDeviceGroup() []*DeviceGroup
- func (x *NetworkSlice) GetName() string
- func (x *NetworkSlice) GetNssai() *NSSAI
- func (x *NetworkSlice) GetPermitApps() []string
- func (x *NetworkSlice) GetQos() *QoS
- func (x *NetworkSlice) GetSite() *SiteInfo
- func (*NetworkSlice) ProtoMessage()
- func (x *NetworkSlice) ProtoReflect() protoreflect.Message
- func (x *NetworkSlice) Reset()
- func (x *NetworkSlice) String() string
- type NetworkSliceRequest
- func (*NetworkSliceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkSliceRequest) GetClientId() string
- func (x *NetworkSliceRequest) GetImsiRequested() bool
- func (x *NetworkSliceRequest) GetRestartCounter() uint32
- func (*NetworkSliceRequest) ProtoMessage()
- func (x *NetworkSliceRequest) ProtoReflect() protoreflect.Message
- func (x *NetworkSliceRequest) Reset()
- func (x *NetworkSliceRequest) String() string
- type NetworkSliceResponse
- func (*NetworkSliceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkSliceResponse) GetConfigUpdated() uint32
- func (x *NetworkSliceResponse) GetNetworkSlice() []*NetworkSlice
- func (x *NetworkSliceResponse) GetRestartCounter() uint32
- func (*NetworkSliceResponse) ProtoMessage()
- func (x *NetworkSliceResponse) ProtoReflect() protoreflect.Message
- func (x *NetworkSliceResponse) Reset()
- func (x *NetworkSliceResponse) String() string
- type PlmnId
- type QoS
- type SiteInfo
- func (*SiteInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SiteInfo) GetGnb() []*GNodeB
- func (x *SiteInfo) GetPlmn() *PlmnId
- func (x *SiteInfo) GetSiteName() string
- func (x *SiteInfo) GetUpf() *UpfInfo
- func (*SiteInfo) ProtoMessage()
- func (x *SiteInfo) ProtoReflect() protoreflect.Message
- func (x *SiteInfo) Reset()
- func (x *SiteInfo) String() string
- type Status
- type UnimplementedConfigServiceServer
- type UnsafeConfigServiceServer
- type UpfInfo
Constants ¶
This section is empty.
Variables ¶
var ( Status_name = map[int32]string{ 0: "SUCCESS", 1: "FAILURE", } Status_value = map[string]int32{ "SUCCESS": 0, "FAILURE": 1, } )
Enum value maps for Status.
var ConfigService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sdcoreConfig.ConfigService", HandlerType: (*ConfigServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetNetworkSlice", Handler: _ConfigService_GetNetworkSlice_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/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)
var File_proto_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) GetAppName ¶
func (*AppInfo) GetEndPoint ¶
func (*AppInfo) GetEndport ¶
func (*AppInfo) GetProtocol ¶
func (*AppInfo) GetStartport ¶
func (*AppInfo) ProtoMessage ¶
func (*AppInfo) ProtoMessage()
func (*AppInfo) ProtoReflect ¶
func (x *AppInfo) ProtoReflect() protoreflect.Message
type ConfigServiceClient ¶
type ConfigServiceClient interface {
GetNetworkSlice(ctx context.Context, in *NetworkSliceRequest, opts ...grpc.CallOption) (*NetworkSliceResponse, 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.
func NewConfigServiceClient ¶
func NewConfigServiceClient(cc grpc.ClientConnInterface) ConfigServiceClient
type ConfigServiceServer ¶
type ConfigServiceServer interface { GetNetworkSlice(context.Context, *NetworkSliceRequest) (*NetworkSliceResponse, error) // contains filtered or unexported methods }
ConfigServiceServer is the server API for ConfigService service. All implementations must embed UnimplementedConfigServiceServer for forward compatibility
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) ProtoMessage ¶
func (*GNodeB) ProtoMessage()
func (*GNodeB) ProtoReflect ¶
func (x *GNodeB) ProtoReflect() protoreflect.Message
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) GetDnnName ¶
func (*IpDomain) GetDnsPrimary ¶
func (*IpDomain) ProtoMessage ¶
func (*IpDomain) ProtoMessage()
func (*IpDomain) ProtoReflect ¶
func (x *IpDomain) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*NSSAI) ProtoMessage()
func (*NSSAI) ProtoReflect ¶
func (x *NSSAI) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*PlmnId) ProtoMessage()
func (*PlmnId) ProtoReflect ¶
func (x *PlmnId) ProtoReflect() protoreflect.Message
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) GetDownlink ¶
func (*QoS) GetTrafficClass ¶
func (*QoS) ProtoMessage ¶
func (*QoS) ProtoMessage()
func (*QoS) ProtoReflect ¶
func (x *QoS) ProtoReflect() protoreflect.Message
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) GetSiteName ¶
func (*SiteInfo) ProtoMessage ¶
func (*SiteInfo) ProtoMessage()
func (*SiteInfo) ProtoReflect ¶
func (x *SiteInfo) ProtoReflect() protoreflect.Message
type Status ¶
type Status int32
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
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) GetNetworkSlice(context.Context, *NetworkSliceRequest) (*NetworkSliceResponse, error)
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) GetUpfName ¶
func (*UpfInfo) GetUpfPort ¶
func (*UpfInfo) ProtoMessage ¶
func (*UpfInfo) ProtoMessage()
func (*UpfInfo) ProtoReflect ¶
func (x *UpfInfo) ProtoReflect() protoreflect.Message