replicationv1

package
v1.33.0-20230419173345... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_temporal_api_replication_v1_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ClusterReplicationConfig

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

func (*ClusterReplicationConfig) Descriptor deprecated

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

Deprecated: Use ClusterReplicationConfig.ProtoReflect.Descriptor instead.

func (*ClusterReplicationConfig) GetClusterName

func (x *ClusterReplicationConfig) GetClusterName() string

func (*ClusterReplicationConfig) ProtoMessage

func (*ClusterReplicationConfig) ProtoMessage()

func (*ClusterReplicationConfig) ProtoReflect

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

func (*ClusterReplicationConfig) Reset

func (x *ClusterReplicationConfig) Reset()

func (*ClusterReplicationConfig) String

func (x *ClusterReplicationConfig) String() string

type FailoverStatus

type FailoverStatus struct {

	// Timestamp when the Cluster switched to the following failover_version
	FailoverTime    *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=failover_time,json=failoverTime,proto3" json:"failover_time,omitempty"`
	FailoverVersion int64                  `protobuf:"varint,2,opt,name=failover_version,json=failoverVersion,proto3" json:"failover_version,omitempty"`
	// contains filtered or unexported fields
}

Represents a historical replication status of a Namespace

func (*FailoverStatus) Descriptor deprecated

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

Deprecated: Use FailoverStatus.ProtoReflect.Descriptor instead.

func (*FailoverStatus) GetFailoverTime

func (x *FailoverStatus) GetFailoverTime() *timestamppb.Timestamp

func (*FailoverStatus) GetFailoverVersion

func (x *FailoverStatus) GetFailoverVersion() int64

func (*FailoverStatus) ProtoMessage

func (*FailoverStatus) ProtoMessage()

func (*FailoverStatus) ProtoReflect

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

func (*FailoverStatus) Reset

func (x *FailoverStatus) Reset()

func (*FailoverStatus) String

func (x *FailoverStatus) String() string

type NamespaceReplicationConfig

type NamespaceReplicationConfig struct {
	ActiveClusterName string                      `protobuf:"bytes,1,opt,name=active_cluster_name,json=activeClusterName,proto3" json:"active_cluster_name,omitempty"`
	Clusters          []*ClusterReplicationConfig `protobuf:"bytes,2,rep,name=clusters,proto3" json:"clusters,omitempty"`
	State             v1.ReplicationState         `protobuf:"varint,3,opt,name=state,proto3,enum=temporal.api.enums.v1.ReplicationState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*NamespaceReplicationConfig) Descriptor deprecated

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

Deprecated: Use NamespaceReplicationConfig.ProtoReflect.Descriptor instead.

func (*NamespaceReplicationConfig) GetActiveClusterName

func (x *NamespaceReplicationConfig) GetActiveClusterName() string

func (*NamespaceReplicationConfig) GetClusters

func (*NamespaceReplicationConfig) GetState

func (*NamespaceReplicationConfig) ProtoMessage

func (*NamespaceReplicationConfig) ProtoMessage()

func (*NamespaceReplicationConfig) ProtoReflect

func (*NamespaceReplicationConfig) Reset

func (x *NamespaceReplicationConfig) Reset()

func (*NamespaceReplicationConfig) String

func (x *NamespaceReplicationConfig) String() string

Jump to

Keyboard shortcuts

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