common

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_messages_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AcceptInvitationRequest

type AcceptInvitationRequest struct {
	AgentName  string `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
	ExternalId string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
	Name       string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Invitation string `protobuf:"bytes,4,opt,name=invitation,proto3" json:"invitation,omitempty"`
	// contains filtered or unexported fields
}

func (*AcceptInvitationRequest) Descriptor deprecated

func (*AcceptInvitationRequest) Descriptor() ([]byte, []int)

Deprecated: Use AcceptInvitationRequest.ProtoReflect.Descriptor instead.

func (*AcceptInvitationRequest) GetAgentName

func (x *AcceptInvitationRequest) GetAgentName() string

func (*AcceptInvitationRequest) GetExternalId

func (x *AcceptInvitationRequest) GetExternalId() string

func (*AcceptInvitationRequest) GetInvitation

func (x *AcceptInvitationRequest) GetInvitation() string

func (*AcceptInvitationRequest) GetName

func (x *AcceptInvitationRequest) GetName() string

func (*AcceptInvitationRequest) ProtoMessage

func (*AcceptInvitationRequest) ProtoMessage()

func (*AcceptInvitationRequest) ProtoReflect

func (x *AcceptInvitationRequest) ProtoReflect() protoreflect.Message

func (*AcceptInvitationRequest) Reset

func (x *AcceptInvitationRequest) Reset()

func (*AcceptInvitationRequest) String

func (x *AcceptInvitationRequest) String() string

type AcceptInvitationResponse

type AcceptInvitationResponse struct {
	// contains filtered or unexported fields
}

func (*AcceptInvitationResponse) Descriptor deprecated

func (*AcceptInvitationResponse) Descriptor() ([]byte, []int)

Deprecated: Use AcceptInvitationResponse.ProtoReflect.Descriptor instead.

func (*AcceptInvitationResponse) ProtoMessage

func (*AcceptInvitationResponse) ProtoMessage()

func (*AcceptInvitationResponse) ProtoReflect

func (x *AcceptInvitationResponse) ProtoReflect() protoreflect.Message

func (*AcceptInvitationResponse) Reset

func (x *AcceptInvitationResponse) Reset()

func (*AcceptInvitationResponse) String

func (x *AcceptInvitationResponse) String() string

type AttrInfo

type AttrInfo struct {
	Name         string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Restrictions string               `protobuf:"bytes,2,opt,name=restrictions,proto3" json:"restrictions,omitempty"` // wql query
	NonRevoked   *timestamp.Timestamp `protobuf:"bytes,3,opt,name=non_revoked,json=nonRevoked,proto3" json:"non_revoked,omitempty"`
	// contains filtered or unexported fields
}

func (*AttrInfo) Descriptor deprecated

func (*AttrInfo) Descriptor() ([]byte, []int)

Deprecated: Use AttrInfo.ProtoReflect.Descriptor instead.

func (*AttrInfo) GetName

func (x *AttrInfo) GetName() string

func (*AttrInfo) GetNonRevoked

func (x *AttrInfo) GetNonRevoked() *timestamp.Timestamp

func (*AttrInfo) GetRestrictions

func (x *AttrInfo) GetRestrictions() string

func (*AttrInfo) ProtoMessage

func (*AttrInfo) ProtoMessage()

func (*AttrInfo) ProtoReflect

func (x *AttrInfo) ProtoReflect() protoreflect.Message

func (*AttrInfo) Reset

func (x *AttrInfo) Reset()

func (*AttrInfo) String

func (x *AttrInfo) String() string

type Credential

type Credential struct {
	SchemaId string                 `protobuf:"bytes,1,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"`
	Comment  string                 `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
	Type     string                 `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Body     *_struct.Struct        `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
	Preview  []*CredentialAttribute `protobuf:"bytes,5,rep,name=preview,proto3" json:"preview,omitempty"`
	// contains filtered or unexported fields
}

func (*Credential) Descriptor deprecated

func (*Credential) Descriptor() ([]byte, []int)

Deprecated: Use Credential.ProtoReflect.Descriptor instead.

func (*Credential) GetBody

func (x *Credential) GetBody() *_struct.Struct

func (*Credential) GetComment

func (x *Credential) GetComment() string

func (*Credential) GetPreview

