archiver

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMessage        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMessage          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type ArchiveVisibilityRequest

type ArchiveVisibilityRequest struct {
	NamespaceId        string                      `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
	Namespace          string                      `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	WorkflowId         string                      `protobuf:"bytes,3,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
	RunId              string                      `protobuf:"bytes,4,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
	WorkflowTypeName   string                      `protobuf:"bytes,5,opt,name=workflow_type_name,json=workflowTypeName,proto3" json:"workflow_type_name,omitempty"`
	StartTime          *time.Time                  `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time,omitempty"`
	ExecutionTime      *time.Time                  `protobuf:"bytes,7,opt,name=execution_time,json=executionTime,proto3,stdtime" json:"execution_time,omitempty"`
	CloseTime          *time.Time                  `protobuf:"bytes,8,opt,name=close_time,json=closeTime,proto3,stdtime" json:"close_time,omitempty"`
	Status             v11.WorkflowExecutionStatus `protobuf:"varint,9,opt,name=status,proto3,enum=temporal.api.enums.v1.WorkflowExecutionStatus" json:"status,omitempty"`
	HistoryLength      int64                       `protobuf:"varint,10,opt,name=history_length,json=historyLength,proto3" json:"history_length,omitempty"`
	Memo               *v12.Memo                   `protobuf:"bytes,11,opt,name=memo,proto3" json:"memo,omitempty"`
	SearchAttributes   map[string]string           `` /* 198-byte string literal not displayed */
	HistoryArchivalUri string                      `protobuf:"bytes,13,opt,name=history_archival_uri,json=historyArchivalUri,proto3" json:"history_archival_uri,omitempty"`
}

ArchiveVisibilityRequest is request to Archive single workflow visibility record

func (*ArchiveVisibilityRequest) Descriptor

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

func (*ArchiveVisibilityRequest) Equal

func (this *ArchiveVisibilityRequest) Equal(that interface{}) bool

func (*ArchiveVisibilityRequest) GetCloseTime added in v0.28.0

func (m *ArchiveVisibilityRequest) GetCloseTime() *time.Time

func (*ArchiveVisibilityRequest) GetExecutionTime added in v0.28.0

func (m *ArchiveVisibilityRequest) GetExecutionTime() *time.Time

func (*ArchiveVisibilityRequest) GetHistoryArchivalUri

func (m *ArchiveVisibilityRequest) GetHistoryArchivalUri() string

func (*ArchiveVisibilityRequest) GetHistoryLength

func (m *ArchiveVisibilityRequest) GetHistoryLength() int64

func (*ArchiveVisibilityRequest) GetMemo

func (m *ArchiveVisibilityRequest) GetMemo() *v12.Memo

func (*ArchiveVisibilityRequest) GetNamespace

func (m *ArchiveVisibilityRequest) GetNamespace() string

func (*ArchiveVisibilityRequest) GetNamespaceId

func (m *ArchiveVisibilityRequest) GetNamespaceId() string

func (*ArchiveVisibilityRequest) GetRunId

func (m *ArchiveVisibilityRequest) GetRunId() string

func (*ArchiveVisibilityRequest) GetSearchAttributes

func (m *ArchiveVisibilityRequest) GetSearchAttributes() map[string]string

func (*ArchiveVisibilityRequest) GetStartTime added in v0.28.0

func (m *ArchiveVisibilityRequest) GetStartTime() *time.Time

func (*ArchiveVisibilityRequest) GetStatus

func (*ArchiveVisibilityRequest) GetWorkflowId

func (m *ArchiveVisibilityRequest) GetWorkflowId() string

func (*ArchiveVisibilityRequest) GetWorkflowTypeName

func (m *ArchiveVisibilityRequest) GetWorkflowTypeName() string

func (*ArchiveVisibilityRequest) GoString

func (this *ArchiveVisibilityRequest) GoString() string

func (*ArchiveVisibilityRequest) Marshal

