namespace

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: MIT Imports: 12 Imported by: 24

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 BadBinaries

type BadBinaries struct {
	Binaries map[string]*BadBinaryInfo `` /* 157-byte string literal not displayed */
}

func (*BadBinaries) Descriptor

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

func (*BadBinaries) Equal

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

func (*BadBinaries) GetBinaries

func (m *BadBinaries) GetBinaries() map[string]*BadBinaryInfo

func (*BadBinaries) GoString

func (this *BadBinaries) GoString() string

func (*BadBinaries) Marshal

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

func (*BadBinaries) MarshalTo

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

func (*BadBinaries) MarshalToSizedBuffer

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

func (*BadBinaries) ProtoMessage

func (*BadBinaries) ProtoMessage()

func (*BadBinaries) Reset

func (m *BadBinaries) Reset()

func (*BadBinaries) Size

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

func (*BadBinaries) String

func (this *BadBinaries) String() string

func (*BadBinaries) Unmarshal

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

func (*BadBinaries) XXX_DiscardUnknown

func (m *BadBinaries) XXX_DiscardUnknown()

func (*BadBinaries) XXX_Marshal

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

func (*BadBinaries) XXX_Merge

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

func (*BadBinaries) XXX_Size

func (m *BadBinaries) XXX_Size() int

func (*BadBinaries) XXX_Unmarshal

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

type BadBinaryInfo

type BadBinaryInfo struct {
	Reason     string     `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
	Operator   string     `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	CreateTime *time.Time `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3,stdtime" json:"create_time,omitempty"`
}

func (*BadBinaryInfo) Descriptor

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

func (*BadBinaryInfo) Equal

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

func (*BadBinaryInfo) GetCreateTime added in v0.28.0

func (m *BadBinaryInfo) GetCreateTime() *time.Time

func (*BadBinaryInfo) GetOperator

func (m *BadBinaryInfo) GetOperator() string

func (*BadBinaryInfo) GetReason

func (m *BadBinaryInfo) GetReason() string

func (*BadBinaryInfo) GoString

func (this *BadBinaryInfo) GoString() string

func (*BadBinaryInfo) Marshal

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

func (*BadBinaryInfo) MarshalTo

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

func (*BadBinaryInfo) MarshalToSizedBuffer

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

func (*BadBinaryInfo) ProtoMessage

func (*BadBinaryInfo) ProtoMessage()

func (*BadBinaryInfo) Reset

func (m *BadBinaryInfo) Reset()

func (*BadBinaryInfo) Size

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

func (*BadBinaryInfo) String

func (this *BadBinaryInfo) String() string

func (*BadBinaryInfo) Unmarshal

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

func (*BadBinaryInfo) XXX_DiscardUnknown

func (m *BadBinaryInfo) XXX_DiscardUnknown()

func (*BadBinaryInfo) XXX_Marshal

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

func (*BadBinaryInfo) XXX_Merge

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

func (*BadBinaryInfo) XXX_Size

func (m *BadBinaryInfo) XXX_Size() int

func (*BadBinaryInfo) XXX_Unmarshal

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

type NamespaceConfig

type NamespaceConfig struct {
	WorkflowExecutionRetentionTtl *time.Duration `` /* 164-byte string literal not displayed */
	BadBinaries                   *BadBinaries   `protobuf:"bytes,2,opt,name=bad_binaries,json=badBinaries,proto3" json:"bad_binaries,omitempty"`
	// If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
	HistoryArchivalState v1.ArchivalState `` /* 165-byte string literal not displayed */
	HistoryArchivalUri   string           `protobuf:"bytes,4,opt,name=history_archival_uri,json=historyArchivalUri,proto3" json:"history_archival_uri,omitempty"`
	// If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
	VisibilityArchivalState v1.ArchivalState `` /* 174-byte string literal not displayed */
	VisibilityArchivalUri   string           `` /* 126-byte string literal not displayed */
	// Map from field name to alias.
	CustomSearchAttributeAliases map[string]string `` /* 237-byte string literal not displayed */
}

func (*NamespaceConfig) Descriptor

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

func (*NamespaceConfig) Equal

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

func (*NamespaceConfig) GetBadBinaries

func (m *NamespaceConfig) GetBadBinaries() *BadBinaries

func (*NamespaceConfig) GetCustomSearchAttributeAliases added in v1.16.0

func (m *NamespaceConfig) GetCustomSearchAttributeAliases() map[string]string

func (*NamespaceConfig) GetHistoryArchivalState

func (m *NamespaceConfig) GetHistoryArchivalState() v1.ArchivalState

