v1

package
Version: v3.9.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2018 License: Apache-2.0 Imports: 10 Imported by: 388

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/api/network/v1/generated.proto

It has these top-level messages:
	ClusterNetwork
	ClusterNetworkEntry
	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       = schema.GroupVersion{Group: GroupName, Version: "v1"}
	LegacySchemeGroupVersion = schema.GroupVersion{Group: LegacyGroupName, Version: "v1"}

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

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

SchemeGroupVersion is group version used to register these objects

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type ClusterNetwork

type ClusterNetwork struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.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,omitempty" 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,omitempty" 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"`
	// ClusterNetworks is a list of ClusterNetwork objects that defines the global overlay network's L3 space by specifying a set of CIDR and netmasks that the SDN can allocate addressed from.
	ClusterNetworks []ClusterNetworkEntry `json:"clusterNetworks" protobuf:"bytes,6,rep,name=clusterNetworks"`
}

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) DeepCopy

func (in *ClusterNetwork) DeepCopy() *ClusterNetwork

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNetwork.

func (*ClusterNetwork) DeepCopyInto

func (in *ClusterNetwork) DeepCopyInto(out *ClusterNetwork)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterNetwork) DeepCopyObject

func (in *ClusterNetwork) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

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 ClusterNetworkEntry

type ClusterNetworkEntry struct {
	// CIDR defines the total range of a cluster networks address space.
	CIDR string `json:"CIDR" protobuf:"bytes,1,opt,name=cidr"`
	// HostSubnetLength is the number of bits of the accompanying CIDR address 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,2,opt,name=hostSubnetLength"`
}

ClusterNetworkEntry defines an individual cluster network. The CIDRs cannot overlap with other cluster network CIDRs, CIDRs reserved for external ips, CIDRs reserved for service networks, and CIDRs reserved for ingress ips.

func (*ClusterNetworkEntry) DeepCopy

func (in *ClusterNetworkEntry) DeepCopy() *ClusterNetworkEntry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNetworkEntry.

func (*ClusterNetworkEntry) DeepCopyInto

func (in *ClusterNetworkEntry) DeepCopyInto(out *ClusterNetworkEntry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterNetworkEntry) Descriptor

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

func (*ClusterNetworkEntry) Marshal

func (m *ClusterNetworkEntry) Marshal() (dAtA []byte, err error)

func (*ClusterNetworkEntry) MarshalTo

func (m *ClusterNetworkEntry) MarshalTo(dAtA []byte) (int, error)

func (*ClusterNetworkEntry) ProtoMessage

func (*ClusterNetworkEntry) ProtoMessage()

func (*ClusterNetworkEntry) Reset

func (m *ClusterNetworkEntry) Reset()

func (*ClusterNetworkEntry) Size

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

func (*ClusterNetworkEntry) String

func (this *ClusterNetworkEntry) String() string

func (ClusterNetworkEntry) SwaggerDoc

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

func (*ClusterNetworkEntry) Unmarshal

func (m *ClusterNetworkEntry) Unmarshal(dAtA []byte) error

type ClusterNetworkList

type ClusterNetworkList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.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) DeepCopy

func (in *ClusterNetworkList) DeepCopy() *ClusterNetworkList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNetworkList.

func (*ClusterNetworkList) DeepCopyInto

func (in *ClusterNetworkList) DeepCopyInto(out *ClusterNetworkList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterNetworkList) DeepCopyObject

func (in *ClusterNetworkList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

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 {
	metav1.TypeMeta `json:",inline"`
	// metadata for EgressNetworkPolicy
	metav1.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) DeepCopy

func (in *EgressNetworkPolicy) DeepCopy() *EgressNetworkPolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressNetworkPolicy.

func (*EgressNetworkPolicy) DeepCopyInto

func (in *EgressNetworkPolicy) DeepCopyInto(out *EgressNetworkPolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EgressNetworkPolicy) DeepCopyObject

func (in *EgressNetworkPolicy) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

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 {
	metav1.TypeMeta `json:",inline"`
	// metadata for EgressNetworkPolicyList
	metav1.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) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressNetworkPolicyList.

func (*EgressNetworkPolicyList) DeepCopyInto

func (in *EgressNetworkPolicyList) DeepCopyInto(out *EgressNetworkPolicyList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EgressNetworkPolicyList) DeepCopyObject

func (in *EgressNetworkPolicyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

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. If this is set, dnsName must be unset
	CIDRSelector string `json:"cidrSelector,omitempty" protobuf:"bytes,1,rep,name=cidrSelector"`
	// dnsName is the domain name to allow/deny traffic to. If this is set, cidrSelector must be unset
	DNSName string `json:"dnsName,omitempty" protobuf:"bytes,2,rep,name=dnsName"`
}

EgressNetworkPolicyPeer specifies a target to apply egress network policy to

func (*EgressNetworkPolicyPeer) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressNetworkPolicyPeer.

func (*EgressNetworkPolicyPeer) DeepCopyInto

func (in *EgressNetworkPolicyPeer) DeepCopyInto(out *EgressNetworkPolicyPeer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressNetworkPolicyRule.

func (*EgressNetworkPolicyRule) DeepCopyInto

func (in *EgressNetworkPolicyRule) DeepCopyInto(out *EgressNetworkPolicyRule)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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"
)

func (*EgressNetworkPolicyRuleType) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressNetworkPolicyRuleType.

func (*EgressNetworkPolicyRuleType) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressNetworkPolicySpec.

func (*EgressNetworkPolicySpec) DeepCopyInto

func (in *EgressNetworkPolicySpec) DeepCopyInto(out *EgressNetworkPolicySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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 {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.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"`

	// EgressIPs is the list of automatic egress IP addresses currently hosted by this node
	// +optional
	EgressIPs []string `json:"egressIPs,omitempty" protobuf:"bytes,5,rep,name=egressIPs"`
}

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) DeepCopy

func (in *HostSubnet) DeepCopy() *HostSubnet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostSubnet.

func (*HostSubnet) DeepCopyInto

func (in *HostSubnet) DeepCopyInto(out *HostSubnet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HostSubnet) DeepCopyObject

func (in *HostSubnet) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

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 {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.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) DeepCopy

func (in *HostSubnetList) DeepCopy() *HostSubnetList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostSubnetList.

func (*HostSubnetList) DeepCopyInto

func (in *HostSubnetList) DeepCopyInto(out *HostSubnetList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HostSubnetList) DeepCopyObject

func (in *HostSubnetList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

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 {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.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 "oc adm pod-network" commands.
	NetID uint32 `json:"netid" protobuf:"varint,3,opt,name=netid"`

	// EgressIPs is a list of reserved IPs that will be used as the source for external traffic coming from pods in this namespace. (If empty, external traffic will be masqueraded to Node IPs.)
	// +optional
	EgressIPs []string `json:"egressIPs,omitempty" protobuf:"bytes,4,rep,name=egressIPs"`
}

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) DeepCopy

func (in *NetNamespace) DeepCopy() *NetNamespace

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetNamespace.

func (*NetNamespace) DeepCopyInto

func (in *NetNamespace) DeepCopyInto(out *NetNamespace)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NetNamespace) DeepCopyObject

func (in *NetNamespace) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

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 {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.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) DeepCopy

func (in *NetNamespaceList) DeepCopy() *NetNamespaceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetNamespaceList.

func (*NetNamespaceList) DeepCopyInto

func (in *NetNamespaceList) DeepCopyInto(out *NetNamespaceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NetNamespaceList) DeepCopyObject

func (in *NetNamespaceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

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