Documentation ¶
Overview ¶
Package pb is a generated protocol buffer package.
Version 1.0 ¶
It is generated from these files:
eapi.proto
It has these top-level messages:
ResolveHashParams ResolveHashResponse InspectParams InspectResponse ListLocationsParams ListLocationsResponse CreateEntityParams CreateEntityResponse Entity CreateAttestationParams ResyncPerspectiveGraphParams ResyncPerspectiveGraphResponse SyncParams SyncResponse StorageDriverStatus CreateAttestationResponse PublishEntityParams PublishEntityResponse PublishAttestationParams PublishAttestationResponse AddAttestationParams AddAttestationResponse LookupAttestationsParams LookupAttestationsResponse Error Perspective Location LocationURI EntitySecret Attestation AttestationBody AttestationValidity EntityValidity Policy TrustLevelPolicy RTreePolicy RTreePolicyStatement BuildRTreeParams BuildRTreeResponse VerifyProofParams VerifyProofResponse Proof ProofPath
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- func RegisterWAVEHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterWAVEHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WAVEClient) error
- func RegisterWAVEHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterWAVEServer(s *grpc.Server, srv WAVEServer)
- type AddAttestationParams
- func (*AddAttestationParams) Descriptor() ([]byte, []int)
- func (m *AddAttestationParams) GetDER() []byte
- func (m *AddAttestationParams) GetPerspective() *Perspective
- func (m *AddAttestationParams) GetProverKey() []byte
- func (*AddAttestationParams) ProtoMessage()
- func (m *AddAttestationParams) Reset()
- func (m *AddAttestationParams) String() string
- type AddAttestationResponse
- type Attestation
- func (*Attestation) Descriptor() ([]byte, []int)
- func (m *Attestation) GetBody() *AttestationBody
- func (m *Attestation) GetDER() []byte
- func (m *Attestation) GetHash() []byte
- func (m *Attestation) GetPartition() [][]byte
- func (m *Attestation) GetProverKey() []byte
- func (m *Attestation) GetSubjectHash() []byte
- func (m *Attestation) GetSubjectLocation() *Location
- func (m *Attestation) GetValidity() *AttestationValidity
- func (m *Attestation) GetVerifierKey() []byte
- func (*Attestation) ProtoMessage()
- func (m *Attestation) Reset()
- func (m *Attestation) String() string
- type AttestationBody
- func (*AttestationBody) Descriptor() ([]byte, []int)
- func (m *AttestationBody) GetAttesterHash() []byte
- func (m *AttestationBody) GetAttesterLocation() *Location
- func (m *AttestationBody) GetDecodedBodyDER() []byte
- func (m *AttestationBody) GetPolicy() *Policy
- func (m *AttestationBody) GetValidFrom() int64
- func (m *AttestationBody) GetValidUntil() int64
- func (*AttestationBody) ProtoMessage()
- func (m *AttestationBody) Reset()
- func (m *AttestationBody) String() string
- type AttestationValidity
- func (*AttestationValidity) Descriptor() ([]byte, []int)
- func (m *AttestationValidity) GetDstInvalid() bool
- func (m *AttestationValidity) GetExpired() bool
- func (m *AttestationValidity) GetMalformed() bool
- func (m *AttestationValidity) GetMessage() string
- func (m *AttestationValidity) GetNotDecrypted() bool
- func (m *AttestationValidity) GetRevoked() bool
- func (m *AttestationValidity) GetSrcInvalid() bool
- func (m *AttestationValidity) GetValid() bool
- func (*AttestationValidity) ProtoMessage()
- func (m *AttestationValidity) Reset()
- func (m *AttestationValidity) String() string
- type BuildRTreeParams
- func (*BuildRTreeParams) Descriptor() ([]byte, []int)
- func (m *BuildRTreeParams) GetPerspective() *Perspective
- func (m *BuildRTreeParams) GetRtreeNamespace() []byte
- func (m *BuildRTreeParams) GetStatements() []*RTreePolicyStatement
- func (m *BuildRTreeParams) GetSubjectHash() []byte
- func (*BuildRTreeParams) ProtoMessage()
- func (m *BuildRTreeParams) Reset()
- func (m *BuildRTreeParams) String() string
- type BuildRTreeResponse
- func (*BuildRTreeResponse) Descriptor() ([]byte, []int)
- func (m *BuildRTreeResponse) GetError() *Error
- func (m *BuildRTreeResponse) GetProofDER() []byte
- func (m *BuildRTreeResponse) GetResult() *Proof
- func (*BuildRTreeResponse) ProtoMessage()
- func (m *BuildRTreeResponse) Reset()
- func (m *BuildRTreeResponse) String() string
- type CreateAttestationParams
- func (*CreateAttestationParams) Descriptor() ([]byte, []int)
- func (m *CreateAttestationParams) GetBodyScheme() string
- func (m *CreateAttestationParams) GetPerspective() *Perspective
- func (m *CreateAttestationParams) GetPolicy() *Policy
- func (m *CreateAttestationParams) GetSubjectHash() []byte
- func (m *CreateAttestationParams) GetSubjectLocation() *Location
- func (m *CreateAttestationParams) GetValidFrom() int64
- func (m *CreateAttestationParams) GetValidUntil() int64
- func (*CreateAttestationParams) ProtoMessage()
- func (m *CreateAttestationParams) Reset()
- func (m *CreateAttestationParams) String() string
- type CreateAttestationResponse
- func (*CreateAttestationResponse) Descriptor() ([]byte, []int)
- func (m *CreateAttestationResponse) GetDER() []byte
- func (m *CreateAttestationResponse) GetError() *Error
- func (m *CreateAttestationResponse) GetHash() []byte
- func (m *CreateAttestationResponse) GetProverKey() []byte
- func (m *CreateAttestationResponse) GetVerifierKey() []byte
- func (*CreateAttestationResponse) ProtoMessage()
- func (m *CreateAttestationResponse) Reset()
- func (m *CreateAttestationResponse) String() string
- type CreateEntityParams
- func (*CreateEntityParams) Descriptor() ([]byte, []int)
- func (m *CreateEntityParams) GetRevocationLocation() *Location
- func (m *CreateEntityParams) GetSecretPassphrase() string
- func (m *CreateEntityParams) GetValidFrom() int64
- func (m *CreateEntityParams) GetValidUntil() int64
- func (*CreateEntityParams) ProtoMessage()
- func (m *CreateEntityParams) Reset()
- func (m *CreateEntityParams) String() string
- type CreateEntityResponse
- func (*CreateEntityResponse) Descriptor() ([]byte, []int)
- func (m *CreateEntityResponse) GetError() *Error
- func (m *CreateEntityResponse) GetHash() []byte
- func (m *CreateEntityResponse) GetPublicDER() []byte
- func (m *CreateEntityResponse) GetSecretDER() []byte
- func (*CreateEntityResponse) ProtoMessage()
- func (m *CreateEntityResponse) Reset()
- func (m *CreateEntityResponse) String() string
- type Entity
- type EntitySecret
- type EntityValidity
- func (*EntityValidity) Descriptor() ([]byte, []int)
- func (m *EntityValidity) GetExpired() bool
- func (m *EntityValidity) GetMalformed() bool
- func (m *EntityValidity) GetMessage() string
- func (m *EntityValidity) GetRevoked() bool
- func (m *EntityValidity) GetValid() bool
- func (*EntityValidity) ProtoMessage()
- func (m *EntityValidity) Reset()
- func (m *EntityValidity) String() string
- type Error
- type InspectParams
- type InspectResponse
- func (*InspectResponse) Descriptor() ([]byte, []int)
- func (m *InspectResponse) GetAttestation() *Attestation
- func (m *InspectResponse) GetEntity() *Entity
- func (m *InspectResponse) GetError() *Error
- func (*InspectResponse) ProtoMessage()
- func (m *InspectResponse) Reset()
- func (m *InspectResponse) String() string
- type ListLocationsParams
- type ListLocationsResponse
- func (*ListLocationsResponse) Descriptor() ([]byte, []int)
- func (m *ListLocationsResponse) GetAgentLocations() map[string]*Location
- func (m *ListLocationsResponse) GetError() *Error
- func (*ListLocationsResponse) ProtoMessage()
- func (m *ListLocationsResponse) Reset()
- func (m *ListLocationsResponse) String() string
- type Location
- type LocationURI
- type LookupAttestationsParams
- func (*LookupAttestationsParams) Descriptor() ([]byte, []int)
- func (m *LookupAttestationsParams) GetFromEntity() []byte
- func (m *LookupAttestationsParams) GetPerspective() *Perspective
- func (m *LookupAttestationsParams) GetToEntity() []byte
- func (*LookupAttestationsParams) ProtoMessage()
- func (m *LookupAttestationsParams) Reset()
- func (m *LookupAttestationsParams) String() string
- type LookupAttestationsResponse
- func (*LookupAttestationsResponse) Descriptor() ([]byte, []int)
- func (m *LookupAttestationsResponse) GetError() *Error
- func (m *LookupAttestationsResponse) GetResults() []*Attestation
- func (*LookupAttestationsResponse) ProtoMessage()
- func (m *LookupAttestationsResponse) Reset()
- func (m *LookupAttestationsResponse) String() string
- type Perspective
- type Policy
- type Proof
- func (*Proof) Descriptor() ([]byte, []int)
- func (m *Proof) GetElements() []*Attestation
- func (m *Proof) GetExpiry() int64
- func (m *Proof) GetPaths() []*ProofPath
- func (m *Proof) GetPolicy() *Policy
- func (m *Proof) GetSubject() []byte
- func (m *Proof) GetSubjectLocation() *Location
- func (*Proof) ProtoMessage()
- func (m *Proof) Reset()
- func (m *Proof) String() string
- type ProofPath
- type PublishAttestationParams
- func (*PublishAttestationParams) Descriptor() ([]byte, []int)
- func (m *PublishAttestationParams) GetDER() []byte
- func (m *PublishAttestationParams) GetLocation() *Location
- func (*PublishAttestationParams) ProtoMessage()
- func (m *PublishAttestationParams) Reset()
- func (m *PublishAttestationParams) String() string
- type PublishAttestationResponse
- func (*PublishAttestationResponse) Descriptor() ([]byte, []int)
- func (m *PublishAttestationResponse) GetError() *Error
- func (m *PublishAttestationResponse) GetHash() []byte
- func (*PublishAttestationResponse) ProtoMessage()
- func (m *PublishAttestationResponse) Reset()
- func (m *PublishAttestationResponse) String() string
- type PublishEntityParams
- type PublishEntityResponse
- type RTreePolicy
- func (*RTreePolicy) Descriptor() ([]byte, []int)
- func (m *RTreePolicy) GetIndirections() uint32
- func (m *RTreePolicy) GetNamespace() []byte
- func (m *RTreePolicy) GetStatements() []*RTreePolicyStatement
- func (m *RTreePolicy) GetVisibilityURI() [][]byte
- func (*RTreePolicy) ProtoMessage()
- func (m *RTreePolicy) Reset()
- func (m *RTreePolicy) String() string
- type RTreePolicyStatement
- func (*RTreePolicyStatement) Descriptor() ([]byte, []int)
- func (m *RTreePolicyStatement) GetPermissionSet() []byte
- func (m *RTreePolicyStatement) GetPermissions() []string
- func (m *RTreePolicyStatement) GetResource() string
- func (*RTreePolicyStatement) ProtoMessage()
- func (m *RTreePolicyStatement) Reset()
- func (m *RTreePolicyStatement) String() string
- type ResolveHashParams
- type ResolveHashResponse
- func (*ResolveHashResponse) Descriptor() ([]byte, []int)
- func (m *ResolveHashResponse) GetAttestation() *Attestation
- func (m *ResolveHashResponse) GetEntity() *Entity
- func (m *ResolveHashResponse) GetError() *Error
- func (m *ResolveHashResponse) GetLocation() *Location
- func (*ResolveHashResponse) ProtoMessage()
- func (m *ResolveHashResponse) Reset()
- func (m *ResolveHashResponse) String() string
- type ResyncPerspectiveGraphParams
- type ResyncPerspectiveGraphResponse
- type StorageDriverStatus
- type SyncParams
- type SyncResponse
- func (*SyncResponse) Descriptor() ([]byte, []int)
- func (m *SyncResponse) GetCompletedSyncs() int64
- func (m *SyncResponse) GetError() *Error
- func (m *SyncResponse) GetStorageStatus() map[string]*StorageDriverStatus
- func (m *SyncResponse) GetTotalSyncRequests() int64
- func (*SyncResponse) ProtoMessage()
- func (m *SyncResponse) Reset()
- func (m *SyncResponse) String() string
- type TrustLevelPolicy
- type VerifyProofParams
- type VerifyProofResponse
- type WAVEClient
- type WAVEServer
- type WAVE_WaitForSyncCompleteClient
- type WAVE_WaitForSyncCompleteServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterWAVEHandler ¶ added in v0.1.1
RegisterWAVEHandler registers the http handlers for service WAVE to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterWAVEHandlerClient ¶ added in v0.1.1
RegisterWAVEHandler registers the http handlers for service WAVE to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "WAVEClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "WAVEClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "WAVEClient" to call the correct interceptors.
func RegisterWAVEHandlerFromEndpoint ¶ added in v0.1.1
func RegisterWAVEHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterWAVEHandlerFromEndpoint is same as RegisterWAVEHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterWAVEServer ¶
func RegisterWAVEServer(s *grpc.Server, srv WAVEServer)
Types ¶
type AddAttestationParams ¶
type AddAttestationParams struct { Perspective *Perspective `protobuf:"bytes,1,opt,name=perspective" json:"perspective,omitempty"` DER []byte `protobuf:"bytes,2,opt,name=DER,json=dER,proto3" json:"DER,omitempty"` ProverKey []byte `protobuf:"bytes,3,opt,name=proverKey,proto3" json:"proverKey,omitempty"` }
func (*AddAttestationParams) Descriptor ¶
func (*AddAttestationParams) Descriptor() ([]byte, []int)
func (*AddAttestationParams) GetDER ¶
func (m *AddAttestationParams) GetDER() []byte
func (*AddAttestationParams) GetPerspective ¶
func (m *AddAttestationParams) GetPerspective() *Perspective
func (*AddAttestationParams) GetProverKey ¶
func (m *AddAttestationParams) GetProverKey() []byte
func (*AddAttestationParams) ProtoMessage ¶
func (*AddAttestationParams) ProtoMessage()
func (*AddAttestationParams) Reset ¶
func (m *AddAttestationParams) Reset()
func (*AddAttestationParams) String ¶
func (m *AddAttestationParams) String() string
type AddAttestationResponse ¶
type AddAttestationResponse struct {
Error *Error `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
}
func (*AddAttestationResponse) Descriptor ¶
func (*AddAttestationResponse) Descriptor() ([]byte, []int)
func (*AddAttestationResponse) GetError ¶
func (m *AddAttestationResponse) GetError() *Error
func (*AddAttestationResponse) ProtoMessage ¶
func (*AddAttestationResponse) ProtoMessage()
func (*AddAttestationResponse) Reset ¶
func (m *AddAttestationResponse) Reset()
func (*AddAttestationResponse) String ¶
func (m *AddAttestationResponse) String() string
type Attestation ¶
type Attestation struct { DER []byte `protobuf:"bytes,1,opt,name=DER,json=dER,proto3" json:"DER,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` Body *AttestationBody `protobuf:"bytes,3,opt,name=body" json:"body,omitempty"` VerifierKey []byte `protobuf:"bytes,4,opt,name=verifierKey,proto3" json:"verifierKey,omitempty"` ProverKey []byte `protobuf:"bytes,5,opt,name=proverKey,proto3" json:"proverKey,omitempty"` SubjectHash []byte `protobuf:"bytes,6,opt,name=subjectHash,proto3" json:"subjectHash,omitempty"` SubjectLocation *Location `protobuf:"bytes,7,opt,name=subjectLocation" json:"subjectLocation,omitempty"` Validity *AttestationValidity `protobuf:"bytes,8,opt,name=validity" json:"validity,omitempty"` Partition [][]byte `protobuf:"bytes,9,rep,name=partition,proto3" json:"partition,omitempty"` }
func (*Attestation) Descriptor ¶
func (*Attestation) Descriptor() ([]byte, []int)
func (*Attestation) GetBody ¶
func (m *Attestation) GetBody() *AttestationBody
func (*Attestation) GetDER ¶
func (m *Attestation) GetDER() []byte
func (*Attestation) GetHash ¶
func (m *Attestation) GetHash() []byte
func (*Attestation) GetPartition ¶
func (m *Attestation) GetPartition() [][]byte
func (*Attestation) GetProverKey ¶
func (m *Attestation) GetProverKey() []byte
func (*Attestation) GetSubjectHash ¶
func (m *Attestation) GetSubjectHash() []byte
func (*Attestation) GetSubjectLocation ¶
func (m *Attestation) GetSubjectLocation() *Location
func (*Attestation) GetValidity ¶
func (m *Attestation) GetValidity() *AttestationValidity
func (*Attestation) GetVerifierKey ¶
func (m *Attestation) GetVerifierKey() []byte
func (*Attestation) ProtoMessage ¶
func (*Attestation) ProtoMessage()
func (*Attestation) Reset ¶
func (m *Attestation) Reset()
func (*Attestation) String ¶
func (m *Attestation) String() string
type AttestationBody ¶
type AttestationBody struct { DecodedBodyDER []byte `protobuf:"bytes,1,opt,name=DecodedBodyDER,json=decodedBodyDER,proto3" json:"DecodedBodyDER,omitempty"` AttesterHash []byte `protobuf:"bytes,2,opt,name=attesterHash,proto3" json:"attesterHash,omitempty"` AttesterLocation *Location `protobuf:"bytes,3,opt,name=attesterLocation" json:"attesterLocation,omitempty"` Policy *Policy `protobuf:"bytes,4,opt,name=policy" json:"policy,omitempty"` ValidFrom int64 `protobuf:"varint,5,opt,name=validFrom" json:"validFrom,omitempty"` ValidUntil int64 `protobuf:"varint,6,opt,name=validUntil" json:"validUntil,omitempty"` }
func (*AttestationBody) Descriptor ¶
func (*AttestationBody) Descriptor() ([]byte, []int)
func (*AttestationBody) GetAttesterHash ¶
func (m *AttestationBody) GetAttesterHash() []byte
func (*AttestationBody) GetAttesterLocation ¶
func (m *AttestationBody) GetAttesterLocation() *Location
func (*AttestationBody) GetDecodedBodyDER ¶
func (m *AttestationBody) GetDecodedBodyDER() []byte
func (*AttestationBody) GetPolicy ¶
func (m *AttestationBody) GetPolicy() *Policy
func (*AttestationBody) GetValidFrom ¶
func (m *AttestationBody) GetValidFrom() int64
func (*AttestationBody) GetValidUntil ¶
func (m *AttestationBody) GetValidUntil() int64
func (*AttestationBody) ProtoMessage ¶
func (*AttestationBody) ProtoMessage()
func (*AttestationBody) Reset ¶
func (m *AttestationBody) Reset()
func (*AttestationBody) String ¶
func (m *AttestationBody) String() string
type AttestationValidity ¶
type AttestationValidity struct { Valid bool `protobuf:"varint,1,opt,name=valid" json:"valid,omitempty"` Revoked bool `protobuf:"varint,2,opt,name=revoked" json:"revoked,omitempty"` Expired bool `protobuf:"varint,3,opt,name=expired" json:"expired,omitempty"` Malformed bool `protobuf:"varint,4,opt,name=malformed" json:"malformed,omitempty"` NotDecrypted bool `protobuf:"varint,5,opt,name=notDecrypted" json:"notDecrypted,omitempty"` SrcInvalid bool `protobuf:"varint,6,opt,name=srcInvalid" json:"srcInvalid,omitempty"` DstInvalid bool `protobuf:"varint,7,opt,name=dstInvalid" json:"dstInvalid,omitempty"` Message string `protobuf:"bytes,8,opt,name=message" json:"message,omitempty"` }
func (*AttestationValidity) Descriptor ¶
func (*AttestationValidity) Descriptor() ([]byte, []int)
func (*AttestationValidity) GetDstInvalid ¶
func (m *AttestationValidity) GetDstInvalid() bool
func (*AttestationValidity) GetExpired ¶
func (m *AttestationValidity) GetExpired() bool
func (*AttestationValidity) GetMalformed ¶
func (m *AttestationValidity) GetMalformed() bool
func (*AttestationValidity) GetMessage ¶
func (m *AttestationValidity) GetMessage() string
func (*AttestationValidity) GetNotDecrypted ¶
func (m *AttestationValidity) GetNotDecrypted() bool
func (*AttestationValidity) GetRevoked ¶
func (m *AttestationValidity) GetRevoked() bool
func (*AttestationValidity) GetSrcInvalid ¶
func (m *AttestationValidity) GetSrcInvalid() bool
func (*AttestationValidity) GetValid ¶
func (m *AttestationValidity) GetValid() bool
func (*AttestationValidity) ProtoMessage ¶
func (*AttestationValidity) ProtoMessage()
func (*AttestationValidity) Reset ¶
func (m *AttestationValidity) Reset()
func (*AttestationValidity) String ¶
func (m *AttestationValidity) String() string
type BuildRTreeParams ¶
type BuildRTreeParams struct { Perspective *Perspective `protobuf:"bytes,1,opt,name=perspective" json:"perspective,omitempty"` SubjectHash []byte `protobuf:"bytes,2,opt,name=subjectHash,proto3" json:"subjectHash,omitempty"` RtreeNamespace []byte `protobuf:"bytes,3,opt,name=rtreeNamespace,proto3" json:"rtreeNamespace,omitempty"` Statements []*RTreePolicyStatement `protobuf:"bytes,4,rep,name=statements" json:"statements,omitempty"` }
func (*BuildRTreeParams) Descriptor ¶
func (*BuildRTreeParams) Descriptor() ([]byte, []int)
func (*BuildRTreeParams) GetPerspective ¶
func (m *BuildRTreeParams) GetPerspective() *Perspective
func (*BuildRTreeParams) GetRtreeNamespace ¶
func (m *BuildRTreeParams) GetRtreeNamespace() []byte
func (*BuildRTreeParams) GetStatements ¶
func (m *BuildRTreeParams) GetStatements() []*RTreePolicyStatement
func (*BuildRTreeParams) GetSubjectHash ¶
func (m *BuildRTreeParams) GetSubjectHash() []byte
func (*BuildRTreeParams) ProtoMessage ¶
func (*BuildRTreeParams) ProtoMessage()
func (*BuildRTreeParams) Reset ¶
func (m *BuildRTreeParams) Reset()
func (*BuildRTreeParams) String ¶
func (m *BuildRTreeParams) String() string
type BuildRTreeResponse ¶
type BuildRTreeResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` Result *Proof `protobuf:"bytes,2,opt,name=result" json:"result,omitempty"` ProofDER []byte `protobuf:"bytes,3,opt,name=proofDER,proto3" json:"proofDER,omitempty"` }
func (*BuildRTreeResponse) Descriptor ¶
func (*BuildRTreeResponse) Descriptor() ([]byte, []int)
func (*BuildRTreeResponse) GetError ¶
func (m *BuildRTreeResponse) GetError() *Error
func (*BuildRTreeResponse) GetProofDER ¶
func (m *BuildRTreeResponse) GetProofDER() []byte
func (*BuildRTreeResponse) GetResult ¶
func (m *BuildRTreeResponse) GetResult() *Proof
func (*BuildRTreeResponse) ProtoMessage ¶
func (*BuildRTreeResponse) ProtoMessage()
func (*BuildRTreeResponse) Reset ¶
func (m *BuildRTreeResponse) Reset()
func (*BuildRTreeResponse) String ¶
func (m *BuildRTreeResponse) String() string
type CreateAttestationParams ¶
type CreateAttestationParams struct { Perspective *Perspective `protobuf:"bytes,1,opt,name=perspective" json:"perspective,omitempty"` BodyScheme string `protobuf:"bytes,2,opt,name=bodyScheme" json:"bodyScheme,omitempty"` SubjectHash []byte `protobuf:"bytes,3,opt,name=subjectHash,proto3" json:"subjectHash,omitempty"` SubjectLocation *Location `protobuf:"bytes,4,opt,name=subjectLocation" json:"subjectLocation,omitempty"` // If 0, will be set to time.Now ValidFrom int64 `protobuf:"varint,5,opt,name=validFrom" json:"validFrom,omitempty"` // If 0, will be set to some arbitrary default ValidUntil int64 `protobuf:"varint,6,opt,name=validUntil" json:"validUntil,omitempty"` Policy *Policy `protobuf:"bytes,7,opt,name=policy" json:"policy,omitempty"` }
func (*CreateAttestationParams) Descriptor ¶
func (*CreateAttestationParams) Descriptor() ([]byte, []int)
func (*CreateAttestationParams) GetBodyScheme ¶
func (m *CreateAttestationParams) GetBodyScheme() string
func (*CreateAttestationParams) GetPerspective ¶
func (m *CreateAttestationParams) GetPerspective() *Perspective
func (*CreateAttestationParams) GetPolicy ¶
func (m *CreateAttestationParams) GetPolicy() *Policy
func (*CreateAttestationParams) GetSubjectHash ¶
func (m *CreateAttestationParams) GetSubjectHash() []byte
func (*CreateAttestationParams) GetSubjectLocation ¶
func (m *CreateAttestationParams) GetSubjectLocation() *Location
func (*CreateAttestationParams) GetValidFrom ¶
func (m *CreateAttestationParams) GetValidFrom() int64
func (*CreateAttestationParams) GetValidUntil ¶
func (m *CreateAttestationParams) GetValidUntil() int64
func (*CreateAttestationParams) ProtoMessage ¶
func (*CreateAttestationParams) ProtoMessage()
func (*CreateAttestationParams) Reset ¶
func (m *CreateAttestationParams) Reset()
func (*CreateAttestationParams) String ¶
func (m *CreateAttestationParams) String() string
type CreateAttestationResponse ¶
type CreateAttestationResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` DER []byte `protobuf:"bytes,2,opt,name=DER,json=dER,proto3" json:"DER,omitempty"` VerifierKey []byte `protobuf:"bytes,3,opt,name=verifierKey,proto3" json:"verifierKey,omitempty"` ProverKey []byte `protobuf:"bytes,4,opt,name=proverKey,proto3" json:"proverKey,omitempty"` Hash []byte `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"` }
func (*CreateAttestationResponse) Descriptor ¶
func (*CreateAttestationResponse) Descriptor() ([]byte, []int)
func (*CreateAttestationResponse) GetDER ¶
func (m *CreateAttestationResponse) GetDER() []byte
func (*CreateAttestationResponse) GetError ¶
func (m *CreateAttestationResponse) GetError() *Error
func (*CreateAttestationResponse) GetHash ¶
func (m *CreateAttestationResponse) GetHash() []byte
func (*CreateAttestationResponse) GetProverKey ¶
func (m *CreateAttestationResponse) GetProverKey() []byte
func (*CreateAttestationResponse) GetVerifierKey ¶
func (m *CreateAttestationResponse) GetVerifierKey() []byte
func (*CreateAttestationResponse) ProtoMessage ¶
func (*CreateAttestationResponse) ProtoMessage()
func (*CreateAttestationResponse) Reset ¶
func (m *CreateAttestationResponse) Reset()
func (*CreateAttestationResponse) String ¶
func (m *CreateAttestationResponse) String() string
type CreateEntityParams ¶
type CreateEntityParams struct { // Milliseconds since the epoch ValidFrom int64 `protobuf:"varint,1,opt,name=validFrom" json:"validFrom,omitempty"` ValidUntil int64 `protobuf:"varint,2,opt,name=validUntil" json:"validUntil,omitempty"` RevocationLocation *Location `protobuf:"bytes,3,opt,name=revocationLocation" json:"revocationLocation,omitempty"` SecretPassphrase string `protobuf:"bytes,4,opt,name=SecretPassphrase,json=secretPassphrase" json:"SecretPassphrase,omitempty"` }
func (*CreateEntityParams) Descriptor ¶
func (*CreateEntityParams) Descriptor() ([]byte, []int)
func (*CreateEntityParams) GetRevocationLocation ¶
func (m *CreateEntityParams) GetRevocationLocation() *Location
func (*CreateEntityParams) GetSecretPassphrase ¶
func (m *CreateEntityParams) GetSecretPassphrase() string
func (*CreateEntityParams) GetValidFrom ¶
func (m *CreateEntityParams) GetValidFrom() int64
func (*CreateEntityParams) GetValidUntil ¶
func (m *CreateEntityParams) GetValidUntil() int64
func (*CreateEntityParams) ProtoMessage ¶
func (*CreateEntityParams) ProtoMessage()
func (*CreateEntityParams) Reset ¶
func (m *CreateEntityParams) Reset()
func (*CreateEntityParams) String ¶
func (m *CreateEntityParams) String() string
type CreateEntityResponse ¶
type CreateEntityResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` PublicDER []byte `protobuf:"bytes,2,opt,name=PublicDER,json=publicDER,proto3" json:"PublicDER,omitempty"` SecretDER []byte `protobuf:"bytes,3,opt,name=SecretDER,json=secretDER,proto3" json:"SecretDER,omitempty"` Hash []byte `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` }
func (*CreateEntityResponse) Descriptor ¶
func (*CreateEntityResponse) Descriptor() ([]byte, []int)
func (*CreateEntityResponse) GetError ¶
func (m *CreateEntityResponse) GetError() *Error
func (*CreateEntityResponse) GetHash ¶
func (m *CreateEntityResponse) GetHash() []byte
func (*CreateEntityResponse) GetPublicDER ¶
func (m *CreateEntityResponse) GetPublicDER() []byte
func (*CreateEntityResponse) GetSecretDER ¶
func (m *CreateEntityResponse) GetSecretDER() []byte
func (*CreateEntityResponse) ProtoMessage ¶
func (*CreateEntityResponse) ProtoMessage()
func (*CreateEntityResponse) Reset ¶
func (m *CreateEntityResponse) Reset()
func (*CreateEntityResponse) String ¶
func (m *CreateEntityResponse) String() string
type Entity ¶
type Entity struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` ValidFrom int64 `protobuf:"varint,2,opt,name=validFrom" json:"validFrom,omitempty"` ValidUntil int64 `protobuf:"varint,3,opt,name=validUntil" json:"validUntil,omitempty"` Validity *EntityValidity `protobuf:"bytes,4,opt,name=validity" json:"validity,omitempty"` }
func (*Entity) Descriptor ¶
func (*Entity) GetValidFrom ¶
func (*Entity) GetValidUntil ¶
func (*Entity) GetValidity ¶
func (m *Entity) GetValidity() *EntityValidity
func (*Entity) ProtoMessage ¶
func (*Entity) ProtoMessage()
type EntitySecret ¶
type EntitySecret struct { DER []byte `protobuf:"bytes,1,opt,name=DER,json=dER,proto3" json:"DER,omitempty"` Passphrase []byte `protobuf:"bytes,2,opt,name=passphrase,proto3" json:"passphrase,omitempty"` }
func (*EntitySecret) Descriptor ¶
func (*EntitySecret) Descriptor() ([]byte, []int)
func (*EntitySecret) GetDER ¶
func (m *EntitySecret) GetDER() []byte
func (*EntitySecret) GetPassphrase ¶
func (m *EntitySecret) GetPassphrase() []byte
func (*EntitySecret) ProtoMessage ¶
func (*EntitySecret) ProtoMessage()
func (*EntitySecret) Reset ¶
func (m *EntitySecret) Reset()
func (*EntitySecret) String ¶
func (m *EntitySecret) String() string
type EntityValidity ¶
type EntityValidity struct { Valid bool `protobuf:"varint,1,opt,name=valid" json:"valid,omitempty"` Revoked bool `protobuf:"varint,2,opt,name=revoked" json:"revoked,omitempty"` Expired bool `protobuf:"varint,3,opt,name=expired" json:"expired,omitempty"` Malformed bool `protobuf:"varint,4,opt,name=malformed" json:"malformed,omitempty"` Message string `protobuf:"bytes,5,opt,name=message" json:"message,omitempty"` }
func (*EntityValidity) Descriptor ¶
func (*EntityValidity) Descriptor() ([]byte, []int)
func (*EntityValidity) GetExpired ¶
func (m *EntityValidity) GetExpired() bool
func (*EntityValidity) GetMalformed ¶
func (m *EntityValidity) GetMalformed() bool
func (*EntityValidity) GetMessage ¶
func (m *EntityValidity) GetMessage() string
func (*EntityValidity) GetRevoked ¶
func (m *EntityValidity) GetRevoked() bool
func (*EntityValidity) GetValid ¶
func (m *EntityValidity) GetValid() bool
func (*EntityValidity) ProtoMessage ¶
func (*EntityValidity) ProtoMessage()
func (*EntityValidity) Reset ¶
func (m *EntityValidity) Reset()
func (*EntityValidity) String ¶
func (m *EntityValidity) String() string
type Error ¶
type Error struct { Code int32 `protobuf:"varint,1,opt,name=code" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` }
func (*Error) Descriptor ¶
func (*Error) GetMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
type InspectParams ¶
type InspectParams struct { Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` ProverKey []byte `protobuf:"bytes,2,opt,name=proverKey,proto3" json:"proverKey,omitempty"` VerifierKey []byte `protobuf:"bytes,3,opt,name=verifierKey,proto3" json:"verifierKey,omitempty"` }
func (*InspectParams) Descriptor ¶
func (*InspectParams) Descriptor() ([]byte, []int)
func (*InspectParams) GetContent ¶
func (m *InspectParams) GetContent() []byte
func (*InspectParams) GetProverKey ¶ added in v0.1.1
func (m *InspectParams) GetProverKey() []byte
func (*InspectParams) GetVerifierKey ¶ added in v0.1.1
func (m *InspectParams) GetVerifierKey() []byte
func (*InspectParams) ProtoMessage ¶
func (*InspectParams) ProtoMessage()
func (*InspectParams) Reset ¶
func (m *InspectParams) Reset()
func (*InspectParams) String ¶
func (m *InspectParams) String() string
type InspectResponse ¶
type InspectResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` Entity *Entity `protobuf:"bytes,2,opt,name=entity" json:"entity,omitempty"` Attestation *Attestation `protobuf:"bytes,3,opt,name=attestation" json:"attestation,omitempty"` }
func (*InspectResponse) Descriptor ¶
func (*InspectResponse) Descriptor() ([]byte, []int)
func (*InspectResponse) GetAttestation ¶
func (m *InspectResponse) GetAttestation() *Attestation
func (*InspectResponse) GetEntity ¶
func (m *InspectResponse) GetEntity() *Entity
func (*InspectResponse) GetError ¶
func (m *InspectResponse) GetError() *Error
func (*InspectResponse) ProtoMessage ¶
func (*InspectResponse) ProtoMessage()
func (*InspectResponse) Reset ¶
func (m *InspectResponse) Reset()
func (*InspectResponse) String ¶
func (m *InspectResponse) String() string
type ListLocationsParams ¶
type ListLocationsParams struct { }
func (*ListLocationsParams) Descriptor ¶
func (*ListLocationsParams) Descriptor() ([]byte, []int)
func (*ListLocationsParams) ProtoMessage ¶
func (*ListLocationsParams) ProtoMessage()
func (*ListLocationsParams) Reset ¶
func (m *ListLocationsParams) Reset()
func (*ListLocationsParams) String ¶
func (m *ListLocationsParams) String() string
type ListLocationsResponse ¶
type ListLocationsResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` AgentLocations map[string]*Location `` /* 148-byte string literal not displayed */ }
func (*ListLocationsResponse) Descriptor ¶
func (*ListLocationsResponse) Descriptor() ([]byte, []int)
func (*ListLocationsResponse) GetAgentLocations ¶
func (m *ListLocationsResponse) GetAgentLocations() map[string]*Location
func (*ListLocationsResponse) GetError ¶
func (m *ListLocationsResponse) GetError() *Error
func (*ListLocationsResponse) ProtoMessage ¶
func (*ListLocationsResponse) ProtoMessage()
func (*ListLocationsResponse) Reset ¶
func (m *ListLocationsResponse) Reset()
func (*ListLocationsResponse) String ¶
func (m *ListLocationsResponse) String() string
type Location ¶
type Location struct { // One of the following LocationURI *LocationURI `protobuf:"bytes,1,opt,name=locationURI" json:"locationURI,omitempty"` // The name of a location in the agent config AgentLocation string `protobuf:"bytes,2,opt,name=agentLocation" json:"agentLocation,omitempty"` }
func (*Location) Descriptor ¶
func (*Location) GetAgentLocation ¶
func (*Location) GetLocationURI ¶
func (m *Location) GetLocationURI() *LocationURI
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
type LocationURI ¶
type LocationURI struct { URI string `protobuf:"bytes,1,opt,name=URI,json=uRI" json:"URI,omitempty"` Version int32 `protobuf:"varint,2,opt,name=version" json:"version,omitempty"` }
func (*LocationURI) Descriptor ¶
func (*LocationURI) Descriptor() ([]byte, []int)
func (*LocationURI) GetURI ¶
func (m *LocationURI) GetURI() string
func (*LocationURI) GetVersion ¶
func (m *LocationURI) GetVersion() int32
func (*LocationURI) ProtoMessage ¶
func (*LocationURI) ProtoMessage()
func (*LocationURI) Reset ¶
func (m *LocationURI) Reset()
func (*LocationURI) String ¶
func (m *LocationURI) String() string
type LookupAttestationsParams ¶
type LookupAttestationsParams struct { Perspective *Perspective `protobuf:"bytes,1,opt,name=perspective" json:"perspective,omitempty"` FromEntity []byte `protobuf:"bytes,2,opt,name=fromEntity,proto3" json:"fromEntity,omitempty"` ToEntity []byte `protobuf:"bytes,3,opt,name=toEntity,proto3" json:"toEntity,omitempty"` }
func (*LookupAttestationsParams) Descriptor ¶
func (*LookupAttestationsParams) Descriptor() ([]byte, []int)
func (*LookupAttestationsParams) GetFromEntity ¶
func (m *LookupAttestationsParams) GetFromEntity() []byte
func (*LookupAttestationsParams) GetPerspective ¶
func (m *LookupAttestationsParams) GetPerspective() *Perspective
func (*LookupAttestationsParams) GetToEntity ¶
func (m *LookupAttestationsParams) GetToEntity() []byte
func (*LookupAttestationsParams) ProtoMessage ¶
func (*LookupAttestationsParams) ProtoMessage()
func (*LookupAttestationsParams) Reset ¶
func (m *LookupAttestationsParams) Reset()
func (*LookupAttestationsParams) String ¶
func (m *LookupAttestationsParams) String() string
type LookupAttestationsResponse ¶
type LookupAttestationsResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` Results []*Attestation `protobuf:"bytes,2,rep,name=results" json:"results,omitempty"` }
func (*LookupAttestationsResponse) Descriptor ¶
func (*LookupAttestationsResponse) Descriptor() ([]byte, []int)
func (*LookupAttestationsResponse) GetError ¶
func (m *LookupAttestationsResponse) GetError() *Error
func (*LookupAttestationsResponse) GetResults ¶
func (m *LookupAttestationsResponse) GetResults() []*Attestation
func (*LookupAttestationsResponse) ProtoMessage ¶
func (*LookupAttestationsResponse) ProtoMessage()
func (*LookupAttestationsResponse) Reset ¶
func (m *LookupAttestationsResponse) Reset()
func (*LookupAttestationsResponse) String ¶
func (m *LookupAttestationsResponse) String() string
type Perspective ¶
type Perspective struct { EntitySecret *EntitySecret `protobuf:"bytes,1,opt,name=entitySecret" json:"entitySecret,omitempty"` Location *Location `protobuf:"bytes,2,opt,name=location" json:"location,omitempty"` }
func (*Perspective) Descriptor ¶
func (*Perspective) Descriptor() ([]byte, []int)
func (*Perspective) GetEntitySecret ¶
func (m *Perspective) GetEntitySecret() *EntitySecret
func (*Perspective) GetLocation ¶
func (m *Perspective) GetLocation() *Location
func (*Perspective) ProtoMessage ¶
func (*Perspective) ProtoMessage()
func (*Perspective) Reset ¶
func (m *Perspective) Reset()
func (*Perspective) String ¶
func (m *Perspective) String() string
type Policy ¶
type Policy struct { TrustLevelPolicy *TrustLevelPolicy `protobuf:"bytes,1,opt,name=trustLevelPolicy" json:"trustLevelPolicy,omitempty"` RTreePolicy *RTreePolicy `protobuf:"bytes,2,opt,name=rTreePolicy" json:"rTreePolicy,omitempty"` }
func (*Policy) Descriptor ¶
func (*Policy) GetRTreePolicy ¶
func (m *Policy) GetRTreePolicy() *RTreePolicy
func (*Policy) GetTrustLevelPolicy ¶
func (m *Policy) GetTrustLevelPolicy() *TrustLevelPolicy
func (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
type Proof ¶
type Proof struct { Elements []*Attestation `protobuf:"bytes,1,rep,name=elements" json:"elements,omitempty"` Paths []*ProofPath `protobuf:"bytes,2,rep,name=paths" json:"paths,omitempty"` Policy *Policy `protobuf:"bytes,3,opt,name=policy" json:"policy,omitempty"` Expiry int64 `protobuf:"varint,4,opt,name=expiry" json:"expiry,omitempty"` Subject []byte `protobuf:"bytes,5,opt,name=subject,proto3" json:"subject,omitempty"` SubjectLocation *Location `protobuf:"bytes,6,opt,name=subjectLocation" json:"subjectLocation,omitempty"` }
func (*Proof) Descriptor ¶
func (*Proof) GetElements ¶
func (m *Proof) GetElements() []*Attestation
func (*Proof) GetSubject ¶
func (*Proof) GetSubjectLocation ¶
func (*Proof) ProtoMessage ¶
func (*Proof) ProtoMessage()
type ProofPath ¶
type ProofPath struct {
Elements []int32 `protobuf:"varint,1,rep,packed,name=elements" json:"elements,omitempty"`
}
func (*ProofPath) Descriptor ¶
func (*ProofPath) GetElements ¶
func (*ProofPath) ProtoMessage ¶
func (*ProofPath) ProtoMessage()
type PublishAttestationParams ¶
type PublishAttestationParams struct { DER []byte `protobuf:"bytes,1,opt,name=DER,json=dER,proto3" json:"DER,omitempty"` Location *Location `protobuf:"bytes,2,opt,name=location" json:"location,omitempty"` }
func (*PublishAttestationParams) Descriptor ¶
func (*PublishAttestationParams) Descriptor() ([]byte, []int)
func (*PublishAttestationParams) GetDER ¶
func (m *PublishAttestationParams) GetDER() []byte
func (*PublishAttestationParams) GetLocation ¶
func (m *PublishAttestationParams) GetLocation() *Location
func (*PublishAttestationParams) ProtoMessage ¶
func (*PublishAttestationParams) ProtoMessage()
func (*PublishAttestationParams) Reset ¶
func (m *PublishAttestationParams) Reset()
func (*PublishAttestationParams) String ¶
func (m *PublishAttestationParams) String() string
type PublishAttestationResponse ¶
type PublishAttestationResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` }
func (*PublishAttestationResponse) Descriptor ¶
func (*PublishAttestationResponse) Descriptor() ([]byte, []int)
func (*PublishAttestationResponse) GetError ¶
func (m *PublishAttestationResponse) GetError() *Error
func (*PublishAttestationResponse) GetHash ¶
func (m *PublishAttestationResponse) GetHash() []byte
func (*PublishAttestationResponse) ProtoMessage ¶
func (*PublishAttestationResponse) ProtoMessage()
func (*PublishAttestationResponse) Reset ¶
func (m *PublishAttestationResponse) Reset()
func (*PublishAttestationResponse) String ¶
func (m *PublishAttestationResponse) String() string
type PublishEntityParams ¶
type PublishEntityParams struct { DER []byte `protobuf:"bytes,1,opt,name=DER,json=dER,proto3" json:"DER,omitempty"` Location *Location `protobuf:"bytes,2,opt,name=location" json:"location,omitempty"` }
func (*PublishEntityParams) Descriptor ¶
func (*PublishEntityParams) Descriptor() ([]byte, []int)
func (*PublishEntityParams) GetDER ¶
func (m *PublishEntityParams) GetDER() []byte
func (*PublishEntityParams) GetLocation ¶
func (m *PublishEntityParams) GetLocation() *Location
func (*PublishEntityParams) ProtoMessage ¶
func (*PublishEntityParams) ProtoMessage()
func (*PublishEntityParams) Reset ¶
func (m *PublishEntityParams) Reset()
func (*PublishEntityParams) String ¶
func (m *PublishEntityParams) String() string
type PublishEntityResponse ¶
type PublishEntityResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` }
func (*PublishEntityResponse) Descriptor ¶
func (*PublishEntityResponse) Descriptor() ([]byte, []int)
func (*PublishEntityResponse) GetError ¶
func (m *PublishEntityResponse) GetError() *Error
func (*PublishEntityResponse) GetHash ¶
func (m *PublishEntityResponse) GetHash() []byte
func (*PublishEntityResponse) ProtoMessage ¶
func (*PublishEntityResponse) ProtoMessage()
func (*PublishEntityResponse) Reset ¶
func (m *PublishEntityResponse) Reset()
func (*PublishEntityResponse) String ¶
func (m *PublishEntityResponse) String() string
type RTreePolicy ¶
type RTreePolicy struct { Namespace []byte `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Indirections uint32 `protobuf:"varint,2,opt,name=indirections" json:"indirections,omitempty"` Statements []*RTreePolicyStatement `protobuf:"bytes,3,rep,name=statements" json:"statements,omitempty"` VisibilityURI [][]byte `protobuf:"bytes,4,rep,name=visibilityURI,proto3" json:"visibilityURI,omitempty"` }
func (*RTreePolicy) Descriptor ¶
func (*RTreePolicy) Descriptor() ([]byte, []int)
func (*RTreePolicy) GetIndirections ¶
func (m *RTreePolicy) GetIndirections() uint32
func (*RTreePolicy) GetNamespace ¶
func (m *RTreePolicy) GetNamespace() []byte
func (*RTreePolicy) GetStatements ¶
func (m *RTreePolicy) GetStatements() []*RTreePolicyStatement
func (*RTreePolicy) GetVisibilityURI ¶
func (m *RTreePolicy) GetVisibilityURI() [][]byte
func (*RTreePolicy) ProtoMessage ¶
func (*RTreePolicy) ProtoMessage()
func (*RTreePolicy) Reset ¶
func (m *RTreePolicy) Reset()
func (*RTreePolicy) String ¶
func (m *RTreePolicy) String() string
type RTreePolicyStatement ¶
type RTreePolicyStatement struct { PermissionSet []byte `protobuf:"bytes,1,opt,name=permissionSet,proto3" json:"permissionSet,omitempty"` Permissions []string `protobuf:"bytes,2,rep,name=permissions" json:"permissions,omitempty"` Resource string `protobuf:"bytes,3,opt,name=resource" json:"resource,omitempty"` }
func (*RTreePolicyStatement) Descriptor ¶
func (*RTreePolicyStatement) Descriptor() ([]byte, []int)
func (*RTreePolicyStatement) GetPermissionSet ¶
func (m *RTreePolicyStatement) GetPermissionSet() []byte
func (*RTreePolicyStatement) GetPermissions ¶
func (m *RTreePolicyStatement) GetPermissions() []string
func (*RTreePolicyStatement) GetResource ¶
func (m *RTreePolicyStatement) GetResource() string
func (*RTreePolicyStatement) ProtoMessage ¶
func (*RTreePolicyStatement) ProtoMessage()
func (*RTreePolicyStatement) Reset ¶
func (m *RTreePolicyStatement) Reset()
func (*RTreePolicyStatement) String ¶
func (m *RTreePolicyStatement) String() string
type ResolveHashParams ¶
type ResolveHashParams struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Perspective *Perspective `protobuf:"bytes,2,opt,name=perspective" json:"perspective,omitempty"` }
func (*ResolveHashParams) Descriptor ¶
func (*ResolveHashParams) Descriptor() ([]byte, []int)
func (*ResolveHashParams) GetHash ¶
func (m *ResolveHashParams) GetHash() []byte
func (*ResolveHashParams) GetPerspective ¶
func (m *ResolveHashParams) GetPerspective() *Perspective
func (*ResolveHashParams) ProtoMessage ¶
func (*ResolveHashParams) ProtoMessage()
func (*ResolveHashParams) Reset ¶
func (m *ResolveHashParams) Reset()
func (*ResolveHashParams) String ¶
func (m *ResolveHashParams) String() string
type ResolveHashResponse ¶
type ResolveHashResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` Location *Location `protobuf:"bytes,2,opt,name=location" json:"location,omitempty"` Entity *Entity `protobuf:"bytes,3,opt,name=entity" json:"entity,omitempty"` Attestation *Attestation `protobuf:"bytes,4,opt,name=attestation" json:"attestation,omitempty"` }
func (*ResolveHashResponse) Descriptor ¶
func (*ResolveHashResponse) Descriptor() ([]byte, []int)
func (*ResolveHashResponse) GetAttestation ¶
func (m *ResolveHashResponse) GetAttestation() *Attestation
func (*ResolveHashResponse) GetEntity ¶
func (m *ResolveHashResponse) GetEntity() *Entity
func (*ResolveHashResponse) GetError ¶
func (m *ResolveHashResponse) GetError() *Error
func (*ResolveHashResponse) GetLocation ¶
func (m *ResolveHashResponse) GetLocation() *Location
func (*ResolveHashResponse) ProtoMessage ¶
func (*ResolveHashResponse) ProtoMessage()
func (*ResolveHashResponse) Reset ¶
func (m *ResolveHashResponse) Reset()
func (*ResolveHashResponse) String ¶
func (m *ResolveHashResponse) String() string
type ResyncPerspectiveGraphParams ¶
type ResyncPerspectiveGraphParams struct {
Perspective *Perspective `protobuf:"bytes,1,opt,name=perspective" json:"perspective,omitempty"`
}
func (*ResyncPerspectiveGraphParams) Descriptor ¶
func (*ResyncPerspectiveGraphParams) Descriptor() ([]byte, []int)
func (*ResyncPerspectiveGraphParams) GetPerspective ¶
func (m *ResyncPerspectiveGraphParams) GetPerspective() *Perspective
func (*ResyncPerspectiveGraphParams) ProtoMessage ¶
func (*ResyncPerspectiveGraphParams) ProtoMessage()
func (*ResyncPerspectiveGraphParams) Reset ¶
func (m *ResyncPerspectiveGraphParams) Reset()
func (*ResyncPerspectiveGraphParams) String ¶
func (m *ResyncPerspectiveGraphParams) String() string
type ResyncPerspectiveGraphResponse ¶
type ResyncPerspectiveGraphResponse struct {
Error *Error `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
}
func (*ResyncPerspectiveGraphResponse) Descriptor ¶
func (*ResyncPerspectiveGraphResponse) Descriptor() ([]byte, []int)
func (*ResyncPerspectiveGraphResponse) GetError ¶
func (m *ResyncPerspectiveGraphResponse) GetError() *Error
func (*ResyncPerspectiveGraphResponse) ProtoMessage ¶
func (*ResyncPerspectiveGraphResponse) ProtoMessage()
func (*ResyncPerspectiveGraphResponse) Reset ¶
func (m *ResyncPerspectiveGraphResponse) Reset()
func (*ResyncPerspectiveGraphResponse) String ¶
func (m *ResyncPerspectiveGraphResponse) String() string
type StorageDriverStatus ¶
type StorageDriverStatus struct { Operational bool `protobuf:"varint,1,opt,name=operational" json:"operational,omitempty"` Info map[string]string `` /* 128-byte string literal not displayed */ }
func (*StorageDriverStatus) Descriptor ¶
func (*StorageDriverStatus) Descriptor() ([]byte, []int)
func (*StorageDriverStatus) GetInfo ¶
func (m *StorageDriverStatus) GetInfo() map[string]string
func (*StorageDriverStatus) GetOperational ¶
func (m *StorageDriverStatus) GetOperational() bool
func (*StorageDriverStatus) ProtoMessage ¶
func (*StorageDriverStatus) ProtoMessage()
func (*StorageDriverStatus) Reset ¶
func (m *StorageDriverStatus) Reset()
func (*StorageDriverStatus) String ¶
func (m *StorageDriverStatus) String() string
type SyncParams ¶
type SyncParams struct {
Perspective *Perspective `protobuf:"bytes,1,opt,name=perspective" json:"perspective,omitempty"`
}
func (*SyncParams) Descriptor ¶
func (*SyncParams) Descriptor() ([]byte, []int)
func (*SyncParams) GetPerspective ¶
func (m *SyncParams) GetPerspective() *Perspective
func (*SyncParams) ProtoMessage ¶
func (*SyncParams) ProtoMessage()
func (*SyncParams) Reset ¶
func (m *SyncParams) Reset()
func (*SyncParams) String ¶
func (m *SyncParams) String() string
type SyncResponse ¶
type SyncResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` StorageStatus map[string]*StorageDriverStatus `` /* 146-byte string literal not displayed */ TotalSyncRequests int64 `protobuf:"varint,3,opt,name=totalSyncRequests" json:"totalSyncRequests,omitempty"` CompletedSyncs int64 `protobuf:"varint,4,opt,name=completedSyncs" json:"completedSyncs,omitempty"` }
func (*SyncResponse) Descriptor ¶
func (*SyncResponse) Descriptor() ([]byte, []int)
func (*SyncResponse) GetCompletedSyncs ¶
func (m *SyncResponse) GetCompletedSyncs() int64
func (*SyncResponse) GetError ¶
func (m *SyncResponse) GetError() *Error
func (*SyncResponse) GetStorageStatus ¶
func (m *SyncResponse) GetStorageStatus() map[string]*StorageDriverStatus
func (*SyncResponse) GetTotalSyncRequests ¶
func (m *SyncResponse) GetTotalSyncRequests() int64
func (*SyncResponse) ProtoMessage ¶
func (*SyncResponse) ProtoMessage()
func (*SyncResponse) Reset ¶
func (m *SyncResponse) Reset()
func (*SyncResponse) String ¶
func (m *SyncResponse) String() string
type TrustLevelPolicy ¶
type TrustLevelPolicy struct {
Trust int32 `protobuf:"varint,1,opt,name=trust" json:"trust,omitempty"`
}
func (*TrustLevelPolicy) Descriptor ¶
func (*TrustLevelPolicy) Descriptor() ([]byte, []int)
func (*TrustLevelPolicy) GetTrust ¶
func (m *TrustLevelPolicy) GetTrust() int32
func (*TrustLevelPolicy) ProtoMessage ¶
func (*TrustLevelPolicy) ProtoMessage()
func (*TrustLevelPolicy) Reset ¶
func (m *TrustLevelPolicy) Reset()
func (*TrustLevelPolicy) String ¶
func (m *TrustLevelPolicy) String() string
type VerifyProofParams ¶
type VerifyProofParams struct {
ProofDER []byte `protobuf:"bytes,1,opt,name=proofDER,proto3" json:"proofDER,omitempty"`
}
func (*VerifyProofParams) Descriptor ¶
func (*VerifyProofParams) Descriptor() ([]byte, []int)
func (*VerifyProofParams) GetProofDER ¶
func (m *VerifyProofParams) GetProofDER() []byte
func (*VerifyProofParams) ProtoMessage ¶
func (*VerifyProofParams) ProtoMessage()
func (*VerifyProofParams) Reset ¶
func (m *VerifyProofParams) Reset()
func (*VerifyProofParams) String ¶
func (m *VerifyProofParams) String() string
type VerifyProofResponse ¶
type VerifyProofResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` Result *Proof `protobuf:"bytes,2,opt,name=result" json:"result,omitempty"` }
func (*VerifyProofResponse) Descriptor ¶
func (*VerifyProofResponse) Descriptor() ([]byte, []int)
func (*VerifyProofResponse) GetError ¶
func (m *VerifyProofResponse) GetError() *Error
func (*VerifyProofResponse) GetResult ¶
func (m *VerifyProofResponse) GetResult() *Proof
func (*VerifyProofResponse) ProtoMessage ¶
func (*VerifyProofResponse) ProtoMessage()
func (*VerifyProofResponse) Reset ¶
func (m *VerifyProofResponse) Reset()
func (*VerifyProofResponse) String ¶
func (m *VerifyProofResponse) String() string
type WAVEClient ¶
type WAVEClient interface { // Create a new WAVE entity, but do not publish it CreateEntity(ctx context.Context, in *CreateEntityParams, opts ...grpc.CallOption) (*CreateEntityResponse, error) // Create a WAVE attestation, both the source and destination entities must // be published CreateAttestation(ctx context.Context, in *CreateAttestationParams, opts ...grpc.CallOption) (*CreateAttestationResponse, error) // Publish the given entity PublishEntity(ctx context.Context, in *PublishEntityParams, opts ...grpc.CallOption) (*PublishEntityResponse, error) // Publish an attestation PublishAttestation(ctx context.Context, in *PublishAttestationParams, opts ...grpc.CallOption) (*PublishAttestationResponse, error) // Add an attestation to the given perspective graph AddAttestation(ctx context.Context, in *AddAttestationParams, opts ...grpc.CallOption) (*AddAttestationResponse, error) LookupAttestations(ctx context.Context, in *LookupAttestationsParams, opts ...grpc.CallOption) (*LookupAttestationsResponse, error) ResyncPerspectiveGraph(ctx context.Context, in *ResyncPerspectiveGraphParams, opts ...grpc.CallOption) (*ResyncPerspectiveGraphResponse, error) SyncStatus(ctx context.Context, in *SyncParams, opts ...grpc.CallOption) (*SyncResponse, error) WaitForSyncComplete(ctx context.Context, in *SyncParams, opts ...grpc.CallOption) (WAVE_WaitForSyncCompleteClient, error) BuildRTreeProof(ctx context.Context, in *BuildRTreeParams, opts ...grpc.CallOption) (*BuildRTreeResponse, error) VerifyProof(ctx context.Context, in *VerifyProofParams, opts ...grpc.CallOption) (*VerifyProofResponse, error) ListLocations(ctx context.Context, in *ListLocationsParams, opts ...grpc.CallOption) (*ListLocationsResponse, error) Inspect(ctx context.Context, in *InspectParams, opts ...grpc.CallOption) (*InspectResponse, error) ResolveHash(ctx context.Context, in *ResolveHashParams, opts ...grpc.CallOption) (*ResolveHashResponse, error) }
func NewWAVEClient ¶
func NewWAVEClient(cc *grpc.ClientConn) WAVEClient
type WAVEServer ¶
type WAVEServer interface { // Create a new WAVE entity, but do not publish it CreateEntity(context.Context, *CreateEntityParams) (*CreateEntityResponse, error) // Create a WAVE attestation, both the source and destination entities must // be published CreateAttestation(context.Context, *CreateAttestationParams) (*CreateAttestationResponse, error) // Publish the given entity PublishEntity(context.Context, *PublishEntityParams) (*PublishEntityResponse, error) // Publish an attestation PublishAttestation(context.Context, *PublishAttestationParams) (*PublishAttestationResponse, error) // Add an attestation to the given perspective graph AddAttestation(context.Context, *AddAttestationParams) (*AddAttestationResponse, error) LookupAttestations(context.Context, *LookupAttestationsParams) (*LookupAttestationsResponse, error) ResyncPerspectiveGraph(context.Context, *ResyncPerspectiveGraphParams) (*ResyncPerspectiveGraphResponse, error) SyncStatus(context.Context, *SyncParams) (*SyncResponse, error) WaitForSyncComplete(*SyncParams, WAVE_WaitForSyncCompleteServer) error BuildRTreeProof(context.Context, *BuildRTreeParams) (*BuildRTreeResponse, error) VerifyProof(context.Context, *VerifyProofParams) (*VerifyProofResponse, error) ListLocations(context.Context, *ListLocationsParams) (*ListLocationsResponse, error) Inspect(context.Context, *InspectParams) (*InspectResponse, error) ResolveHash(context.Context, *ResolveHashParams) (*ResolveHashResponse, error) }
type WAVE_WaitForSyncCompleteClient ¶
type WAVE_WaitForSyncCompleteClient interface { Recv() (*SyncResponse, error) grpc.ClientStream }
type WAVE_WaitForSyncCompleteServer ¶
type WAVE_WaitForSyncCompleteServer interface { Send(*SyncResponse) error grpc.ServerStream }