agent

package
v0.0.0-...-9639e24 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2017 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 Disks

type Disks struct {
	Persistent map[string]string `json:"persistent,omitempty"`
}

type Network

type Network struct {
	Type string `json:"type"`

	IP      string   `json:"ip,omitempty"`
	Netmask string   `json:"netmask,omitempty"`
	Gateway string   `json:"gateway,omitempty"`
	Default []string `json:"default,omitempty"`
	DNS     []string `json:"dns,omitempty"`

	Preconfigured bool `json:"preconfigured,omitempty"`
}

type Networks

type Networks map[string]Network

type Settings

type Settings struct {
	AgentID    string   `json:"agent_id"`
	Disks      Disks    `json:"disks,omitempty"`
	Networks   Networks `json:"networks,omitempty"`
	MessageBus string   `json:"mbus"`
	NTPServers []string `json:"ntp,omitempty"`
	VM         VM       `json:"vm"`

	// These are just carried along from bosh
	Blobstore interface{} `json:"blobstore,omitempty"`
	Env       interface{} `json:"env,omitempty"`
}

type VM

type VM struct {
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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