v1

package
v3.7.0-alpha.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2017 License: Apache-2.0 Imports: 13 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/apis/network/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       = schema.GroupVersion{Group: GroupName, Version: "v1"}
	LegacySchemeGroupVersion = schema.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_network_ClusterNetworkList_To_v1_ClusterNetworkList

func Convert_network_ClusterNetworkList_To_v1_ClusterNetworkList(in *network.ClusterNetworkList, out *ClusterNetworkList, s conversion.Scope) error

Convert_network_ClusterNetworkList_To_v1_ClusterNetworkList is an autogenerated conversion function.

func Convert_network_ClusterNetwork_To_v1_ClusterNetwork

func Convert_network_ClusterNetwork_To_v1_ClusterNetwork(in *network.ClusterNetwork, out *ClusterNetwork, s conversion.Scope) error

Convert_network_ClusterNetwork_To_v1_ClusterNetwork is an autogenerated conversion function.

func Convert_network_EgressNetworkPolicyList_To_v1_EgressNetworkPolicyList

func Convert_network_EgressNetworkPolicyList_To_v1_EgressNetworkPolicyList(in *network.EgressNetworkPolicyList, out *EgressNetworkPolicyList, s conversion.Scope) error

Convert_network_EgressNetworkPolicyList_To_v1_EgressNetworkPolicyList is an autogenerated conversion function.

func Convert_network_EgressNetworkPolicyPeer_To_v1_EgressNetworkPolicyPeer

func Convert_network_EgressNetworkPolicyPeer_To_v1_EgressNetworkPolicyPeer(in *network.EgressNetworkPolicyPeer, out *EgressNetworkPolicyPeer, s conversion.Scope) error

Convert_network_EgressNetworkPolicyPeer_To_v1_EgressNetworkPolicyPeer is an autogenerated conversion function.

func Convert_network_EgressNetworkPolicyRule_To_v1_EgressNetworkPolicyRule

func Convert_network_EgressNetworkPolicyRule_To_v1_EgressNetworkPolicyRule(in *network.EgressNetworkPolicyRule, out *EgressNetworkPolicyRule, s conversion.Scope) error

Convert_network_EgressNetworkPolicyRule_To_v1_EgressNetworkPolicyRule is an autogenerated conversion function.

func Convert_network_EgressNetworkPolicySpec_To_v1_EgressNetworkPolicySpec

func Convert_network_EgressNetworkPolicySpec_To_v1_EgressNetworkPolicySpec(in *network.EgressNetworkPolicySpec, out *EgressNetworkPolicySpec, s conversion.Scope) error

Convert_network_EgressNetworkPolicySpec_To_v1_EgressNetworkPolicySpec is an autogenerated conversion function.

func Convert_network_EgressNetworkPolicy_To_v1_EgressNetworkPolicy

func Convert_network_EgressNetworkPolicy_To_v1_EgressNetworkPolicy(in *network.EgressNetworkPolicy, out *EgressNetworkPolicy, s conversion.Scope) error

Convert_network_EgressNetworkPolicy_To_v1_EgressNetworkPolicy is an autogenerated conversion function.

func Convert_network_HostSubnetList_To_v1_HostSubnetList

func Convert_network_HostSubnetList_To_v1_HostSubnetList(in *network.HostSubnetList, out *HostSubnetList, s conversion.Scope) error

Convert_network_HostSubnetList_To_v1_HostSubnetList is an autogenerated conversion function.

func Convert_network_HostSubnet_To_v1_HostSubnet

func Convert_network_HostSubnet_To_v1_HostSubnet(in *network.HostSubnet, out *HostSubnet, s conversion.Scope) error

Convert_network_HostSubnet_To_v1_HostSubnet is an autogenerated conversion function.

func Convert_network_NetNamespaceList_To_v1_NetNamespaceList

func Convert_network_NetNamespaceList_To_v1_NetNamespaceList(in *network.NetNamespaceList, out *NetNamespaceList, s conversion.Scope) error

Convert_network_NetNamespaceList_To_v1_NetNamespaceList is an autogenerated conversion function.

func Convert_network_NetNamespace_To_v1_NetNamespace

func Convert_network_NetNamespace_To_v1_NetNamespace(in *network.NetNamespace, out *NetNamespace, s conversion.Scope) error

Convert_network_NetNamespace_To_v1_NetNamespace is an autogenerated conversion function.

func Convert_v1_ClusterNetworkList_To_network_ClusterNetworkList

func Convert_v1_ClusterNetworkList_To_network_ClusterNetworkList(in *ClusterNetworkList, out *network.ClusterNetworkList, s conversion.Scope) error

Convert_v1_ClusterNetworkList_To_network_ClusterNetworkList is an autogenerated conversion function.

func Convert_v1_ClusterNetwork_To_network_ClusterNetwork

func Convert_v1_ClusterNetwork_To_network_ClusterNetwork(in *ClusterNetwork, out *network.ClusterNetwork, s conversion.Scope) error

Convert_v1_ClusterNetwork_To_network_ClusterNetwork is an autogenerated conversion function.