func (x *Credential) GetPreview() []*CredentialAttribute

func (*Credential) GetSchemaId

func (x *Credential) GetSchemaId() string

func (*Credential) GetType

func (x *Credential) GetType() string

func (*Credential) ProtoMessage

func (*Credential) ProtoMessage()

func (*Credential) ProtoReflect

func (x *Credential) ProtoReflect() protoreflect.Message

func (*Credential) Reset

func (x *Credential) Reset()

func (*Credential) String

func (x *Credential) String() string

type CredentialAttribute

type CredentialAttribute struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*CredentialAttribute) Descriptor deprecated

func (*CredentialAttribute) Descriptor() ([]byte, []int)

Deprecated: Use CredentialAttribute.ProtoReflect.Descriptor instead.

func (*CredentialAttribute) GetName

func (x *CredentialAttribute) GetName() string

func (*CredentialAttribute) GetValue

func (x *CredentialAttribute) GetValue() string

func (*CredentialAttribute) ProtoMessage

func (*CredentialAttribute) ProtoMessage()

func (*CredentialAttribute) ProtoReflect

func (x *CredentialAttribute) ProtoReflect() protoreflect.Message

func (*CredentialAttribute) Reset

func (x *CredentialAttribute) Reset()

func (*CredentialAttribute) String

func (x *CredentialAttribute) String() string

type EndpointRequest

type EndpointRequest struct {
	// contains filtered or unexported fields
}

func (*EndpointRequest) Descriptor deprecated

func (*EndpointRequest) Descriptor() ([]byte, []int)

Deprecated: Use EndpointRequest.ProtoReflect.Descriptor instead.

func (*EndpointRequest) ProtoMessage

func (*EndpointRequest) ProtoMessage()

func (*EndpointRequest) ProtoReflect

func (x *EndpointRequest) ProtoReflect() protoreflect.Message

func (*EndpointRequest) Reset

func (x *EndpointRequest) Reset()

func (*EndpointRequest) String

func (x *EndpointRequest) String() string

type EndpointResponse

type EndpointResponse struct {
	Endpoint string `protobuf:"bytes,1,opt,name=Endpoint,proto3" json:"Endpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*EndpointResponse) Descriptor deprecated

func (*EndpointResponse) Descriptor() ([]byte, []int)

Deprecated: Use EndpointResponse.ProtoReflect.Descriptor instead.

func (*EndpointResponse) GetEndpoint

func (x *EndpointResponse) GetEndpoint() string

func (*EndpointResponse) ProtoMessage

func (*EndpointResponse) ProtoMessage()

func (*EndpointResponse) ProtoReflect

func (x *EndpointResponse) ProtoReflect() protoreflect.Message

func (*EndpointResponse) Reset

func (x *EndpointResponse) Reset()

func (*EndpointResponse) String

func (x *EndpointResponse) String() string

type InvitationRequest

type InvitationRequest struct {
	AgentName      string `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
	ExternalId     string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
	ConnectionName string `protobuf:"bytes,3,opt,name=connection_name,json=connectionName,proto3" json:"connection_name,omitempty"`
	// contains filtered or unexported fields
}

func (*InvitationRequest) Descriptor deprecated

func (*InvitationRequest) Descriptor() ([]byte, []int)

Deprecated: Use InvitationRequest.ProtoReflect.Descriptor instead.

func (*InvitationRequest) GetAgentName

func (x *InvitationRequest) GetAgentName() string

func (*InvitationRequest) GetConnectionName

func (x *InvitationRequest) GetConnectionName() string

func (*InvitationRequest) GetExternalId

func (x *InvitationRequest) GetExternalId() string

func (*InvitationRequest) ProtoMessage

func (*InvitationRequest) ProtoMessage()

func (*InvitationRequest) ProtoReflect

func (x *InvitationRequest) ProtoReflect() protoreflect.Message

func (*InvitationRequest) Reset

func (x *InvitationRequest) Reset()

func (*InvitationRequest) String

func (x *InvitationRequest) String() string

type InvitationResponse

type InvitationResponse struct {
	Invitation string `protobuf:"bytes,1,opt,name=Invitation,proto3" json:"Invitation,omitempty"`
	// contains filtered or unexported fields
}

func (*InvitationResponse) Descriptor deprecated

