replication

package
v1.38.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: MIT Imports: 7 Imported by: 19

Documentation

Overview

Code generated by protoc-gen-go-helpers. DO NOT EDIT.

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) Equal

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

Equal returns whether two ClusterReplicationConfig values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*ClusterReplicationConfig) GetClusterName

func (x *ClusterReplicationConfig) GetClusterName() string

func (*ClusterReplicationConfig) Marshal

func (val *ClusterReplicationConfig) Marshal() ([]byte, error)

Marshal an object of type ClusterReplicationConfig to the protobuf v3 wire format

func (*ClusterReplicationConfig) ProtoMessage

func (*ClusterReplicationConfig) ProtoMessage()

func (*ClusterReplicationConfig) ProtoReflect added in v1.26.1

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

func (*ClusterReplicationConfig) Reset

func (x *ClusterReplicationConfig) Reset()

func (*ClusterReplicationConfig) Size

func (val *ClusterReplicationConfig) Size() int

Size returns the size of the object, in bytes, once serialized

func (*ClusterReplicationConfig) String

func (x *ClusterReplicationConfig) String() string

func (*ClusterReplicationConfig) Unmarshal

func (val *ClusterReplicationConfig) Unmarshal(buf []byte) error

Unmarshal an object of type ClusterReplicationConfig from the protobuf v3 wire format

type FailoverStatus added in v1.11.0

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 added in v1.11.0

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

Deprecated: Use FailoverStatus.ProtoReflect.Descriptor instead.

func (*FailoverStatus) Equal added in v1.11.0

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

Equal returns whether two FailoverStatus values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*FailoverStatus) GetFailoverTime added in v1.11.0

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

func (*FailoverStatus) GetFailoverVersion added in v1.11.0

func (x *FailoverStatus) GetFailoverVersion() int64

func (*FailoverStatus) Marshal added in v1.11.0

func (val *FailoverStatus) Marshal() ([]byte, error)

Marshal an object of type FailoverStatus to the protobuf v3 wire format

func (*FailoverStatus) ProtoMessage added in v1.11.0

func (*FailoverStatus) ProtoMessage()

func (*FailoverStatus) ProtoReflect added in v1.26.1

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

func (*FailoverStatus) Reset added in v1.11.0

func (x *FailoverStatus) Reset()

func (*FailoverStatus) Size added in v1.11.0

func (val *FailoverStatus) Size() int

Size returns the size of the object, in bytes, once serialized

func (*FailoverStatus) String added in v1.11.0

func (x *FailoverStatus) String() string

func (*FailoverStatus) Unmarshal added in v1.11.0

func (val *FailoverStatus) Unmarshal(buf []byte) error

Unmarshal an object of type FailoverStatus from the protobuf v3 wire format

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) Equal

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

Equal returns whether two NamespaceReplicationConfig values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*NamespaceReplicationConfig) GetActiveClusterName

func (x *NamespaceReplicationConfig) GetActiveClusterName() string

func (*NamespaceReplicationConfig) GetClusters

func (*NamespaceReplicationConfig) GetState added in v1.7.0

func (*NamespaceReplicationConfig) Marshal

func (val *NamespaceReplicationConfig) Marshal() ([]byte, error)

Marshal an object of type NamespaceReplicationConfig to the protobuf v3 wire format

func (*NamespaceReplicationConfig) ProtoMessage

func (*NamespaceReplicationConfig) ProtoMessage()

func (*NamespaceReplicationConfig) ProtoReflect added in v1.26.1

func (*NamespaceReplicationConfig) Reset

func (x *NamespaceReplicationConfig) Reset()

func (*NamespaceReplicationConfig) Size

func (val *NamespaceReplicationConfig) Size() int

Size returns the size of the object, in bytes, once serialized

func (*NamespaceReplicationConfig) String

func (x *NamespaceReplicationConfig) String() string

func (*NamespaceReplicationConfig) Unmarshal

func (val *NamespaceReplicationConfig) Unmarshal(buf []byte) error

Unmarshal an object of type NamespaceReplicationConfig from the protobuf v3 wire format

Jump to

Keyboard shortcuts

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