func (*NamespaceConfig) GetHistoryArchivalUri

func (m *NamespaceConfig) GetHistoryArchivalUri() string

func (*NamespaceConfig) GetVisibilityArchivalState

func (m *NamespaceConfig) GetVisibilityArchivalState() v1.ArchivalState

func (*NamespaceConfig) GetVisibilityArchivalUri

func (m *NamespaceConfig) GetVisibilityArchivalUri() string

func (*NamespaceConfig) GetWorkflowExecutionRetentionTtl added in v0.28.0

func (m *NamespaceConfig) GetWorkflowExecutionRetentionTtl() *time.Duration

func (*NamespaceConfig) GoString

func (this *NamespaceConfig) GoString() string

func (*NamespaceConfig) Marshal

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

func (*NamespaceConfig) MarshalTo

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

func (*NamespaceConfig) MarshalToSizedBuffer

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

func (*NamespaceConfig) ProtoMessage

func (*NamespaceConfig) ProtoMessage()

func (*NamespaceConfig) Reset

func (m *NamespaceConfig) Reset()

func (*NamespaceConfig) Size

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

func (*NamespaceConfig) String

func (this *NamespaceConfig) String() string

func (*NamespaceConfig) Unmarshal

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

func (*NamespaceConfig) XXX_DiscardUnknown

func (m *NamespaceConfig) XXX_DiscardUnknown()

func (*NamespaceConfig) XXX_Marshal

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

func (*NamespaceConfig) XXX_Merge

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

func (*NamespaceConfig) XXX_Size

func (m *NamespaceConfig) XXX_Size() int

func (*NamespaceConfig) XXX_Unmarshal

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

type NamespaceFilter added in v1.8.0

type NamespaceFilter struct {
	// By default namespaces in NAMESPACE_STATE_DELETED state are not included.
	// Setting include_deleted to true will include deleted namespaces.
	// Note: Namespace is in NAMESPACE_STATE_DELETED state when it was deleted from the system but associated data is not deleted yet.
	IncludeDeleted bool `protobuf:"varint,1,opt,name=include_deleted,json=includeDeleted,proto3" json:"include_deleted,omitempty"`
}

func (*NamespaceFilter) Descriptor added in v1.8.0

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

func (*NamespaceFilter) Equal added in v1.8.0

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

func (*NamespaceFilter) GetIncludeDeleted added in v1.8.0

func (m *NamespaceFilter) GetIncludeDeleted() bool

func (*NamespaceFilter) GoString added in v1.8.0

func (this *NamespaceFilter) GoString() string

func (*NamespaceFilter) Marshal added in v1.8.0

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

func (*NamespaceFilter) MarshalTo added in v1.8.0

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

func (*NamespaceFilter) MarshalToSizedBuffer added in v1.8.0

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

func (*NamespaceFilter) ProtoMessage added in v1.8.0

func (*NamespaceFilter) ProtoMessage()

func (*NamespaceFilter) Reset added in v1.8.0

func (m *NamespaceFilter) Reset()

func (*NamespaceFilter) Size added in v1.8.0

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

func (*NamespaceFilter) String added in v1.8.0

func (this *NamespaceFilter) String() string

func (*NamespaceFilter) Unmarshal added in v1.8.0

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

func (*NamespaceFilter) XXX_DiscardUnknown added in v1.8.0

func (m *NamespaceFilter) XXX_DiscardUnknown()

func (*NamespaceFilter) XXX_Marshal added in v1.8.0

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

func (*NamespaceFilter) XXX_Merge added in v1.8.0

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

func (*NamespaceFilter) XXX_Size added in v1.8.0

func (m *NamespaceFilter) XXX_Size() int

func (*NamespaceFilter) XXX_Unmarshal added in v1.8.0

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

type NamespaceInfo

type NamespaceInfo struct {
	Name        string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	State       v1.NamespaceState `protobuf:"varint,2,opt,name=state,proto3,enum=temporal.api.enums.v1.NamespaceState" json:"state,omitempty"`
	Description string            `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	OwnerEmail  string            `protobuf:"bytes,4,opt,name=owner_email,json=ownerEmail,proto3" json:"owner_email,omitempty"`
	// A key-value map for any customized purpose.
	Data map[string]string `` /* 149-byte string literal not displayed */
	Id   string            `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"`
	// Whether scheduled workflows are supported on this namespace. This is only needed
	// temporarily while the feature is experimental, so we can give it a high tag.
	SupportsSchedules bool `protobuf:"varint,100,opt,name=supports_schedules,json=supportsSchedules,proto3" json:"supports_schedules,omitempty"`
}

