Documentation ¶
Index ¶
- type IPv4
- type Lab
- type LabDeleteStatus
- type LabServerSpec
- type LabSpec
- type LabStatus
- type LabVolumeSpec
- type ObjectMeta
- type PublicNet
- type Resource
- type SSHKey
- type SSHKeyDeleteStatus
- type SSHKeySpec
- type SSHKeyStatus
- type Server
- type ServerDeleteStatus
- type ServerSpec
- type ServerStatus
- type TypeMeta
- type Volume
- type VolumeDeleteStatus
- type VolumeSpec
- type VolumeStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lab ¶
type Lab struct { TypeMeta `json:",inline"` ObjectMeta `json:"metadata,omitempty"` Spec LabSpec `json:"spec"` Status LabStatus `json:"status,omitempty"` }
type LabDeleteStatus ¶
type LabServerSpec ¶
type LabSpec ¶
type LabSpec struct { Servers []*LabServerSpec `json:"servers"` Volumes []*LabVolumeSpec `json:"volumes"` TTL string `json:"ttl"` Provider string `json:"provider"` Location string `json:"location"` }
type LabVolumeSpec ¶
type ObjectMeta ¶
type Resource ¶
type Resource struct { TypeMeta `json:",inline"` ObjectMeta `json:"metadata,omitempty"` Spec map[string]interface{} `json:"spec"` }
Resource represents the common fields for all resources
type SSHKey ¶
type SSHKey struct { TypeMeta `json:",inline"` ObjectMeta `json:"metadata,omitempty"` Spec SSHKeySpec `json:"spec"` Status SSHKeyStatus `json:"status,omitempty"` }
type SSHKeyDeleteStatus ¶
type SSHKeySpec ¶
type SSHKeyStatus ¶
type Server ¶
type Server struct { TypeMeta `json:",inline"` ObjectMeta `json:"metadata,omitempty"` Spec ServerSpec `json:"spec"` Status ServerStatus `json:"status,omitempty"` }
type ServerDeleteStatus ¶
type ServerSpec ¶
type ServerSpec struct { ServerType string `json:"serverType"` Image string `json:"image"` Location string `json:"location"` Provider string `json:"provider"` Labels map[string]string `json:"labels"` Volumes []*Volume `json:"volumes"` SSHKeyNames []string `json:"sshKeyNames"` TTL string `json:"ttl"` }
Server represents a generic server across providers
type ServerStatus ¶
type Volume ¶
type Volume struct { TypeMeta `json:",inline"` ObjectMeta `json:"metadata,omitempty"` Spec VolumeSpec `json:"spec"` Status VolumeStatus `json:"status,omitempty"` }
type VolumeDeleteStatus ¶
type VolumeSpec ¶
type VolumeSpec struct { ServerID string `json:"serverID"` ServerName string `json:"serverName"` Location string `json:"location"` Provider string `json:"provider"` Size int `json:"size"` Automount bool `json:"automount"` Format string `json:"format"` Labels map[string]string `json:"labels"` TTL string `json:"ttl"` }
Click to show internal directories.
Click to hide internal directories.