v1

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = ""

Variables

View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func AddToScheme added in v1.1.3

func AddToScheme(scheme *runtime.Scheme)

Types

type ClusterNetwork

type ClusterNetwork struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	kapi.ObjectMeta `json:"metadata,omitempty"`

	// Network is a CIDR string to specify the global overlay network's L3 space
	Network string `json:"network" description:"CIDR string to specify the global overlay network's L3 space"`
	// HostSubnetLength is the number of bits to allocate to each host's subnet e.g. 8 would mean a /24 network on the host
	HostSubnetLength int `` /* 130-byte string literal not displayed */
	// ServiceNetwork is the CIDR string to specify the service network
	ServiceNetwork string `json:"serviceNetwork" description:"CIDR string to specify the service network"`
}

ClusterNetwork describes a cluster network

func (*ClusterNetwork) GetObjectKind added in v1.1.3

func (obj *ClusterNetwork) GetObjectKind() unversioned.ObjectKind

type ClusterNetworkList

type ClusterNetworkList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	unversioned.ListMeta `json:"metadata,omitempty"`
	// Items is the list of cluster networks
	Items []ClusterNetwork `json:"items" description:"list of cluster networks"`
}

ClusterNetworkList is a collection of ClusterNetworks

func (*ClusterNetworkList) GetObjectKind added in v1.1.3

func (obj *ClusterNetworkList) GetObjectKind() unversioned.ObjectKind

type HostSubnet

type HostSubnet struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	kapi.ObjectMeta `json:"metadata,omitempty"`

	// Host is the name of the host that is registered at the master. May just be an IP address, resolvable hostname or a complete DNS.
	// A lease will be sought after this name.
	Host string `json:"host" description:"Name of the host that is registered at the master. A lease will be sought after this name."`
	// HostIP is the IP address to be used as vtep by other hosts in the overlay network
	HostIP string `json:"hostIP" description:"IP address to be used as vtep by other hosts in the overlay network"`
	// Subnet is the actual subnet CIDR lease assigned to the host
	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) GetObjectKind added in v1.1.3

func (obj *HostSubnet) GetObjectKind() unversioned.ObjectKind

type HostSubnetList

type HostSubnetList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	unversioned.ListMeta `json:"metadata,omitempty"`
	// Items is the list of host subnets
	Items []HostSubnet `json:"items" description:"list of host subnets"`
}

HostSubnetList is a collection of HostSubnets

func (*HostSubnetList) GetObjectKind added in v1.1.3

func (obj *HostSubnetList) GetObjectKind() unversioned.ObjectKind

type NetNamespace added in v1.0.5

type NetNamespace struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	kapi.ObjectMeta `json:"metadata,omitempty"`

	// NetName is the name of the network namespace
	NetName string `json:"netname" description:"Name of the network namespace."`
	// NetID is the network identifier of the network namespace assigned to each overlay network packet
	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) GetObjectKind added in v1.1.3

func (obj *NetNamespace) GetObjectKind() unversioned.ObjectKind

type NetNamespaceList added in v1.0.5

type NetNamespaceList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	unversioned.ListMeta `json:"metadata,omitempty"`
	// Items is the list of net namespaces
	Items []NetNamespace `json:"items" description:"list of net namespaces"`
}

NetNamespaceList is a collection of NetNamespaces

func (*NetNamespaceList) GetObjectKind added in v1.1.3

func (obj *NetNamespaceList) GetObjectKind() unversioned.ObjectKind

Jump to

Keyboard shortcuts

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