v1

package
v1.1.6-jenkins-build-c... Latest Latest
Warning

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

Go to latest
Published: Apr 12, 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"`
	// 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 `json:"hostsubnetlength"`
	// ServiceNetwork is the CIDR string to specify the service network
	ServiceNetwork string `json:"serviceNetwork"`
}

ClusterNetwork describes a cluster network

func (*ClusterNetwork) GetObjectKind added in v1.1.3

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

func (ClusterNetwork) SwaggerDoc added in v1.1.4

func (ClusterNetwork) SwaggerDoc() map[string]string

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"`
}

ClusterNetworkList is a collection of ClusterNetworks

func (*ClusterNetworkList) GetObjectKind added in v1.1.3

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

func (ClusterNetworkList) SwaggerDoc added in v1.1.4

func (ClusterNetworkList) SwaggerDoc() map[string]string

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"`
	// HostIP is the IP address to be used as vtep by other hosts in the overlay network
	HostIP string `json:"hostIP"`
	// Subnet is the actual subnet CIDR lease assigned to the host
	Subnet string `json:"subnet"`
}

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

func (HostSubnet) SwaggerDoc added in v1.1.4

func (HostSubnet) SwaggerDoc() map[string]string

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"`
}

HostSubnetList is a collection of HostSubnets

func (*HostSubnetList) GetObjectKind added in v1.1.3

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

func (HostSubnetList) SwaggerDoc added in v1.1.4

func (HostSubnetList) SwaggerDoc() map[string]string

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"`
	// NetID is the network identifier of the network namespace assigned to each overlay network packet
	NetID uint `json:"netid"`
}

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

func (NetNamespace) SwaggerDoc added in v1.1.4

func (NetNamespace) SwaggerDoc() map[string]string

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"`
}

NetNamespaceList is a collection of NetNamespaces

func (*NetNamespaceList) GetObjectKind added in v1.1.3

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

func (NetNamespaceList) SwaggerDoc added in v1.1.4

func (NetNamespaceList) SwaggerDoc() map[string]string

Jump to

Keyboard shortcuts

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