Documentation
¶
Overview ¶
Package google_bigtable_admin_cluster_v1 is a generated protocol buffer package.
It is generated from these files:
google.golang.org/cloud/bigtable/internal/cluster_data_proto/bigtable_cluster_data.proto
It has these top-level messages:
Zone Cluster
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StorageType_name = map[int32]string{
0: "STORAGE_UNSPECIFIED",
1: "STORAGE_SSD",
}
View Source
var StorageType_value = map[string]int32{
"STORAGE_UNSPECIFIED": 0,
"STORAGE_SSD": 1,
}
View Source
var Zone_Status_name = map[int32]string{
0: "UNKNOWN",
1: "OK",
2: "PLANNED_MAINTENANCE",
3: "EMERGENCY_MAINENANCE",
}
View Source
var Zone_Status_value = map[string]int32{
"UNKNOWN": 0,
"OK": 1,
"PLANNED_MAINTENANCE": 2,
"EMERGENCY_MAINENANCE": 3,
}
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
// A permanent unique identifier for the cluster. For technical reasons, the
// zone in which the cluster resides is included here.
// Values are of the form
// projects/<project>/zones/<zone>/clusters/[a-z][-a-z0-9]*
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// The descriptive name for this cluster as it appears in UIs.
// Must be unique per zone.
DisplayName string `protobuf:"bytes,4,opt,name=display_name" json:"display_name,omitempty"`
// The number of serve nodes allocated to this cluster.
ServeNodes int32 `protobuf:"varint,5,opt,name=serve_nodes" json:"serve_nodes,omitempty"`
// What storage type to use for tables in this cluster. Only configurable at
// cluster creation time. If unspecified, STORAGE_SSD will be used.
DefaultStorageType StorageType `` /* 137-byte string literal not displayed */
}
An isolated set of Cloud BigTable resources on which tables can be hosted.
func (*Cluster) Descriptor ¶
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
type StorageType ¶
type StorageType int32
const ( // The storage type used is unspecified. StorageType_STORAGE_UNSPECIFIED StorageType = 0 // Data will be stored in SSD, providing low and consistent latencies. StorageType_STORAGE_SSD StorageType = 1 )
func (StorageType) EnumDescriptor ¶
func (StorageType) EnumDescriptor() ([]byte, []int)
func (StorageType) String ¶
func (x StorageType) String() string
type Zone ¶
type Zone struct {
// A permanent unique identifier for the zone.
// Values are of the form projects/<project>/zones/[a-z][-a-z0-9]*
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// The name of this zone as it appears in UIs.
DisplayName string `protobuf:"bytes,2,opt,name=display_name" json:"display_name,omitempty"`
// The current state of this zone.
Status Zone_Status `protobuf:"varint,3,opt,name=status,enum=google.bigtable.admin.cluster.v1.Zone_Status" json:"status,omitempty"`
}
A physical location in which a particular project can allocate Cloud BigTable resources.
func (*Zone) Descriptor ¶
func (*Zone) ProtoMessage ¶
func (*Zone) ProtoMessage()
type Zone_Status ¶
type Zone_Status int32
Possible states of a zone.
const ( // The state of the zone is unknown or unspecified. Zone_UNKNOWN Zone_Status = 0 // The zone is in a good state. Zone_OK Zone_Status = 1 // The zone is down for planned maintenance. Zone_PLANNED_MAINTENANCE Zone_Status = 2 // The zone is down for emergency or unplanned maintenance. Zone_EMERGENCY_MAINENANCE Zone_Status = 3 )
func (Zone_Status) EnumDescriptor ¶
func (Zone_Status) EnumDescriptor() ([]byte, []int)
func (Zone_Status) String ¶
func (x Zone_Status) String() string
Click to show internal directories.
Click to hide internal directories.