region

package
v0.55.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 8 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")
)
View Source
var Region_CloudProvider_name = map[int32]string{
	0: "CloudProviderUnspecified",
	1: "CloudProviderAws",
	2: "CloudProviderGcp",
}
View Source
var Region_CloudProvider_value = map[string]int32{
	"CloudProviderUnspecified": 0,
	"CloudProviderAws":         1,
	"CloudProviderGcp":         2,
}

Functions

This section is empty.

Types

type Region

type Region struct {
	// The id of the temporal cloud region.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The name of the cloud provider that's hosting the region.
	// Currently only "aws" is supported.
	// Deprecated: Use cloud_provider instead.
	// temporal:versioning:max_version=v0.3.0
	CloudProviderDeprecated string `` // Deprecated: Do not use.
	/* 132-byte string literal not displayed */
	// The cloud provider that's hosting the region.
	// temporal:versioning:min_version=v0.3.0
	// temporal:enums:replaces=cloud_provider_deprecated
	CloudProvider Region_CloudProvider `` /* 156-byte string literal not displayed */
	// The region identifier as defined by the cloud provider.
	CloudProviderRegion string `protobuf:"bytes,3,opt,name=cloud_provider_region,json=cloudProviderRegion,proto3" json:"cloud_provider_region,omitempty"`
	// The human readable location of the region.
	Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
	// The allow list of connection between the current region with a target region.
	// temporal:dev
	ConnectableRegionIds []string `protobuf:"bytes,6,rep,name=connectable_region_ids,json=connectableRegionIds,proto3" json:"connectable_region_ids,omitempty"`
	// The maximum number of replicas allowed in this region.
	// temporal:dev
	MaxInRegionReplicas int32 `protobuf:"varint,7,opt,name=max_in_region_replicas,json=maxInRegionReplicas,proto3" json:"max_in_region_replicas,omitempty"`
}

func (*Region) Descriptor

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

func (*Region) Equal

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

func (*Region) GetCloudProvider

func (m *Region) GetCloudProvider() Region_CloudProvider

func (*Region) GetCloudProviderDeprecated deprecated added in v0.34.0

func (m *Region) GetCloudProviderDeprecated() string

Deprecated: Do not use.

func (*Region) GetCloudProviderRegion

func (m *Region) GetCloudProviderRegion() string

func (*Region) GetConnectableRegionIds added in v0.51.0

func (m *Region) GetConnectableRegionIds() []string

func (*Region) GetId

func (m *Region) GetId() string

func (*Region) GetLocation

func (m *Region) GetLocation() string

func (*Region) GetMaxInRegionReplicas added in v0.55.0

func (m *Region) GetMaxInRegionReplicas() int32

func (*Region) GoString

func (this *Region) GoString() string

func (*Region) Marshal

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

func (*Region) MarshalTo

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

func (*Region) MarshalToSizedBuffer

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

func (*Region) ProtoMessage

func (*Region) ProtoMessage()

func (*Region) Reset

func (m *Region) Reset()

func (*Region) Size

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

func (*Region) String

func (this *Region) String() string

func (*Region) Unmarshal

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

func (*Region) XXX_DiscardUnknown

func (m *Region) XXX_DiscardUnknown()

func (*Region) XXX_Marshal

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

func (*Region) XXX_Merge

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

func (*Region) XXX_Size

func (m *Region) XXX_Size() int

func (*Region) XXX_Unmarshal

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

type Region_CloudProvider added in v0.34.0

type Region_CloudProvider int32

The cloud provider that's hosting the region.

const (
	CLOUD_PROVIDER_UNSPECIFIED Region_CloudProvider = 0
	CLOUD_PROVIDER_AWS         Region_CloudProvider = 1
	CLOUD_PROVIDER_GCP         Region_CloudProvider = 2
)

func (Region_CloudProvider) EnumDescriptor added in v0.34.0

func (Region_CloudProvider) EnumDescriptor() ([]byte, []int)

func (Region_CloudProvider) String added in v0.34.0

func (x Region_CloudProvider) String() string

Jump to

Keyboard shortcuts

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