Documentation ¶
Index ¶
- Constants
- Variables
- func CalculateRequestAffinityRef(request Request, pulseNumber insolar.PulseNumber, ...) *insolar.Reference
- func HashVirtual(h hash.Hash, rec Virtual) []byte
- func ObjectIDFromRequest(cs insolar.PlatformCryptographyScheme, request Request, requestID insolar.ID) (insolar.ID, error)
- type Activate
- func (*Activate) Descriptor() ([]byte, []int)
- func (this *Activate) Equal(that interface{}) bool
- func (p Activate) GetImage() *insolar.Reference
- func (p Activate) GetIsPrototype() bool
- func (p Activate) GetMemory() []byte
- func (this *Activate) GoString() string
- func (Activate) ID() StateID
- func (m *Activate) Marshal() (dAtA []byte, err error)
- func (m *Activate) MarshalTo(dAtA []byte) (int, error)
- func (Activate) PrevStateID() *insolar.ID
- func (*Activate) ProtoMessage()
- func (m *Activate) Reset()
- func (m *Activate) Size() (n int)
- func (this *Activate) String() string
- func (m *Activate) Unmarshal(dAtA []byte) error
- func (m *Activate) XXX_DiscardUnknown()
- func (m *Activate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Activate) XXX_Merge(src proto.Message)
- func (m *Activate) XXX_Size() int
- func (m *Activate) XXX_Unmarshal(b []byte) error
- type Amend
- func (*Amend) Descriptor() ([]byte, []int)
- func (this *Amend) Equal(that interface{}) bool
- func (p Amend) GetImage() *insolar.Reference
- func (p Amend) GetIsPrototype() bool
- func (p Amend) GetMemory() []byte
- func (this *Amend) GoString() string
- func (Amend) ID() StateID
- func (m *Amend) Marshal() (dAtA []byte, err error)
- func (m *Amend) MarshalTo(dAtA []byte) (int, error)
- func (p Amend) PrevStateID() *insolar.ID
- func (*Amend) ProtoMessage()
- func (m *Amend) Reset()
- func (m *Amend) Size() (n int)
- func (this *Amend) String() string
- func (m *Amend) Unmarshal(dAtA []byte) error
- func (m *Amend) XXX_DiscardUnknown()
- func (m *Amend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Amend) XXX_Merge(src proto.Message)
- func (m *Amend) XXX_Size() int
- func (m *Amend) XXX_Unmarshal(b []byte) error
- type CallType
- type Code
- func (*Code) Descriptor() ([]byte, []int)
- func (this *Code) Equal(that interface{}) bool
- func (this *Code) GetCode() []byte
- func (this *Code) GetMachineType() github_com_insolar_insolar_insolar.MachineType
- func (this *Code) GetPolymorph() int32
- func (this *Code) GetRequest() github_com_insolar_insolar_insolar.Reference
- func (this *Code) GoString() string
- func (m *Code) Marshal() (dAtA []byte, err error)
- func (m *Code) MarshalTo(dAtA []byte) (int, error)
- func (this *Code) Proto() github_com_gogo_protobuf_proto.Message
- func (*Code) ProtoMessage()
- func (m *Code) Reset()
- func (m *Code) Size() (n int)
- func (this *Code) String() string
- func (this *Code) TestProto() github_com_gogo_protobuf_proto.Message
- func (m *Code) Unmarshal(dAtA []byte) error
- func (m *Code) XXX_DiscardUnknown()
- func (m *Code) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Code) XXX_Merge(src proto.Message)
- func (m *Code) XXX_Size() int
- func (m *Code) XXX_Unmarshal(b []byte) error
- type CodeFace
- type CompositeFilamentRecord
- func (*CompositeFilamentRecord) Descriptor() ([]byte, []int)
- func (this *CompositeFilamentRecord) Equal(that interface{}) bool
- func (this *CompositeFilamentRecord) GoString() string
- func (m *CompositeFilamentRecord) Marshal() (dAtA []byte, err error)
- func (m *CompositeFilamentRecord) MarshalTo(dAtA []byte) (int, error)
- func (*CompositeFilamentRecord) ProtoMessage()
- func (m *CompositeFilamentRecord) Reset()
- func (m *CompositeFilamentRecord) Size() (n int)
- func (this *CompositeFilamentRecord) String() string
- func (m *CompositeFilamentRecord) Unmarshal(dAtA []byte) error
- func (m *CompositeFilamentRecord) XXX_DiscardUnknown()
- func (m *CompositeFilamentRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CompositeFilamentRecord) XXX_Merge(src proto.Message)
- func (m *CompositeFilamentRecord) XXX_Size() int
- func (m *CompositeFilamentRecord) XXX_Unmarshal(b []byte) error
- type Deactivate
- func (*Deactivate) Descriptor() ([]byte, []int)
- func (this *Deactivate) Equal(that interface{}) bool
- func (Deactivate) GetImage() *insolar.Reference
- func (Deactivate) GetIsPrototype() bool
- func (Deactivate) GetMemory() []byte
- func (this *Deactivate) GoString() string
- func (Deactivate) ID() StateID
- func (m *Deactivate) Marshal() (dAtA []byte, err error)
- func (m *Deactivate) MarshalTo(dAtA []byte) (int, error)
- func (p Deactivate) PrevStateID() *insolar.ID
- func (*Deactivate) ProtoMessage()
- func (m *Deactivate) Reset()
- func (m *Deactivate) Size() (n int)
- func (this *Deactivate) String() string
- func (m *Deactivate) Unmarshal(dAtA []byte) error
- func (m *Deactivate) XXX_DiscardUnknown()
- func (m *Deactivate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Deactivate) XXX_Merge(src proto.Message)
- func (m *Deactivate) XXX_Size() int
- func (m *Deactivate) XXX_Unmarshal(b []byte) error
- type Genesis
- func (*Genesis) Descriptor() ([]byte, []int)
- func (this *Genesis) Equal(that interface{}) bool
- func (this *Genesis) GetHash() []byte
- func (Genesis) GetImage() *insolar.Reference
- func (Genesis) GetIsPrototype() bool
- func (Genesis) GetMemory() []byte
- func (this *Genesis) GetPolymorph() int32
- func (this *Genesis) GoString() string
- func (Genesis) ID() StateID
- func (m *Genesis) Marshal() (dAtA []byte, err error)
- func (m *Genesis) MarshalTo(dAtA []byte) (int, error)
- func (Genesis) PrevStateID() *insolar.ID
- func (this *Genesis) Proto() github_com_gogo_protobuf_proto.Message
- func (*Genesis) ProtoMessage()
- func (m *Genesis) Reset()
- func (m *Genesis) Size() (n int)
- func (this *Genesis) String() string
- func (this *Genesis) TestProto() github_com_gogo_protobuf_proto.Message
- func (m *Genesis) Unmarshal(dAtA []byte) error
- func (m *Genesis) XXX_DiscardUnknown()
- func (m *Genesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Genesis) XXX_Merge(src proto.Message)
- func (m *Genesis) XXX_Size() int
- func (m *Genesis) XXX_Unmarshal(b []byte) error
- type GenesisFace
- type IncomingRequest
- func (r *IncomingRequest) AffinityRef() *insolar.Reference
- func (*IncomingRequest) Descriptor() ([]byte, []int)
- func (this *IncomingRequest) Equal(that interface{}) bool
- func (this *IncomingRequest) GetAPINode() github_com_insolar_insolar_insolar.Reference
- func (this *IncomingRequest) GetAPIRequestID() string
- func (this *IncomingRequest) GetArguments() []byte
- func (this *IncomingRequest) GetBase() *github_com_insolar_insolar_insolar.Reference
- func (this *IncomingRequest) GetCallType() CallType
- func (this *IncomingRequest) GetCaller() github_com_insolar_insolar_insolar.Reference
- func (this *IncomingRequest) GetCallerPrototype() github_com_insolar_insolar_insolar.Reference
- func (this *IncomingRequest) GetImmutable() bool
- func (this *IncomingRequest) GetMethod() string
- func (this *IncomingRequest) GetNonce() uint64
- func (this *IncomingRequest) GetObject() *github_com_insolar_insolar_insolar.Reference
- func (this *IncomingRequest) GetPolymorph() int32
- func (this *IncomingRequest) GetPrototype() *github_com_insolar_insolar_insolar.Reference
- func (this *IncomingRequest) GetReason() github_com_insolar_insolar_insolar.Reference
- func (this *IncomingRequest) GetReturnMode() ReturnMode
- func (this *IncomingRequest) GoString() string
- func (r *IncomingRequest) IsAPIRequest() bool
- func (r *IncomingRequest) IsCreationRequest() bool
- func (r *IncomingRequest) IsDetachedCall() bool
- func (r *IncomingRequest) IsTemporaryUploadCode() bool
- func (m *IncomingRequest) Marshal() (dAtA []byte, err error)
- func (m *IncomingRequest) MarshalTo(dAtA []byte) (int, error)
- func (this *IncomingRequest) Proto() github_com_gogo_protobuf_proto.Message
- func (*IncomingRequest) ProtoMessage()
- func (r *IncomingRequest) ReasonAffinityRef() insolar.Reference
- func (r *IncomingRequest) ReasonRef() insolar.Reference
- func (m *IncomingRequest) Reset()
- func (m *IncomingRequest) Size() (n int)
- func (this *IncomingRequest) String() string
- func (this *IncomingRequest) TestProto() github_com_gogo_protobuf_proto.Message
- func (m *IncomingRequest) Unmarshal(dAtA []byte) error
- func (r *IncomingRequest) Validate() error
- func (m *IncomingRequest) XXX_DiscardUnknown()
- func (m *IncomingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IncomingRequest) XXX_Merge(src proto.Message)
- func (m *IncomingRequest) XXX_Size() int
- func (m *IncomingRequest) XXX_Unmarshal(b []byte) error
- type IncomingRequestFace
- type Index
- func (*Index) Descriptor() ([]byte, []int)
- func (this *Index) Equal(that interface{}) bool
- func (this *Index) GoString() string
- func (m *Index) Marshal() (dAtA []byte, err error)
- func (m *Index) MarshalTo(dAtA []byte) (int, error)
- func (*Index) ProtoMessage()
- func (m *Index) Reset()
- func (m *Index) Size() (n int)
- func (this *Index) String() string
- func (m *Index) Unmarshal(dAtA []byte) error
- func (m *Index) XXX_DiscardUnknown()
- func (m *Index) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Index) XXX_Merge(src proto.Message)
- func (m *Index) XXX_Size() int
- func (m *Index) XXX_Unmarshal(b []byte) error
- type Lifeline
- func (*Lifeline) Descriptor() ([]byte, []int)
- func (this *Lifeline) Equal(that interface{}) bool
- func (this *Lifeline) GoString() string
- func (m *Lifeline) Marshal() (dAtA []byte, err error)
- func (m *Lifeline) MarshalTo(dAtA []byte) (int, error)
- func (*Lifeline) ProtoMessage()
- func (m *Lifeline) Reset()
- func (m *Lifeline) Size() (n int)
- func (this *Lifeline) String() string
- func (m *Lifeline) Unmarshal(dAtA []byte) error
- func (m *Lifeline) XXX_DiscardUnknown()
- func (m *Lifeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Lifeline) XXX_Merge(src proto.Message)
- func (m *Lifeline) XXX_Size() int
- func (m *Lifeline) XXX_Unmarshal(b []byte) error
- type Material
- func (*Material) Descriptor() ([]byte, []int)
- func (this *Material) Equal(that interface{}) bool
- func (this *Material) GoString() string
- func (m *Material) Marshal() (dAtA []byte, err error)
- func (m *Material) MarshalTo(dAtA []byte) (int, error)
- func (*Material) ProtoMessage()
- func (m *Material) Reset()
- func (m *Material) Size() (n int)
- func (this *Material) String() string
- func (m *Material) Unmarshal(dAtA []byte) error
- func (m *Material) XXX_DiscardUnknown()
- func (m *Material) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Material) XXX_Merge(src proto.Message)
- func (m *Material) XXX_Size() int
- func (m *Material) XXX_Unmarshal(b []byte) error
- type OutgoingRequest
- func (r *OutgoingRequest) AffinityRef() *insolar.Reference
- func (*OutgoingRequest) Descriptor() ([]byte, []int)
- func (this *OutgoingRequest) Equal(that interface{}) bool
- func (this *OutgoingRequest) GetAPINode() github_com_insolar_insolar_insolar.Reference
- func (this *OutgoingRequest) GetAPIRequestID() string
- func (this *OutgoingRequest) GetArguments() []byte
- func (this *OutgoingRequest) GetBase() *github_com_insolar_insolar_insolar.Reference
- func (this *OutgoingRequest) GetCallType() CallType
- func (this *OutgoingRequest) GetCaller() github_com_insolar_insolar_insolar.Reference
- func (this *OutgoingRequest) GetCallerPrototype() github_com_insolar_insolar_insolar.Reference
- func (this *OutgoingRequest) GetImmutable() bool
- func (this *OutgoingRequest) GetMethod() string
- func (this *OutgoingRequest) GetNonce() uint64
- func (this *OutgoingRequest) GetObject() *github_com_insolar_insolar_insolar.Reference
- func (this *OutgoingRequest) GetPolymorph() int32
- func (this *OutgoingRequest) GetPrototype() *github_com_insolar_insolar_insolar.Reference
- func (this *OutgoingRequest) GetReason() github_com_insolar_insolar_insolar.Reference
- func (this *OutgoingRequest) GetReturnMode() ReturnMode
- func (this *OutgoingRequest) GoString() string
- func (r *OutgoingRequest) IsAPIRequest() bool
- func (r *OutgoingRequest) IsCreationRequest() bool
- func (r *OutgoingRequest) IsDetached() bool
- func (r *OutgoingRequest) IsTemporaryUploadCode() bool
- func (m *OutgoingRequest) Marshal() (dAtA []byte, err error)
- func (m *OutgoingRequest) MarshalTo(dAtA []byte) (int, error)
- func (this *OutgoingRequest) Proto() github_com_gogo_protobuf_proto.Message
- func (*OutgoingRequest) ProtoMessage()
- func (r *OutgoingRequest) ReasonAffinityRef() insolar.Reference
- func (r *OutgoingRequest) ReasonRef() insolar.Reference
- func (m *OutgoingRequest) Reset()
- func (m *OutgoingRequest) Size() (n int)
- func (this *OutgoingRequest) String() string
- func (this *OutgoingRequest) TestProto() github_com_gogo_protobuf_proto.Message
- func (m *OutgoingRequest) Unmarshal(dAtA []byte) error
- func (r *OutgoingRequest) Validate() error
- func (m *OutgoingRequest) XXX_DiscardUnknown()
- func (m *OutgoingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutgoingRequest) XXX_Merge(src proto.Message)
- func (m *OutgoingRequest) XXX_Size() int
- func (m *OutgoingRequest) XXX_Unmarshal(b []byte) error
- type OutgoingRequestFace
- type PendingFilament
- func (*PendingFilament) Descriptor() ([]byte, []int)
- func (this *PendingFilament) Equal(that interface{}) bool
- func (this *PendingFilament) GoString() string
- func (m *PendingFilament) Marshal() (dAtA []byte, err error)
- func (m *PendingFilament) MarshalTo(dAtA []byte) (int, error)
- func (*PendingFilament) ProtoMessage()
- func (m *PendingFilament) Reset()
- func (m *PendingFilament) Size() (n int)
- func (this *PendingFilament) String() string
- func (m *PendingFilament) Unmarshal(dAtA []byte) error
- func (m *PendingFilament) XXX_DiscardUnknown()
- func (m *PendingFilament) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PendingFilament) XXX_Merge(src proto.Message)
- func (m *PendingFilament) XXX_Size() int
- func (m *PendingFilament) XXX_Unmarshal(b []byte) error
- type Record
- type Request
- type RequestMock
- func (mmAffinityRef *RequestMock) AffinityRef() (rp1 *insolar.Reference)
- func (mmAffinityRef *RequestMock) AffinityRefAfterCounter() uint64
- func (mmAffinityRef *RequestMock) AffinityRefBeforeCounter() uint64
- func (mmGetCallType *RequestMock) GetCallType() (c1 CallType)
- func (mmGetCallType *RequestMock) GetCallTypeAfterCounter() uint64
- func (mmGetCallType *RequestMock) GetCallTypeBeforeCounter() uint64
- func (mmIsAPIRequest *RequestMock) IsAPIRequest() (b1 bool)
- func (mmIsAPIRequest *RequestMock) IsAPIRequestAfterCounter() uint64
- func (mmIsAPIRequest *RequestMock) IsAPIRequestBeforeCounter() uint64
- func (mmIsCreationRequest *RequestMock) IsCreationRequest() (b1 bool)
- func (mmIsCreationRequest *RequestMock) IsCreationRequestAfterCounter() uint64
- func (mmIsCreationRequest *RequestMock) IsCreationRequestBeforeCounter() uint64
- func (mmIsTemporaryUploadCode *RequestMock) IsTemporaryUploadCode() (b1 bool)
- func (mmIsTemporaryUploadCode *RequestMock) IsTemporaryUploadCodeAfterCounter() uint64
- func (mmIsTemporaryUploadCode *RequestMock) IsTemporaryUploadCodeBeforeCounter() uint64
- func (mmMarshal *RequestMock) Marshal() (dAtA []byte, err error)
- func (mmMarshal *RequestMock) MarshalAfterCounter() uint64
- func (mmMarshal *RequestMock) MarshalBeforeCounter() uint64
- func (m *RequestMock) MinimockAffinityRefDone() bool
- func (m *RequestMock) MinimockAffinityRefInspect()
- func (m *RequestMock) MinimockFinish()
- func (m *RequestMock) MinimockGetCallTypeDone() bool
- func (m *RequestMock) MinimockGetCallTypeInspect()
- func (m *RequestMock) MinimockIsAPIRequestDone() bool
- func (m *RequestMock) MinimockIsAPIRequestInspect()
- func (m *RequestMock) MinimockIsCreationRequestDone() bool
- func (m *RequestMock) MinimockIsCreationRequestInspect()
- func (m *RequestMock) MinimockIsTemporaryUploadCodeDone() bool
- func (m *RequestMock) MinimockIsTemporaryUploadCodeInspect()
- func (m *RequestMock) MinimockMarshalDone() bool
- func (m *RequestMock) MinimockMarshalInspect()
- func (m *RequestMock) MinimockReasonAffinityRefDone() bool
- func (m *RequestMock) MinimockReasonAffinityRefInspect()
- func (m *RequestMock) MinimockReasonRefDone() bool
- func (m *RequestMock) MinimockReasonRefInspect()
- func (m *RequestMock) MinimockValidateDone() bool
- func (m *RequestMock) MinimockValidateInspect()
- func (m *RequestMock) MinimockWait(timeout mm_time.Duration)
- func (mmReasonAffinityRef *RequestMock) ReasonAffinityRef() (r1 insolar.Reference)
- func (mmReasonAffinityRef *RequestMock) ReasonAffinityRefAfterCounter() uint64
- func (mmReasonAffinityRef *RequestMock) ReasonAffinityRefBeforeCounter() uint64
- func (mmReasonRef *RequestMock) ReasonRef() (r1 insolar.Reference)
- func (mmReasonRef *RequestMock) ReasonRefAfterCounter() uint64
- func (mmReasonRef *RequestMock) ReasonRefBeforeCounter() uint64
- func (mmValidate *RequestMock) Validate() (err error)
- func (mmValidate *RequestMock) ValidateAfterCounter() uint64
- func (mmValidate *RequestMock) ValidateBeforeCounter() uint64
- type RequestMockAffinityRefExpectation
- type RequestMockAffinityRefResults
- type RequestMockGetCallTypeExpectation
- type RequestMockGetCallTypeResults
- type RequestMockIsAPIRequestExpectation
- type RequestMockIsAPIRequestResults
- type RequestMockIsCreationRequestExpectation
- type RequestMockIsCreationRequestResults
- type RequestMockIsTemporaryUploadCodeExpectation
- type RequestMockIsTemporaryUploadCodeResults
- type RequestMockMarshalExpectation
- type RequestMockMarshalResults
- type RequestMockReasonAffinityRefExpectation
- type RequestMockReasonAffinityRefResults
- type RequestMockReasonRefExpectation
- type RequestMockReasonRefResults
- type RequestMockValidateExpectation
- type RequestMockValidateResults
- type Result
- func (*Result) Descriptor() ([]byte, []int)
- func (this *Result) Equal(that interface{}) bool
- func (this *Result) GetObject() github_com_insolar_insolar_insolar.ID
- func (this *Result) GetPayload() []byte
- func (this *Result) GetPolymorph() int32
- func (this *Result) GetRequest() github_com_insolar_insolar_insolar.Reference
- func (this *Result) GoString() string
- func (m *Result) Marshal() (dAtA []byte, err error)
- func (m *Result) MarshalTo(dAtA []byte) (int, error)
- func (this *Result) Proto() github_com_gogo_protobuf_proto.Message
- func (*Result) ProtoMessage()
- func (m *Result) Reset()
- func (m *Result) Size() (n int)
- func (this *Result) String() string
- func (this *Result) TestProto() github_com_gogo_protobuf_proto.Message
- func (m *Result) Unmarshal(dAtA []byte) error
- func (m *Result) XXX_DiscardUnknown()
- func (m *Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Result) XXX_Merge(src proto.Message)
- func (m *Result) XXX_Size() int
- func (m *Result) XXX_Unmarshal(b []byte) error
- type ResultFace
- type ReturnMode
- type State
- type StateID
- type Virtual
- func (*Virtual) Descriptor() ([]byte, []int)
- func (this *Virtual) Equal(that interface{}) bool
- func (m *Virtual) GetActivate() *Activate
- func (m *Virtual) GetAmend() *Amend
- func (m *Virtual) GetCode() *Code
- func (m *Virtual) GetDeactivate() *Deactivate
- func (m *Virtual) GetGenesis() *Genesis
- func (m *Virtual) GetIncomingRequest() *IncomingRequest
- func (m *Virtual) GetOutgoingRequest() *OutgoingRequest
- func (m *Virtual) GetPendingFilament() *PendingFilament
- func (m *Virtual) GetResult() *Result
- func (m *Virtual) GetUnion() isVirtual_Union
- func (this *Virtual) GoString() string
- func (m *Virtual) Marshal() (dAtA []byte, err error)
- func (m *Virtual) MarshalTo(dAtA []byte) (int, error)
- func (*Virtual) ProtoMessage()
- func (m *Virtual) Reset()
- func (m *Virtual) Size() (n int)
- func (this *Virtual) String() string
- func (m *Virtual) Unmarshal(dAtA []byte) error
- func (m *Virtual) XXX_DiscardUnknown()
- func (m *Virtual) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Virtual) XXX_Merge(src proto.Message)
- func (*Virtual) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Virtual) XXX_Size() int
- func (m *Virtual) XXX_Unmarshal(b []byte) error
- type Virtual_Activate
- type Virtual_Amend
- type Virtual_Code
- type Virtual_Deactivate
- type Virtual_Genesis
- type Virtual_IncomingRequest
- type Virtual_OutgoingRequest
- type Virtual_PendingFilament
- type Virtual_Result
Constants ¶
const ( // StateUndefined is used for special cases. StateUndefined = StateID(iota) // StateActivation means it's an activation record. StateActivation // StateAmend means it's an amend record. StateAmend // StateDeactivation means it's a deactivation record. StateDeactivation )
Variables ¶
var ( ErrInvalidLengthRecord = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRecord = fmt.Errorf("proto: integer overflow") )
var CallType_name = map[int32]string{
0: "CTMethod",
1: "CTSaveAsChild",
2: "CTGenesis",
3: "CTDeployPrototype",
}
var CallType_value = map[string]int32{
"CTMethod": 0,
"CTSaveAsChild": 1,
"CTGenesis": 2,
"CTDeployPrototype": 3,
}
var ReturnMode_name = map[int32]string{
0: "ReturnResult",
1: "ReturnSaga",
}
var ReturnMode_value = map[string]int32{
"ReturnResult": 0,
"ReturnSaga": 1,
}
Functions ¶
func CalculateRequestAffinityRef ¶
func CalculateRequestAffinityRef( request Request, pulseNumber insolar.PulseNumber, scheme insolar.PlatformCryptographyScheme, ) *insolar.Reference
func HashVirtual ¶
HashVirtual returns hash for virtual record.
func ObjectIDFromRequest ¶ added in v0.9.11
func ObjectIDFromRequest(cs insolar.PlatformCryptographyScheme, request Request, requestID insolar.ID) (insolar.ID, error)
ObjectIDFromRequest calculates object is from request.
Types ¶
type Activate ¶
type Activate struct { Polymorph int32 `protobuf:"varint,16,opt,name=polymorph,proto3" json:"polymorph,omitempty"` Request github_com_insolar_insolar_insolar.Reference `protobuf:"bytes,20,opt,name=Request,proto3,customtype=github.com/insolar/insolar/insolar.Reference" json:"Request"` Memory []byte `protobuf:"bytes,21,opt,name=Memory,proto3" json:"Memory,omitempty"` Image github_com_insolar_insolar_insolar.Reference `protobuf:"bytes,22,opt,name=Image,proto3,customtype=github.com/insolar/insolar/insolar.Reference" json:"Image"` IsPrototype bool `protobuf:"varint,23,opt,name=IsPrototype,proto3" json:"IsPrototype,omitempty"` Parent github_com_insolar_insolar_insolar.Reference `protobuf:"bytes,24,opt,name=Parent,proto3,customtype=github.com/insolar/insolar/insolar.Reference" json:"Parent"` }
func (*Activate) Descriptor ¶
func (Activate) GetIsPrototype ¶
func (Activate) PrevStateID ¶
func (*Activate) ProtoMessage ¶
func (*Activate) ProtoMessage()
func (*Activate) XXX_DiscardUnknown ¶
func (m *Activate) XXX_DiscardUnknown()
func (*Activate) XXX_Marshal ¶
func (*Activate) XXX_Unmarshal ¶
type Amend ¶
type Amend struct { Polymorph int32 `protobuf:"varint,16,opt,name=polymorph,proto3" json:"polymorph,omitempty"` Request github_com_insolar_insolar_insolar.Reference `protobuf:"bytes,20,opt,name=Request,proto3,customtype=github.com/insolar/insolar/insolar.Reference" json:"Request"` Memory []byte `protobuf:"bytes,21,opt,name=Memory,proto3" json:"Memory,omitempty"` Image github_com_insolar_insolar_insolar.Reference `protobuf:"bytes,22,opt,name=Image,proto3,customtype=github.com/insolar/insolar/insolar.Reference" json:"Image"` IsPrototype bool `protobuf:"varint,23,opt,name=IsPrototype,proto3" json:"IsPrototype,omitempty"` PrevState github_com_insolar_insolar_insolar.ID `protobuf:"bytes,24,opt,name=PrevState,proto3,customtype=github.com/insolar/insolar/insolar.ID" json:"PrevState"` }
func (*Amend) Descriptor ¶
func (Amend) GetIsPrototype ¶
func (Amend) PrevStateID ¶
func (*Amend) ProtoMessage ¶
func (*Amend) ProtoMessage()
func (*Amend) XXX_DiscardUnknown ¶
func (m *Amend) XXX_DiscardUnknown()
func (*Amend) XXX_Marshal ¶
func (*Amend) XXX_Unmarshal ¶
type Code ¶
type Code struct { Polymorph int32 `protobuf:"varint,16,opt,name=polymorph,proto3" json:"polymorph,omitempty"` Request github_com_insolar_insolar_insolar.Reference `protobuf:"bytes,20,opt,name=Request,proto3,customtype=github.com/insolar/insolar/insolar.Reference" json:"Request"` Code []byte `protobuf:"bytes,21,opt,name=Code,proto3" json:"Code,omitempty"` MachineType github_com_insolar_insolar_insolar.MachineType `protobuf:"varint,22,opt,name=MachineType,proto3,customtype=github.com/insolar/insolar/insolar.MachineType" json:"MachineType"` }
func NewCodeFromFace ¶
func (*Code) Descriptor ¶
func (*Code) GetMachineType ¶
func (this *Code) GetMachineType() github_com_insolar_insolar_insolar.MachineType
func (*Code) GetPolymorph ¶
func (*Code) GetRequest ¶
func (this *Code) GetRequest() github_com_insolar_insolar_insolar.Reference
func (*Code) Proto ¶
func (this *Code) Proto() github_com_gogo_protobuf_proto.Message
func (*Code) ProtoMessage ¶
func (*Code) ProtoMessage()
func (*Code) TestProto ¶
func (this *Code) TestProto() github_com_gogo_protobuf_proto.Message
func (*Code) XXX_DiscardUnknown ¶
func (m *Code) XXX_DiscardUnknown()
func (*Code) XXX_Unmarshal ¶
type CodeFace ¶
type CodeFace interface { Proto() github_com_gogo_protobuf_proto.Message GetPolymorph() int32 GetRequest() github_com_insolar_insolar_insolar.Reference GetCode() []byte GetMachineType() github_com_insolar_insolar_insolar.MachineType }
type CompositeFilamentRecord ¶
type CompositeFilamentRecord struct { Polymorph int32 `protobuf:"varint,16,opt,name=polymorph,proto3" json:"polymorph,omitempty"` RecordID github_com_insolar_insolar_insolar.ID `protobuf:"bytes,20,opt,name=RecordID,proto3,customtype=github.com/insolar/insolar/insolar.ID" json:"RecordID"` Record Material `protobuf:"bytes,21,opt,name=Record,proto3" json:"Record"` MetaID github_com_insolar_insolar_insolar.ID `protobuf:"bytes,22,opt,name=MetaID,proto3,customtype=github.com/insolar/insolar/insolar.ID" json:"MetaID"` Meta Material `protobuf:"bytes,23,opt,name=Meta,proto3" json:"Meta"` }
func (*CompositeFilamentRecord) Descriptor ¶
func (*CompositeFilamentRecord) Descriptor() ([]byte, []int)
func (*CompositeFilamentRecord) Equal ¶
func (this *CompositeFilamentRecord) Equal(that interface{}) bool
func (*CompositeFilamentRecord) GoString ¶
func (this *CompositeFilamentRecord) GoString() string
func (*CompositeFilamentRecord) Marshal ¶
func (m *CompositeFilamentRecord) Marshal() (dAtA []byte, err error)
func (*CompositeFilamentRecord) MarshalTo ¶
func (m *CompositeFilamentRecord) MarshalTo(dAtA []byte) (int, error)
func (*CompositeFilamentRecord) ProtoMessage ¶
func (*CompositeFilamentRecord) ProtoMessage()
func (*CompositeFilamentRecord) Reset ¶
func (m *CompositeFilamentRecord) Reset()
func (*CompositeFilamentRecord) Size ¶
func (m *CompositeFilamentRecord) Size() (n int)
func (*CompositeFilamentRecord) String ¶
func (this *CompositeFilamentRecord) String() string
func (*CompositeFilamentRecord) Unmarshal ¶
func (m *CompositeFilamentRecord) Unmarshal(dAtA []byte) error
func (*CompositeFilamentRecord) XXX_DiscardUnknown ¶
func (m *CompositeFilamentRecord) XXX_DiscardUnknown()
func (*CompositeFilamentRecord) XXX_Marshal ¶
func (m *CompositeFilamentRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CompositeFilamentRecord) XXX_Merge ¶
func (m *CompositeFilamentRecord) XXX_Merge(src proto.Message)
func (*CompositeFilamentRecord) XXX_Size ¶
func (m *CompositeFilamentRecord) XXX_Size() int
func (*CompositeFilamentRecord) XXX_Unmarshal ¶
func (m *CompositeFilamentRecord) XXX_Unmarshal(b []byte) error
type Deactivate ¶
type Deactivate struct { Polymorph int32 `protobuf:"varint,16,opt,name=polymorph,proto3" json:"polymorph,omitempty"` Request github_com_insolar_insolar_insolar.Reference `protobuf:"bytes,20,opt,name=Request,proto3,customtype=github.com/insolar/insolar/insolar.Reference" json:"Request"` PrevState github_com_insolar_insolar_insolar.ID `protobuf:"bytes,21,opt,name=PrevState,proto3,customtype=github.com/insolar/insolar/insolar.ID" json:"PrevState"` }
func (*Deactivate) Descriptor ¶
func (*Deactivate) Descriptor() ([]byte, []int)
func (*Deactivate) Equal ¶
func (this *Deactivate) Equal(that interface{}) bool
func (Deactivate) GetImage ¶
func (Deactivate) GetImage() *insolar.Reference
func (Deactivate) GetIsPrototype ¶
func (Deactivate) GetIsPrototype() bool
func (Deactivate) GetMemory ¶
func (Deactivate) GetMemory() []byte
func (*Deactivate) GoString ¶
func (this *Deactivate) GoString() string
func (Deactivate) ID ¶
func (Deactivate) ID() StateID
func (*Deactivate) Marshal ¶
func (m *Deactivate) Marshal() (dAtA []byte, err error)
func (Deactivate) PrevStateID ¶
func (p Deactivate) PrevStateID() *insolar.ID
func (*Deactivate) ProtoMessage ¶
func (*Deactivate) ProtoMessage()
func (*Deactivate) Reset ¶
func (m *Deactivate) Reset()
func (*Deactivate) Size ¶
func (m *Deactivate) Size() (n int)
func (*Deactivate) String ¶
func (this *Deactivate) String() string
func (*Deactivate) Unmarshal ¶
func (m *Deactivate) Unmarshal(dAtA []byte) error
func (*Deactivate) XXX_DiscardUnknown ¶
func (m *Deactivate) XXX_DiscardUnknown()
func (*Deactivate) XXX_Marshal ¶
func (m *Deactivate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Deactivate) XXX_Merge ¶
func (m *Deactivate) XXX_Merge(src proto.Message)
func (*Deactivate) XXX_Size ¶
func (m *Deactivate) XXX_Size() int
func (*Deactivate) XXX_Unmarshal ¶
func (m *Deactivate) XXX_Unmarshal(b []byte) error
type Genesis ¶
type Genesis struct { Polymorph int32 `protobuf:"varint,16,opt,name=polymorph,proto3" json:"polymorph,omitempty"` Hash []byte `protobuf:"bytes,20,opt,name=Hash,proto3" json:"Hash,omitempty"` }
func NewGenesisFromFace ¶
func NewGenesisFromFace(that GenesisFace) *Genesis
func (*Genesis) Descriptor ¶
func (Genesis) GetIsPrototype ¶
func (*Genesis) GetPolymorph ¶
func (Genesis) PrevStateID ¶
func (*Genesis) Proto ¶
func (this *Genesis) Proto() github_com_gogo_protobuf_proto.Message
func (*Genesis) ProtoMessage ¶
func (*Genesis) ProtoMessage()
func (*Genesis) TestProto ¶
func (this *Genesis) TestProto() github_com_gogo_protobuf_proto.Message
func (*Genesis) XXX_DiscardUnknown ¶
func (m *Genesis) XXX_DiscardUnknown()
func (*Genesis) XXX_Marshal ¶
func (*Genesis) XXX_Unmarshal ¶
type GenesisFace ¶
type GenesisFace interface { Proto() github_com_gogo_protobuf_proto.Message GetPolymorph() int32 GetHash() []byte }
type IncomingRequest ¶
type IncomingRequest struct { Polymorph int32 `protobuf:"varint,16,opt,name=polymorph,proto3" json:"polymorph,omitempty"` CallType CallType `protobuf:"varint,20,opt,name=CallType,proto3,enum=record.CallType" json:"CallType,omitempty"` Caller github_com_insolar_insolar_insolar.Reference `protobuf:"bytes,21,opt,name=Caller,proto3,customtype=github.com/insolar/insolar/insolar.Reference" json:"Caller"` CallerPrototype github_com_insolar_insolar_insolar.Reference `` /* 130-byte string literal not displayed */ Nonce uint64 `protobuf:"varint,23,opt,name=Nonce,proto3" json:"Nonce,omitempty"` ReturnMode ReturnMode `protobuf:"varint,25,opt,name=ReturnMode,proto3,enum=record.ReturnMode" json:"ReturnMode,omitempty"` Immutable bool `protobuf:"varint,26,opt,name=Immutable,proto3" json:"Immutable,omitempty"` Base *github_com_insolar_insolar_insolar.Reference `protobuf:"bytes,27,opt,name=Base,proto3,customtype=github.com/insolar/insolar/insolar.Reference" json:"Base,omitempty"` Object *github_com_insolar_insolar_insolar.Reference `protobuf:"bytes,28,opt,name=Object,proto3,customtype=github.com/insolar/insolar/insolar.Reference" json:"Object,omitempty"` Prototype *github_com_insolar_insolar_insolar.Reference `` /* 128-byte string literal not displayed */ Method string `protobuf:"bytes,30,opt,name=Method,proto3" json:"Method,omitempty"` Arguments []byte `protobuf:"bytes,31,opt,name=Arguments,proto3" json:"Arguments,omitempty"` APIRequestID string `protobuf:"bytes,33,opt,name=APIRequestID,proto3" json:"APIRequestID,omitempty"` Reason github_com_insolar_insolar_insolar.Reference `protobuf:"bytes,34,opt,name=Reason,proto3,customtype=github.com/insolar/insolar/insolar.Reference" json:"Reason"` APINode github_com_insolar_insolar_insolar.Reference `protobuf:"bytes,35,opt,name=APINode,proto3,customtype=github.com/insolar/insolar/insolar.Reference" json:"APINode"` }
func NewIncomingRequestFromFace ¶
func NewIncomingRequestFromFace(that IncomingRequestFace) *IncomingRequest
func (*IncomingRequest) AffinityRef ¶
func (r *IncomingRequest) AffinityRef() *insolar.Reference
func (*IncomingRequest) Descriptor ¶
func (*IncomingRequest) Descriptor() ([]byte, []int)
func (*IncomingRequest) Equal ¶
func (this *IncomingRequest) Equal(that interface{}) bool
func (*IncomingRequest) GetAPINode ¶
func (this *IncomingRequest) GetAPINode() github_com_insolar_insolar_insolar.Reference
func (*IncomingRequest) GetAPIRequestID ¶
func (this *IncomingRequest) GetAPIRequestID() string
func (*IncomingRequest) GetArguments ¶
func (this *IncomingRequest) GetArguments() []byte
func (*IncomingRequest) GetBase ¶
func (this *IncomingRequest) GetBase() *github_com_insolar_insolar_insolar.Reference
func (*IncomingRequest) GetCallType ¶
func (this *IncomingRequest) GetCallType() CallType
func (*IncomingRequest) GetCaller ¶
func (this *IncomingRequest) GetCaller() github_com_insolar_insolar_insolar.Reference
func (*IncomingRequest) GetCallerPrototype ¶
func (this *IncomingRequest) GetCallerPrototype() github_com_insolar_insolar_insolar.Reference
func (*IncomingRequest) GetImmutable ¶
func (this *IncomingRequest) GetImmutable() bool
func (*IncomingRequest) GetMethod ¶
func (this *IncomingRequest) GetMethod() string
func (*IncomingRequest) GetNonce ¶
func (this *IncomingRequest) GetNonce() uint64
func (*IncomingRequest) GetObject ¶
func (this *IncomingRequest) GetObject() *github_com_insolar_insolar_insolar.Reference
func (*IncomingRequest) GetPolymorph ¶
func (this *IncomingRequest) GetPolymorph() int32
func (*IncomingRequest) GetPrototype ¶
func (this *IncomingRequest) GetPrototype() *github_com_insolar_insolar_insolar.Reference
func (*IncomingRequest) GetReason ¶
func (this *IncomingRequest) GetReason() github_com_insolar_insolar_insolar.Reference
func (*IncomingRequest) GetReturnMode ¶
func (this *IncomingRequest) GetReturnMode() ReturnMode
func (*IncomingRequest) GoString ¶
func (this *IncomingRequest) GoString() string
func (*IncomingRequest) IsAPIRequest ¶
func (r *IncomingRequest) IsAPIRequest() bool
func (*IncomingRequest) IsCreationRequest ¶
func (r *IncomingRequest) IsCreationRequest() bool
func (*IncomingRequest) IsDetachedCall ¶
func (r *IncomingRequest) IsDetachedCall() bool
func (*IncomingRequest) IsTemporaryUploadCode ¶
func (r *IncomingRequest) IsTemporaryUploadCode() bool
func (*IncomingRequest) Marshal ¶
func (m *IncomingRequest) Marshal() (dAtA []byte, err error)
func (*IncomingRequest) Proto ¶
func (this *IncomingRequest) Proto() github_com_gogo_protobuf_proto.Message
func (*IncomingRequest) ProtoMessage ¶
func (*IncomingRequest) ProtoMessage()
func (*IncomingRequest) ReasonAffinityRef ¶
func (r *IncomingRequest) ReasonAffinityRef() insolar.Reference
func (*IncomingRequest) ReasonRef ¶
func (r *IncomingRequest) ReasonRef() insolar.Reference
func (*IncomingRequest) Reset ¶
func (m *IncomingRequest) Reset()
func (*IncomingRequest) Size ¶
func (m *IncomingRequest) Size() (n int)
func (*IncomingRequest) String ¶
func (this *IncomingRequest) String() string
func (*IncomingRequest) TestProto ¶
func (this *IncomingRequest) TestProto() github_com_gogo_protobuf_proto.Message
func (*IncomingRequest) Unmarshal ¶
func (m *IncomingRequest) Unmarshal(dAtA []byte) error
func (*IncomingRequest) Validate ¶
func (r *IncomingRequest) Validate() error
func (*IncomingRequest) XXX_DiscardUnknown ¶
func (m *IncomingRequest) XXX_DiscardUnknown()
func (*IncomingRequest) XXX_Marshal ¶
func (m *IncomingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IncomingRequest) XXX_Merge ¶
func (m *IncomingRequest) XXX_Merge(src proto.Message)
func (*IncomingRequest) XXX_Size ¶
func (m *IncomingRequest) XXX_Size() int
func (*IncomingRequest) XXX_Unmarshal ¶
func (m *IncomingRequest) XXX_Unmarshal(b []byte) error
type IncomingRequestFace ¶
type IncomingRequestFace interface { Proto() github_com_gogo_protobuf_proto.Message GetPolymorph() int32 GetCallType() CallType GetCaller() github_com_insolar_insolar_insolar.Reference GetCallerPrototype() github_com_insolar_insolar_insolar.Reference GetNonce() uint64 GetReturnMode() ReturnMode GetImmutable() bool GetBase() *github_com_insolar_insolar_insolar.Reference GetObject() *github_com_insolar_insolar_insolar.Reference GetPrototype() *github_com_insolar_insolar_insolar.Reference GetMethod() string GetArguments() []byte GetAPIRequestID() string GetReason() github_com_insolar_insolar_insolar.Reference GetAPINode() github_com_insolar_insolar_insolar.Reference }
type Index ¶
type Index struct { Polymorph int32 `protobuf:"varint,16,opt,name=Polymorph,proto3" json:"Polymorph,omitempty"` ObjID github_com_insolar_insolar_insolar.ID `protobuf:"bytes,20,opt,name=ObjID,proto3,customtype=github.com/insolar/insolar/insolar.ID" json:"ObjID"` Lifeline Lifeline `protobuf:"bytes,21,opt,name=Lifeline,proto3" json:"Lifeline"` LifelineLastUsed github_com_insolar_insolar_insolar.PulseNumber `` /* 135-byte string literal not displayed */ PendingRecords []github_com_insolar_insolar_insolar.ID `protobuf:"bytes,23,rep,name=PendingRecords,proto3,customtype=github.com/insolar/insolar/insolar.ID" json:"PendingRecords"` }
func (*Index) Descriptor ¶
func (*Index) ProtoMessage ¶
func (*Index) ProtoMessage()
func (*Index) XXX_DiscardUnknown ¶
func (m *Index) XXX_DiscardUnknown()
func (*Index) XXX_Marshal ¶
func (*Index) XXX_Unmarshal ¶
type Lifeline ¶
type Lifeline struct { Polymorph int32 `protobuf:"varint,16,opt,name=Polymorph,proto3" json:"Polymorph,omitempty"` LatestState *github_com_insolar_insolar_insolar.ID `protobuf:"bytes,20,opt,name=LatestState,proto3,customtype=github.com/insolar/insolar/insolar.ID" json:"LatestState,omitempty"` StateID StateID `protobuf:"varint,21,opt,name=StateID,proto3,customtype=StateID" json:"StateID"` Parent github_com_insolar_insolar_insolar.Reference `protobuf:"bytes,22,opt,name=Parent,proto3,customtype=github.com/insolar/insolar/insolar.Reference" json:"Parent"` // LatestRequest holds id of the last known request for the object LatestRequest *github_com_insolar_insolar_insolar.ID `` /* 129-byte string literal not displayed */ // EarliestOpenRequest holds the earliest pulse where there are open requests EarliestOpenRequest *github_com_insolar_insolar_insolar.PulseNumber `` /* 150-byte string literal not displayed */ // OpenRequestsCount holds the count of open requests for the object OpenRequestsCount uint32 `protobuf:"varint,25,opt,name=OpenRequestsCount,proto3" json:"OpenRequestsCount,omitempty"` }
func (*Lifeline) Descriptor ¶
func (*Lifeline) ProtoMessage ¶
func (*Lifeline) ProtoMessage()
func (*Lifeline) XXX_DiscardUnknown ¶
func (m *Lifeline) XXX_DiscardUnknown()
func (*Lifeline) XXX_Marshal ¶
func (*Lifeline) XXX_Unmarshal ¶
type Material ¶
type Material struct { Polymorph int32 `protobuf:"varint,16,opt,name=polymorph,proto3" json:"polymorph,omitempty"` Virtual Virtual `protobuf:"bytes,20,opt,name=Virtual,proto3" json:"Virtual"` ID github_com_insolar_insolar_insolar.ID `protobuf:"bytes,21,opt,name=ID,proto3,customtype=github.com/insolar/insolar/insolar.ID" json:"ID"` ObjectID github_com_insolar_insolar_insolar.ID `protobuf:"bytes,22,opt,name=ObjectID,proto3,customtype=github.com/insolar/insolar/insolar.ID" json:"ObjectID"` JetID github_com_insolar_insolar_insolar.JetID `protobuf:"bytes,23,opt,name=JetID,proto3,customtype=github.com/insolar/insolar/insolar.JetID" json:"JetID"` Signature []byte `protobuf:"bytes,200,opt,name=Signature,proto3" json:"Signature,omitempty"` }
func (*Material) Descriptor ¶
func (*Material) ProtoMessage ¶
func (*Material) ProtoMessage()
func (*Material) XXX_DiscardUnknown ¶
func (m *Material) XXX_DiscardUnknown()
func (*Material) XXX_Marshal ¶
func (*Material) XXX_Unmarshal ¶
type OutgoingRequest ¶
type OutgoingRequest struct { Polymorph int32 `protobuf:"varint,16,opt,name=polymorph,proto3" json:"polymorph,omitempty"` CallType CallType `protobuf:"varint,20,opt,name=CallType,proto3,enum=record.CallType" json:"CallType,omitempty"` Caller github_com_insolar_insolar_insolar.Reference `protobuf:"bytes,21,opt,name=Caller,proto3,customtype=github.com/insolar/insolar/insolar.Reference" json:"Caller"` CallerPrototype github_com_insolar_insolar_insolar.Reference `` /* 130-byte string literal not displayed */ Nonce uint64 `protobuf:"varint,23,opt,name=Nonce,proto3" json:"Nonce,omitempty"` ReturnMode ReturnMode `protobuf:"varint,25,opt,name=ReturnMode,proto3,enum=record.ReturnMode" json:"ReturnMode,omitempty"` Immutable bool `protobuf:"varint,26,opt,name=Immutable,proto3" json:"Immutable,omitempty"` Base *github_com_insolar_insolar_insolar.Reference `protobuf:"bytes,27,opt,name=Base,proto3,customtype=github.com/insolar/insolar/insolar.Reference" json:"Base,omitempty"` Object *github_com_insolar_insolar_insolar.Reference `protobuf:"bytes,28,opt,name=Object,proto3,customtype=github.com/insolar/insolar/insolar.Reference" json:"Object,omitempty"` Prototype *github_com_insolar_insolar_insolar.Reference `` /* 128-byte string literal not displayed */ Method string `protobuf:"bytes,30,opt,name=Method,proto3" json:"Method,omitempty"` Arguments []byte `protobuf:"bytes,31,opt,name=Arguments,proto3" json:"Arguments,omitempty"` APIRequestID string `protobuf:"bytes,33,opt,name=APIRequestID,proto3" json:"APIRequestID,omitempty"` Reason github_com_insolar_insolar_insolar.Reference `protobuf:"bytes,34,opt,name=Reason,proto3,customtype=github.com/insolar/insolar/insolar.Reference" json:"Reason"` APINode github_com_insolar_insolar_insolar.Reference `protobuf:"bytes,35,opt,name=APINode,proto3,customtype=github.com/insolar/insolar/insolar.Reference" json:"APINode"` }
func NewOutgoingRequestFromFace ¶
func NewOutgoingRequestFromFace(that OutgoingRequestFace) *OutgoingRequest
func (*OutgoingRequest) AffinityRef ¶
func (r *OutgoingRequest) AffinityRef() *insolar.Reference
func (*OutgoingRequest) Descriptor ¶
func (*OutgoingRequest) Descriptor() ([]byte, []int)
func (*OutgoingRequest) Equal ¶
func (this *OutgoingRequest) Equal(that interface{}) bool
func (*OutgoingRequest) GetAPINode ¶
func (this *OutgoingRequest) GetAPINode() github_com_insolar_insolar_insolar.Reference
func (*OutgoingRequest) GetAPIRequestID ¶
func (this *OutgoingRequest) GetAPIRequestID() string
func (*OutgoingRequest) GetArguments ¶
func (this *OutgoingRequest) GetArguments() []byte
func (*OutgoingRequest) GetBase ¶
func (this *OutgoingRequest) GetBase() *github_com_insolar_insolar_insolar.Reference
func (*OutgoingRequest) GetCallType ¶
func (this *OutgoingRequest) GetCallType() CallType
func (*OutgoingRequest) GetCaller ¶
func (this *OutgoingRequest) GetCaller() github_com_insolar_insolar_insolar.Reference
func (*OutgoingRequest) GetCallerPrototype ¶
func (this *OutgoingRequest) GetCallerPrototype() github_com_insolar_insolar_insolar.Reference
func (*OutgoingRequest) GetImmutable ¶
func (this *OutgoingRequest) GetImmutable() bool
func (*OutgoingRequest) GetMethod ¶
func (this *OutgoingRequest) GetMethod() string
func (*OutgoingRequest) GetNonce ¶
func (this *OutgoingRequest) GetNonce() uint64
func (*OutgoingRequest) GetObject ¶
func (this *OutgoingRequest) GetObject() *github_com_insolar_insolar_insolar.Reference
func (*OutgoingRequest) GetPolymorph ¶
func (this *OutgoingRequest) GetPolymorph() int32
func (*OutgoingRequest) GetPrototype ¶
func (this *OutgoingRequest) GetPrototype() *github_com_insolar_insolar_insolar.Reference
func (*OutgoingRequest) GetReason ¶
func (this *OutgoingRequest) GetReason() github_com_insolar_insolar_insolar.Reference
func (*OutgoingRequest) GetReturnMode ¶
func (this *OutgoingRequest) GetReturnMode() ReturnMode
func (*OutgoingRequest) GoString ¶
func (this *OutgoingRequest) GoString() string
func (*OutgoingRequest) IsAPIRequest ¶
func (r *OutgoingRequest) IsAPIRequest() bool
func (*OutgoingRequest) IsCreationRequest ¶
func (r *OutgoingRequest) IsCreationRequest() bool
func (*OutgoingRequest) IsDetached ¶
func (r *OutgoingRequest) IsDetached() bool
func (*OutgoingRequest) IsTemporaryUploadCode ¶
func (r *OutgoingRequest) IsTemporaryUploadCode() bool
func (*OutgoingRequest) Marshal ¶
func (m *OutgoingRequest) Marshal() (dAtA []byte, err error)
func (*OutgoingRequest) Proto ¶
func (this *OutgoingRequest) Proto() github_com_gogo_protobuf_proto.Message
func (*OutgoingRequest) ProtoMessage ¶
func (*OutgoingRequest) ProtoMessage()
func (*OutgoingRequest) ReasonAffinityRef ¶
func (r *OutgoingRequest) ReasonAffinityRef() insolar.Reference
func (*OutgoingRequest) ReasonRef ¶
func (r *OutgoingRequest) ReasonRef() insolar.Reference
func (*OutgoingRequest) Reset ¶
func (m *OutgoingRequest) Reset()
func (*OutgoingRequest) Size ¶
func (m *OutgoingRequest) Size() (n int)
func (*OutgoingRequest) String ¶
func (this *OutgoingRequest) String() string
func (*OutgoingRequest) TestProto ¶
func (this *OutgoingRequest) TestProto() github_com_gogo_protobuf_proto.Message
func (*OutgoingRequest) Unmarshal ¶
func (m *OutgoingRequest) Unmarshal(dAtA []byte) error
func (*OutgoingRequest) Validate ¶
func (r *OutgoingRequest) Validate() error
func (*OutgoingRequest) XXX_DiscardUnknown ¶
func (m *OutgoingRequest) XXX_DiscardUnknown()
func (*OutgoingRequest) XXX_Marshal ¶
func (m *OutgoingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutgoingRequest) XXX_Merge ¶
func (m *OutgoingRequest) XXX_Merge(src proto.Message)
func (*OutgoingRequest) XXX_Size ¶
func (m *OutgoingRequest) XXX_Size() int
func (*OutgoingRequest) XXX_Unmarshal ¶
func (m *OutgoingRequest) XXX_Unmarshal(b []byte) error
type OutgoingRequestFace ¶
type OutgoingRequestFace interface { Proto() github_com_gogo_protobuf_proto.Message GetPolymorph() int32 GetCallType() CallType GetCaller() github_com_insolar_insolar_insolar.Reference GetCallerPrototype() github_com_insolar_insolar_insolar.Reference GetNonce() uint64 GetReturnMode() ReturnMode GetImmutable() bool GetBase() *github_com_insolar_insolar_insolar.Reference GetObject() *github_com_insolar_insolar_insolar.Reference GetPrototype() *github_com_insolar_insolar_insolar.Reference GetMethod() string GetArguments() []byte GetAPIRequestID() string GetReason() github_com_insolar_insolar_insolar.Reference GetAPINode() github_com_insolar_insolar_insolar.Reference }
type PendingFilament ¶
type PendingFilament struct { Polymorph int32 `protobuf:"varint,16,opt,name=polymorph,proto3" json:"polymorph,omitempty"` RecordID github_com_insolar_insolar_insolar.ID `protobuf:"bytes,20,opt,name=RecordID,proto3,customtype=github.com/insolar/insolar/insolar.ID" json:"RecordID"` PreviousRecord *github_com_insolar_insolar_insolar.ID `` /* 131-byte string literal not displayed */ }
func (*PendingFilament) Descriptor ¶
func (*PendingFilament) Descriptor() ([]byte, []int)
func (*PendingFilament) Equal ¶
func (this *PendingFilament) Equal(that interface{}) bool
func (*PendingFilament) GoString ¶
func (this *PendingFilament) GoString() string
func (*PendingFilament) Marshal ¶
func (m *PendingFilament) Marshal() (dAtA []byte, err error)
func (*PendingFilament) ProtoMessage ¶
func (*PendingFilament) ProtoMessage()
func (*PendingFilament) Reset ¶
func (m *PendingFilament) Reset()
func (*PendingFilament) Size ¶
func (m *PendingFilament) Size() (n int)
func (*PendingFilament) String ¶
func (this *PendingFilament) String() string
func (*PendingFilament) Unmarshal ¶
func (m *PendingFilament) Unmarshal(dAtA []byte) error
func (*PendingFilament) XXX_DiscardUnknown ¶
func (m *PendingFilament) XXX_DiscardUnknown()
func (*PendingFilament) XXX_Marshal ¶
func (m *PendingFilament) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PendingFilament) XXX_Merge ¶
func (m *PendingFilament) XXX_Merge(src proto.Message)
func (*PendingFilament) XXX_Size ¶
func (m *PendingFilament) XXX_Size() int
func (*PendingFilament) XXX_Unmarshal ¶
func (m *PendingFilament) XXX_Unmarshal(b []byte) error
type Request ¶
type Request interface { Record // AffinityRef returns a pointer to the reference of the object the // Request is affine to. The result can be nil, e.g. in case of creating // a new object. AffinityRef() *insolar.Reference // ReasonRef returns a reference of the Request that caused the creating // of this Request. ReasonRef() insolar.Reference // ReasonAffinityRef returns a reference of an object reason request is // affine to. ReasonAffinityRef() insolar.Reference // GetCallType returns call type. GetCallType() CallType // IsAPIRequest tells is it API-request or not. IsAPIRequest() bool // IsCreationRequest checks a request-type. IsCreationRequest() bool // Validate validates request params and its combinations. Validate() error // IsTemporaryUploadCode tells us that that request is temporary hack // for uploading code. IsTemporaryUploadCode() bool }
Request is a common request interface.
type RequestMock ¶
type RequestMock struct { AffinityRefMock mRequestMockAffinityRef GetCallTypeMock mRequestMockGetCallType IsAPIRequestMock mRequestMockIsAPIRequest IsCreationRequestMock mRequestMockIsCreationRequest IsTemporaryUploadCodeMock mRequestMockIsTemporaryUploadCode MarshalMock mRequestMockMarshal ReasonAffinityRefMock mRequestMockReasonAffinityRef ReasonRefMock mRequestMockReasonRef ValidateMock mRequestMockValidate // contains filtered or unexported fields }
RequestMock implements Request
func NewRequestMock ¶
func NewRequestMock(t minimock.Tester) *RequestMock
NewRequestMock returns a mock for Request
func (*RequestMock) AffinityRef ¶
func (mmAffinityRef *RequestMock) AffinityRef() (rp1 *insolar.Reference)
AffinityRef implements Request
func (*RequestMock) AffinityRefAfterCounter ¶
func (mmAffinityRef *RequestMock) AffinityRefAfterCounter() uint64
AffinityRefAfterCounter returns a count of finished RequestMock.AffinityRef invocations
func (*RequestMock) AffinityRefBeforeCounter ¶
func (mmAffinityRef *RequestMock) AffinityRefBeforeCounter() uint64
AffinityRefBeforeCounter returns a count of RequestMock.AffinityRef invocations
func (*RequestMock) GetCallType ¶
func (mmGetCallType *RequestMock) GetCallType() (c1 CallType)
GetCallType implements Request
func (*RequestMock) GetCallTypeAfterCounter ¶
func (mmGetCallType *RequestMock) GetCallTypeAfterCounter() uint64
GetCallTypeAfterCounter returns a count of finished RequestMock.GetCallType invocations
func (*RequestMock) GetCallTypeBeforeCounter ¶
func (mmGetCallType *RequestMock) GetCallTypeBeforeCounter() uint64
GetCallTypeBeforeCounter returns a count of RequestMock.GetCallType invocations
func (*RequestMock) IsAPIRequest ¶
func (mmIsAPIRequest *RequestMock) IsAPIRequest() (b1 bool)
IsAPIRequest implements Request
func (*RequestMock) IsAPIRequestAfterCounter ¶
func (mmIsAPIRequest *RequestMock) IsAPIRequestAfterCounter() uint64
IsAPIRequestAfterCounter returns a count of finished RequestMock.IsAPIRequest invocations
func (*RequestMock) IsAPIRequestBeforeCounter ¶
func (mmIsAPIRequest *RequestMock) IsAPIRequestBeforeCounter() uint64
IsAPIRequestBeforeCounter returns a count of RequestMock.IsAPIRequest invocations
func (*RequestMock) IsCreationRequest ¶
func (mmIsCreationRequest *RequestMock) IsCreationRequest() (b1 bool)
IsCreationRequest implements Request
func (*RequestMock) IsCreationRequestAfterCounter ¶
func (mmIsCreationRequest *RequestMock) IsCreationRequestAfterCounter() uint64
IsCreationRequestAfterCounter returns a count of finished RequestMock.IsCreationRequest invocations
func (*RequestMock) IsCreationRequestBeforeCounter ¶
func (mmIsCreationRequest *RequestMock) IsCreationRequestBeforeCounter() uint64
IsCreationRequestBeforeCounter returns a count of RequestMock.IsCreationRequest invocations
func (*RequestMock) IsTemporaryUploadCode ¶
func (mmIsTemporaryUploadCode *RequestMock) IsTemporaryUploadCode() (b1 bool)
IsTemporaryUploadCode implements Request
func (*RequestMock) IsTemporaryUploadCodeAfterCounter ¶
func (mmIsTemporaryUploadCode *RequestMock) IsTemporaryUploadCodeAfterCounter() uint64
IsTemporaryUploadCodeAfterCounter returns a count of finished RequestMock.IsTemporaryUploadCode invocations
func (*RequestMock) IsTemporaryUploadCodeBeforeCounter ¶
func (mmIsTemporaryUploadCode *RequestMock) IsTemporaryUploadCodeBeforeCounter() uint64
IsTemporaryUploadCodeBeforeCounter returns a count of RequestMock.IsTemporaryUploadCode invocations
func (*RequestMock) Marshal ¶
func (mmMarshal *RequestMock) Marshal() (dAtA []byte, err error)
Marshal implements Request
func (*RequestMock) MarshalAfterCounter ¶
func (mmMarshal *RequestMock) MarshalAfterCounter() uint64
MarshalAfterCounter returns a count of finished RequestMock.Marshal invocations
func (*RequestMock) MarshalBeforeCounter ¶
func (mmMarshal *RequestMock) MarshalBeforeCounter() uint64
MarshalBeforeCounter returns a count of RequestMock.Marshal invocations
func (*RequestMock) MinimockAffinityRefDone ¶
func (m *RequestMock) MinimockAffinityRefDone() bool
MinimockAffinityRefDone returns true if the count of the AffinityRef invocations corresponds the number of defined expectations
func (*RequestMock) MinimockAffinityRefInspect ¶
func (m *RequestMock) MinimockAffinityRefInspect()
MinimockAffinityRefInspect logs each unmet expectation
func (*RequestMock) MinimockFinish ¶
func (m *RequestMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*RequestMock) MinimockGetCallTypeDone ¶
func (m *RequestMock) MinimockGetCallTypeDone() bool
MinimockGetCallTypeDone returns true if the count of the GetCallType invocations corresponds the number of defined expectations
func (*RequestMock) MinimockGetCallTypeInspect ¶
func (m *RequestMock) MinimockGetCallTypeInspect()
MinimockGetCallTypeInspect logs each unmet expectation
func (*RequestMock) MinimockIsAPIRequestDone ¶
func (m *RequestMock) MinimockIsAPIRequestDone() bool
MinimockIsAPIRequestDone returns true if the count of the IsAPIRequest invocations corresponds the number of defined expectations
func (*RequestMock) MinimockIsAPIRequestInspect ¶
func (m *RequestMock) MinimockIsAPIRequestInspect()
MinimockIsAPIRequestInspect logs each unmet expectation
func (*RequestMock) MinimockIsCreationRequestDone ¶
func (m *RequestMock) MinimockIsCreationRequestDone() bool
MinimockIsCreationRequestDone returns true if the count of the IsCreationRequest invocations corresponds the number of defined expectations
func (*RequestMock) MinimockIsCreationRequestInspect ¶
func (m *RequestMock) MinimockIsCreationRequestInspect()
MinimockIsCreationRequestInspect logs each unmet expectation
func (*RequestMock) MinimockIsTemporaryUploadCodeDone ¶
func (m *RequestMock) MinimockIsTemporaryUploadCodeDone() bool
MinimockIsTemporaryUploadCodeDone returns true if the count of the IsTemporaryUploadCode invocations corresponds the number of defined expectations
func (*RequestMock) MinimockIsTemporaryUploadCodeInspect ¶
func (m *RequestMock) MinimockIsTemporaryUploadCodeInspect()
MinimockIsTemporaryUploadCodeInspect logs each unmet expectation
func (*RequestMock) MinimockMarshalDone ¶
func (m *RequestMock) MinimockMarshalDone() bool
MinimockMarshalDone returns true if the count of the Marshal invocations corresponds the number of defined expectations
func (*RequestMock) MinimockMarshalInspect ¶
func (m *RequestMock) MinimockMarshalInspect()
MinimockMarshalInspect logs each unmet expectation
func (*RequestMock) MinimockReasonAffinityRefDone ¶
func (m *RequestMock) MinimockReasonAffinityRefDone() bool
MinimockReasonAffinityRefDone returns true if the count of the ReasonAffinityRef invocations corresponds the number of defined expectations
func (*RequestMock) MinimockReasonAffinityRefInspect ¶
func (m *RequestMock) MinimockReasonAffinityRefInspect()
MinimockReasonAffinityRefInspect logs each unmet expectation
func (*RequestMock) MinimockReasonRefDone ¶
func (m *RequestMock) MinimockReasonRefDone() bool
MinimockReasonRefDone returns true if the count of the ReasonRef invocations corresponds the number of defined expectations
func (*RequestMock) MinimockReasonRefInspect ¶
func (m *RequestMock) MinimockReasonRefInspect()
MinimockReasonRefInspect logs each unmet expectation
func (*RequestMock) MinimockValidateDone ¶
func (m *RequestMock) MinimockValidateDone() bool
MinimockValidateDone returns true if the count of the Validate invocations corresponds the number of defined expectations
func (*RequestMock) MinimockValidateInspect ¶
func (m *RequestMock) MinimockValidateInspect()
MinimockValidateInspect logs each unmet expectation
func (*RequestMock) MinimockWait ¶
func (m *RequestMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
func (*RequestMock) ReasonAffinityRef ¶
func (mmReasonAffinityRef *RequestMock) ReasonAffinityRef() (r1 insolar.Reference)
ReasonAffinityRef implements Request
func (*RequestMock) ReasonAffinityRefAfterCounter ¶
func (mmReasonAffinityRef *RequestMock) ReasonAffinityRefAfterCounter() uint64
ReasonAffinityRefAfterCounter returns a count of finished RequestMock.ReasonAffinityRef invocations
func (*RequestMock) ReasonAffinityRefBeforeCounter ¶
func (mmReasonAffinityRef *RequestMock) ReasonAffinityRefBeforeCounter() uint64
ReasonAffinityRefBeforeCounter returns a count of RequestMock.ReasonAffinityRef invocations
func (*RequestMock) ReasonRef ¶
func (mmReasonRef *RequestMock) ReasonRef() (r1 insolar.Reference)
ReasonRef implements Request
func (*RequestMock) ReasonRefAfterCounter ¶
func (mmReasonRef *RequestMock) ReasonRefAfterCounter() uint64
ReasonRefAfterCounter returns a count of finished RequestMock.ReasonRef invocations
func (*RequestMock) ReasonRefBeforeCounter ¶
func (mmReasonRef *RequestMock) ReasonRefBeforeCounter() uint64
ReasonRefBeforeCounter returns a count of RequestMock.ReasonRef invocations
func (*RequestMock) Validate ¶
func (mmValidate *RequestMock) Validate() (err error)
Validate implements Request
func (*RequestMock) ValidateAfterCounter ¶
func (mmValidate *RequestMock) ValidateAfterCounter() uint64
ValidateAfterCounter returns a count of finished RequestMock.Validate invocations
func (*RequestMock) ValidateBeforeCounter ¶
func (mmValidate *RequestMock) ValidateBeforeCounter() uint64
ValidateBeforeCounter returns a count of RequestMock.Validate invocations
type RequestMockAffinityRefExpectation ¶
type RequestMockAffinityRefExpectation struct { Counter uint64 // contains filtered or unexported fields }
RequestMockAffinityRefExpectation specifies expectation struct of the Request.AffinityRef
type RequestMockAffinityRefResults ¶
type RequestMockAffinityRefResults struct {
// contains filtered or unexported fields
}
RequestMockAffinityRefResults contains results of the Request.AffinityRef
type RequestMockGetCallTypeExpectation ¶
type RequestMockGetCallTypeExpectation struct { Counter uint64 // contains filtered or unexported fields }
RequestMockGetCallTypeExpectation specifies expectation struct of the Request.GetCallType
type RequestMockGetCallTypeResults ¶
type RequestMockGetCallTypeResults struct {
// contains filtered or unexported fields
}
RequestMockGetCallTypeResults contains results of the Request.GetCallType
type RequestMockIsAPIRequestExpectation ¶
type RequestMockIsAPIRequestExpectation struct { Counter uint64 // contains filtered or unexported fields }
RequestMockIsAPIRequestExpectation specifies expectation struct of the Request.IsAPIRequest
type RequestMockIsAPIRequestResults ¶
type RequestMockIsAPIRequestResults struct {
// contains filtered or unexported fields
}
RequestMockIsAPIRequestResults contains results of the Request.IsAPIRequest
type RequestMockIsCreationRequestExpectation ¶
type RequestMockIsCreationRequestExpectation struct { Counter uint64 // contains filtered or unexported fields }
RequestMockIsCreationRequestExpectation specifies expectation struct of the Request.IsCreationRequest
type RequestMockIsCreationRequestResults ¶
type RequestMockIsCreationRequestResults struct {
// contains filtered or unexported fields
}
RequestMockIsCreationRequestResults contains results of the Request.IsCreationRequest
type RequestMockIsTemporaryUploadCodeExpectation ¶
type RequestMockIsTemporaryUploadCodeExpectation struct { Counter uint64 // contains filtered or unexported fields }
RequestMockIsTemporaryUploadCodeExpectation specifies expectation struct of the Request.IsTemporaryUploadCode
type RequestMockIsTemporaryUploadCodeResults ¶
type RequestMockIsTemporaryUploadCodeResults struct {
// contains filtered or unexported fields
}
RequestMockIsTemporaryUploadCodeResults contains results of the Request.IsTemporaryUploadCode
type RequestMockMarshalExpectation ¶
type RequestMockMarshalExpectation struct { Counter uint64 // contains filtered or unexported fields }
RequestMockMarshalExpectation specifies expectation struct of the Request.Marshal
type RequestMockMarshalResults ¶
type RequestMockMarshalResults struct {
// contains filtered or unexported fields
}
RequestMockMarshalResults contains results of the Request.Marshal
type RequestMockReasonAffinityRefExpectation ¶
type RequestMockReasonAffinityRefExpectation struct { Counter uint64 // contains filtered or unexported fields }
RequestMockReasonAffinityRefExpectation specifies expectation struct of the Request.ReasonAffinityRef
type RequestMockReasonAffinityRefResults ¶
type RequestMockReasonAffinityRefResults struct {
// contains filtered or unexported fields
}
RequestMockReasonAffinityRefResults contains results of the Request.ReasonAffinityRef
type RequestMockReasonRefExpectation ¶
type RequestMockReasonRefExpectation struct { Counter uint64 // contains filtered or unexported fields }
RequestMockReasonRefExpectation specifies expectation struct of the Request.ReasonRef
type RequestMockReasonRefResults ¶
type RequestMockReasonRefResults struct {
// contains filtered or unexported fields
}
RequestMockReasonRefResults contains results of the Request.ReasonRef
type RequestMockValidateExpectation ¶
type RequestMockValidateExpectation struct { Counter uint64 // contains filtered or unexported fields }
RequestMockValidateExpectation specifies expectation struct of the Request.Validate
type RequestMockValidateResults ¶
type RequestMockValidateResults struct {
// contains filtered or unexported fields
}
RequestMockValidateResults contains results of the Request.Validate
type Result ¶
type Result struct { Polymorph int32 `protobuf:"varint,16,opt,name=polymorph,proto3" json:"polymorph,omitempty"` Object github_com_insolar_insolar_insolar.ID `protobuf:"bytes,20,opt,name=Object,proto3,customtype=github.com/insolar/insolar/insolar.ID" json:"Object"` Request github_com_insolar_insolar_insolar.Reference `protobuf:"bytes,21,opt,name=Request,proto3,customtype=github.com/insolar/insolar/insolar.Reference" json:"Request"` Payload []byte `protobuf:"bytes,22,opt,name=Payload,proto3" json:"Payload,omitempty"` }
func NewResultFromFace ¶
func NewResultFromFace(that ResultFace) *Result
func (*Result) Descriptor ¶
func (*Result) GetObject ¶
func (this *Result) GetObject() github_com_insolar_insolar_insolar.ID
func (*Result) GetPayload ¶
func (*Result) GetPolymorph ¶
func (*Result) GetRequest ¶
func (this *Result) GetRequest() github_com_insolar_insolar_insolar.Reference
func (*Result) Proto ¶
func (this *Result) Proto() github_com_gogo_protobuf_proto.Message
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) TestProto ¶
func (this *Result) TestProto() github_com_gogo_protobuf_proto.Message
func (*Result) XXX_DiscardUnknown ¶
func (m *Result) XXX_DiscardUnknown()
func (*Result) XXX_Marshal ¶
func (*Result) XXX_Unmarshal ¶
type ResultFace ¶
type ResultFace interface { Proto() github_com_gogo_protobuf_proto.Message GetPolymorph() int32 GetObject() github_com_insolar_insolar_insolar.ID GetRequest() github_com_insolar_insolar_insolar.Reference GetPayload() []byte }
type ReturnMode ¶
type ReturnMode int32
const ( // ReturnResult - return result as soon as it is ready ReturnResult ReturnMode = 0 // ReturnSaga - call saga method and return without results ReturnSaga ReturnMode = 1 )
func (ReturnMode) EnumDescriptor ¶
func (ReturnMode) EnumDescriptor() ([]byte, []int)
func (ReturnMode) String ¶
func (x ReturnMode) String() string
type State ¶
type State interface { Record // ID returns state id. ID() StateID // GetImage returns state code. GetImage() *insolar.Reference // GetIsPrototype returns state code. GetIsPrototype() bool // GetMemory returns state indexStorage. GetMemory() []byte // PrevStateID returns previous state id. PrevStateID() *insolar.ID }
State is common object state record.
type Virtual ¶
type Virtual struct { Polymorph int32 `protobuf:"varint,16,opt,name=polymorph,proto3" json:"polymorph,omitempty"` // Types that are valid to be assigned to Union: // *Virtual_Genesis // *Virtual_IncomingRequest // *Virtual_OutgoingRequest // *Virtual_Result // *Virtual_Code // *Virtual_Activate // *Virtual_Amend // *Virtual_Deactivate // *Virtual_PendingFilament Union isVirtual_Union `protobuf_oneof:"union"` Signature []byte `protobuf:"bytes,200,opt,name=Signature,proto3" json:"Signature,omitempty"` }
func (*Virtual) Descriptor ¶
func (*Virtual) GetActivate ¶
func (*Virtual) GetDeactivate ¶
func (m *Virtual) GetDeactivate() *Deactivate
func (*Virtual) GetGenesis ¶
func (*Virtual) GetIncomingRequest ¶
func (m *Virtual) GetIncomingRequest() *IncomingRequest
func (*Virtual) GetOutgoingRequest ¶
func (m *Virtual) GetOutgoingRequest() *OutgoingRequest
func (*Virtual) GetPendingFilament ¶
func (m *Virtual) GetPendingFilament() *PendingFilament
func (*Virtual) ProtoMessage ¶
func (*Virtual) ProtoMessage()
func (*Virtual) XXX_DiscardUnknown ¶
func (m *Virtual) XXX_DiscardUnknown()
func (*Virtual) XXX_Marshal ¶
func (*Virtual) XXX_OneofFuncs ¶
func (*Virtual) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Virtual) XXX_Unmarshal ¶
type Virtual_Activate ¶
type Virtual_Activate struct {
Activate *Activate `protobuf:"bytes,106,opt,name=Activate,proto3,oneof"`
}
func (*Virtual_Activate) Equal ¶
func (this *Virtual_Activate) Equal(that interface{}) bool
func (*Virtual_Activate) GoString ¶
func (this *Virtual_Activate) GoString() string
func (*Virtual_Activate) Size ¶
func (m *Virtual_Activate) Size() (n int)
func (*Virtual_Activate) String ¶
func (this *Virtual_Activate) String() string
type Virtual_Amend ¶
type Virtual_Amend struct {
Amend *Amend `protobuf:"bytes,107,opt,name=Amend,proto3,oneof"`
}
func (*Virtual_Amend) Equal ¶
func (this *Virtual_Amend) Equal(that interface{}) bool
func (*Virtual_Amend) GoString ¶
func (this *Virtual_Amend) GoString() string
func (*Virtual_Amend) Size ¶
func (m *Virtual_Amend) Size() (n int)
func (*Virtual_Amend) String ¶
func (this *Virtual_Amend) String() string
type Virtual_Code ¶
type Virtual_Code struct {
Code *Code `protobuf:"bytes,105,opt,name=Code,proto3,oneof"`
}
func (*Virtual_Code) Equal ¶
func (this *Virtual_Code) Equal(that interface{}) bool
func (*Virtual_Code) GoString ¶
func (this *Virtual_Code) GoString() string
func (*Virtual_Code) Size ¶
func (m *Virtual_Code) Size() (n int)
func (*Virtual_Code) String ¶
func (this *Virtual_Code) String() string
type Virtual_Deactivate ¶
type Virtual_Deactivate struct {
Deactivate *Deactivate `protobuf:"bytes,108,opt,name=Deactivate,proto3,oneof"`
}
func (*Virtual_Deactivate) Equal ¶
func (this *Virtual_Deactivate) Equal(that interface{}) bool
func (*Virtual_Deactivate) GoString ¶
func (this *Virtual_Deactivate) GoString() string
func (*Virtual_Deactivate) MarshalTo ¶
func (m *Virtual_Deactivate) MarshalTo(dAtA []byte) (int, error)
func (*Virtual_Deactivate) Size ¶
func (m *Virtual_Deactivate) Size() (n int)
func (*Virtual_Deactivate) String ¶
func (this *Virtual_Deactivate) String() string
type Virtual_Genesis ¶
type Virtual_Genesis struct {
Genesis *Genesis `protobuf:"bytes,101,opt,name=Genesis,proto3,oneof"`
}
func (*Virtual_Genesis) Equal ¶
func (this *Virtual_Genesis) Equal(that interface{}) bool
func (*Virtual_Genesis) GoString ¶
func (this *Virtual_Genesis) GoString() string
func (*Virtual_Genesis) Size ¶
func (m *Virtual_Genesis) Size() (n int)
func (*Virtual_Genesis) String ¶
func (this *Virtual_Genesis) String() string
type Virtual_IncomingRequest ¶
type Virtual_IncomingRequest struct {
IncomingRequest *IncomingRequest `protobuf:"bytes,102,opt,name=IncomingRequest,proto3,oneof"`
}
func (*Virtual_IncomingRequest) Equal ¶
func (this *Virtual_IncomingRequest) Equal(that interface{}) bool
func (*Virtual_IncomingRequest) GoString ¶
func (this *Virtual_IncomingRequest) GoString() string
func (*Virtual_IncomingRequest) MarshalTo ¶
func (m *Virtual_IncomingRequest) MarshalTo(dAtA []byte) (int, error)
func (*Virtual_IncomingRequest) Size ¶
func (m *Virtual_IncomingRequest) Size() (n int)
func (*Virtual_IncomingRequest) String ¶
func (this *Virtual_IncomingRequest) String() string
type Virtual_OutgoingRequest ¶
type Virtual_OutgoingRequest struct {
OutgoingRequest *OutgoingRequest `protobuf:"bytes,103,opt,name=OutgoingRequest,proto3,oneof"`
}
func (*Virtual_OutgoingRequest) Equal ¶
func (this *Virtual_OutgoingRequest) Equal(that interface{}) bool
func (*Virtual_OutgoingRequest) GoString ¶
func (this *Virtual_OutgoingRequest) GoString() string
func (*Virtual_OutgoingRequest) MarshalTo ¶
func (m *Virtual_OutgoingRequest) MarshalTo(dAtA []byte) (int, error)
func (*Virtual_OutgoingRequest) Size ¶
func (m *Virtual_OutgoingRequest) Size() (n int)
func (*Virtual_OutgoingRequest) String ¶
func (this *Virtual_OutgoingRequest) String() string
type Virtual_PendingFilament ¶
type Virtual_PendingFilament struct {
PendingFilament *PendingFilament `protobuf:"bytes,109,opt,name=PendingFilament,proto3,oneof"`
}
func (*Virtual_PendingFilament) Equal ¶
func (this *Virtual_PendingFilament) Equal(that interface{}) bool
func (*Virtual_PendingFilament) GoString ¶
func (this *Virtual_PendingFilament) GoString() string
func (*Virtual_PendingFilament) MarshalTo ¶
func (m *Virtual_PendingFilament) MarshalTo(dAtA []byte) (int, error)
func (*Virtual_PendingFilament) Size ¶
func (m *Virtual_PendingFilament) Size() (n int)
func (*Virtual_PendingFilament) String ¶
func (this *Virtual_PendingFilament) String() string
type Virtual_Result ¶
type Virtual_Result struct {
Result *Result `protobuf:"bytes,104,opt,name=Result,proto3,oneof"`
}
func (*Virtual_Result) Equal ¶
func (this *Virtual_Result) Equal(that interface{}) bool
func (*Virtual_Result) GoString ¶
func (this *Virtual_Result) GoString() string
func (*Virtual_Result) Size ¶
func (m *Virtual_Result) Size() (n int)
func (*Virtual_Result) String ¶
func (this *Virtual_Result) String() string