domain

package
v0.0.0-...-cbea63e Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: Apache-2.0, MIT Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Machine

type Machine struct {
	Cores  uint64
	Memory uint64
	Disk   uint64
	Usage  *Resource
}

type Provisioner

type Provisioner struct {
	Id           string
	Version      string
	Hostname     string
	IpAddress    string
	AzName       string
	MachineClass string
	Started      time.Time
	LastUpdate   time.Time
	Machine      *Machine
	Processes    []*Service
	Containers   []*Service
}

func (*Provisioner) ToProto

func (p *Provisioner) ToProto(verbose bool) *pproto.Provisioner

type Resource

type Resource struct {
	Cpu    float64
	Memory uint64
	Disk   uint64
}

type Service

type Service struct {
	Name       string
	Version    string
	Usage      *Resource
	Allocation *Resource
}

Jump to

Keyboard shortcuts

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