func (*InvitationResponse) Descriptor() ([]byte, []int)

Deprecated: Use InvitationResponse.ProtoReflect.Descriptor instead.

func (*InvitationResponse) GetInvitation

func (x *InvitationResponse) GetInvitation() string

func (*InvitationResponse) ProtoMessage

func (*InvitationResponse) ProtoMessage()

func (*InvitationResponse) ProtoReflect

func (x *InvitationResponse) ProtoReflect() protoreflect.Message

func (*InvitationResponse) Reset

func (x *InvitationResponse) Reset()

func (*InvitationResponse) String

func (x *InvitationResponse) String() string

type IssueCredentialRequest

type IssueCredentialRequest struct {
	AgentName  string      `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
	ExternalId string      `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
	Credential *Credential `protobuf:"bytes,3,opt,name=credential,proto3" json:"credential,omitempty"`
	// contains filtered or unexported fields
}

func (*IssueCredentialRequest) Descriptor deprecated

func (*IssueCredentialRequest) Descriptor() ([]byte, []int)

Deprecated: Use IssueCredentialRequest.ProtoReflect.Descriptor instead.

func (*IssueCredentialRequest) GetAgentName

func (x *IssueCredentialRequest) GetAgentName() string

func (*IssueCredentialRequest) GetCredential

func (x *IssueCredentialRequest) GetCredential() *Credential

func (*IssueCredentialRequest) GetExternalId

func (x *IssueCredentialRequest) GetExternalId() string

func (*IssueCredentialRequest) ProtoMessage

func (*IssueCredentialRequest) ProtoMessage()

func (*IssueCredentialRequest) ProtoReflect

func (x *IssueCredentialRequest) ProtoReflect() protoreflect.Message

func (*IssueCredentialRequest) Reset

func (x *IssueCredentialRequest) Reset()

func (*IssueCredentialRequest) String

func (x *IssueCredentialRequest) String() string

type IssueCredentialResponse

