api

package
v1.2.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2016 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const GroupName = ""

Variables

View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func AddToScheme

func AddToScheme(scheme *runtime.Scheme)

func ClusterNetworkToSelectableFields

func ClusterNetworkToSelectableFields(network *ClusterNetwork) fields.Set

ClusterNetworkToSelectableFields returns a label set that represents the object

func HostSubnetToSelectableFields

func HostSubnetToSelectableFields(obj *HostSubnet) fields.Set

HostSubnetToSelectableFields returns a label set that represents the object

func Kind

func Kind(kind string) unversioned.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func NetNamespaceToSelectableFields

func NetNamespaceToSelectableFields(obj *NetNamespace) fields.Set

NetNamespaceToSelectableFields returns a label set that represents the object

func Resource

func Resource(resource string) unversioned.GroupResource

Resource takes an unqualified resource and returns back a Group qualified GroupResource

Types

type ClusterNetwork

type ClusterNetwork struct {
	unversioned.TypeMeta
	kapi.ObjectMeta

	Network          string
	HostSubnetLength int
	ServiceNetwork   string
}

func (*ClusterNetwork) GetObjectKind

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

type ClusterNetworkList

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

func (*ClusterNetworkList) GetObjectKind

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

type HostSubnet

type HostSubnet struct {
	unversioned.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) GetObjectKind

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

type HostSubnetList

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

HostSubnetList is a collection of HostSubnets

func (*HostSubnetList) GetObjectKind

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

type NetNamespace

type NetNamespace struct {
	unversioned.TypeMeta
	kapi.ObjectMeta

	NetName string
	NetID   uint
}

NetNamespace holds the network id against its name

func (*NetNamespace) GetObjectKind

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

type NetNamespaceList

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

NetNamespaceList is a collection of NetNamespaces

func (*NetNamespaceList) GetObjectKind

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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