cloudinit

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 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 NetworkConfig

type NetworkConfig struct {
	Version int           `json:"version"`
	Config  []interface{} `json:"config"`
}

NetworkConfig is used as root element to serialize to cloud config

type NetworkConfigEntry

type NetworkConfigEntry struct {
	Type string `json:"type"`
}

NetworkConfigEntry is an entry in the v1 network config

type NetworkConfigEntryNameserver

type NetworkConfigEntryNameserver struct {
	NetworkConfigEntry
	Address []string `json:"address"`
	Search  []string `json:"search"`
}

NetworkConfigEntryNameserver is a nameserver entry

type NetworkConfigEntryPhysical

type NetworkConfigEntryPhysical struct {
	NetworkConfigEntry
	Name    string                             `json:"name"`
	Subnets []NetworkConfigEntryPhysicalSubnet `json:"subnets"`
}

NetworkConfigEntryPhysical is a nameserver entry

type NetworkConfigEntryPhysicalSubnet

type NetworkConfigEntryPhysicalSubnet struct {
	Type string `json:"type"`
}

NetworkConfigEntryPhysicalSubnet is a subnet entry in the v1 network config of a physical device

Jump to

Keyboard shortcuts

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