v1

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: 2 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   `json:",inline"`
	kapi.ObjectMeta `json:"metadata,omitempty"`

	Network          string `json:"network" description:"CIDR string to specify the global overlay network's L3 space"`
	HostSubnetLength int    `` /* 130-byte string literal not displayed */
	ServiceNetwork   string `json:"serviceNetwork" description:"CIDR string to specify the service network"`
}

func (*ClusterNetwork) IsAnAPIObject

func (*ClusterNetwork) IsAnAPIObject()

type ClusterNetworkList

type ClusterNetworkList struct {
	kapi.TypeMeta `json:",inline"`
	kapi.ListMeta `json:"metadata,omitempty"`
	Items         []ClusterNetwork `json:"items" description:"list of cluster networks"`
}

func (*ClusterNetworkList) IsAnAPIObject

func (*ClusterNetworkList) IsAnAPIObject()

type HostSubnet

type HostSubnet struct {
	kapi.TypeMeta   `json:",inline"`
	kapi.ObjectMeta `json:"metadata,omitempty"`

	// host may just be an IP address, resolvable hostname or a complete DNS
	Host   string `json:"host" description:"Name of the host that is registered at the master. A lease will be sought after this name."`
	HostIP string `json:"hostIP" description:"IP address to be used as vtep by other hosts in the overlay network"`
	Subnet string `json:"subnet" description:"Actual subnet CIDR lease assigned to the host"`
}

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 `json:",inline"`
	kapi.ListMeta `json:"metadata,omitempty"`
	Items         []HostSubnet `json:"items" description:"list of host subnets"`
}

HostSubnetList is a collection of HostSubnets

func (*HostSubnetList) IsAnAPIObject

func (*HostSubnetList) IsAnAPIObject()

type NetNamespace added in v1.0.5

type NetNamespace struct {
	kapi.TypeMeta   `json:",inline"`
	kapi.ObjectMeta `json:"metadata,omitempty"`

	NetName string `json:"netname" description:"Name of the network namespace."`
	NetID   uint   `json:"netid" description:"NetID of the network namespace assigned to each overlay network packet."`
}

NetNamespace encapsulates the inputs needed to define a unique network namespace on the cluster

func (*NetNamespace) IsAnAPIObject added in v1.0.5

func (*NetNamespace) IsAnAPIObject()

type NetNamespaceList added in v1.0.5

type NetNamespaceList struct {
	kapi.TypeMeta `json:",inline"`
	kapi.ListMeta `json:"metadata,omitempty"`
	Items         []NetNamespace `json:"items" description:"list of net namespaces"`
}

NetNamespaceList is a collection of NetNamespaces

func (*NetNamespaceList) IsAnAPIObject added in v1.0.5

func (*NetNamespaceList) IsAnAPIObject()

Jump to

Keyboard shortcuts

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