func (m *ArchiveVisibilityRequest) Marshal() (dAtA []byte, err error)

func (*ArchiveVisibilityRequest) MarshalTo

func (m *ArchiveVisibilityRequest) MarshalTo(dAtA []byte) (int, error)

func (*ArchiveVisibilityRequest) MarshalToSizedBuffer

func (m *ArchiveVisibilityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArchiveVisibilityRequest) ProtoMessage

func (*ArchiveVisibilityRequest) ProtoMessage()

func (*ArchiveVisibilityRequest) Reset

func (m *ArchiveVisibilityRequest) Reset()

func (*ArchiveVisibilityRequest) Size

func (m *ArchiveVisibilityRequest) Size() (n int)

func (*ArchiveVisibilityRequest) String

func (this *ArchiveVisibilityRequest) String() string

func (*ArchiveVisibilityRequest) Unmarshal

func (m *ArchiveVisibilityRequest) Unmarshal(dAtA []byte) error

func (*ArchiveVisibilityRequest) XXX_DiscardUnknown

func (m *ArchiveVisibilityRequest) XXX_DiscardUnknown()

func (*ArchiveVisibilityRequest) XXX_Marshal

func (m *ArchiveVisibilityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArchiveVisibilityRequest) XXX_Merge

func (m *ArchiveVisibilityRequest) XXX_Merge(src proto.Message)

func (*ArchiveVisibilityRequest) XXX_Size

func (m *ArchiveVisibilityRequest) XXX_Size() int

func (*ArchiveVisibilityRequest) XXX_Unmarshal

func (m *ArchiveVisibilityRequest) XXX_Unmarshal(b []byte) error

type HistoryBlob

type HistoryBlob struct {
	Header *HistoryBlobHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Body   []*v1.History      `protobuf:"bytes,2,rep,name=body,proto3" json:"body,omitempty"`
}

func (*HistoryBlob) Descriptor

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

func (*HistoryBlob) Equal

func (this *HistoryBlob) Equal(that interface{}) bool

func (*HistoryBlob) GetBody

func (m *HistoryBlob) GetBody() []*v1.History

func (*HistoryBlob) GetHeader

func (m *HistoryBlob) GetHeader() *HistoryBlobHeader

func (*HistoryBlob) GoString

func (this *HistoryBlob) GoString() string

func (*HistoryBlob) Marshal

func (m *HistoryBlob) Marshal() (dAtA []byte, err error)

func (*HistoryBlob) MarshalTo

func (m *HistoryBlob) MarshalTo(dAtA []byte) (int, error)

func (*HistoryBlob) MarshalToSizedBuffer

func (m *HistoryBlob) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HistoryBlob) ProtoMessage

func (*HistoryBlob) ProtoMessage()

func (*HistoryBlob) Reset

func (m *HistoryBlob) Reset()

func (*HistoryBlob) Size

func (m *HistoryBlob) Size() (n int)

func (*HistoryBlob) String

func (this *HistoryBlob) String() string

func (*HistoryBlob) Unmarshal

func (m *HistoryBlob) Unmarshal(dAtA []byte) error

func (*HistoryBlob) XXX_DiscardUnknown

func (m *HistoryBlob) XXX_DiscardUnknown()

func (*HistoryBlob) XXX_Marshal

func (m *HistoryBlob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HistoryBlob) XXX_Merge

func (m *HistoryBlob) XXX_Merge(src proto.Message)

func (*HistoryBlob) XXX_Size

func (m *HistoryBlob) XXX_Size() int

func (*HistoryBlob) XXX_Unmarshal

func (m *HistoryBlob) XXX_Unmarshal(b []byte) error

type HistoryBlobHeader

