types

package
v0.0.0-...-3588c51 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2018 License: GPL-3.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 CloudInit

type CloudInit struct {
	ID         int                 `json:"id"`
	Hostname   string              `json:"hostname"`
	FQDN       string              `json:"fqdn"`
	UserData   string              `json:"user_data"`
	VendorData string              `json:"vendor_data"`
	PublicKeys []string            `json:"public_keys"`
	Region     string              `json:"region"`
	Interfaces interface{}         `json:"interfaces"`
	DNS        map[string][]string `json:"dns"`
	Tags       []string            `json:"tags"`
}

type Data

type Data struct {
	ID          uint
	Name        string
	Type        string
	Value       string
	Description string
}

type Host

type Host struct {
	ID         uint
	Enabled    bool
	Name       string
	FQDN       string
	UUID       string
	Interfaces []string
	Profile    string
}

type IP

type IP struct {
	ID        uint
	IPAddress string
	Netmask   string
	Gateway   string
}

type Interface

type Interface struct {
	Index      int
	MACAddress string
	IP         IP
	FloatingIP IP
}

type ServerConfig

type ServerConfig struct {
	Key   string
	Value string
}

Jump to

Keyboard shortcuts

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