v1

package
v1.3.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2016 License: Apache-2.0 Imports: 8 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: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func AddToScheme

func AddToScheme(scheme *runtime.Scheme)

func Convert_api_ClusterNetworkList_To_v1_ClusterNetworkList

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

func Convert_api_ClusterNetwork_To_v1_ClusterNetwork

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

func Convert_api_HostSubnetList_To_v1_HostSubnetList

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

func Convert_api_HostSubnet_To_v1_HostSubnet

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

func Convert_api_NetNamespaceList_To_v1_NetNamespaceList

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

func Convert_api_NetNamespace_To_v1_NetNamespace

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

func Convert_v1_ClusterNetworkList_To_api_ClusterNetworkList

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

func Convert_v1_ClusterNetwork_To_api_ClusterNetwork

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

func Convert_v1_HostSubnetList_To_api_HostSubnetList

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

func Convert_v1_HostSubnet_To_api_HostSubnet

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

func Convert_v1_NetNamespaceList_To_api_NetNamespaceList

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

func Convert_v1_NetNamespace_To_api_NetNamespace

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

func DeepCopy_v1_ClusterNetwork

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

func DeepCopy_v1_ClusterNetworkList

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

func DeepCopy_v1_HostSubnet

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

func DeepCopy_v1_HostSubnetList

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

func DeepCopy_v1_NetNamespace

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

func DeepCopy_v1_NetNamespaceList

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

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

func (ClusterNetwork) SwaggerDoc

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

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

func (ClusterNetworkList) SwaggerDoc

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

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

func (HostSubnet) SwaggerDoc

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

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

func (HostSubnetList) SwaggerDoc

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

type NetNamespace

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

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

func (NetNamespace) SwaggerDoc

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

type NetNamespaceList

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

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

func (NetNamespaceList) SwaggerDoc

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

Jump to

Keyboard shortcuts

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