v1

package
v3.6.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

+groupName=network.openshift.io Package v1 is the v1 version of the API.

Package v1 is a generated protocol buffer package.

It is generated from these files:
	github.com/openshift/origin/pkg/sdn/api/v1/generated.proto

It has these top-level messages:
	ClusterNetwork
	ClusterNetworkList
	EgressNetworkPolicy
	EgressNetworkPolicyList
	EgressNetworkPolicyPeer
	EgressNetworkPolicyRule
	EgressNetworkPolicySpec
	HostSubnet
	HostSubnetList
	NetNamespace
	NetNamespaceList

Index

Constants

View Source
const (
	GroupName       = "network.openshift.io"
	LegacyGroupName = ""
)
View Source
const (
	ClusterNetworkDefault = "default"
)

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	SchemeGroupVersion       = unversioned.GroupVersion{Group: GroupName, Version: "v1"}
	LegacySchemeGroupVersion = unversioned.GroupVersion{Group: LegacyGroupName, Version: "v1"}

	LegacySchemeBuilder    = runtime.NewSchemeBuilder(addLegacyKnownTypes, addConversionFuncs)
	AddToSchemeInCoreGroup = LegacySchemeBuilder.AddToScheme

	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addConversionFuncs)
	AddToScheme   = SchemeBuilder.AddToScheme
)

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_api_ClusterNetworkList_To_v1_ClusterNetworkList

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

func Convert_api_ClusterNetwork_To_v1_ClusterNetwork

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

func Convert_api_EgressNetworkPolicyList_To_v1_EgressNetworkPolicyList

func Convert_api_EgressNetworkPolicyList_To_v1_EgressNetworkPolicyList(in *api.EgressNetworkPolicyList, out *EgressNetworkPolicyList, s conversion.Scope) error

func Convert_api_EgressNetworkPolicyPeer_To_v1_EgressNetworkPolicyPeer

func Convert_api_EgressNetworkPolicyPeer_To_v1_EgressNetworkPolicyPeer(in *api.EgressNetworkPolicyPeer, out *EgressNetworkPolicyPeer, s conversion.Scope) error

func Convert_api_EgressNetworkPolicyRule_To_v1_EgressNetworkPolicyRule

func Convert_api_EgressNetworkPolicyRule_To_v1_EgressNetworkPolicyRule(in *api.EgressNetworkPolicyRule, out *EgressNetworkPolicyRule, s conversion.Scope) error

func Convert_api_EgressNetworkPolicySpec_To_v1_EgressNetworkPolicySpec

func Convert_api_EgressNetworkPolicySpec_To_v1_EgressNetworkPolicySpec(in *api.EgressNetworkPolicySpec, out *EgressNetworkPolicySpec, s conversion.Scope) error

func Convert_api_EgressNetworkPolicy_To_v1_EgressNetworkPolicy

func Convert_api_EgressNetworkPolicy_To_v1_EgressNetworkPolicy(in *api.EgressNetworkPolicy, out *EgressNetworkPolicy, s conversion.Scope) error

func Convert_api_HostSubnetList_To_v1_HostSubnetList

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

func Convert_api_HostSubnet_To_v1_HostSubnet

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

func Convert_api_NetNamespaceList_To_v1_NetNamespaceList

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

func Convert_api_NetNamespace_To_v1_NetNamespace

func Convert_api_NetNamespace_To_v1_NetNamespace(in *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 *api.ClusterNetworkList, s conversion.Scope) error

func Convert_v1_ClusterNetwork_To_api_ClusterNetwork

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

func Convert_v1_EgressNetworkPolicyList_To_api_EgressNetworkPolicyList

func Convert_v1_EgressNetworkPolicyList_To_api_EgressNetworkPolicyList(in *EgressNetworkPolicyList, out *api.EgressNetworkPolicyList, s conversion.Scope) error

func Convert_v1_EgressNetworkPolicyPeer_To_api_EgressNetworkPolicyPeer

func Convert_v1_EgressNetworkPolicyPeer_To_api_EgressNetworkPolicyPeer(in *EgressNetworkPolicyPeer, out *api.EgressNetworkPolicyPeer, s conversion.Scope) error

func Convert_v1_EgressNetworkPolicyRule_To_api_EgressNetworkPolicyRule

func Convert_v1_EgressNetworkPolicyRule_To_api_EgressNetworkPolicyRule(in *EgressNetworkPolicyRule, out *api.EgressNetworkPolicyRule, s conversion.Scope) error

func Convert_v1_EgressNetworkPolicySpec_To_api_EgressNetworkPolicySpec