func (*NamespaceInfo) Descriptor

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

func (*NamespaceInfo) Equal

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

func (*NamespaceInfo) GetData

func (m *NamespaceInfo) GetData() map[string]string

func (*NamespaceInfo) GetDescription

func (m *NamespaceInfo) GetDescription() string

func (*NamespaceInfo) GetId

func (m *NamespaceInfo) GetId() string

func (*NamespaceInfo) GetName

func (m *NamespaceInfo) GetName() string

func (*NamespaceInfo) GetOwnerEmail

func (m *NamespaceInfo) GetOwnerEmail() string

func (*NamespaceInfo) GetState

func (m *NamespaceInfo) GetState() v1.NamespaceState

func (*NamespaceInfo) GetSupportsSchedules added in v1.8.0

func (m *NamespaceInfo) GetSupportsSchedules() bool

func (*NamespaceInfo) GoString

func (this *NamespaceInfo) GoString() string

func (*NamespaceInfo) Marshal

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

func (*NamespaceInfo) MarshalTo

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

func (*NamespaceInfo) MarshalToSizedBuffer

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

func (*NamespaceInfo) ProtoMessage

func (*NamespaceInfo) ProtoMessage()

func (*NamespaceInfo) Reset

func (m *NamespaceInfo) Reset()

func (*NamespaceInfo) Size

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

func (*NamespaceInfo) String

func (this *NamespaceInfo) String() string

func (*NamespaceInfo) Unmarshal

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

func (*NamespaceInfo) XXX_DiscardUnknown

func (m *NamespaceInfo) XXX_DiscardUnknown()

func (*NamespaceInfo) XXX_Marshal

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

func (*NamespaceInfo) XXX_Merge

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

func (*NamespaceInfo) XXX_Size

func (m *NamespaceInfo) XXX_Size() int

func (*NamespaceInfo) XXX_Unmarshal

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

type UpdateNamespaceInfo

type UpdateNamespaceInfo struct {
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	OwnerEmail  string `protobuf:"bytes,2,opt,name=owner_email,json=ownerEmail,proto3" json:"owner_email,omitempty"`
	// A key-value map for any customized purpose.
	// If data already exists on the namespace,
	// this will merge with the existing key values.
	Data map[string]string `` /* 149-byte string literal not displayed */
	// New namespace state, server will reject if transition is not allowed.
	// Allowed transitions are:
	//  Registered -> [ Deleted | Deprecated | Handover ]
	//  Handover -> [ Registered ]
	// Default is NAMESPACE_STATE_UNSPECIFIED which is do not change state.
	State v1.NamespaceState `protobuf:"varint,4,opt,name=state,proto3,enum=temporal.api.enums.v1.NamespaceState" json:"state,omitempty"`
}

func (*UpdateNamespaceInfo) Descriptor

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

func (*UpdateNamespaceInfo) Equal

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

func (*UpdateNamespaceInfo) GetData

func (m *UpdateNamespaceInfo) GetData() map[string]string

func (*UpdateNamespaceInfo) GetDescription

func (m *UpdateNamespaceInfo) GetDescription() string

func (*UpdateNamespaceInfo) GetOwnerEmail

func (m *UpdateNamespaceInfo) GetOwnerEmail() string

func (*UpdateNamespaceInfo) GetState added in v1.7.0

func (m *UpdateNamespaceInfo) GetState() v1.NamespaceState

func (*UpdateNamespaceInfo) GoString

func (this *UpdateNamespaceInfo) GoString() string

func (*UpdateNamespaceInfo) Marshal

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

func (*UpdateNamespaceInfo) MarshalTo

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

func (*UpdateNamespaceInfo) MarshalToSizedBuffer

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

func (*UpdateNamespaceInfo) ProtoMessage

func (*UpdateNamespaceInfo) ProtoMessage()

func (*UpdateNamespaceInfo) Reset

func (m *UpdateNamespaceInfo) Reset()

func (*UpdateNamespaceInfo) Size

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

func (*UpdateNamespaceInfo) String

func (this *UpdateNamespaceInfo) String() string

func (*UpdateNamespaceInfo) Unmarshal

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

func (*UpdateNamespaceInfo) XXX_DiscardUnknown

func (m *UpdateNamespaceInfo) XXX_DiscardUnknown()

func (*UpdateNamespaceInfo) XXX_Marshal

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

func (*UpdateNamespaceInfo) XXX_Merge

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

func (*UpdateNamespaceInfo) XXX_Size

func (m *UpdateNamespaceInfo) XXX_Size() int

func (*UpdateNamespaceInfo) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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