models

package
v0.0.0-...-f67af4a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Machine

type Machine struct {
	Name          string               `json:"name" bson:"_id"`
	Template      string               `json:"template" bson:"template"`
	Archived      bool                 `json:"archived" bson:"archived"`
	Configuration MachineConfiguration `json:"configuration" bson:"configuration"`
}

type MachineConfiguration

type MachineConfiguration struct {
	VCpu   int64 `json:"vcpu"`
	Memory int64 `json:"memory"`
}

type Template

type Template struct {
	Id          string `json:"id" bson:"_id"`
	Name        string `json:"name" bson:"name"`
	LocalDomain string `json:"local_domain" bson:"local_domain"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL