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
- Variables
- func Convert_api_ClusterNetworkList_To_v1_ClusterNetworkList(in *api.ClusterNetworkList, out *ClusterNetworkList, s conversion.Scope) error
- func Convert_api_ClusterNetwork_To_v1_ClusterNetwork(in *api.ClusterNetwork, out *ClusterNetwork, s conversion.Scope) error
- func Convert_api_EgressNetworkPolicyList_To_v1_EgressNetworkPolicyList(in *api.EgressNetworkPolicyList, out *EgressNetworkPolicyList, ...) error
- func Convert_api_EgressNetworkPolicyPeer_To_v1_EgressNetworkPolicyPeer(in *api.EgressNetworkPolicyPeer, out *EgressNetworkPolicyPeer, ...) error
- func Convert_api_EgressNetworkPolicyRule_To_v1_EgressNetworkPolicyRule(in *api.EgressNetworkPolicyRule, out *EgressNetworkPolicyRule, ...) error
- func Convert_api_EgressNetworkPolicySpec_To_v1_EgressNetworkPolicySpec(in *api.EgressNetworkPolicySpec, out *EgressNetworkPolicySpec, ...) error
- func Convert_api_EgressNetworkPolicy_To_v1_EgressNetworkPolicy(in *api.EgressNetworkPolicy, out *EgressNetworkPolicy, s conversion.Scope) error
- func Convert_api_HostSubnetList_To_v1_HostSubnetList(in *api.HostSubnetList, out *HostSubnetList, s conversion.Scope) error
- func Convert_api_HostSubnet_To_v1_HostSubnet(in *api.HostSubnet, out *HostSubnet, s conversion.Scope) error
- func Convert_api_NetNamespaceList_To_v1_NetNamespaceList(in *api.NetNamespaceList, out *NetNamespaceList, s conversion.Scope) error
- func Convert_api_NetNamespace_To_v1_NetNamespace(in *api.NetNamespace, out *NetNamespace, s conversion.Scope) error
- func Convert_v1_ClusterNetworkList_To_api_ClusterNetworkList(in *ClusterNetworkList, out *api.ClusterNetworkList, s conversion.Scope) error
- func Convert_v1_ClusterNetwork_To_api_ClusterNetwork(in *ClusterNetwork, out *api.ClusterNetwork, s conversion.Scope) error
- func Convert_v1_EgressNetworkPolicyList_To_api_EgressNetworkPolicyList(in *EgressNetworkPolicyList, out *api.EgressNetworkPolicyList, ...) error
- func Convert_v1_EgressNetworkPolicyPeer_To_api_EgressNetworkPolicyPeer(in *EgressNetworkPolicyPeer, out *api.EgressNetworkPolicyPeer, ...) error
- func Convert_v1_EgressNetworkPolicyRule_To_api_EgressNetworkPolicyRule(in *EgressNetworkPolicyRule, out *api.EgressNetworkPolicyRule, ...) error
- func Convert_v1_EgressNetworkPolicySpec_To_api_EgressNetworkPolicySpec(in *EgressNetworkPolicySpec, out *api.EgressNetworkPolicySpec, ...) error
- func Convert_v1_EgressNetworkPolicy_To_api_EgressNetworkPolicy(in *EgressNetworkPolicy, out *api.EgressNetworkPolicy, s conversion.Scope) error
- func Convert_v1_HostSubnetList_To_api_HostSubnetList(in *HostSubnetList, out *api.HostSubnetList, s conversion.Scope) error
- func Convert_v1_HostSubnet_To_api_HostSubnet(in *HostSubnet, out *api.HostSubnet, s conversion.Scope) error
- func Convert_v1_NetNamespaceList_To_api_NetNamespaceList(in *NetNamespaceList, out *api.NetNamespaceList, s conversion.Scope) error
- func Convert_v1_NetNamespace_To_api_NetNamespace(in *NetNamespace, out *api.NetNamespace, s conversion.Scope) error
- func DeepCopy_v1_ClusterNetwork(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1_ClusterNetworkList(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1_EgressNetworkPolicy(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1_EgressNetworkPolicyList(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1_EgressNetworkPolicyPeer(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1_EgressNetworkPolicyRule(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1_EgressNetworkPolicySpec(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1_HostSubnet(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1_HostSubnetList(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1_NetNamespace(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1_NetNamespaceList(in interface{}, out interface{}, c *conversion.Cloner) error
- func RegisterConversions(scheme *runtime.Scheme) error
- func RegisterDeepCopies(scheme *runtime.Scheme) error
- type ClusterNetwork
- func (*ClusterNetwork) Descriptor() ([]byte, []int)
- func (m *ClusterNetwork) Marshal() (data []byte, err error)
- func (m *ClusterNetwork) MarshalTo(data []byte) (int, error)
- func (*ClusterNetwork) ProtoMessage()
- func (m *ClusterNetwork) Reset()
- func (m *ClusterNetwork) Size() (n int)
- func (this *ClusterNetwork) String() string
- func (ClusterNetwork) SwaggerDoc() map[string]string
- func (m *ClusterNetwork) Unmarshal(data []byte) error
- type ClusterNetworkList
- func (*ClusterNetworkList) Descriptor() ([]byte, []int)
- func (m *ClusterNetworkList) Marshal() (data []byte, err error)
- func (m *ClusterNetworkList) MarshalTo(data []byte) (int, error)
- func (*ClusterNetworkList) ProtoMessage()
- func (m *ClusterNetworkList) Reset()
- func (m *ClusterNetworkList) Size() (n int)
- func (this *ClusterNetworkList) String() string
- func (ClusterNetworkList) SwaggerDoc() map[string]string
- func (m *ClusterNetworkList) Unmarshal(data []byte) error
- type EgressNetworkPolicy
- func (*EgressNetworkPolicy) Descriptor() ([]byte, []int)
- func (m *EgressNetworkPolicy) Marshal() (data []byte, err error)
- func (m *EgressNetworkPolicy) MarshalTo(data []byte) (int, error)
- func (*EgressNetworkPolicy) ProtoMessage()
- func (m *EgressNetworkPolicy) Reset()
- func (m *EgressNetworkPolicy) Size() (n int)
- func (this *EgressNetworkPolicy) String() string
- func (EgressNetworkPolicy) SwaggerDoc() map[string]string
- func (m *EgressNetworkPolicy) Unmarshal(data []byte) error
- type EgressNetworkPolicyList
- func (*EgressNetworkPolicyList) Descriptor() ([]byte, []int)
- func (m *EgressNetworkPolicyList) Marshal() (data []byte, err error)
- func (m *EgressNetworkPolicyList) MarshalTo(data []byte) (int, error)
- func (*EgressNetworkPolicyList) ProtoMessage()
- func (m *EgressNetworkPolicyList) Reset()
- func (m *EgressNetworkPolicyList) Size() (n int)
- func (this *EgressNetworkPolicyList) String() string
- func (EgressNetworkPolicyList) SwaggerDoc() map[string]string
- func (m *EgressNetworkPolicyList) Unmarshal(data []byte) error
- type EgressNetworkPolicyPeer
- func (*EgressNetworkPolicyPeer) Descriptor() ([]byte, []int)
- func (m *EgressNetworkPolicyPeer) Marshal() (data []byte, err error)
- func (m *EgressNetworkPolicyPeer) MarshalTo(data []byte) (int, error)
- func (*EgressNetworkPolicyPeer) ProtoMessage()
- func (m *EgressNetworkPolicyPeer) Reset()
- func (m *EgressNetworkPolicyPeer) Size() (n int)
- func (this *EgressNetworkPolicyPeer) String() string
- func (EgressNetworkPolicyPeer) SwaggerDoc() map[string]string
- func (m *EgressNetworkPolicyPeer) Unmarshal(data []byte) error
- type EgressNetworkPolicyRule
- func (*EgressNetworkPolicyRule) Descriptor() ([]byte, []int)
- func (m *EgressNetworkPolicyRule) Marshal() (data []byte, err error)
- func (m *EgressNetworkPolicyRule) MarshalTo(data []byte) (int, error)
- func (*EgressNetworkPolicyRule) ProtoMessage()
- func (m *EgressNetworkPolicyRule) Reset()
- func (m *EgressNetworkPolicyRule) Size() (n int)
- func (this *EgressNetworkPolicyRule) String() string
- func (EgressNetworkPolicyRule) SwaggerDoc() map[string]string
- func (m *EgressNetworkPolicyRule) Unmarshal(data []byte) error
- type EgressNetworkPolicyRuleType
- type EgressNetworkPolicySpec
- func (*EgressNetworkPolicySpec) Descriptor() ([]byte, []int)
- func (m *EgressNetworkPolicySpec) Marshal() (data []byte, err error)
- func (m *EgressNetworkPolicySpec) MarshalTo(data []byte) (int, error)
- func (*EgressNetworkPolicySpec) ProtoMessage()
- func (m *EgressNetworkPolicySpec) Reset()
- func (m *EgressNetworkPolicySpec) Size() (n int)
- func (this *EgressNetworkPolicySpec) String() string
- func (EgressNetworkPolicySpec) SwaggerDoc() map[string]string
- func (m *EgressNetworkPolicySpec) Unmarshal(data []byte) error
- type HostSubnet
- func (*HostSubnet) Descriptor() ([]byte, []int)
- func (m *HostSubnet) Marshal() (data []byte, err error)
- func (m *HostSubnet) MarshalTo(data []byte) (int, error)
- func (*HostSubnet) ProtoMessage()
- func (m *HostSubnet) Reset()
- func (m *HostSubnet) Size() (n int)
- func (this *HostSubnet) String() string
- func (HostSubnet) SwaggerDoc() map[string]string
- func (m *HostSubnet) Unmarshal(data []byte) error
- type HostSubnetList
- func (*HostSubnetList) Descriptor() ([]byte, []int)
- func (m *HostSubnetList) Marshal() (data []byte, err error)
- func (m *HostSubnetList) MarshalTo(data []byte) (int, error)
- func (*HostSubnetList) ProtoMessage()
- func (m *HostSubnetList) Reset()
- func (m *HostSubnetList) Size() (n int)
- func (this *HostSubnetList) String() string
- func (HostSubnetList) SwaggerDoc() map[string]string
- func (m *HostSubnetList) Unmarshal(data []byte) error
- type NetNamespace
- func (*NetNamespace) Descriptor() ([]byte, []int)
- func (m *NetNamespace) Marshal() (data []byte, err error)
- func (m *NetNamespace) MarshalTo(data []byte) (int, error)
- func (*NetNamespace) ProtoMessage()
- func (m *NetNamespace) Reset()
- func (m *NetNamespace) Size() (n int)
- func (this *NetNamespace) String() string
- func (NetNamespace) SwaggerDoc() map[string]string
- func (m *NetNamespace) Unmarshal(data []byte) error
- type NetNamespaceList
- func (*NetNamespaceList) Descriptor() ([]byte, []int)
- func (m *NetNamespaceList) Marshal() (data []byte, err error)
- func (m *NetNamespaceList) MarshalTo(data []byte) (int, error)
- func (*NetNamespaceList) ProtoMessage()
- func (m *NetNamespaceList) Reset()
- func (m *NetNamespaceList) Size() (n int)
- func (this *NetNamespaceList) String() string
- func (NetNamespaceList) SwaggerDoc() map[string]string
- func (m *NetNamespaceList) Unmarshal(data []byte) error
Constants ¶
const ( GroupName = "network.openshift.io" LegacyGroupName = "" )
const (
ClusterNetworkDefault = "default"
)
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") )
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 ¶ added in v1.3.0
func Convert_api_ClusterNetworkList_To_v1_ClusterNetworkList(in *api.ClusterNetworkList, out *ClusterNetworkList, s conversion.Scope) error
func Convert_api_ClusterNetwork_To_v1_ClusterNetwork ¶ added in v1.3.0
func Convert_api_ClusterNetwork_To_v1_ClusterNetwork(in *api.ClusterNetwork, out *ClusterNetwork, s conversion.Scope) error
func Convert_api_EgressNetworkPolicyList_To_v1_EgressNetworkPolicyList ¶ added in v1.3.0
func Convert_api_EgressNetworkPolicyList_To_v1_EgressNetworkPolicyList(in *api.EgressNetworkPolicyList, out *EgressNetworkPolicyList, s conversion.Scope) error
func Convert_api_EgressNetworkPolicyPeer_To_v1_EgressNetworkPolicyPeer ¶ added in v1.3.0
func Convert_api_EgressNetworkPolicyPeer_To_v1_EgressNetworkPolicyPeer(in *api.EgressNetworkPolicyPeer, out *EgressNetworkPolicyPeer, s conversion.Scope) error
func Convert_api_EgressNetworkPolicyRule_To_v1_EgressNetworkPolicyRule ¶ added in v1.3.0
func Convert_api_EgressNetworkPolicyRule_To_v1_EgressNetworkPolicyRule(in *api.EgressNetworkPolicyRule, out *EgressNetworkPolicyRule, s conversion.Scope) error
func Convert_api_EgressNetworkPolicySpec_To_v1_EgressNetworkPolicySpec ¶ added in v1.3.0
func Convert_api_EgressNetworkPolicySpec_To_v1_EgressNetworkPolicySpec(in *api.EgressNetworkPolicySpec, out *EgressNetworkPolicySpec, s conversion.Scope) error
func Convert_api_EgressNetworkPolicy_To_v1_EgressNetworkPolicy ¶ added in v1.3.0
func Convert_api_EgressNetworkPolicy_To_v1_EgressNetworkPolicy(in *api.EgressNetworkPolicy, out *EgressNetworkPolicy, s conversion.Scope) error
func Convert_api_HostSubnetList_To_v1_HostSubnetList ¶ added in v1.3.0
func Convert_api_HostSubnetList_To_v1_HostSubnetList(in *api.HostSubnetList, out *HostSubnetList, s conversion.Scope) error
func Convert_api_HostSubnet_To_v1_HostSubnet ¶ added in v1.3.0
func Convert_api_HostSubnet_To_v1_HostSubnet(in *api.HostSubnet, out *HostSubnet, s conversion.Scope) error
func Convert_api_NetNamespaceList_To_v1_NetNamespaceList ¶ added in v1.3.0
func Convert_api_NetNamespaceList_To_v1_NetNamespaceList(in *api.NetNamespaceList, out *NetNamespaceList, s conversion.Scope) error
func Convert_api_NetNamespace_To_v1_NetNamespace ¶ added in v1.3.0
func Convert_api_NetNamespace_To_v1_NetNamespace(in *api.NetNamespace, out *NetNamespace, s conversion.Scope) error
func Convert_v1_ClusterNetworkList_To_api_ClusterNetworkList ¶ added in v1.3.0
func Convert_v1_ClusterNetworkList_To_api_ClusterNetworkList(in *ClusterNetworkList, out *api.ClusterNetworkList, s conversion.Scope) error
func Convert_v1_ClusterNetwork_To_api_ClusterNetwork ¶ added in v1.3.0
func Convert_v1_ClusterNetwork_To_api_ClusterNetwork(in *ClusterNetwork, out *api.ClusterNetwork, s conversion.Scope) error
func Convert_v1_EgressNetworkPolicyList_To_api_EgressNetworkPolicyList ¶ added in v1.3.0
func Convert_v1_EgressNetworkPolicyList_To_api_EgressNetworkPolicyList(in *EgressNetworkPolicyList, out *api.EgressNetworkPolicyList, s conversion.Scope) error
func Convert_v1_EgressNetworkPolicyPeer_To_api_EgressNetworkPolicyPeer ¶ added in v1.3.0
func Convert_v1_EgressNetworkPolicyPeer_To_api_EgressNetworkPolicyPeer(in *EgressNetworkPolicyPeer, out *api.EgressNetworkPolicyPeer, s conversion.Scope) error
func Convert_v1_EgressNetworkPolicyRule_To_api_EgressNetworkPolicyRule ¶ added in v1.3.0
func Convert_v1_EgressNetworkPolicyRule_To_api_EgressNetworkPolicyRule(in *EgressNetworkPolicyRule, out *api.EgressNetworkPolicyRule, s conversion.Scope) error
func Convert_v1_EgressNetworkPolicySpec_To_api_EgressNetworkPolicySpec ¶ added in v1.3.0
func Convert_v1_EgressNetworkPolicySpec_To_api_EgressNetworkPolicySpec(in *EgressNetworkPolicySpec, out *api.EgressNetworkPolicySpec, s conversion.Scope) error
func Convert_v1_EgressNetworkPolicy_To_api_EgressNetworkPolicy ¶ added in v1.3.0
func Convert_v1_EgressNetworkPolicy_To_api_EgressNetworkPolicy(in *EgressNetworkPolicy, out *api.EgressNetworkPolicy, s conversion.Scope) error
func Convert_v1_HostSubnetList_To_api_HostSubnetList ¶ added in v1.3.0
func Convert_v1_HostSubnetList_To_api_HostSubnetList(in *HostSubnetList, out *api.HostSubnetList, s conversion.Scope) error
func Convert_v1_HostSubnet_To_api_HostSubnet ¶ added in v1.3.0
func Convert_v1_HostSubnet_To_api_HostSubnet(in *HostSubnet, out *api.HostSubnet, s conversion.Scope) error
func Convert_v1_NetNamespaceList_To_api_NetNamespaceList ¶ added in v1.3.0
func Convert_v1_NetNamespaceList_To_api_NetNamespaceList(in *NetNamespaceList, out *api.NetNamespaceList, s conversion.Scope) error
func Convert_v1_NetNamespace_To_api_NetNamespace ¶ added in v1.3.0
func Convert_v1_NetNamespace_To_api_NetNamespace(in *NetNamespace, out *api.NetNamespace, s conversion.Scope) error
func DeepCopy_v1_ClusterNetwork ¶ added in v1.3.0
func DeepCopy_v1_ClusterNetwork(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_v1_ClusterNetworkList ¶ added in v1.3.0
func DeepCopy_v1_ClusterNetworkList(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_v1_EgressNetworkPolicy ¶ added in v1.3.0
func DeepCopy_v1_EgressNetworkPolicy(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_v1_EgressNetworkPolicyList ¶ added in v1.3.0
func DeepCopy_v1_EgressNetworkPolicyList(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_v1_EgressNetworkPolicyPeer ¶ added in v1.3.0
func DeepCopy_v1_EgressNetworkPolicyPeer(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_v1_EgressNetworkPolicyRule ¶ added in v1.3.0
func DeepCopy_v1_EgressNetworkPolicyRule(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_v1_EgressNetworkPolicySpec ¶ added in v1.3.0
func DeepCopy_v1_EgressNetworkPolicySpec(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_v1_HostSubnet ¶ added in v1.3.0
func DeepCopy_v1_HostSubnet(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_v1_HostSubnetList ¶ added in v1.3.0
func DeepCopy_v1_HostSubnetList(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_v1_NetNamespace ¶ added in v1.3.0
func DeepCopy_v1_NetNamespace(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_v1_NetNamespaceList ¶ added in v1.3.0
func DeepCopy_v1_NetNamespaceList(in interface{}, out interface{}, c *conversion.Cloner) error
func RegisterConversions ¶ added in v1.4.0
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDeepCopies ¶ added in v1.4.0
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 ¶ added in v1.4.0
func (*ClusterNetwork) Descriptor() ([]byte, []int)
func (*ClusterNetwork) Marshal ¶ added in v1.3.0
func (m *ClusterNetwork) Marshal() (data []byte, err error)
func (*ClusterNetwork) MarshalTo ¶ added in v1.3.0
func (m *ClusterNetwork) MarshalTo(data []byte) (int, error)
func (*ClusterNetwork) ProtoMessage ¶ added in v1.3.0
func (*ClusterNetwork) ProtoMessage()
func (*ClusterNetwork) Reset ¶ added in v1.3.0
func (m *ClusterNetwork) Reset()
func (*ClusterNetwork) Size ¶ added in v1.3.0
func (m *ClusterNetwork) Size() (n int)
func (*ClusterNetwork) String ¶ added in v1.3.0
func (this *ClusterNetwork) String() string
func (ClusterNetwork) SwaggerDoc ¶ added in v1.1.4
func (ClusterNetwork) SwaggerDoc() map[string]string
func (*ClusterNetwork) Unmarshal ¶ added in v1.3.0
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 ¶ added in v1.4.0
func (*ClusterNetworkList) Descriptor() ([]byte, []int)
func (*ClusterNetworkList) Marshal ¶ added in v1.3.0
func (m *ClusterNetworkList) Marshal() (data []byte, err error)
func (*ClusterNetworkList) MarshalTo ¶ added in v1.3.0
func (m *ClusterNetworkList) MarshalTo(data []byte) (int, error)
func (*ClusterNetworkList) ProtoMessage ¶ added in v1.3.0
func (*ClusterNetworkList) ProtoMessage()
func (*ClusterNetworkList) Reset ¶ added in v1.3.0
func (m *ClusterNetworkList) Reset()
func (*ClusterNetworkList) Size ¶ added in v1.3.0
func (m *ClusterNetworkList) Size() (n int)
func (*ClusterNetworkList) String ¶ added in v1.3.0
func (this *ClusterNetworkList) String() string
func (ClusterNetworkList) SwaggerDoc ¶ added in v1.1.4
func (ClusterNetworkList) SwaggerDoc() map[string]string
func (*ClusterNetworkList) Unmarshal ¶ added in v1.3.0
func (m *ClusterNetworkList) Unmarshal(data []byte) error
type EgressNetworkPolicy ¶ added in v1.3.0
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 ¶ added in v1.4.0
func (*EgressNetworkPolicy) Descriptor() ([]byte, []int)
func (*EgressNetworkPolicy) Marshal ¶ added in v1.3.0
func (m *EgressNetworkPolicy) Marshal() (data []byte, err error)
func (*EgressNetworkPolicy) MarshalTo ¶ added in v1.3.0
func (m *EgressNetworkPolicy) MarshalTo(data []byte) (int, error)
func (*EgressNetworkPolicy) ProtoMessage ¶ added in v1.3.0
func (*EgressNetworkPolicy) ProtoMessage()
func (*EgressNetworkPolicy) Reset ¶ added in v1.3.0
func (m *EgressNetworkPolicy) Reset()
func (*EgressNetworkPolicy) Size ¶ added in v1.3.0
func (m *EgressNetworkPolicy) Size() (n int)
func (*EgressNetworkPolicy) String ¶ added in v1.3.0
func (this *EgressNetworkPolicy) String() string
func (EgressNetworkPolicy) SwaggerDoc ¶ added in v1.3.0
func (EgressNetworkPolicy) SwaggerDoc() map[string]string
func (*EgressNetworkPolicy) Unmarshal ¶ added in v1.3.0
func (m *EgressNetworkPolicy) Unmarshal(data []byte) error
type EgressNetworkPolicyList ¶ added in v1.3.0
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 ¶ added in v1.4.0
func (*EgressNetworkPolicyList) Descriptor() ([]byte, []int)
func (*EgressNetworkPolicyList) Marshal ¶ added in v1.3.0
func (m *EgressNetworkPolicyList) Marshal() (data []byte, err error)
func (*EgressNetworkPolicyList) MarshalTo ¶ added in v1.3.0
func (m *EgressNetworkPolicyList) MarshalTo(data []byte) (int, error)
func (*EgressNetworkPolicyList) ProtoMessage ¶ added in v1.3.0
func (*EgressNetworkPolicyList) ProtoMessage()
func (*EgressNetworkPolicyList) Reset ¶ added in v1.3.0
func (m *EgressNetworkPolicyList) Reset()
func (*EgressNetworkPolicyList) Size ¶ added in v1.3.0
func (m *EgressNetworkPolicyList) Size() (n int)
func (*EgressNetworkPolicyList) String ¶ added in v1.3.0
func (this *EgressNetworkPolicyList) String() string
func (EgressNetworkPolicyList) SwaggerDoc ¶ added in v1.3.0
func (EgressNetworkPolicyList) SwaggerDoc() map[string]string
func (*EgressNetworkPolicyList) Unmarshal ¶ added in v1.3.0
func (m *EgressNetworkPolicyList) Unmarshal(data []byte) error
type EgressNetworkPolicyPeer ¶ added in v1.3.0
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 ¶ added in v1.4.0
func (*EgressNetworkPolicyPeer) Descriptor() ([]byte, []int)
func (*EgressNetworkPolicyPeer) Marshal ¶ added in v1.3.0
func (m *EgressNetworkPolicyPeer) Marshal() (data []byte, err error)
func (*EgressNetworkPolicyPeer) MarshalTo ¶ added in v1.3.0
func (m *EgressNetworkPolicyPeer) MarshalTo(data []byte) (int, error)
func (*EgressNetworkPolicyPeer) ProtoMessage ¶ added in v1.3.0
func (*EgressNetworkPolicyPeer) ProtoMessage()
func (*EgressNetworkPolicyPeer) Reset ¶ added in v1.3.0
func (m *EgressNetworkPolicyPeer) Reset()
func (*EgressNetworkPolicyPeer) Size ¶ added in v1.3.0
func (m *EgressNetworkPolicyPeer) Size() (n int)
func (*EgressNetworkPolicyPeer) String ¶ added in v1.3.0
func (this *EgressNetworkPolicyPeer) String() string
func (EgressNetworkPolicyPeer) SwaggerDoc ¶ added in v1.3.0
func (EgressNetworkPolicyPeer) SwaggerDoc() map[string]string
func (*EgressNetworkPolicyPeer) Unmarshal ¶ added in v1.3.0
func (m *EgressNetworkPolicyPeer) Unmarshal(data []byte) error
type EgressNetworkPolicyRule ¶ added in v1.3.0
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 ¶ added in v1.4.0
func (*EgressNetworkPolicyRule) Descriptor() ([]byte, []int)
func (*EgressNetworkPolicyRule) Marshal ¶ added in v1.3.0
func (m *EgressNetworkPolicyRule) Marshal() (data []byte, err error)
func (*EgressNetworkPolicyRule) MarshalTo ¶ added in v1.3.0
func (m *EgressNetworkPolicyRule) MarshalTo(data []byte) (int, error)
func (*EgressNetworkPolicyRule) ProtoMessage ¶ added in v1.3.0
func (*EgressNetworkPolicyRule) ProtoMessage()
func (*EgressNetworkPolicyRule) Reset ¶ added in v1.3.0
func (m *EgressNetworkPolicyRule) Reset()
func (*EgressNetworkPolicyRule) Size ¶ added in v1.3.0
func (m *EgressNetworkPolicyRule) Size() (n int)
func (*EgressNetworkPolicyRule) String ¶ added in v1.3.0
func (this *EgressNetworkPolicyRule) String() string
func (EgressNetworkPolicyRule) SwaggerDoc ¶ added in v1.3.0
func (EgressNetworkPolicyRule) SwaggerDoc() map[string]string
func (*EgressNetworkPolicyRule) Unmarshal ¶ added in v1.3.0
func (m *EgressNetworkPolicyRule) Unmarshal(data []byte) error
type EgressNetworkPolicyRuleType ¶ added in v1.3.0
type EgressNetworkPolicyRuleType string
EgressNetworkPolicyRuleType indicates whether an EgressNetworkPolicyRule allows or denies traffic
const ( EgressNetworkPolicyRuleAllow EgressNetworkPolicyRuleType = "Allow" EgressNetworkPolicyRuleDeny EgressNetworkPolicyRuleType = "Deny" )
type EgressNetworkPolicySpec ¶ added in v1.3.0
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 ¶ added in v1.4.0
func (*EgressNetworkPolicySpec) Descriptor() ([]byte, []int)
func (*EgressNetworkPolicySpec) Marshal ¶ added in v1.3.0
func (m *EgressNetworkPolicySpec) Marshal() (data []byte, err error)
func (*EgressNetworkPolicySpec) MarshalTo ¶ added in v1.3.0
func (m *EgressNetworkPolicySpec) MarshalTo(data []byte) (int, error)
func (*EgressNetworkPolicySpec) ProtoMessage ¶ added in v1.3.0
func (*EgressNetworkPolicySpec) ProtoMessage()
func (*EgressNetworkPolicySpec) Reset ¶ added in v1.3.0
func (m *EgressNetworkPolicySpec) Reset()
func (*EgressNetworkPolicySpec) Size ¶ added in v1.3.0
func (m *EgressNetworkPolicySpec) Size() (n int)
func (*EgressNetworkPolicySpec) String ¶ added in v1.3.0
func (this *EgressNetworkPolicySpec) String() string
func (EgressNetworkPolicySpec) SwaggerDoc ¶ added in v1.3.0
func (EgressNetworkPolicySpec) SwaggerDoc() map[string]string
func (*EgressNetworkPolicySpec) Unmarshal ¶ added in v1.3.0
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 ¶ added in v1.4.0
func (*HostSubnet) Descriptor() ([]byte, []int)
func (*HostSubnet) Marshal ¶ added in v1.3.0
func (m *HostSubnet) Marshal() (data []byte, err error)
func (*HostSubnet) MarshalTo ¶ added in v1.3.0
func (m *HostSubnet) MarshalTo(data []byte) (int, error)
func (*HostSubnet) ProtoMessage ¶ added in v1.3.0
func (*HostSubnet) ProtoMessage()
func (*HostSubnet) Reset ¶ added in v1.3.0
func (m *HostSubnet) Reset()
func (*HostSubnet) Size ¶ added in v1.3.0
func (m *HostSubnet) Size() (n int)
func (*HostSubnet) String ¶ added in v1.3.0
func (this *HostSubnet) String() string
func (HostSubnet) SwaggerDoc ¶ added in v1.1.4
func (HostSubnet) SwaggerDoc() map[string]string
func (*HostSubnet) Unmarshal ¶ added in v1.3.0
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 ¶ added in v1.4.0
func (*HostSubnetList) Descriptor() ([]byte, []int)
func (*HostSubnetList) Marshal ¶ added in v1.3.0
func (m *HostSubnetList) Marshal() (data []byte, err error)
func (*HostSubnetList) MarshalTo ¶ added in v1.3.0
func (m *HostSubnetList) MarshalTo(data []byte) (int, error)
func (*HostSubnetList) ProtoMessage ¶ added in v1.3.0
func (*HostSubnetList) ProtoMessage()
func (*HostSubnetList) Reset ¶ added in v1.3.0
func (m *HostSubnetList) Reset()
func (*HostSubnetList) Size ¶ added in v1.3.0
func (m *HostSubnetList) Size() (n int)
func (*HostSubnetList) String ¶ added in v1.3.0
func (this *HostSubnetList) String() string
func (HostSubnetList) SwaggerDoc ¶ added in v1.1.4
func (HostSubnetList) SwaggerDoc() map[string]string
func (*HostSubnetList) Unmarshal ¶ added in v1.3.0
func (m *HostSubnetList) Unmarshal(data []byte) error
type NetNamespace ¶ added in v1.0.5
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 ¶ added in v1.4.0
func (*NetNamespace) Descriptor() ([]byte, []int)
func (*NetNamespace) Marshal ¶ added in v1.3.0
func (m *NetNamespace) Marshal() (data []byte, err error)
func (*NetNamespace) MarshalTo ¶ added in v1.3.0
func (m *NetNamespace) MarshalTo(data []byte) (int, error)
func (*NetNamespace) ProtoMessage ¶ added in v1.3.0
func (*NetNamespace) ProtoMessage()
func (*NetNamespace) Reset ¶ added in v1.3.0
func (m *NetNamespace) Reset()
func (*NetNamespace) Size ¶ added in v1.3.0
func (m *NetNamespace) Size() (n int)
func (*NetNamespace) String ¶ added in v1.3.0
func (this *NetNamespace) String() string
func (NetNamespace) SwaggerDoc ¶ added in v1.1.4
func (NetNamespace) SwaggerDoc() map[string]string
func (*NetNamespace) Unmarshal ¶ added in v1.3.0
func (m *NetNamespace) Unmarshal(data []byte) error
type NetNamespaceList ¶ added in v1.0.5
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 ¶ added in v1.4.0
func (*NetNamespaceList) Descriptor() ([]byte, []int)
func (*NetNamespaceList) Marshal ¶ added in v1.3.0
func (m *NetNamespaceList) Marshal() (data []byte, err error)
func (*NetNamespaceList) MarshalTo ¶ added in v1.3.0
func (m *NetNamespaceList) MarshalTo(data []byte) (int, error)
func (*NetNamespaceList) ProtoMessage ¶ added in v1.3.0
func (*NetNamespaceList) ProtoMessage()
func (*NetNamespaceList) Reset ¶ added in v1.3.0
func (m *NetNamespaceList) Reset()
func (*NetNamespaceList) Size ¶ added in v1.3.0
func (m *NetNamespaceList) Size() (n int)
func (*NetNamespaceList) String ¶ added in v1.3.0
func (this *NetNamespaceList) String() string
func (NetNamespaceList) SwaggerDoc ¶ added in v1.1.4
func (NetNamespaceList) SwaggerDoc() map[string]string
func (*NetNamespaceList) Unmarshal ¶ added in v1.3.0
func (m *NetNamespaceList) Unmarshal(data []byte) error