Documentation ¶
Index ¶
- Variables
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type EnclaveKeyInfo
- func (*EnclaveKeyInfo) Descriptor() ([]byte, []int)
- func (m *EnclaveKeyInfo) Marshal() (dAtA []byte, err error)
- func (m *EnclaveKeyInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *EnclaveKeyInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EnclaveKeyInfo) ProtoMessage()
- func (m *EnclaveKeyInfo) Reset()
- func (m *EnclaveKeyInfo) Size() (n int)
- func (m *EnclaveKeyInfo) String() string
- func (m *EnclaveKeyInfo) Unmarshal(dAtA []byte) error
- func (m *EnclaveKeyInfo) XXX_DiscardUnknown()
- func (m *EnclaveKeyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EnclaveKeyInfo) XXX_Merge(src proto.Message)
- func (m *EnclaveKeyInfo) XXX_Size() int
- func (m *EnclaveKeyInfo) XXX_Unmarshal(b []byte) error
- type QueryAvailableEnclaveKeysRequest
- func (*QueryAvailableEnclaveKeysRequest) Descriptor() ([]byte, []int)
- func (m *QueryAvailableEnclaveKeysRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAvailableEnclaveKeysRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAvailableEnclaveKeysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAvailableEnclaveKeysRequest) ProtoMessage()
- func (m *QueryAvailableEnclaveKeysRequest) Reset()
- func (m *QueryAvailableEnclaveKeysRequest) Size() (n int)
- func (m *QueryAvailableEnclaveKeysRequest) String() string
- func (m *QueryAvailableEnclaveKeysRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAvailableEnclaveKeysRequest) XXX_DiscardUnknown()
- func (m *QueryAvailableEnclaveKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAvailableEnclaveKeysRequest) XXX_Merge(src proto.Message)
- func (m *QueryAvailableEnclaveKeysRequest) XXX_Size() int
- func (m *QueryAvailableEnclaveKeysRequest) XXX_Unmarshal(b []byte) error
- type QueryAvailableEnclaveKeysResponse
- func (*QueryAvailableEnclaveKeysResponse) Descriptor() ([]byte, []int)
- func (m *QueryAvailableEnclaveKeysResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAvailableEnclaveKeysResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAvailableEnclaveKeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAvailableEnclaveKeysResponse) ProtoMessage()
- func (m *QueryAvailableEnclaveKeysResponse) Reset()
- func (m *QueryAvailableEnclaveKeysResponse) Size() (n int)
- func (m *QueryAvailableEnclaveKeysResponse) String() string
- func (m *QueryAvailableEnclaveKeysResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAvailableEnclaveKeysResponse) XXX_DiscardUnknown()
- func (m *QueryAvailableEnclaveKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAvailableEnclaveKeysResponse) XXX_Merge(src proto.Message)
- func (m *QueryAvailableEnclaveKeysResponse) XXX_Size() int
- func (m *QueryAvailableEnclaveKeysResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryEnclaveKeyRequest
- func (*QueryEnclaveKeyRequest) Descriptor() ([]byte, []int)
- func (m *QueryEnclaveKeyRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEnclaveKeyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEnclaveKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEnclaveKeyRequest) ProtoMessage()
- func (m *QueryEnclaveKeyRequest) Reset()
- func (m *QueryEnclaveKeyRequest) Size() (n int)
- func (m *QueryEnclaveKeyRequest) String() string
- func (m *QueryEnclaveKeyRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEnclaveKeyRequest) XXX_DiscardUnknown()
- func (m *QueryEnclaveKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEnclaveKeyRequest) XXX_Merge(src proto.Message)
- func (m *QueryEnclaveKeyRequest) XXX_Size() int
- func (m *QueryEnclaveKeyRequest) XXX_Unmarshal(b []byte) error
- type QueryEnclaveKeyResponse
- func (*QueryEnclaveKeyResponse) Descriptor() ([]byte, []int)
- func (m *QueryEnclaveKeyResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEnclaveKeyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEnclaveKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEnclaveKeyResponse) ProtoMessage()
- func (m *QueryEnclaveKeyResponse) Reset()
- func (m *QueryEnclaveKeyResponse) Size() (n int)
- func (m *QueryEnclaveKeyResponse) String() string
- func (m *QueryEnclaveKeyResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEnclaveKeyResponse) XXX_DiscardUnknown()
- func (m *QueryEnclaveKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEnclaveKeyResponse) XXX_Merge(src proto.Message)
- func (m *QueryEnclaveKeyResponse) XXX_Size() int
- func (m *QueryEnclaveKeyResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedQueryServer
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type EnclaveKeyInfo ¶ added in v0.2.0
type EnclaveKeyInfo struct { EnclaveKeyAddress []byte `protobuf:"bytes,1,opt,name=enclave_key_address,json=enclaveKeyAddress,proto3" json:"enclave_key_address,omitempty"` AttestationTime uint64 `protobuf:"varint,2,opt,name=attestation_time,json=attestationTime,proto3" json:"attestation_time,omitempty"` Report string `protobuf:"bytes,3,opt,name=report,proto3" json:"report,omitempty"` Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` SigningCert []byte `protobuf:"bytes,5,opt,name=signing_cert,json=signingCert,proto3" json:"signing_cert,omitempty"` Extension []byte `protobuf:"bytes,6,opt,name=extension,proto3" json:"extension,omitempty"` }
func (*EnclaveKeyInfo) Descriptor ¶ added in v0.2.0
func (*EnclaveKeyInfo) Descriptor() ([]byte, []int)
func (*EnclaveKeyInfo) Marshal ¶ added in v0.2.0
func (m *EnclaveKeyInfo) Marshal() (dAtA []byte, err error)
func (*EnclaveKeyInfo) MarshalTo ¶ added in v0.2.0
func (m *EnclaveKeyInfo) MarshalTo(dAtA []byte) (int, error)
func (*EnclaveKeyInfo) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *EnclaveKeyInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EnclaveKeyInfo) ProtoMessage ¶ added in v0.2.0
func (*EnclaveKeyInfo) ProtoMessage()
func (*EnclaveKeyInfo) Reset ¶ added in v0.2.0
func (m *EnclaveKeyInfo) Reset()
func (*EnclaveKeyInfo) Size ¶ added in v0.2.0
func (m *EnclaveKeyInfo) Size() (n int)
func (*EnclaveKeyInfo) String ¶ added in v0.2.0
func (m *EnclaveKeyInfo) String() string
func (*EnclaveKeyInfo) Unmarshal ¶ added in v0.2.0
func (m *EnclaveKeyInfo) Unmarshal(dAtA []byte) error
func (*EnclaveKeyInfo) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *EnclaveKeyInfo) XXX_DiscardUnknown()
func (*EnclaveKeyInfo) XXX_Marshal ¶ added in v0.2.0
func (m *EnclaveKeyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EnclaveKeyInfo) XXX_Merge ¶ added in v0.2.0
func (m *EnclaveKeyInfo) XXX_Merge(src proto.Message)
func (*EnclaveKeyInfo) XXX_Size ¶ added in v0.2.0
func (m *EnclaveKeyInfo) XXX_Size() int
func (*EnclaveKeyInfo) XXX_Unmarshal ¶ added in v0.2.0
func (m *EnclaveKeyInfo) XXX_Unmarshal(b []byte) error
type QueryAvailableEnclaveKeysRequest ¶ added in v0.2.0
type QueryAvailableEnclaveKeysRequest struct {
Mrenclave []byte `protobuf:"bytes,1,opt,name=mrenclave,proto3" json:"mrenclave,omitempty"`
}
func (*QueryAvailableEnclaveKeysRequest) Descriptor ¶ added in v0.2.0
func (*QueryAvailableEnclaveKeysRequest) Descriptor() ([]byte, []int)
func (*QueryAvailableEnclaveKeysRequest) Marshal ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysRequest) Marshal() (dAtA []byte, err error)
func (*QueryAvailableEnclaveKeysRequest) MarshalTo ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAvailableEnclaveKeysRequest) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAvailableEnclaveKeysRequest) ProtoMessage ¶ added in v0.2.0
func (*QueryAvailableEnclaveKeysRequest) ProtoMessage()
func (*QueryAvailableEnclaveKeysRequest) Reset ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysRequest) Reset()
func (*QueryAvailableEnclaveKeysRequest) Size ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysRequest) Size() (n int)
func (*QueryAvailableEnclaveKeysRequest) String ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysRequest) String() string
func (*QueryAvailableEnclaveKeysRequest) Unmarshal ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysRequest) Unmarshal(dAtA []byte) error
func (*QueryAvailableEnclaveKeysRequest) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysRequest) XXX_DiscardUnknown()
func (*QueryAvailableEnclaveKeysRequest) XXX_Marshal ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAvailableEnclaveKeysRequest) XXX_Merge ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysRequest) XXX_Merge(src proto.Message)
func (*QueryAvailableEnclaveKeysRequest) XXX_Size ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysRequest) XXX_Size() int
func (*QueryAvailableEnclaveKeysRequest) XXX_Unmarshal ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysRequest) XXX_Unmarshal(b []byte) error
type QueryAvailableEnclaveKeysResponse ¶ added in v0.2.0
type QueryAvailableEnclaveKeysResponse struct {
Keys []*EnclaveKeyInfo `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
}
func (*QueryAvailableEnclaveKeysResponse) Descriptor ¶ added in v0.2.0
func (*QueryAvailableEnclaveKeysResponse) Descriptor() ([]byte, []int)
func (*QueryAvailableEnclaveKeysResponse) Marshal ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysResponse) Marshal() (dAtA []byte, err error)
func (*QueryAvailableEnclaveKeysResponse) MarshalTo ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAvailableEnclaveKeysResponse) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAvailableEnclaveKeysResponse) ProtoMessage ¶ added in v0.2.0
func (*QueryAvailableEnclaveKeysResponse) ProtoMessage()
func (*QueryAvailableEnclaveKeysResponse) Reset ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysResponse) Reset()
func (*QueryAvailableEnclaveKeysResponse) Size ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysResponse) Size() (n int)
func (*QueryAvailableEnclaveKeysResponse) String ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysResponse) String() string
func (*QueryAvailableEnclaveKeysResponse) Unmarshal ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysResponse) Unmarshal(dAtA []byte) error
func (*QueryAvailableEnclaveKeysResponse) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysResponse) XXX_DiscardUnknown()
func (*QueryAvailableEnclaveKeysResponse) XXX_Marshal ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAvailableEnclaveKeysResponse) XXX_Merge ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysResponse) XXX_Merge(src proto.Message)
func (*QueryAvailableEnclaveKeysResponse) XXX_Size ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysResponse) XXX_Size() int
func (*QueryAvailableEnclaveKeysResponse) XXX_Unmarshal ¶ added in v0.2.0
func (m *QueryAvailableEnclaveKeysResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { AvailableEnclaveKeys(ctx context.Context, in *QueryAvailableEnclaveKeysRequest, opts ...grpc.CallOption) (*QueryAvailableEnclaveKeysResponse, error) EnclaveKey(ctx context.Context, in *QueryEnclaveKeyRequest, opts ...grpc.CallOption) (*QueryEnclaveKeyResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryEnclaveKeyRequest ¶ added in v0.2.0
type QueryEnclaveKeyRequest struct {
EnclaveKeyAddress []byte `protobuf:"bytes,1,opt,name=enclave_key_address,json=enclaveKeyAddress,proto3" json:"enclave_key_address,omitempty"`
}
func (*QueryEnclaveKeyRequest) Descriptor ¶ added in v0.2.0
func (*QueryEnclaveKeyRequest) Descriptor() ([]byte, []int)
func (*QueryEnclaveKeyRequest) Marshal ¶ added in v0.2.0
func (m *QueryEnclaveKeyRequest) Marshal() (dAtA []byte, err error)
func (*QueryEnclaveKeyRequest) MarshalTo ¶ added in v0.2.0
func (m *QueryEnclaveKeyRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryEnclaveKeyRequest) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *QueryEnclaveKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEnclaveKeyRequest) ProtoMessage ¶ added in v0.2.0
func (*QueryEnclaveKeyRequest) ProtoMessage()
func (*QueryEnclaveKeyRequest) Reset ¶ added in v0.2.0
func (m *QueryEnclaveKeyRequest) Reset()
func (*QueryEnclaveKeyRequest) Size ¶ added in v0.2.0
func (m *QueryEnclaveKeyRequest) Size() (n int)
func (*QueryEnclaveKeyRequest) String ¶ added in v0.2.0
func (m *QueryEnclaveKeyRequest) String() string
func (*QueryEnclaveKeyRequest) Unmarshal ¶ added in v0.2.0
func (m *QueryEnclaveKeyRequest) Unmarshal(dAtA []byte) error
func (*QueryEnclaveKeyRequest) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *QueryEnclaveKeyRequest) XXX_DiscardUnknown()
func (*QueryEnclaveKeyRequest) XXX_Marshal ¶ added in v0.2.0
func (m *QueryEnclaveKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEnclaveKeyRequest) XXX_Merge ¶ added in v0.2.0
func (m *QueryEnclaveKeyRequest) XXX_Merge(src proto.Message)
func (*QueryEnclaveKeyRequest) XXX_Size ¶ added in v0.2.0
func (m *QueryEnclaveKeyRequest) XXX_Size() int
func (*QueryEnclaveKeyRequest) XXX_Unmarshal ¶ added in v0.2.0
func (m *QueryEnclaveKeyRequest) XXX_Unmarshal(b []byte) error
type QueryEnclaveKeyResponse ¶ added in v0.2.0
type QueryEnclaveKeyResponse struct {
Key *EnclaveKeyInfo `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
}
func (*QueryEnclaveKeyResponse) Descriptor ¶ added in v0.2.0
func (*QueryEnclaveKeyResponse) Descriptor() ([]byte, []int)
func (*QueryEnclaveKeyResponse) Marshal ¶ added in v0.2.0
func (m *QueryEnclaveKeyResponse) Marshal() (dAtA []byte, err error)
func (*QueryEnclaveKeyResponse) MarshalTo ¶ added in v0.2.0
func (m *QueryEnclaveKeyResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEnclaveKeyResponse) MarshalToSizedBuffer ¶ added in v0.2.0
func (m *QueryEnclaveKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEnclaveKeyResponse) ProtoMessage ¶ added in v0.2.0
func (*QueryEnclaveKeyResponse) ProtoMessage()
func (*QueryEnclaveKeyResponse) Reset ¶ added in v0.2.0
func (m *QueryEnclaveKeyResponse) Reset()
func (*QueryEnclaveKeyResponse) Size ¶ added in v0.2.0
func (m *QueryEnclaveKeyResponse) Size() (n int)
func (*QueryEnclaveKeyResponse) String ¶ added in v0.2.0
func (m *QueryEnclaveKeyResponse) String() string
func (*QueryEnclaveKeyResponse) Unmarshal ¶ added in v0.2.0
func (m *QueryEnclaveKeyResponse) Unmarshal(dAtA []byte) error
func (*QueryEnclaveKeyResponse) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *QueryEnclaveKeyResponse) XXX_DiscardUnknown()
func (*QueryEnclaveKeyResponse) XXX_Marshal ¶ added in v0.2.0
func (m *QueryEnclaveKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEnclaveKeyResponse) XXX_Merge ¶ added in v0.2.0
func (m *QueryEnclaveKeyResponse) XXX_Merge(src proto.Message)
func (*QueryEnclaveKeyResponse) XXX_Size ¶ added in v0.2.0
func (m *QueryEnclaveKeyResponse) XXX_Size() int
func (*QueryEnclaveKeyResponse) XXX_Unmarshal ¶ added in v0.2.0
func (m *QueryEnclaveKeyResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { AvailableEnclaveKeys(context.Context, *QueryAvailableEnclaveKeysRequest) (*QueryAvailableEnclaveKeysResponse, error) EnclaveKey(context.Context, *QueryEnclaveKeyRequest) (*QueryEnclaveKeyResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AvailableEnclaveKeys ¶ added in v0.2.0
func (*UnimplementedQueryServer) AvailableEnclaveKeys(ctx context.Context, req *QueryAvailableEnclaveKeysRequest) (*QueryAvailableEnclaveKeysResponse, error)
func (*UnimplementedQueryServer) EnclaveKey ¶ added in v0.2.0
func (*UnimplementedQueryServer) EnclaveKey(ctx context.Context, req *QueryEnclaveKeyRequest) (*QueryEnclaveKeyResponse, error)
Click to show internal directories.
Click to hide internal directories.