Documentation
¶
Index ¶
- Constants
- Variables
- func AddToScheme(scheme *runtime.Scheme)
- func ClusterNetworkToSelectableFields(network *ClusterNetwork) fields.Set
- func HostSubnetToSelectableFields(obj *HostSubnet) fields.Set
- func Kind(kind string) unversioned.GroupKind
- func NetNamespaceToSelectableFields(obj *NetNamespace) fields.Set
- func Resource(resource string) unversioned.GroupResource
- type ClusterNetwork
- type ClusterNetworkList
- type HostSubnet
- type HostSubnetList
- type NetNamespace
- type NetNamespaceList
Constants ¶
const GroupName = ""
Variables ¶
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func ClusterNetworkToSelectableFields ¶ added in v1.0.8
func ClusterNetworkToSelectableFields(network *ClusterNetwork) fields.Set
ClusterNetworkToSelectableFields returns a label set that represents the object
func HostSubnetToSelectableFields ¶ added in v1.0.8
func HostSubnetToSelectableFields(obj *HostSubnet) fields.Set
HostSubnetToSelectableFields returns a label set that represents the object
func Kind ¶ added in v1.1.2
func Kind(kind string) unversioned.GroupKind
Kind takes an unqualified kind and returns back a Group qualified GroupKind
func NetNamespaceToSelectableFields ¶ added in v1.0.8
func NetNamespaceToSelectableFields(obj *NetNamespace) fields.Set
NetNamespaceToSelectableFields returns a label set that represents the object
func Resource ¶ added in v1.1.2
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 ¶ added in v1.1.4
func (obj *ClusterNetwork) GetObjectKind() unversioned.ObjectKind
type ClusterNetworkList ¶
type ClusterNetworkList struct {
unversioned.TypeMeta
unversioned.ListMeta
Items []ClusterNetwork
}
func (*ClusterNetworkList) GetObjectKind ¶ added in v1.1.4
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 ¶ added in v1.1.4
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 ¶ added in v1.1.4
func (obj *HostSubnetList) GetObjectKind() unversioned.ObjectKind
type NetNamespace ¶ added in v1.0.6
type NetNamespace struct {
unversioned.TypeMeta
kapi.ObjectMeta
NetName string
NetID uint
}
NetNamespace holds the network id against its name
func (*NetNamespace) GetObjectKind ¶ added in v1.1.4
func (obj *NetNamespace) GetObjectKind() unversioned.ObjectKind
type NetNamespaceList ¶ added in v1.0.6
type NetNamespaceList struct {
unversioned.TypeMeta
unversioned.ListMeta
Items []NetNamespace
}
NetNamespaceList is a collection of NetNamespaces
func (*NetNamespaceList) GetObjectKind ¶ added in v1.1.4
func (obj *NetNamespaceList) GetObjectKind() unversioned.ObjectKind
Source Files
¶
- fields.go
- register.go
- types.go