Documentation
¶
Index ¶
- Variables
- type Region
- func (*Region) Descriptor() ([]byte, []int)
- func (this *Region) Equal(that interface{}) bool
- func (m *Region) GetCloudProvider() Region_CloudProvider
- func (m *Region) GetCloudProviderDeprecated() stringdeprecated
- func (m *Region) GetCloudProviderRegion() string
- func (m *Region) GetConnectableRegionIds() []string
- func (m *Region) GetId() string
- func (m *Region) GetLocation() string
- func (m *Region) GetMaxInRegionReplicas() int32
- func (this *Region) GoString() string
- func (m *Region) Marshal() (dAtA []byte, err error)
- func (m *Region) MarshalTo(dAtA []byte) (int, error)
- func (m *Region) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Region) ProtoMessage()
- func (m *Region) Reset()
- func (m *Region) Size() (n int)
- func (this *Region) String() string
- func (m *Region) Unmarshal(dAtA []byte) error
- func (m *Region) XXX_DiscardUnknown()
- func (m *Region) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Region) XXX_Merge(src proto.Message)
- func (m *Region) XXX_Size() int
- func (m *Region) XXX_Unmarshal(b []byte) error
- type Region_CloudProvider
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) GetCloudProvider ¶
func (m *Region) GetCloudProvider() Region_CloudProvider
func (*Region) GetCloudProviderDeprecated
deprecated
added in
v0.34.0
func (*Region) GetCloudProviderRegion ¶
func (*Region) GetConnectableRegionIds ¶ added in v0.51.0
func (*Region) GetLocation ¶
func (*Region) GetMaxInRegionReplicas ¶ added in v0.55.0
func (*Region) MarshalToSizedBuffer ¶
func (*Region) ProtoMessage ¶
func (*Region) ProtoMessage()
func (*Region) XXX_DiscardUnknown ¶
func (m *Region) XXX_DiscardUnknown()
func (*Region) XXX_Marshal ¶
func (*Region) XXX_Unmarshal ¶
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
Click to show internal directories.
Click to hide internal directories.