Documentation ¶
Index ¶
- Variables
- func RegisterKeyProviderServiceServer(s grpc.ServiceRegistrar, srv KeyProviderServiceServer)
- type HelloReply
- func (*HelloReply) Descriptor() ([]byte, []int)
- func (m *HelloReply) GetMessage() string
- func (*HelloReply) ProtoMessage()
- func (m *HelloReply) Reset()
- func (m *HelloReply) String() string
- func (m *HelloReply) XXX_DiscardUnknown()
- func (m *HelloReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HelloReply) XXX_Merge(src proto.Message)
- func (m *HelloReply) XXX_Size() int
- func (m *HelloReply) XXX_Unmarshal(b []byte) error
- type HelloRequest
- func (*HelloRequest) Descriptor() ([]byte, []int)
- func (m *HelloRequest) GetName() string
- func (*HelloRequest) ProtoMessage()
- func (m *HelloRequest) Reset()
- func (m *HelloRequest) String() string
- func (m *HelloRequest) XXX_DiscardUnknown()
- func (m *HelloRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HelloRequest) XXX_Merge(src proto.Message)
- func (m *HelloRequest) XXX_Size() int
- func (m *HelloRequest) XXX_Unmarshal(b []byte) error
- type KeyProviderGetReportInput
- func (*KeyProviderGetReportInput) Descriptor() ([]byte, []int)
- func (m *KeyProviderGetReportInput) GetReportDataHexString() string
- func (*KeyProviderGetReportInput) ProtoMessage()
- func (m *KeyProviderGetReportInput) Reset()
- func (m *KeyProviderGetReportInput) String() string
- func (m *KeyProviderGetReportInput) XXX_DiscardUnknown()
- func (m *KeyProviderGetReportInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyProviderGetReportInput) XXX_Merge(src proto.Message)
- func (m *KeyProviderGetReportInput) XXX_Size() int
- func (m *KeyProviderGetReportInput) XXX_Unmarshal(b []byte) error
- type KeyProviderGetReportOutput
- func (*KeyProviderGetReportOutput) Descriptor() ([]byte, []int)
- func (m *KeyProviderGetReportOutput) GetReportHexString() string
- func (*KeyProviderGetReportOutput) ProtoMessage()
- func (m *KeyProviderGetReportOutput) Reset()
- func (m *KeyProviderGetReportOutput) String() string
- func (m *KeyProviderGetReportOutput) XXX_DiscardUnknown()
- func (m *KeyProviderGetReportOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyProviderGetReportOutput) XXX_Merge(src proto.Message)
- func (m *KeyProviderGetReportOutput) XXX_Size() int
- func (m *KeyProviderGetReportOutput) XXX_Unmarshal(b []byte) error
- type KeyProviderKeyWrapProtocolInput
- func (*KeyProviderKeyWrapProtocolInput) Descriptor() ([]byte, []int)
- func (m *KeyProviderKeyWrapProtocolInput) GetKeyProviderKeyWrapProtocolInput() []byte
- func (*KeyProviderKeyWrapProtocolInput) ProtoMessage()
- func (m *KeyProviderKeyWrapProtocolInput) Reset()
- func (m *KeyProviderKeyWrapProtocolInput) String() string
- func (m *KeyProviderKeyWrapProtocolInput) XXX_DiscardUnknown()
- func (m *KeyProviderKeyWrapProtocolInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyProviderKeyWrapProtocolInput) XXX_Merge(src proto.Message)
- func (m *KeyProviderKeyWrapProtocolInput) XXX_Size() int
- func (m *KeyProviderKeyWrapProtocolInput) XXX_Unmarshal(b []byte) error
- type KeyProviderKeyWrapProtocolOutput
- func (*KeyProviderKeyWrapProtocolOutput) Descriptor() ([]byte, []int)
- func (m *KeyProviderKeyWrapProtocolOutput) GetKeyProviderKeyWrapProtocolOutput() []byte
- func (*KeyProviderKeyWrapProtocolOutput) ProtoMessage()
- func (m *KeyProviderKeyWrapProtocolOutput) Reset()
- func (m *KeyProviderKeyWrapProtocolOutput) String() string
- func (m *KeyProviderKeyWrapProtocolOutput) XXX_DiscardUnknown()
- func (m *KeyProviderKeyWrapProtocolOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyProviderKeyWrapProtocolOutput) XXX_Merge(src proto.Message)
- func (m *KeyProviderKeyWrapProtocolOutput) XXX_Size() int
- func (m *KeyProviderKeyWrapProtocolOutput) XXX_Unmarshal(b []byte) error
- type KeyProviderServiceClient
- type KeyProviderServiceServer
- type UnimplementedKeyProviderServiceServer
- func (UnimplementedKeyProviderServiceServer) GetReport(context.Context, *KeyProviderGetReportInput) (*KeyProviderGetReportOutput, error)
- func (UnimplementedKeyProviderServiceServer) SayHello(context.Context, *HelloRequest) (*HelloReply, error)
- func (UnimplementedKeyProviderServiceServer) UnWrapKey(context.Context, *KeyProviderKeyWrapProtocolInput) (*KeyProviderKeyWrapProtocolOutput, error)
- func (UnimplementedKeyProviderServiceServer) WrapKey(context.Context, *KeyProviderKeyWrapProtocolInput) (*KeyProviderKeyWrapProtocolOutput, error)
- type UnsafeKeyProviderServiceServer
Constants ¶
This section is empty.
Variables ¶
var KeyProviderService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "keyprovider.KeyProviderService", HandlerType: (*KeyProviderServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "WrapKey", Handler: _KeyProviderService_WrapKey_Handler, }, { MethodName: "UnWrapKey", Handler: _KeyProviderService_UnWrapKey_Handler, }, { MethodName: "GetReport", Handler: _KeyProviderService_GetReport_Handler, }, { MethodName: "SayHello", Handler: _KeyProviderService_SayHello_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "keyprovider.proto", }
KeyProviderService_ServiceDesc is the grpc.ServiceDesc for KeyProviderService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterKeyProviderServiceServer ¶
func RegisterKeyProviderServiceServer(s grpc.ServiceRegistrar, srv KeyProviderServiceServer)
Types ¶
type HelloReply ¶
type HelloReply struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The response message containing the greetings
func (*HelloReply) Descriptor ¶
func (*HelloReply) Descriptor() ([]byte, []int)
func (*HelloReply) GetMessage ¶
func (m *HelloReply) GetMessage() string
func (*HelloReply) ProtoMessage ¶
func (*HelloReply) ProtoMessage()
func (*HelloReply) Reset ¶
func (m *HelloReply) Reset()
func (*HelloReply) String ¶
func (m *HelloReply) String() string
func (*HelloReply) XXX_DiscardUnknown ¶
func (m *HelloReply) XXX_DiscardUnknown()
func (*HelloReply) XXX_Marshal ¶
func (m *HelloReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HelloReply) XXX_Merge ¶
func (m *HelloReply) XXX_Merge(src proto.Message)
func (*HelloReply) XXX_Size ¶
func (m *HelloReply) XXX_Size() int
func (*HelloReply) XXX_Unmarshal ¶
func (m *HelloReply) XXX_Unmarshal(b []byte) error
type HelloRequest ¶
type HelloRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HelloRequest) Descriptor ¶
func (*HelloRequest) Descriptor() ([]byte, []int)
func (*HelloRequest) GetName ¶
func (m *HelloRequest) GetName() string
func (*HelloRequest) ProtoMessage ¶
func (*HelloRequest) ProtoMessage()
func (*HelloRequest) Reset ¶
func (m *HelloRequest) Reset()
func (*HelloRequest) String ¶
func (m *HelloRequest) String() string
func (*HelloRequest) XXX_DiscardUnknown ¶
func (m *HelloRequest) XXX_DiscardUnknown()
func (*HelloRequest) XXX_Marshal ¶
func (m *HelloRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HelloRequest) XXX_Merge ¶
func (m *HelloRequest) XXX_Merge(src proto.Message)
func (*HelloRequest) XXX_Size ¶
func (m *HelloRequest) XXX_Size() int
func (*HelloRequest) XXX_Unmarshal ¶
func (m *HelloRequest) XXX_Unmarshal(b []byte) error
type KeyProviderGetReportInput ¶
type KeyProviderGetReportInput struct { ReportDataHexString string `protobuf:"bytes,1,opt,name=reportDataHexString,proto3" json:"reportDataHexString,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyProviderGetReportInput) Descriptor ¶
func (*KeyProviderGetReportInput) Descriptor() ([]byte, []int)
func (*KeyProviderGetReportInput) GetReportDataHexString ¶
func (m *KeyProviderGetReportInput) GetReportDataHexString() string
func (*KeyProviderGetReportInput) ProtoMessage ¶
func (*KeyProviderGetReportInput) ProtoMessage()
func (*KeyProviderGetReportInput) Reset ¶
func (m *KeyProviderGetReportInput) Reset()
func (*KeyProviderGetReportInput) String ¶
func (m *KeyProviderGetReportInput) String() string
func (*KeyProviderGetReportInput) XXX_DiscardUnknown ¶
func (m *KeyProviderGetReportInput) XXX_DiscardUnknown()
func (*KeyProviderGetReportInput) XXX_Marshal ¶
func (m *KeyProviderGetReportInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KeyProviderGetReportInput) XXX_Merge ¶
func (m *KeyProviderGetReportInput) XXX_Merge(src proto.Message)
func (*KeyProviderGetReportInput) XXX_Size ¶
func (m *KeyProviderGetReportInput) XXX_Size() int
func (*KeyProviderGetReportInput) XXX_Unmarshal ¶
func (m *KeyProviderGetReportInput) XXX_Unmarshal(b []byte) error
type KeyProviderGetReportOutput ¶
type KeyProviderGetReportOutput struct { ReportHexString string `protobuf:"bytes,1,opt,name=reportHexString,proto3" json:"reportHexString,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyProviderGetReportOutput) Descriptor ¶
func (*KeyProviderGetReportOutput) Descriptor() ([]byte, []int)
func (*KeyProviderGetReportOutput) GetReportHexString ¶
func (m *KeyProviderGetReportOutput) GetReportHexString() string
func (*KeyProviderGetReportOutput) ProtoMessage ¶
func (*KeyProviderGetReportOutput) ProtoMessage()
func (*KeyProviderGetReportOutput) Reset ¶
func (m *KeyProviderGetReportOutput) Reset()
func (*KeyProviderGetReportOutput) String ¶
func (m *KeyProviderGetReportOutput) String() string
func (*KeyProviderGetReportOutput) XXX_DiscardUnknown ¶
func (m *KeyProviderGetReportOutput) XXX_DiscardUnknown()
func (*KeyProviderGetReportOutput) XXX_Marshal ¶
func (m *KeyProviderGetReportOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KeyProviderGetReportOutput) XXX_Merge ¶
func (m *KeyProviderGetReportOutput) XXX_Merge(src proto.Message)
func (*KeyProviderGetReportOutput) XXX_Size ¶
func (m *KeyProviderGetReportOutput) XXX_Size() int
func (*KeyProviderGetReportOutput) XXX_Unmarshal ¶
func (m *KeyProviderGetReportOutput) XXX_Unmarshal(b []byte) error
type KeyProviderKeyWrapProtocolInput ¶
type KeyProviderKeyWrapProtocolInput struct { KeyProviderKeyWrapProtocolInput []byte `protobuf:"bytes,1,opt,name=KeyProviderKeyWrapProtocolInput,proto3" json:"KeyProviderKeyWrapProtocolInput,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyProviderKeyWrapProtocolInput) Descriptor ¶
func (*KeyProviderKeyWrapProtocolInput) Descriptor() ([]byte, []int)
func (*KeyProviderKeyWrapProtocolInput) GetKeyProviderKeyWrapProtocolInput ¶
func (m *KeyProviderKeyWrapProtocolInput) GetKeyProviderKeyWrapProtocolInput() []byte
func (*KeyProviderKeyWrapProtocolInput) ProtoMessage ¶
func (*KeyProviderKeyWrapProtocolInput) ProtoMessage()
func (*KeyProviderKeyWrapProtocolInput) Reset ¶
func (m *KeyProviderKeyWrapProtocolInput) Reset()
func (*KeyProviderKeyWrapProtocolInput) String ¶
func (m *KeyProviderKeyWrapProtocolInput) String() string
func (*KeyProviderKeyWrapProtocolInput) XXX_DiscardUnknown ¶
func (m *KeyProviderKeyWrapProtocolInput) XXX_DiscardUnknown()
func (*KeyProviderKeyWrapProtocolInput) XXX_Marshal ¶
func (m *KeyProviderKeyWrapProtocolInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KeyProviderKeyWrapProtocolInput) XXX_Merge ¶
func (m *KeyProviderKeyWrapProtocolInput) XXX_Merge(src proto.Message)
func (*KeyProviderKeyWrapProtocolInput) XXX_Size ¶
func (m *KeyProviderKeyWrapProtocolInput) XXX_Size() int
func (*KeyProviderKeyWrapProtocolInput) XXX_Unmarshal ¶
func (m *KeyProviderKeyWrapProtocolInput) XXX_Unmarshal(b []byte) error
type KeyProviderKeyWrapProtocolOutput ¶
type KeyProviderKeyWrapProtocolOutput struct { KeyProviderKeyWrapProtocolOutput []byte `protobuf:"bytes,1,opt,name=KeyProviderKeyWrapProtocolOutput,proto3" json:"KeyProviderKeyWrapProtocolOutput,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyProviderKeyWrapProtocolOutput) Descriptor ¶
func (*KeyProviderKeyWrapProtocolOutput) Descriptor() ([]byte, []int)
func (*KeyProviderKeyWrapProtocolOutput) GetKeyProviderKeyWrapProtocolOutput ¶
func (m *KeyProviderKeyWrapProtocolOutput) GetKeyProviderKeyWrapProtocolOutput() []byte
func (*KeyProviderKeyWrapProtocolOutput) ProtoMessage ¶
func (*KeyProviderKeyWrapProtocolOutput) ProtoMessage()
func (*KeyProviderKeyWrapProtocolOutput) Reset ¶
func (m *KeyProviderKeyWrapProtocolOutput) Reset()
func (*KeyProviderKeyWrapProtocolOutput) String ¶
func (m *KeyProviderKeyWrapProtocolOutput) String() string
func (*KeyProviderKeyWrapProtocolOutput) XXX_DiscardUnknown ¶
func (m *KeyProviderKeyWrapProtocolOutput) XXX_DiscardUnknown()
func (*KeyProviderKeyWrapProtocolOutput) XXX_Marshal ¶
func (m *KeyProviderKeyWrapProtocolOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KeyProviderKeyWrapProtocolOutput) XXX_Merge ¶
func (m *KeyProviderKeyWrapProtocolOutput) XXX_Merge(src proto.Message)
func (*KeyProviderKeyWrapProtocolOutput) XXX_Size ¶
func (m *KeyProviderKeyWrapProtocolOutput) XXX_Size() int
func (*KeyProviderKeyWrapProtocolOutput) XXX_Unmarshal ¶
func (m *KeyProviderKeyWrapProtocolOutput) XXX_Unmarshal(b []byte) error
type KeyProviderServiceClient ¶
type KeyProviderServiceClient interface { WrapKey(ctx context.Context, in *KeyProviderKeyWrapProtocolInput, opts ...grpc.CallOption) (*KeyProviderKeyWrapProtocolOutput, error) UnWrapKey(ctx context.Context, in *KeyProviderKeyWrapProtocolInput, opts ...grpc.CallOption) (*KeyProviderKeyWrapProtocolOutput, error) GetReport(ctx context.Context, in *KeyProviderGetReportInput, opts ...grpc.CallOption) (*KeyProviderGetReportOutput, error) SayHello(ctx context.Context, in *HelloRequest, opts ...grpc.CallOption) (*HelloReply, error) }
KeyProviderServiceClient is the client API for KeyProviderService 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 NewKeyProviderServiceClient ¶
func NewKeyProviderServiceClient(cc grpc.ClientConnInterface) KeyProviderServiceClient
type KeyProviderServiceServer ¶
type KeyProviderServiceServer interface { WrapKey(context.Context, *KeyProviderKeyWrapProtocolInput) (*KeyProviderKeyWrapProtocolOutput, error) UnWrapKey(context.Context, *KeyProviderKeyWrapProtocolInput) (*KeyProviderKeyWrapProtocolOutput, error) GetReport(context.Context, *KeyProviderGetReportInput) (*KeyProviderGetReportOutput, error) SayHello(context.Context, *HelloRequest) (*HelloReply, error) // contains filtered or unexported methods }
KeyProviderServiceServer is the server API for KeyProviderService service. All implementations must embed UnimplementedKeyProviderServiceServer for forward compatibility
type UnimplementedKeyProviderServiceServer ¶
type UnimplementedKeyProviderServiceServer struct { }
UnimplementedKeyProviderServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedKeyProviderServiceServer) GetReport ¶
func (UnimplementedKeyProviderServiceServer) GetReport(context.Context, *KeyProviderGetReportInput) (*KeyProviderGetReportOutput, error)
func (UnimplementedKeyProviderServiceServer) SayHello ¶
func (UnimplementedKeyProviderServiceServer) SayHello(context.Context, *HelloRequest) (*HelloReply, error)
type UnsafeKeyProviderServiceServer ¶
type UnsafeKeyProviderServiceServer interface {
// contains filtered or unexported methods
}
UnsafeKeyProviderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KeyProviderServiceServer will result in compilation errors.