v1

package
v1.3.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2016 License: Apache-2.0 Imports: 8 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)

func Convert_api_ClusterNetworkList_To_v1_ClusterNetworkList added in v1.3.0

func Convert_api_ClusterNetworkList_To_v1_ClusterNetworkList(in *sdn_api.ClusterNetworkList, out *ClusterNetworkList, s conversion.Scope) error

func Convert_api_ClusterNetwork_To_v1_ClusterNetwork added in v1.3.0

func Convert_api_ClusterNetwork_To_v1_ClusterNetwork(in *sdn_api.ClusterNetwork, out *ClusterNetwork, s conversion.Scope) error

func Convert_api_HostSubnetList_To_v1_HostSubnetList added in v1.3.0

func Convert_api_HostSubnetList_To_v1_HostSubnetList(in *sdn_api.HostSubnetList, out *HostSubnetList, s conversion.Scope) error

func Convert_api_HostSubnet_To_v1_HostSubnet added in v1.3.0

func Convert_api_HostSubnet_To_v1_HostSubnet(in *sdn_api.HostSubnet, out *HostSubnet, s conversion.Scope) error

func Convert_api_NetNamespaceList_To_v1_NetNamespaceList added in v1.3.0

func Convert_api_NetNamespaceList_To_v1_NetNamespaceList(in *sdn_api.NetNamespaceList, out *NetNamespaceList, s conversion.Scope) error

func Convert_api_NetNamespace_To_v1_NetNamespace added in v1.3.0

func Convert_api_NetNamespace_To_v1_NetNamespace(in *sdn_api.NetNamespace, out *NetNamespace, s conversion.Scope) error

func Convert_v1_ClusterNetworkList_To_api_ClusterNetworkList added in v1.3.0

func Convert_v1_ClusterNetworkList_To_api_ClusterNetworkList(in *ClusterNetworkList, out *sdn_api.ClusterNetworkList, s conversion.Scope) error

func Convert_v1_ClusterNetwork_To_api_ClusterNetwork added in v1.3.0

func Convert_v1_ClusterNetwork_To_api_ClusterNetwork(in *ClusterNetwork, out *sdn_api.ClusterNetwork, s conversion.Scope) error

func Convert_v1_HostSubnetList_To_api_HostSubnetList added in v1.3.0

func Convert_v1_HostSubnetList_To_api_HostSubnetList(in *HostSubnetList, out *sdn_api.HostSubnetList, s conversion.Scope) error

func Convert_v1_HostSubnet_To_api_HostSubnet added in v1.3.0

func Convert_v1_HostSubnet_To_api_HostSubnet(in *HostSubnet, out *sdn_api.HostSubnet, s conversion.Scope) error

func Convert_v1_NetNamespaceList_To_api_NetNamespaceList added in v1.3.0

func Convert_v1_NetNamespaceList_To_api_NetNamespaceList(in *NetNamespaceList, out *sdn_api.NetNamespaceList, s conversion.Scope) error

func Convert_v1_NetNamespace_To_api_NetNamespace added in v1.3.0

func Convert_v1_NetNamespace_To_api_NetNamespace(in *NetNamespace, out *sdn_api.NetNamespace, s conversion.Scope) error

func DeepCopy_v1_ClusterNetwork added in v1.3.0

func DeepCopy_v1_ClusterNetwork(in ClusterNetwork, out *ClusterNetwork, c *conversion.Cloner) error

func DeepCopy_v1_ClusterNetworkList added in v1.3.0

func DeepCopy_v1_ClusterNetworkList(in ClusterNetworkList, out *ClusterNetworkList, c *conversion.Cloner) error

func DeepCopy_v1_HostSubnet added in v1.3.0

func DeepCopy_v1_HostSubnet(in HostSubnet, out *HostSubnet, c *conversion.Cloner) error

func DeepCopy_v1_HostSubnetList added in v1.3.0

func DeepCopy_v1_HostSubnetList(in HostSubnetList, out *HostSubnetList, c *conversion.Cloner) error

func DeepCopy_v1_NetNamespace added in v1.3.0

func DeepCopy_v1_NetNamespace(in NetNamespace, out *NetNamespace, c *conversion.Cloner) error

func DeepCopy_v1_NetNamespaceList added in v1.3.0

func DeepCopy_v1_NetNamespaceList(in NetNamespaceList, out *NetNamespaceList, c *conversion.Cloner) error

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