type IssueCredentialResponse struct {
	CredentialId string `protobuf:"bytes,1,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
	// contains filtered or unexported fields
}

func (*IssueCredentialResponse) Descriptor deprecated

func (*IssueCredentialResponse) Descriptor() ([]byte, []int)

Deprecated: Use IssueCredentialResponse.ProtoReflect.Descriptor instead.

func (*IssueCredentialResponse) GetCredentialId

func (x *IssueCredentialResponse) GetCredentialId() string

func (*IssueCredentialResponse) ProtoMessage

func (*IssueCredentialResponse) ProtoMessage()

func (*IssueCredentialResponse) ProtoReflect

func (x *IssueCredentialResponse) ProtoReflect() protoreflect.Message

func (*IssueCredentialResponse) Reset

func (x *IssueCredentialResponse) Reset()

func (*IssueCredentialResponse) String

func (x *IssueCredentialResponse) String() string

type PredicateInfo

type PredicateInfo struct {
	Name         string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                // attribute name, (case insensitive and ignore spaces)
	PType        string               `protobuf:"bytes,2,opt,name=p_type,json=pType,proto3" json:"p_type,omitempty"` // (Currently >= only)
	PValue       int32                `protobuf:"varint,3,opt,name=p_value,json=pValue,proto3" json:"p_value,omitempty"`
	Restrictions string               `protobuf:"bytes,4,opt,name=restrictions,proto3" json:"restrictions,omitempty"` // wql query
	NonRevoked   *timestamp.Timestamp `protobuf:"bytes,5,opt,name=non_revoked,json=nonRevoked,proto3" json:"non_revoked,omitempty"`
	// contains filtered or unexported fields
}

func (*PredicateInfo) Descriptor deprecated

func (*PredicateInfo) Descriptor() ([]byte, []int)

Deprecated: Use PredicateInfo.ProtoReflect.Descriptor instead.

func (*PredicateInfo) GetName

func (x *PredicateInfo) GetName() string

func (*PredicateInfo) GetNonRevoked

func (x *PredicateInfo) GetNonRevoked() *timestamp.Timestamp

func (*PredicateInfo) GetPType

func (x *PredicateInfo) GetPType() string

func (*PredicateInfo) GetPValue

func (x *PredicateInfo) GetPValue() int32

func (*PredicateInfo) GetRestrictions

func (x *PredicateInfo) GetRestrictions() string

func (*PredicateInfo) ProtoMessage

func (*PredicateInfo) ProtoMessage()

func (*PredicateInfo) ProtoReflect

func (x *PredicateInfo) ProtoReflect() protoreflect.Message

func (*PredicateInfo) Reset

func (x *PredicateInfo) Reset()

func (*PredicateInfo) String

func (x *PredicateInfo) String() string

type RequestPresentation

type RequestPresentation struct {
	Name                string                    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version             string                    `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	SchemaId            string                    `protobuf:"bytes,3,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"`
	Comment             string                    `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
	WillConfirm         bool                      `protobuf:"varint,5,opt,name=will_confirm,json=willConfirm,proto3" json:"will_confirm,omitempty"`
	RequestedAttributes map[string]*AttrInfo      `` /* 206-byte string literal not displayed */
	RequestedPredicates map[string]*PredicateInfo `` /* 206-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RequestPresentation) Descriptor deprecated

func (*RequestPresentation) Descriptor() ([]byte, []int)

Deprecated: Use RequestPresentation.ProtoReflect.Descriptor instead.

func (*RequestPresentation) GetComment

func (x *RequestPresentation) GetComment() string

func (*RequestPresentation) GetName

func (x *RequestPresentation) GetName() string

func (*RequestPresentation) GetRequestedAttributes

func (x *RequestPresentation) GetRequestedAttributes() map[string]*AttrInfo

func (*RequestPresentation) GetRequestedPredicates

func (x *RequestPresentation) GetRequestedPredicates() map[string]*PredicateInfo

func (*RequestPresentation) GetSchemaId

func (x *RequestPresentation) GetSchemaId() string

func (*RequestPresentation) GetVersion

func (x *RequestPresentation) GetVersion() string

func (*RequestPresentation) GetWillConfirm

func (x *RequestPresentation) GetWillConfirm() bool

func (*RequestPresentation) ProtoMessage

func (*RequestPresentation) ProtoMessage()

func (*RequestPresentation) ProtoReflect

func (x *RequestPresentation) ProtoReflect() protoreflect.Message

func (*RequestPresentation) Reset

func (x *RequestPresentation) Reset()

func (*RequestPresentation) String

func (x *RequestPresentation) String() string

type RequestPresentationRequest

type RequestPresentationRequest struct {
	AgentName    string               `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
	ExternalId   string               `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
	Presentation *RequestPresentation `protobuf:"bytes,3,opt,name=presentation,proto3" json:"presentation,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestPresentationRequest) Descriptor deprecated

func (*RequestPresentationRequest) Descriptor() ([]byte, []int)

Deprecated: Use RequestPresentationRequest.ProtoReflect.Descriptor instead.

func (*RequestPresentationRequest) GetAgentName

func (x *RequestPresentationRequest) GetAgentName() string

func (*RequestPresentationRequest) GetExternalId

func (x *RequestPresentationRequest) GetExternalId() string

func (*RequestPresentationRequest) GetPresentation

func (x *RequestPresentationRequest) GetPresentation() *RequestPresentation

func (*RequestPresentationRequest) ProtoMessage

func (*RequestPresentationRequest) ProtoMessage()

func (*RequestPresentationRequest) ProtoReflect

func (*RequestPresentationRequest) Reset

func (x *RequestPresentationRequest) Reset()

func (*RequestPresentationRequest) String

func (x *RequestPresentationRequest) String() string

type RequestPresentationResponse

type RequestPresentationResponse struct {
	RequestPresentationId string `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RequestPresentationResponse) Descriptor deprecated

func (*RequestPresentationResponse) Descriptor() ([]byte, []int)

Deprecated: Use RequestPresentationResponse.ProtoReflect.Descriptor instead.

func (*RequestPresentationResponse) GetRequestPresentationId

func (x *RequestPresentationResponse) GetRequestPresentationId() string

func (*RequestPresentationResponse) ProtoMessage

func (*RequestPresentationResponse) ProtoMessage()

func (*RequestPresentationResponse) ProtoReflect

func (*RequestPresentationResponse) Reset

func (x *RequestPresentationResponse) Reset()

func (*RequestPresentationResponse) String

func (x *RequestPresentationResponse) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL