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 { Location string `json:"Location"` DiskImage string `json:"Disk Image"` DiskSize int `json:"Disk Size"` ServerType string `json:"Server Type"` APIToken string `json:"API Token"` }
func ParseTargetOptions ¶
func ParseTargetOptions(optionsJson string) (*TargetOptions, error)
ParseTargetOptions parses the target options from the JSON string.
type WorkspaceMetadata ¶
type WorkspaceMetadata struct { ServerID int ServerName string ServerMemory float32 Architecture string Location string Created string }
func ToWorkspaceMetadata ¶
func ToWorkspaceMetadata(server *hcloud.Server) WorkspaceMetadata
ToWorkspaceMetadata converts and maps values from an *hcloud.Server to a WorkspaceMetadata.
Click to show internal directories.
Click to hide internal directories.