type HistoryBlobHeader struct {
	Namespace            string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	NamespaceId          string `protobuf:"bytes,2,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
	WorkflowId           string `protobuf:"bytes,3,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
	RunId                string `protobuf:"bytes,4,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
	IsLast               bool   `protobuf:"varint,5,opt,name=is_last,json=isLast,proto3" json:"is_last,omitempty"`
	FirstFailoverVersion int64  `protobuf:"varint,6,opt,name=first_failover_version,json=firstFailoverVersion,proto3" json:"first_failover_version,omitempty"`
	LastFailoverVersion  int64  `protobuf:"varint,7,opt,name=last_failover_version,json=lastFailoverVersion,proto3" json:"last_failover_version,omitempty"`
	FirstEventId         int64  `protobuf:"varint,8,opt,name=first_event_id,json=firstEventId,proto3" json:"first_event_id,omitempty"`
	LastEventId          int64  `protobuf:"varint,9,opt,name=last_event_id,json=lastEventId,proto3" json:"last_event_id,omitempty"`
	EventCount           int64  `protobuf:"varint,10,opt,name=event_count,json=eventCount,proto3" json:"event_count,omitempty"`
}

func (*HistoryBlobHeader) Descriptor

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

func (*HistoryBlobHeader) Equal

func (this *HistoryBlobHeader) Equal(that interface{}) bool

func (*HistoryBlobHeader) GetEventCount

func (m *HistoryBlobHeader) GetEventCount() int64

func (*HistoryBlobHeader) GetFirstEventId

func (m *HistoryBlobHeader) GetFirstEventId() int64

func (*HistoryBlobHeader) GetFirstFailoverVersion

func (m *HistoryBlobHeader) GetFirstFailoverVersion() int64

func (*HistoryBlobHeader) GetIsLast

func (m *HistoryBlobHeader) GetIsLast() bool

func (*HistoryBlobHeader) GetLastEventId

func (m *HistoryBlobHeader) GetLastEventId() int64

func (*HistoryBlobHeader) GetLastFailoverVersion

func (m *HistoryBlobHeader) GetLastFailoverVersion() int64

func (*HistoryBlobHeader) GetNamespace

func (m *HistoryBlobHeader) GetNamespace() string

func (*HistoryBlobHeader) GetNamespaceId

func (m *HistoryBlobHeader) GetNamespaceId() string

func (*HistoryBlobHeader) GetRunId

func (m *HistoryBlobHeader) GetRunId() string

func (*HistoryBlobHeader) GetWorkflowId

func (m *HistoryBlobHeader) GetWorkflowId() string

func (*HistoryBlobHeader) GoString

func (this *HistoryBlobHeader) GoString() string

func (*HistoryBlobHeader) Marshal

func (m *HistoryBlobHeader) Marshal() (dAtA []byte, err error)

func (*HistoryBlobHeader) MarshalTo

func (m *HistoryBlobHeader) MarshalTo(dAtA []byte) (int, error)

func (*HistoryBlobHeader) MarshalToSizedBuffer

func (m *HistoryBlobHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HistoryBlobHeader) ProtoMessage

func (*HistoryBlobHeader) ProtoMessage()

func (*HistoryBlobHeader) Reset

func (m *HistoryBlobHeader) Reset()

func (*HistoryBlobHeader) Size

func (m *HistoryBlobHeader) Size() (n int)

func (*HistoryBlobHeader) String

func (this *HistoryBlobHeader) String() string

func (*HistoryBlobHeader) Unmarshal

func (m *HistoryBlobHeader) Unmarshal(dAtA []byte) error

func (*HistoryBlobHeader) XXX_DiscardUnknown

func (m *HistoryBlobHeader) XXX_DiscardUnknown()

func (*HistoryBlobHeader) XXX_Marshal

func (m *HistoryBlobHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HistoryBlobHeader) XXX_Merge

func (m *HistoryBlobHeader) XXX_Merge(src proto.Message)

func (*HistoryBlobHeader) XXX_Size

func (m *HistoryBlobHeader) XXX_Size() int

func (*HistoryBlobHeader) XXX_Unmarshal

func (m *HistoryBlobHeader) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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