Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterTestAgentServiceServer(s grpc.ServiceRegistrar, srv TestAgentServiceServer)
- type ActivateSimRequest
- func (*ActivateSimRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ActivateSimRequest) GetIccid() string
- func (*ActivateSimRequest) ProtoMessage()
- func (x *ActivateSimRequest) ProtoReflect() protoreflect.Message
- func (x *ActivateSimRequest) Reset()
- func (x *ActivateSimRequest) String() string
- func (this *ActivateSimRequest) Validate() error
- type ActivateSimResponse
- func (*ActivateSimResponse) Descriptor() ([]byte, []int)deprecated
- func (*ActivateSimResponse) ProtoMessage()
- func (x *ActivateSimResponse) ProtoReflect() protoreflect.Message
- func (x *ActivateSimResponse) Reset()
- func (x *ActivateSimResponse) String() string
- func (this *ActivateSimResponse) Validate() error
- type BindSimRequest
- func (*BindSimRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BindSimRequest) GetIccid() string
- func (*BindSimRequest) ProtoMessage()
- func (x *BindSimRequest) ProtoReflect() protoreflect.Message
- func (x *BindSimRequest) Reset()
- func (x *BindSimRequest) String() string
- func (this *BindSimRequest) Validate() error
- type BindSimResponse
- type DeactivateSimRequest
- func (*DeactivateSimRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeactivateSimRequest) GetIccid() string
- func (*DeactivateSimRequest) ProtoMessage()
- func (x *DeactivateSimRequest) ProtoReflect() protoreflect.Message
- func (x *DeactivateSimRequest) Reset()
- func (x *DeactivateSimRequest) String() string
- func (this *DeactivateSimRequest) Validate() error
- type DeactivateSimResponse
- func (*DeactivateSimResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeactivateSimResponse) ProtoMessage()
- func (x *DeactivateSimResponse) ProtoReflect() protoreflect.Message
- func (x *DeactivateSimResponse) Reset()
- func (x *DeactivateSimResponse) String() string
- func (this *DeactivateSimResponse) Validate() error
- type GetSimRequest
- func (*GetSimRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSimRequest) GetIccid() string
- func (*GetSimRequest) ProtoMessage()
- func (x *GetSimRequest) ProtoReflect() protoreflect.Message
- func (x *GetSimRequest) Reset()
- func (x *GetSimRequest) String() string
- func (this *GetSimRequest) Validate() error
- type GetSimResponse
- func (*GetSimResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSimResponse) GetSimInfo() *SimInfo
- func (*GetSimResponse) ProtoMessage()
- func (x *GetSimResponse) ProtoReflect() protoreflect.Message
- func (x *GetSimResponse) Reset()
- func (x *GetSimResponse) String() string
- func (this *GetSimResponse) Validate() error
- type SimInfo
- func (*SimInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SimInfo) GetIccid() string
- func (x *SimInfo) GetImsi() string
- func (x *SimInfo) GetStatus() string
- func (*SimInfo) ProtoMessage()
- func (x *SimInfo) ProtoReflect() protoreflect.Message
- func (x *SimInfo) Reset()
- func (x *SimInfo) String() string
- func (this *SimInfo) Validate() error
- type TerminateSimRequest
- func (*TerminateSimRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TerminateSimRequest) GetIccid() string
- func (*TerminateSimRequest) ProtoMessage()
- func (x *TerminateSimRequest) ProtoReflect() protoreflect.Message
- func (x *TerminateSimRequest) Reset()
- func (x *TerminateSimRequest) String() string
- func (this *TerminateSimRequest) Validate() error
- type TerminateSimResponse
- func (*TerminateSimResponse) Descriptor() ([]byte, []int)deprecated
- func (*TerminateSimResponse) ProtoMessage()
- func (x *TerminateSimResponse) ProtoReflect() protoreflect.Message
- func (x *TerminateSimResponse) Reset()
- func (x *TerminateSimResponse) String() string
- func (this *TerminateSimResponse) Validate() error
- type TestAgentServiceClient
- type TestAgentServiceServer
- type UnimplementedTestAgentServiceServer
- func (UnimplementedTestAgentServiceServer) ActivateSim(context.Context, *ActivateSimRequest) (*ActivateSimResponse, error)
- func (UnimplementedTestAgentServiceServer) BindSim(context.Context, *BindSimRequest) (*BindSimResponse, error)
- func (UnimplementedTestAgentServiceServer) DeactivateSim(context.Context, *DeactivateSimRequest) (*DeactivateSimResponse, error)
- func (UnimplementedTestAgentServiceServer) GetSim(context.Context, *GetSimRequest) (*GetSimResponse, error)
- func (UnimplementedTestAgentServiceServer) TerminateSim(context.Context, *TerminateSimRequest) (*TerminateSimResponse, error)
- type UnsafeTestAgentServiceServer
Constants ¶
const ( TestAgentService_BindSim_FullMethodName = "/ukama.subscriber.test_agent.v1.TestAgentService/BindSim" TestAgentService_GetSim_FullMethodName = "/ukama.subscriber.test_agent.v1.TestAgentService/GetSim" TestAgentService_ActivateSim_FullMethodName = "/ukama.subscriber.test_agent.v1.TestAgentService/ActivateSim" TestAgentService_DeactivateSim_FullMethodName = "/ukama.subscriber.test_agent.v1.TestAgentService/DeactivateSim" TestAgentService_TerminateSim_FullMethodName = "/ukama.subscriber.test_agent.v1.TestAgentService/TerminateSim" )
Variables ¶
var File_test_agent_proto protoreflect.FileDescriptor
var TestAgentService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ukama.subscriber.test_agent.v1.TestAgentService", HandlerType: (*TestAgentServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "BindSim", Handler: _TestAgentService_BindSim_Handler, }, { MethodName: "GetSim", Handler: _TestAgentService_GetSim_Handler, }, { MethodName: "ActivateSim", Handler: _TestAgentService_ActivateSim_Handler, }, { MethodName: "DeactivateSim", Handler: _TestAgentService_DeactivateSim_Handler, }, { MethodName: "TerminateSim", Handler: _TestAgentService_TerminateSim_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "test_agent.proto", }
TestAgentService_ServiceDesc is the grpc.ServiceDesc for TestAgentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTestAgentServiceServer ¶
func RegisterTestAgentServiceServer(s grpc.ServiceRegistrar, srv TestAgentServiceServer)
Types ¶
type ActivateSimRequest ¶
type ActivateSimRequest struct { Iccid string `protobuf:"bytes,1,opt,name=iccid,proto3" json:"iccid,omitempty"` // contains filtered or unexported fields }
func (*ActivateSimRequest) Descriptor
deprecated
func (*ActivateSimRequest) Descriptor() ([]byte, []int)
Deprecated: Use ActivateSimRequest.ProtoReflect.Descriptor instead.
func (*ActivateSimRequest) GetIccid ¶
func (x *ActivateSimRequest) GetIccid() string
func (*ActivateSimRequest) ProtoMessage ¶
func (*ActivateSimRequest) ProtoMessage()
func (*ActivateSimRequest) ProtoReflect ¶
func (x *ActivateSimRequest) ProtoReflect() protoreflect.Message
func (*ActivateSimRequest) Reset ¶
func (x *ActivateSimRequest) Reset()
func (*ActivateSimRequest) String ¶
func (x *ActivateSimRequest) String() string
func (*ActivateSimRequest) Validate ¶
func (this *ActivateSimRequest) Validate() error
type ActivateSimResponse ¶
type ActivateSimResponse struct {
// contains filtered or unexported fields
}
func (*ActivateSimResponse) Descriptor
deprecated
func (*ActivateSimResponse) Descriptor() ([]byte, []int)
Deprecated: Use ActivateSimResponse.ProtoReflect.Descriptor instead.
func (*ActivateSimResponse) ProtoMessage ¶
func (*ActivateSimResponse) ProtoMessage()
func (*ActivateSimResponse) ProtoReflect ¶
func (x *ActivateSimResponse) ProtoReflect() protoreflect.Message
func (*ActivateSimResponse) Reset ¶
func (x *ActivateSimResponse) Reset()
func (*ActivateSimResponse) String ¶
func (x *ActivateSimResponse) String() string
func (*ActivateSimResponse) Validate ¶
func (this *ActivateSimResponse) Validate() error
type BindSimRequest ¶
type BindSimRequest struct { Iccid string `protobuf:"bytes,1,opt,name=iccid,proto3" json:"iccid,omitempty"` // contains filtered or unexported fields }
func (*BindSimRequest) Descriptor
deprecated
func (*BindSimRequest) Descriptor() ([]byte, []int)
Deprecated: Use BindSimRequest.ProtoReflect.Descriptor instead.
func (*BindSimRequest) GetIccid ¶
func (x *BindSimRequest) GetIccid() string
func (*BindSimRequest) ProtoMessage ¶
func (*BindSimRequest) ProtoMessage()
func (*BindSimRequest) ProtoReflect ¶
func (x *BindSimRequest) ProtoReflect() protoreflect.Message
func (*BindSimRequest) Reset ¶
func (x *BindSimRequest) Reset()
func (*BindSimRequest) String ¶
func (x *BindSimRequest) String() string
func (*BindSimRequest) Validate ¶
func (this *BindSimRequest) Validate() error
type BindSimResponse ¶
type BindSimResponse struct {
// contains filtered or unexported fields
}
func (*BindSimResponse) Descriptor
deprecated
func (*BindSimResponse) Descriptor() ([]byte, []int)
Deprecated: Use BindSimResponse.ProtoReflect.Descriptor instead.
func (*BindSimResponse) ProtoMessage ¶
func (*BindSimResponse) ProtoMessage()
func (*BindSimResponse) ProtoReflect ¶
func (x *BindSimResponse) ProtoReflect() protoreflect.Message
func (*BindSimResponse) Reset ¶
func (x *BindSimResponse) Reset()
func (*BindSimResponse) String ¶
func (x *BindSimResponse) String() string
func (*BindSimResponse) Validate ¶
func (this *BindSimResponse) Validate() error
type DeactivateSimRequest ¶
type DeactivateSimRequest struct { Iccid string `protobuf:"bytes,1,opt,name=iccid,proto3" json:"iccid,omitempty"` // contains filtered or unexported fields }
func (*DeactivateSimRequest) Descriptor
deprecated
func (*DeactivateSimRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeactivateSimRequest.ProtoReflect.Descriptor instead.
func (*DeactivateSimRequest) GetIccid ¶
func (x *DeactivateSimRequest) GetIccid() string
func (*DeactivateSimRequest) ProtoMessage ¶
func (*DeactivateSimRequest) ProtoMessage()
func (*DeactivateSimRequest) ProtoReflect ¶
func (x *DeactivateSimRequest) ProtoReflect() protoreflect.Message
func (*DeactivateSimRequest) Reset ¶
func (x *DeactivateSimRequest) Reset()
func (*DeactivateSimRequest) String ¶
func (x *DeactivateSimRequest) String() string
func (*DeactivateSimRequest) Validate ¶
func (this *DeactivateSimRequest) Validate() error
type DeactivateSimResponse ¶
type DeactivateSimResponse struct {
// contains filtered or unexported fields
}
func (*DeactivateSimResponse) Descriptor
deprecated
func (*DeactivateSimResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeactivateSimResponse.ProtoReflect.Descriptor instead.
func (*DeactivateSimResponse) ProtoMessage ¶
func (*DeactivateSimResponse) ProtoMessage()
func (*DeactivateSimResponse) ProtoReflect ¶
func (x *DeactivateSimResponse) ProtoReflect() protoreflect.Message
func (*DeactivateSimResponse) Reset ¶
func (x *DeactivateSimResponse) Reset()
func (*DeactivateSimResponse) String ¶
func (x *DeactivateSimResponse) String() string
func (*DeactivateSimResponse) Validate ¶
func (this *DeactivateSimResponse) Validate() error
type GetSimRequest ¶
type GetSimRequest struct { Iccid string `protobuf:"bytes,1,opt,name=iccid,proto3" json:"iccid,omitempty"` // contains filtered or unexported fields }
func (*GetSimRequest) Descriptor
deprecated
func (*GetSimRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSimRequest.ProtoReflect.Descriptor instead.
func (*GetSimRequest) GetIccid ¶
func (x *GetSimRequest) GetIccid() string
func (*GetSimRequest) ProtoMessage ¶
func (*GetSimRequest) ProtoMessage()
func (*GetSimRequest) ProtoReflect ¶
func (x *GetSimRequest) ProtoReflect() protoreflect.Message
func (*GetSimRequest) Reset ¶
func (x *GetSimRequest) Reset()
func (*GetSimRequest) String ¶
func (x *GetSimRequest) String() string
func (*GetSimRequest) Validate ¶
func (this *GetSimRequest) Validate() error
type GetSimResponse ¶
type GetSimResponse struct { SimInfo *SimInfo `protobuf:"bytes,1,opt,name=simInfo,json=sim,proto3" json:"simInfo,omitempty"` // contains filtered or unexported fields }
func (*GetSimResponse) Descriptor
deprecated
func (*GetSimResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSimResponse.ProtoReflect.Descriptor instead.
func (*GetSimResponse) GetSimInfo ¶
func (x *GetSimResponse) GetSimInfo() *SimInfo
func (*GetSimResponse) ProtoMessage ¶
func (*GetSimResponse) ProtoMessage()
func (*GetSimResponse) ProtoReflect ¶
func (x *GetSimResponse) ProtoReflect() protoreflect.Message
func (*GetSimResponse) Reset ¶
func (x *GetSimResponse) Reset()
func (*GetSimResponse) String ¶
func (x *GetSimResponse) String() string
func (*GetSimResponse) Validate ¶
func (this *GetSimResponse) Validate() error
type SimInfo ¶
type SimInfo struct { Iccid string `protobuf:"bytes,1,opt,name=Iccid,json=iccid,proto3" json:"Iccid,omitempty"` Imsi string `protobuf:"bytes,2,opt,name=Imsi,json=imsi,proto3" json:"Imsi,omitempty"` Status string `protobuf:"bytes,3,opt,name=Status,json=status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*SimInfo) Descriptor
deprecated
func (*SimInfo) ProtoMessage ¶
func (*SimInfo) ProtoMessage()
func (*SimInfo) ProtoReflect ¶
func (x *SimInfo) ProtoReflect() protoreflect.Message
type TerminateSimRequest ¶
type TerminateSimRequest struct { Iccid string `protobuf:"bytes,1,opt,name=iccid,proto3" json:"iccid,omitempty"` // contains filtered or unexported fields }
func (*TerminateSimRequest) Descriptor
deprecated
func (*TerminateSimRequest) Descriptor() ([]byte, []int)
Deprecated: Use TerminateSimRequest.ProtoReflect.Descriptor instead.
func (*TerminateSimRequest) GetIccid ¶
func (x *TerminateSimRequest) GetIccid() string
func (*TerminateSimRequest) ProtoMessage ¶
func (*TerminateSimRequest) ProtoMessage()
func (*TerminateSimRequest) ProtoReflect ¶
func (x *TerminateSimRequest) ProtoReflect() protoreflect.Message
func (*TerminateSimRequest) Reset ¶
func (x *TerminateSimRequest) Reset()
func (*TerminateSimRequest) String ¶
func (x *TerminateSimRequest) String() string
func (*TerminateSimRequest) Validate ¶
func (this *TerminateSimRequest) Validate() error
type TerminateSimResponse ¶
type TerminateSimResponse struct {
// contains filtered or unexported fields
}
func (*TerminateSimResponse) Descriptor
deprecated
func (*TerminateSimResponse) Descriptor() ([]byte, []int)
Deprecated: Use TerminateSimResponse.ProtoReflect.Descriptor instead.
func (*TerminateSimResponse) ProtoMessage ¶
func (*TerminateSimResponse) ProtoMessage()
func (*TerminateSimResponse) ProtoReflect ¶
func (x *TerminateSimResponse) ProtoReflect() protoreflect.Message
func (*TerminateSimResponse) Reset ¶
func (x *TerminateSimResponse) Reset()
func (*TerminateSimResponse) String ¶
func (x *TerminateSimResponse) String() string
func (*TerminateSimResponse) Validate ¶
func (this *TerminateSimResponse) Validate() error
type TestAgentServiceClient ¶
type TestAgentServiceClient interface { BindSim(ctx context.Context, in *BindSimRequest, opts ...grpc.CallOption) (*BindSimResponse, error) GetSim(ctx context.Context, in *GetSimRequest, opts ...grpc.CallOption) (*GetSimResponse, error) ActivateSim(ctx context.Context, in *ActivateSimRequest, opts ...grpc.CallOption) (*ActivateSimResponse, error) DeactivateSim(ctx context.Context, in *DeactivateSimRequest, opts ...grpc.CallOption) (*DeactivateSimResponse, error) TerminateSim(ctx context.Context, in *TerminateSimRequest, opts ...grpc.CallOption) (*TerminateSimResponse, error) }
TestAgentServiceClient is the client API for TestAgentService 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 NewTestAgentServiceClient ¶
func NewTestAgentServiceClient(cc grpc.ClientConnInterface) TestAgentServiceClient
type TestAgentServiceServer ¶
type TestAgentServiceServer interface { BindSim(context.Context, *BindSimRequest) (*BindSimResponse, error) GetSim(context.Context, *GetSimRequest) (*GetSimResponse, error) ActivateSim(context.Context, *ActivateSimRequest) (*ActivateSimResponse, error) DeactivateSim(context.Context, *DeactivateSimRequest) (*DeactivateSimResponse, error) TerminateSim(context.Context, *TerminateSimRequest) (*TerminateSimResponse, error) // contains filtered or unexported methods }
TestAgentServiceServer is the server API for TestAgentService service. All implementations must embed UnimplementedTestAgentServiceServer for forward compatibility
type UnimplementedTestAgentServiceServer ¶
type UnimplementedTestAgentServiceServer struct { }
UnimplementedTestAgentServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedTestAgentServiceServer) ActivateSim ¶
func (UnimplementedTestAgentServiceServer) ActivateSim(context.Context, *ActivateSimRequest) (*ActivateSimResponse, error)
func (UnimplementedTestAgentServiceServer) BindSim ¶
func (UnimplementedTestAgentServiceServer) BindSim(context.Context, *BindSimRequest) (*BindSimResponse, error)
func (UnimplementedTestAgentServiceServer) DeactivateSim ¶
func (UnimplementedTestAgentServiceServer) DeactivateSim(context.Context, *DeactivateSimRequest) (*DeactivateSimResponse, error)
func (UnimplementedTestAgentServiceServer) GetSim ¶
func (UnimplementedTestAgentServiceServer) GetSim(context.Context, *GetSimRequest) (*GetSimResponse, error)
func (UnimplementedTestAgentServiceServer) TerminateSim ¶
func (UnimplementedTestAgentServiceServer) TerminateSim(context.Context, *TerminateSimRequest) (*TerminateSimResponse, error)
type UnsafeTestAgentServiceServer ¶
type UnsafeTestAgentServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTestAgentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TestAgentServiceServer will result in compilation errors.