func Convert_v1_EgressNetworkPolicySpec_To_api_EgressNetworkPolicySpec(in *EgressNetworkPolicySpec, out *api.EgressNetworkPolicySpec, s conversion.Scope) error

func Convert_v1_EgressNetworkPolicy_To_api_EgressNetworkPolicy

func Convert_v1_EgressNetworkPolicy_To_api_EgressNetworkPolicy(in *EgressNetworkPolicy, out *api.EgressNetworkPolicy, s conversion.Scope) error

func Convert_v1_HostSubnetList_To_api_HostSubnetList

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

func Convert_v1_HostSubnet_To_api_HostSubnet

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

func Convert_v1_NetNamespaceList_To_api_NetNamespaceList

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

func Convert_v1_NetNamespace_To_api_NetNamespace

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

func DeepCopy_v1_ClusterNetwork

func DeepCopy_v1_ClusterNetwork(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_ClusterNetworkList

func DeepCopy_v1_ClusterNetworkList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_EgressNetworkPolicy

func DeepCopy_v1_EgressNetworkPolicy(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_EgressNetworkPolicyList

func DeepCopy_v1_EgressNetworkPolicyList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_EgressNetworkPolicyPeer

func DeepCopy_v1_EgressNetworkPolicyPeer(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_EgressNetworkPolicyRule

func DeepCopy_v1_EgressNetworkPolicyRule(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_EgressNetworkPolicySpec

func DeepCopy_v1_EgressNetworkPolicySpec(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_HostSubnet

func DeepCopy_v1_HostSubnet(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_HostSubnetList

func DeepCopy_v1_HostSubnetList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_NetNamespace

func DeepCopy_v1_NetNamespace(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_NetNamespaceList

func DeepCopy_v1_NetNamespaceList(in interface{}, out interface{}, c *conversion.Cloner) error

func RegisterConversions

func RegisterConversions(scheme *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDeepCopies

func RegisterDeepCopies(scheme *runtime.Scheme) error

RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.

Types

type ClusterNetwork

type ClusterNetwork struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	kapi.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Network is a CIDR string specifying the global overlay network's L3 space
	Network string `json:"network" protobuf:"bytes,2,opt,name=network"`
	// HostSubnetLength is the number of bits of network to allocate to each node. eg, 8 would mean that each node would have a /24 slice of the overlay network for its pods
	HostSubnetLength uint32 `json:"hostsubnetlength" protobuf:"varint,3,opt,name=hostsubnetlength"`
	// ServiceNetwork is the CIDR range that Service IP addresses are allocated from
	ServiceNetwork string `json:"serviceNetwork" protobuf:"bytes,4,opt,name=serviceNetwork"`
	// PluginName is the name of the network plugin being used
	PluginName string `json:"pluginName,omitempty" protobuf:"bytes,5,opt,name=pluginName"`
}

ClusterNetwork describes the cluster network. There is normally only one object of this type, named "default", which is created by the SDN network plugin based on the master configuration when the cluster is brought up for the first time.

func (*ClusterNetwork) Descriptor

func (*ClusterNetwork) Descriptor() ([]byte, []int)

func (*ClusterNetwork) Marshal

func (m *ClusterNetwork) Marshal() (data []byte, err error)

func (*ClusterNetwork) MarshalTo

func (m *ClusterNetwork) MarshalTo(data []byte) (int, error)

func (*ClusterNetwork) ProtoMessage

func (*ClusterNetwork) ProtoMessage()

func (*ClusterNetwork) Reset

func (m *ClusterNetwork) Reset()

func (*ClusterNetwork) Size

func (m *ClusterNetwork) Size() (n int)

func (*ClusterNetwork) String

func (this *ClusterNetwork) String() string

func (ClusterNetwork) SwaggerDoc

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

func (*ClusterNetwork) Unmarshal

func (m *ClusterNetwork) Unmarshal(data []byte) error

type ClusterNetworkList

type ClusterNetworkList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Items is the list of cluster networks
	Items []ClusterNetwork `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ClusterNetworkList is a collection of ClusterNetworks

func (*ClusterNetworkList) Descriptor

func (*ClusterNetworkList) Descriptor() ([]byte, []int)

func (*ClusterNetworkList) Marshal

func (m *ClusterNetworkList) Marshal() (data []byte, err error)

func (*ClusterNetworkList) MarshalTo

func (m *ClusterNetworkList) MarshalTo(data []byte) (int, error)

func (*ClusterNetworkList) ProtoMessage

func (*ClusterNetworkList) ProtoMessage()

func (*ClusterNetworkList) Reset

func (m *ClusterNetworkList) Reset()

func (*ClusterNetworkList) Size

func (m *ClusterNetworkList) Size() (n int)

func (*ClusterNetworkList) String

func (this *ClusterNetworkList) String() string

func (ClusterNetworkList) SwaggerDoc

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

func (*ClusterNetworkList) Unmarshal

func (m *ClusterNetworkList) Unmarshal(data []byte) error

type EgressNetworkPolicy

type EgressNetworkPolicy struct {
	unversioned.TypeMeta `json:",inline"`
	// metadata for EgressNetworkPolicy
	kapi.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// spec is the specification of the current egress network policy
	Spec EgressNetworkPolicySpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
}

EgressNetworkPolicy describes the current egress network policy for a Namespace. When using the 'redhat/openshift-ovs-multitenant' network plugin, traffic from a pod to an IP address outside the cluster will be checked against each EgressNetworkPolicyRule in the pod's namespace's EgressNetworkPolicy, in order. If no rule matches (or no EgressNetworkPolicy is present) then the traffic will be allowed by default.

func (*EgressNetworkPolicy) Descriptor

func (*EgressNetworkPolicy) Descriptor() ([]byte, []int)

func (*EgressNetworkPolicy) Marshal

func (m *EgressNetworkPolicy) Marshal() (data []byte, err error)

func (*EgressNetworkPolicy) MarshalTo

func (m *EgressNetworkPolicy) MarshalTo(data []byte) (int, error)

func (*EgressNetworkPolicy) ProtoMessage

func (*EgressNetworkPolicy) ProtoMessage()

func (*EgressNetworkPolicy) Reset

func (m *EgressNetworkPolicy) Reset()

func (*EgressNetworkPolicy) Size

func (m *EgressNetworkPolicy) Size() (n int)

func (*EgressNetworkPolicy) String

func (this *EgressNetworkPolicy) String() string

func (EgressNetworkPolicy) SwaggerDoc

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

func (*EgressNetworkPolicy) Unmarshal

func (m *EgressNetworkPolicy) Unmarshal(data []byte) error

type EgressNetworkPolicyList

type EgressNetworkPolicyList struct {
	unversioned.TypeMeta `json:",inline"`
	// metadata for EgressNetworkPolicyList
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// items is the list of policies
	Items []EgressNetworkPolicy `json:"items" protobuf:"bytes,2,rep,name=items"`
}

EgressNetworkPolicyList is a collection of EgressNetworkPolicy

func (*EgressNetworkPolicyList) Descriptor

func (*EgressNetworkPolicyList) Descriptor() ([]byte, []int)

func (*EgressNetworkPolicyList) Marshal

func (m *EgressNetworkPolicyList) Marshal() (data []byte, err error)

func (*EgressNetworkPolicyList) MarshalTo

func (m *EgressNetworkPolicyList) MarshalTo(data []byte) (int, error)

func (*EgressNetworkPolicyList) ProtoMessage

func (*EgressNetworkPolicyList) ProtoMessage()

func (*EgressNetworkPolicyList) Reset

func (m *EgressNetworkPolicyList) Reset()

func (*EgressNetworkPolicyList) Size

func (m *EgressNetworkPolicyList) Size() (n int)

func (*EgressNetworkPolicyList) String

func (this *EgressNetworkPolicyList) String() string

func (EgressNetworkPolicyList) SwaggerDoc

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

func (*EgressNetworkPolicyList) Unmarshal

func (m *EgressNetworkPolicyList) Unmarshal(data []byte) error

type EgressNetworkPolicyPeer

type EgressNetworkPolicyPeer struct {
	// cidrSelector is the CIDR range to allow/deny traffic to
	CIDRSelector string `json:"cidrSelector" protobuf:"bytes,1,rep,name=cidrSelector"`
}

EgressNetworkPolicyPeer specifies a target to apply egress network policy to

func (*EgressNetworkPolicyPeer) Descriptor

func (*EgressNetworkPolicyPeer) Descriptor() ([]byte, []int)

func (*EgressNetworkPolicyPeer) Marshal

func (m *EgressNetworkPolicyPeer) Marshal() (data []byte, err error)

func (*EgressNetworkPolicyPeer) MarshalTo

func (m *EgressNetworkPolicyPeer) MarshalTo(data []byte) (int, error)

func (*EgressNetworkPolicyPeer) ProtoMessage

func (*EgressNetworkPolicyPeer) ProtoMessage()

func (*EgressNetworkPolicyPeer) Reset

func (m *EgressNetworkPolicyPeer) Reset()

func (*EgressNetworkPolicyPeer) Size

func (m *EgressNetworkPolicyPeer) Size() (n int)

func (*EgressNetworkPolicyPeer) String

func (this *EgressNetworkPolicyPeer) String() string

func (EgressNetworkPolicyPeer) SwaggerDoc

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

func (*EgressNetworkPolicyPeer) Unmarshal

func (m *EgressNetworkPolicyPeer) Unmarshal(data []byte) error

type EgressNetworkPolicyRule

type EgressNetworkPolicyRule struct {
	// type marks this as an "Allow" or "Deny" rule
	Type EgressNetworkPolicyRuleType `json:"type" protobuf:"bytes,1,rep,name=type"`
	// to is the target that traffic is allowed/denied to
	To EgressNetworkPolicyPeer `json:"to" protobuf:"bytes,2,rep,name=to"`
}

EgressNetworkPolicyRule contains a single egress network policy rule

func (*EgressNetworkPolicyRule) Descriptor

func (*EgressNetworkPolicyRule) Descriptor() ([]byte, []int)

func (*EgressNetworkPolicyRule) Marshal

func (m *EgressNetworkPolicyRule) Marshal() (data []byte, err error)

func (*EgressNetworkPolicyRule) MarshalTo

func (m *EgressNetworkPolicyRule) MarshalTo(data []byte) (int, error)

func (*EgressNetworkPolicyRule) ProtoMessage

func (*EgressNetworkPolicyRule) ProtoMessage()

func (*EgressNetworkPolicyRule) Reset

func (m *EgressNetworkPolicyRule) Reset()

func (*EgressNetworkPolicyRule) Size

func (m *EgressNetworkPolicyRule) Size() (n int)

func (*EgressNetworkPolicyRule) String

func (this *EgressNetworkPolicyRule) String() string

func (EgressNetworkPolicyRule) SwaggerDoc

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

func (*EgressNetworkPolicyRule) Unmarshal

func (m *EgressNetworkPolicyRule) Unmarshal(data []byte) error

type EgressNetworkPolicyRuleType

type EgressNetworkPolicyRuleType string

EgressNetworkPolicyRuleType indicates whether an EgressNetworkPolicyRule allows or denies traffic

const (
	EgressNetworkPolicyRuleAllow EgressNetworkPolicyRuleType = "Allow"
	EgressNetworkPolicyRuleDeny  EgressNetworkPolicyRuleType = "Deny"
)

type EgressNetworkPolicySpec

type EgressNetworkPolicySpec struct {
	// egress contains the list of egress policy rules
	Egress []EgressNetworkPolicyRule `json:"egress" protobuf:"bytes,1,rep,name=egress"`
}

EgressNetworkPolicySpec provides a list of policies on outgoing network traffic

func (*EgressNetworkPolicySpec) Descriptor

func (*EgressNetworkPolicySpec) Descriptor() ([]byte, []int)

func (*EgressNetworkPolicySpec) Marshal

func (m *EgressNetworkPolicySpec) Marshal() (data []byte, err error)

func (*EgressNetworkPolicySpec) MarshalTo

func (m *EgressNetworkPolicySpec) MarshalTo(data []byte) (int, error)

func (*EgressNetworkPolicySpec) ProtoMessage

func (*EgressNetworkPolicySpec) ProtoMessage()

func (*EgressNetworkPolicySpec) Reset

func (m *EgressNetworkPolicySpec) Reset()

func (*EgressNetworkPolicySpec) Size

func (m *EgressNetworkPolicySpec) Size() (n int)

func (*EgressNetworkPolicySpec) String

func (this *EgressNetworkPolicySpec) String() string

func (EgressNetworkPolicySpec) SwaggerDoc

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

func (*EgressNetworkPolicySpec) Unmarshal

func (m *EgressNetworkPolicySpec) Unmarshal(data []byte) error

type HostSubnet

type HostSubnet struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	kapi.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Host is the name of the node. (This is the same as the object's name, but both fields must be set.)
	Host string `json:"host" protobuf:"bytes,2,opt,name=host"`
	// HostIP is the IP address to be used as a VTEP by other nodes in the overlay network
	HostIP string `json:"hostIP" protobuf:"bytes,3,opt,name=hostIP"`
	// Subnet is the CIDR range of the overlay network assigned to the node for its pods
	Subnet string `json:"subnet" protobuf:"bytes,4,opt,name=subnet"`
}

HostSubnet describes the container subnet network on a node. The HostSubnet object must have the same name as the Node object it corresponds to.

func (*HostSubnet) Descriptor

func (*HostSubnet) Descriptor() ([]byte, []int)

func (*HostSubnet) Marshal

func (m *HostSubnet) Marshal() (data []byte, err error)

func (*HostSubnet) MarshalTo

func (m *HostSubnet) MarshalTo(data []byte) (int, error)

func (*HostSubnet) ProtoMessage

func (*HostSubnet) ProtoMessage()

func (*HostSubnet) Reset

func (m *HostSubnet) Reset()

func (*HostSubnet) Size

func (m *HostSubnet) Size() (n int)

func (*HostSubnet) String

func (this *HostSubnet) String() string

func (HostSubnet) SwaggerDoc

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

func (*HostSubnet) Unmarshal

func (m *HostSubnet) Unmarshal(data []byte) error

type HostSubnetList

type HostSubnetList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Items is the list of host subnets
	Items []HostSubnet `json:"items" protobuf:"bytes,2,rep,name=items"`
}

HostSubnetList is a collection of HostSubnets

func (*HostSubnetList) Descriptor

func (*HostSubnetList) Descriptor() ([]byte, []int)

func (*HostSubnetList) Marshal

func (m *HostSubnetList) Marshal() (data []byte, err error)

func (*HostSubnetList) MarshalTo

func (m *HostSubnetList) MarshalTo(data []byte) (int, error)

func (*HostSubnetList) ProtoMessage

func (*HostSubnetList) ProtoMessage()

func (*HostSubnetList) Reset

func (m *HostSubnetList) Reset()

func (*HostSubnetList) Size

func (m *HostSubnetList) Size() (n int)

func (*HostSubnetList) String

func (this *HostSubnetList) String() string

func (HostSubnetList) SwaggerDoc

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

func (*HostSubnetList) Unmarshal

func (m *HostSubnetList) Unmarshal(data []byte) error

type NetNamespace

type NetNamespace struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	kapi.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// NetName is the name of the network namespace. (This is the same as the object's name, but both fields must be set.)
	NetName string `json:"netname" protobuf:"bytes,2,opt,name=netname"`
	// NetID is the network identifier of the network namespace assigned to each overlay network packet. This can be manipulated with the "oadm pod-network" commands.
	NetID uint32 `json:"netid" protobuf:"varint,3,opt,name=netid"`
}

NetNamespace describes a single isolated network. When using the redhat/openshift-ovs-multitenant plugin, every Namespace will have a corresponding NetNamespace object with the same name. (When using redhat/openshift-ovs-subnet, NetNamespaces are not used.)

func (*NetNamespace) Descriptor

func (*NetNamespace) Descriptor() ([]byte, []int)

func (*NetNamespace) Marshal

func (m *NetNamespace) Marshal() (data []byte, err error)

func (*NetNamespace) MarshalTo

func (m *NetNamespace) MarshalTo(data []byte) (int, error)

func (*NetNamespace) ProtoMessage

func (*NetNamespace) ProtoMessage()

func (*NetNamespace) Reset

func (m *NetNamespace) Reset()

func (*NetNamespace) Size

func (m *NetNamespace) Size() (n int)

func (*NetNamespace) String

func (this *NetNamespace) String() string

func (NetNamespace) SwaggerDoc

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

func (*NetNamespace) Unmarshal

func (m *NetNamespace) Unmarshal(data []byte) error

type NetNamespaceList

type NetNamespaceList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Items is the list of net namespaces
	Items []NetNamespace `json:"items" protobuf:"bytes,2,rep,name=items"`
}

NetNamespaceList is a collection of NetNamespaces

func (*NetNamespaceList) Descriptor

func (*NetNamespaceList) Descriptor() ([]byte, []int)

func (*NetNamespaceList) Marshal

func (m *NetNamespaceList) Marshal() (data []byte, err error)

func (*NetNamespaceList) MarshalTo

func (m *NetNamespaceList) MarshalTo(data []byte) (int, error)

func (*NetNamespaceList) ProtoMessage

func (*NetNamespaceList) ProtoMessage()

func (*NetNamespaceList) Reset

func (m *NetNamespaceList) Reset()

func (*NetNamespaceList) Size

func (m *NetNamespaceList) Size() (n int)

func (*NetNamespaceList) String

func (this *NetNamespaceList) String() string

func (NetNamespaceList) SwaggerDoc

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

func (*NetNamespaceList) Unmarshal

func (m *NetNamespaceList) Unmarshal(data []byte) error

Jump to

Keyboard shortcuts

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