Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLabLabels ¶ added in v0.10.0
func NewLabLabels() commonModel.Labels
Types ¶
type BoxTemplate ¶ added in v0.9.0
type CommonLabOptions ¶ added in v0.9.0
func NewCommonLabOpts ¶ added in v0.9.0
func NewCommonLabOpts() *CommonLabOptions
type CreateOptions ¶ added in v0.9.0
type CreateOptions struct { LabTemplate *LabV1 BoxTemplates map[string]*boxModel.BoxV1 DumpTemplates map[string]*DumpV1 Parameters commonModel.Parameters Labels commonModel.Labels }
type LabBox ¶
type LabBox struct { Alias string Template BoxTemplate Size string Vpn string Ports []string // cloud only Dumps []string // cloud only }
func (*LabBox) Expand ¶ added in v0.9.0
func (box *LabBox) Expand(parameters commonModel.Parameters) (*LabBox, error)
TODO use reflection to expand all fields
type LabClientOptions ¶ added in v0.9.0
type LabClientOptions struct { Provider LabProvider CloudOpts *commonModel.CloudOptions }
type LabProvider ¶ added in v0.9.0
type LabProvider string
const (
Cloud LabProvider = "cloud"
)
func (LabProvider) String ¶ added in v0.9.0
func (p LabProvider) String() string
Click to show internal directories.
Click to hide internal directories.