Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTargetManifest ¶
func GetTargetManifest() *provider.ProviderTargetManifest
Types ¶
type TargetOptions ¶
type TargetOptions struct { CredentialFile string `json:"Credential File"` ProjectID string `json:"Project Id"` Zone string `json:"Zone"` MachineType string `json:"Machine Type"` DiskType string `json:"Disk Type"` DiskSize int `json:"Disk Size"` VMImage string `json:"VM Image"` }
func ParseTargetOptions ¶
func ParseTargetOptions(optionsJson string) (*TargetOptions, error)
ParseTargetOptions parses the target options from the JSON string.
type WorkspaceMetadata ¶
type WorkspaceMetadata struct { VirtualMachineId uint64 VirtualMachineName string Platform string Location string Created string }
func ToWorkspaceMetadata ¶
func ToWorkspaceMetadata(vm *computepb.Instance) WorkspaceMetadata
ToWorkspaceMetadata converts and maps values from an *computepb.Instance to a WorkspaceMetadata.
Click to show internal directories.
Click to hide internal directories.