func Convert_v1_EgressNetworkPolicyList_To_network_EgressNetworkPolicyList

func Convert_v1_EgressNetworkPolicyList_To_network_EgressNetworkPolicyList(in *EgressNetworkPolicyList, out *network.EgressNetworkPolicyList, s conversion.Scope) error

Convert_v1_EgressNetworkPolicyList_To_network_EgressNetworkPolicyList is an autogenerated conversion function.

func Convert_v1_EgressNetworkPolicyPeer_To_network_EgressNetworkPolicyPeer

func Convert_v1_EgressNetworkPolicyPeer_To_network_EgressNetworkPolicyPeer(in *EgressNetworkPolicyPeer, out *network.EgressNetworkPolicyPeer, s conversion.Scope) error

Convert_v1_EgressNetworkPolicyPeer_To_network_EgressNetworkPolicyPeer is an autogenerated conversion function.

func Convert_v1_EgressNetworkPolicyRule_To_network_EgressNetworkPolicyRule

func Convert_v1_EgressNetworkPolicyRule_To_network_EgressNetworkPolicyRule(in *EgressNetworkPolicyRule, out *network.EgressNetworkPolicyRule, s conversion.Scope) error

Convert_v1_EgressNetworkPolicyRule_To_network_EgressNetworkPolicyRule is an autogenerated conversion function.

func Convert_v1_EgressNetworkPolicySpec_To_network_EgressNetworkPolicySpec

func Convert_v1_EgressNetworkPolicySpec_To_network_EgressNetworkPolicySpec(in *EgressNetworkPolicySpec, out *network.EgressNetworkPolicySpec, s conversion.Scope) error

Convert_v1_EgressNetworkPolicySpec_To_network_EgressNetworkPolicySpec is an autogenerated conversion function.

func Convert_v1_EgressNetworkPolicy_To_network_EgressNetworkPolicy

func Convert_v1_EgressNetworkPolicy_To_network_EgressNetworkPolicy(in *EgressNetworkPolicy, out *network.EgressNetworkPolicy, s conversion.Scope) error

Convert_v1_EgressNetworkPolicy_To_network_EgressNetworkPolicy is an autogenerated conversion function.

func Convert_v1_HostSubnetList_To_network_HostSubnetList

func Convert_v1_HostSubnetList_To_network_HostSubnetList(in *HostSubnetList, out *network.HostSubnetList, s conversion.Scope) error

Convert_v1_HostSubnetList_To_network_HostSubnetList is an autogenerated conversion function.

func Convert_v1_HostSubnet_To_network_HostSubnet

func Convert_v1_HostSubnet_To_network_HostSubnet(in *HostSubnet, out *network.HostSubnet, s conversion.Scope) error

Convert_v1_HostSubnet_To_network_HostSubnet is an autogenerated conversion function.

func Convert_v1_NetNamespaceList_To_network_NetNamespaceList

func Convert_v1_NetNamespaceList_To_network_NetNamespaceList(in *NetNamespaceList, out *network.NetNamespaceList, s conversion.Scope) error

Convert_v1_NetNamespaceList_To_network_NetNamespaceList is an autogenerated conversion function.

func Convert_v1_NetNamespace_To_network_NetNamespace

func Convert_v1_NetNamespace_To_network_NetNamespace(in *NetNamespace, out *network.NetNamespace, s conversion.Scope) error

Convert_v1_NetNamespace_To_network_NetNamespace is an autogenerated conversion function.

func DeepCopy_v1_ClusterNetwork

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

DeepCopy_v1_ClusterNetwork is an autogenerated deepcopy function.

func DeepCopy_v1_ClusterNetworkList

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

DeepCopy_v1_ClusterNetworkList is an autogenerated deepcopy function.

func DeepCopy_v1_EgressNetworkPolicy

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

DeepCopy_v1_EgressNetworkPolicy is an autogenerated deepcopy function.

func DeepCopy_v1_EgressNetworkPolicyList

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

DeepCopy_v1_EgressNetworkPolicyList is an autogenerated deepcopy function.

func DeepCopy_v1_EgressNetworkPolicyPeer

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

DeepCopy_v1_EgressNetworkPolicyPeer is an autogenerated deepcopy function.

func DeepCopy_v1_EgressNetworkPolicyRule

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

DeepCopy_v1_EgressNetworkPolicyRule is an autogenerated deepcopy function.

func DeepCopy_v1_EgressNetworkPolicySpec

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

DeepCopy_v1_EgressNetworkPolicySpec is an autogenerated deepcopy function.

func DeepCopy_v1_HostSubnet

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

DeepCopy_v1_HostSubnet is an autogenerated deepcopy function.

func DeepCopy_v1_HostSubnetList

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

DeepCopy_v1_HostSubnetList is an autogenerated deepcopy function.

func DeepCopy_v1_NetNamespace

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

DeepCopy_v1_NetNamespace is an autogenerated deepcopy function.

func DeepCopy_v1_NetNamespaceList

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

DeepCopy_v1_NetNamespaceList is an autogenerated deepcopy function.

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.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

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" 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 {
	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) 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) 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) 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) 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 {
	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"`
}

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