Documentation ¶
Index ¶
- Variables
- type CloudProperties
- func (*CloudProperties) Descriptor() ([]byte, []int)deprecated
- func (x *CloudProperties) GetImage() string
- func (x *CloudProperties) GetInstanceId() string
- func (x *CloudProperties) GetInstanceName() string
- func (x *CloudProperties) GetNumericProjectId() string
- func (x *CloudProperties) GetProjectId() string
- func (x *CloudProperties) GetRegion() string
- func (x *CloudProperties) GetZone() string
- func (*CloudProperties) ProtoMessage()
- func (x *CloudProperties) ProtoReflect() protoreflect.Message
- func (x *CloudProperties) Reset()
- func (x *CloudProperties) String() string
- type Disk
- func (*Disk) Descriptor() ([]byte, []int)deprecated
- func (x *Disk) GetDeviceName() string
- func (x *Disk) GetDeviceType() string
- func (x *Disk) GetDiskName() string
- func (x *Disk) GetIsLocalSsd() bool
- func (x *Disk) GetMapping() string
- func (x *Disk) GetType() string
- func (*Disk) ProtoMessage()
- func (x *Disk) ProtoReflect() protoreflect.Message
- func (x *Disk) Reset()
- func (x *Disk) String() string
- type InstanceProperties
- func (*InstanceProperties) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceProperties) GetCpuPlatform() string
- func (x *InstanceProperties) GetCreationTimestamp() string
- func (x *InstanceProperties) GetDisks() []*Disk
- func (x *InstanceProperties) GetLastMigrationEndTimestamp() string
- func (x *InstanceProperties) GetMachineType() string
- func (x *InstanceProperties) GetNetworkAdapters() []*NetworkAdapter
- func (*InstanceProperties) ProtoMessage()
- func (x *InstanceProperties) ProtoReflect() protoreflect.Message
- func (x *InstanceProperties) Reset()
- func (x *InstanceProperties) String() string
- type NetworkAdapter
- func (*NetworkAdapter) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkAdapter) GetMapping() string
- func (x *NetworkAdapter) GetName() string
- func (x *NetworkAdapter) GetNetwork() string
- func (x *NetworkAdapter) GetNetworkIp() string
- func (*NetworkAdapter) ProtoMessage()
- func (x *NetworkAdapter) ProtoReflect() protoreflect.Message
- func (x *NetworkAdapter) Reset()
- func (x *NetworkAdapter) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_instanceinfo_instanceinfo_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CloudProperties ¶
type CloudProperties struct { ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` Zone string `protobuf:"bytes,3,opt,name=zone,proto3" json:"zone,omitempty"` InstanceName string `protobuf:"bytes,4,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"` Image string `protobuf:"bytes,5,opt,name=image,proto3" json:"image,omitempty"` NumericProjectId string `protobuf:"bytes,6,opt,name=numeric_project_id,json=numericProjectId,proto3" json:"numeric_project_id,omitempty"` Region string `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"` // This is needed only for baremtal systems and is not // contains filtered or unexported fields }
func (*CloudProperties) Descriptor
deprecated
func (*CloudProperties) Descriptor() ([]byte, []int)
Deprecated: Use CloudProperties.ProtoReflect.Descriptor instead.
func (*CloudProperties) GetImage ¶
func (x *CloudProperties) GetImage() string
func (*CloudProperties) GetInstanceId ¶
func (x *CloudProperties) GetInstanceId() string
func (*CloudProperties) GetInstanceName ¶
func (x *CloudProperties) GetInstanceName() string
func (*CloudProperties) GetNumericProjectId ¶
func (x *CloudProperties) GetNumericProjectId() string
func (*CloudProperties) GetProjectId ¶
func (x *CloudProperties) GetProjectId() string
func (*CloudProperties) GetRegion ¶
func (x *CloudProperties) GetRegion() string
func (*CloudProperties) GetZone ¶
func (x *CloudProperties) GetZone() string
func (*CloudProperties) ProtoMessage ¶
func (*CloudProperties) ProtoMessage()
func (*CloudProperties) ProtoReflect ¶
func (x *CloudProperties) ProtoReflect() protoreflect.Message
func (*CloudProperties) Reset ¶
func (x *CloudProperties) Reset()
func (*CloudProperties) String ¶
func (x *CloudProperties) String() string
type Disk ¶
type Disk struct { // e.g. SCRATCH, PERSISTENT, etc. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // last element of the disk source attribute, unique per project // only exists if this is a persistent disk DiskName string `protobuf:"bytes,2,opt,name=disk_name,json=diskName,proto3" json:"disk_name,omitempty"` // human readable device name, does not necessarily match the disk_name DeviceName string `protobuf:"bytes,3,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` // UNKNOWN, LOCAL_SSD, or PD_XXX DeviceType string `protobuf:"bytes,4,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"` IsLocalSsd bool `protobuf:"varint,5,opt,name=is_local_ssd,json=isLocalSsd,proto3" json:"is_local_ssd,omitempty"` // local disk mapping for device_name // found by following the link to /dev/disk/by-id/google-* Mapping string `protobuf:"bytes,6,opt,name=mapping,proto3" json:"mapping,omitempty"` // contains filtered or unexported fields }
func (*Disk) Descriptor
deprecated
func (*Disk) GetDeviceName ¶
func (*Disk) GetDeviceType ¶
func (*Disk) GetDiskName ¶
func (*Disk) GetIsLocalSsd ¶
func (*Disk) GetMapping ¶
func (*Disk) ProtoMessage ¶
func (*Disk) ProtoMessage()
func (*Disk) ProtoReflect ¶
func (x *Disk) ProtoReflect() protoreflect.Message
type InstanceProperties ¶
type InstanceProperties struct { MachineType string `protobuf:"bytes,1,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"` CpuPlatform string `protobuf:"bytes,2,opt,name=cpu_platform,json=cpuPlatform,proto3" json:"cpu_platform,omitempty"` Disks []*Disk `protobuf:"bytes,3,rep,name=disks,proto3" json:"disks,omitempty"` NetworkAdapters []*NetworkAdapter `protobuf:"bytes,4,rep,name=network_adapters,json=networkAdapters,proto3" json:"network_adapters,omitempty"` CreationTimestamp string `protobuf:"bytes,5,opt,name=creation_timestamp,json=creationTimestamp,proto3" json:"creation_timestamp,omitempty"` LastMigrationEndTimestamp string `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
func (*InstanceProperties) Descriptor
deprecated
func (*InstanceProperties) Descriptor() ([]byte, []int)
Deprecated: Use InstanceProperties.ProtoReflect.Descriptor instead.
func (*InstanceProperties) GetCpuPlatform ¶
func (x *InstanceProperties) GetCpuPlatform() string
func (*InstanceProperties) GetCreationTimestamp ¶
func (x *InstanceProperties) GetCreationTimestamp() string
func (*InstanceProperties) GetDisks ¶
func (x *InstanceProperties) GetDisks() []*Disk
func (*InstanceProperties) GetLastMigrationEndTimestamp ¶
func (x *InstanceProperties) GetLastMigrationEndTimestamp() string
func (*InstanceProperties) GetMachineType ¶
func (x *InstanceProperties) GetMachineType() string
func (*InstanceProperties) GetNetworkAdapters ¶
func (x *InstanceProperties) GetNetworkAdapters() []*NetworkAdapter
func (*InstanceProperties) ProtoMessage ¶
func (*InstanceProperties) ProtoMessage()
func (*InstanceProperties) ProtoReflect ¶
func (x *InstanceProperties) ProtoReflect() protoreflect.Message
func (*InstanceProperties) Reset ¶
func (x *InstanceProperties) Reset()
func (*InstanceProperties) String ¶
func (x *InstanceProperties) String() string
type NetworkAdapter ¶
type NetworkAdapter struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` NetworkIp string `protobuf:"bytes,2,opt,name=network_ip,json=networkIp,proto3" json:"network_ip,omitempty"` Network string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"` // local nic name mapping Mapping string `protobuf:"bytes,4,opt,name=mapping,proto3" json:"mapping,omitempty"` // contains filtered or unexported fields }
func (*NetworkAdapter) Descriptor
deprecated
func (*NetworkAdapter) Descriptor() ([]byte, []int)
Deprecated: Use NetworkAdapter.ProtoReflect.Descriptor instead.
func (*NetworkAdapter) GetMapping ¶
func (x *NetworkAdapter) GetMapping() string
func (*NetworkAdapter) GetName ¶
func (x *NetworkAdapter) GetName() string
func (*NetworkAdapter) GetNetwork ¶
func (x *NetworkAdapter) GetNetwork() string
func (*NetworkAdapter) GetNetworkIp ¶
func (x *NetworkAdapter) GetNetworkIp() string
func (*NetworkAdapter) ProtoMessage ¶
func (*NetworkAdapter) ProtoMessage()
func (*NetworkAdapter) ProtoReflect ¶
func (x *NetworkAdapter) ProtoReflect() protoreflect.Message
func (*NetworkAdapter) Reset ¶
func (x *NetworkAdapter) Reset()
func (*NetworkAdapter) String ¶
func (x *NetworkAdapter) String() string
Click to show internal directories.
Click to hide internal directories.