domain

package
v0.0.0-...-054b70b Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	Ident string
}

type ResItem

type ResItem struct {
	Ident    string `json:"ident,omitempty"`
	Computer string `json:"computer,omitempty"`
	Cluster  string `json:"cluster,omitempty"`

	Name     string         `json:"name"`
	Path     string         `json:"path"`
	Type     _const.ResType `json:"type"`
	Key      string         `json:"key"`
	Children []*ResItem     `json:"children"`

	IsTemplate bool `json:"isTemplate"`

	Ip       string `json:"ip,omitempty"`
	Port     int    `json:"port,omitempty"`
	Username string `json:"-"`
	Password string `json:"-"`

	ComputerObj model.Computer `gorm:"-" json:"computer"` // only for computer data persistence
}

type Vm

type Vm struct {
	Ident string
}

type VmReq

type VmReq struct {
	TemplId uint `json:"id"`

	Ip       string `json:"ip,omitempty"`
	Port     int    `json:"port,omitempty"`
	Username string `json:"-"`
	Password string `json:"-"`

	VmId     string `json:"vmId"`
	Computer string `json:"computer"`
}

Jump to

Keyboard shortcuts

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