Help us shape the future of Go! Take the 2026 Go Developer Survey

api

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2015 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterNetwork

type ClusterNetwork struct {
	kapi.TypeMeta
	kapi.ObjectMeta

	Network          string
	HostSubnetLength int
	ServiceNetwork   string
}

func (*ClusterNetwork) IsAnAPIObject

func (*ClusterNetwork) IsAnAPIObject()

type ClusterNetworkList

type ClusterNetworkList struct {
	kapi.TypeMeta
	kapi.ListMeta
	Items []ClusterNetwork
}

func (*ClusterNetworkList) IsAnAPIObject

func (*ClusterNetworkList) IsAnAPIObject()

type HostSubnet

type HostSubnet struct {
	kapi.TypeMeta
	kapi.ObjectMeta

	// host may just be an IP address, resolvable hostname or a complete DNS
	Host   string
	HostIP string
	Subnet string
}

HostSubnet encapsulates the inputs needed to define the container subnet network on a node

func (*HostSubnet) IsAnAPIObject

func (*HostSubnet) IsAnAPIObject()

type HostSubnetList

type HostSubnetList struct {
	kapi.TypeMeta
	kapi.ListMeta
	Items []HostSubnet
}

HostSubnetList is a collection of HostSubnets

func (*HostSubnetList) IsAnAPIObject

func (*HostSubnetList) IsAnAPIObject()

type NetNamespace added in v1.0.5

type NetNamespace struct {
	kapi.TypeMeta
	kapi.ObjectMeta

	NetName string
	NetID   uint
}

NetNamespace holds the network id against its name

func (*NetNamespace) IsAnAPIObject added in v1.0.5

func (*NetNamespace) IsAnAPIObject()

type NetNamespaceList added in v1.0.5

type NetNamespaceList struct {
	kapi.TypeMeta
	kapi.ListMeta
	Items []NetNamespace
}

NetNamespaceList is a collection of NetNamespaces

func (*NetNamespaceList) IsAnAPIObject added in v1.0.5

func (*NetNamespaceList) IsAnAPIObject()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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