Documentation ¶
Overview ¶
+groupName=network.openshift.io Package v1 is the v1 version of the API.
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type ClusterNetwork
- func (in *ClusterNetwork) DeepCopy() *ClusterNetwork
- func (in *ClusterNetwork) DeepCopyInto(out *ClusterNetwork)
- func (in *ClusterNetwork) DeepCopyObject() runtime.Object
- func (*ClusterNetwork) Descriptor() ([]byte, []int)
- func (m *ClusterNetwork) Marshal() (dAtA []byte, err error)
- func (m *ClusterNetwork) MarshalTo(dAtA []byte) (int, error)
- func (m *ClusterNetwork) MarshalToSizedBuffer(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
- func (m *ClusterNetwork) XXX_DiscardUnknown()
- func (m *ClusterNetwork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterNetwork) XXX_Merge(src proto.Message)
- func (m *ClusterNetwork) XXX_Size() int
- func (m *ClusterNetwork) XXX_Unmarshal(b []byte) error
- type ClusterNetworkEntry
- func (in *ClusterNetworkEntry) DeepCopy() *ClusterNetworkEntry
- func (in *ClusterNetworkEntry) DeepCopyInto(out *ClusterNetworkEntry)
- func (*ClusterNetworkEntry) Descriptor() ([]byte, []int)
- func (m *ClusterNetworkEntry) Marshal() (dAtA []byte, err error)
- func (m *ClusterNetworkEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *ClusterNetworkEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClusterNetworkEntry) ProtoMessage()
- func (m *ClusterNetworkEntry) Reset()
- func (m *ClusterNetworkEntry) Size() (n int)
- func (this *ClusterNetworkEntry) String() string
- func (ClusterNetworkEntry) SwaggerDoc() map[string]string
- func (m *ClusterNetworkEntry) Unmarshal(dAtA []byte) error
- func (m *ClusterNetworkEntry) XXX_DiscardUnknown()
- func (m *ClusterNetworkEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterNetworkEntry) XXX_Merge(src proto.Message)
- func (m *ClusterNetworkEntry) XXX_Size() int
- func (m *ClusterNetworkEntry) XXX_Unmarshal(b []byte) error
- type ClusterNetworkList
- func (in *ClusterNetworkList) DeepCopy() *ClusterNetworkList
- func (in *ClusterNetworkList) DeepCopyInto(out *ClusterNetworkList)
- func (in *ClusterNetworkList) DeepCopyObject() runtime.Object
- func (*ClusterNetworkList) Descriptor() ([]byte, []int)
- func (m *ClusterNetworkList) Marshal() (dAtA []byte, err error)
- func (m *ClusterNetworkList) MarshalTo(dAtA []byte) (int, error)
- func (m *ClusterNetworkList) MarshalToSizedBuffer(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
- func (m *ClusterNetworkList) XXX_DiscardUnknown()
- func (m *ClusterNetworkList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterNetworkList) XXX_Merge(src proto.Message)
- func (m *ClusterNetworkList) XXX_Size() int
- func (m *ClusterNetworkList) XXX_Unmarshal(b []byte) error
- type EgressNetworkPolicy
- func (in *EgressNetworkPolicy) DeepCopy() *EgressNetworkPolicy
- func (in *EgressNetworkPolicy) DeepCopyInto(out *EgressNetworkPolicy)
- func (in *EgressNetworkPolicy) DeepCopyObject() runtime.Object
- func (*EgressNetworkPolicy) Descriptor() ([]byte, []int)
- func (m *EgressNetworkPolicy) Marshal() (dAtA []byte, err error)
- func (m *EgressNetworkPolicy) MarshalTo(dAtA []byte) (int, error)
- func (m *EgressNetworkPolicy) MarshalToSizedBuffer(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
- func (m *EgressNetworkPolicy) XXX_DiscardUnknown()
- func (m *EgressNetworkPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EgressNetworkPolicy) XXX_Merge(src proto.Message)
- func (m *EgressNetworkPolicy) XXX_Size() int
- func (m *EgressNetworkPolicy) XXX_Unmarshal(b []byte) error
- type EgressNetworkPolicyList
- func (in *EgressNetworkPolicyList) DeepCopy() *EgressNetworkPolicyList
- func (in *EgressNetworkPolicyList) DeepCopyInto(out *EgressNetworkPolicyList)
- func (in *EgressNetworkPolicyList) DeepCopyObject() runtime.Object
- func (*EgressNetworkPolicyList) Descriptor() ([]byte, []int)
- func (m *EgressNetworkPolicyList) Marshal() (dAtA []byte, err error)
- func (m *EgressNetworkPolicyList) MarshalTo(dAtA []byte) (int, error)
- func (m *EgressNetworkPolicyList) MarshalToSizedBuffer(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
- func (m *EgressNetworkPolicyList) XXX_DiscardUnknown()
- func (m *EgressNetworkPolicyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EgressNetworkPolicyList) XXX_Merge(src proto.Message)
- func (m *EgressNetworkPolicyList) XXX_Size() int
- func (m *EgressNetworkPolicyList) XXX_Unmarshal(b []byte) error
- type EgressNetworkPolicyPeer
- func (in *EgressNetworkPolicyPeer) DeepCopy() *EgressNetworkPolicyPeer
- func (in *EgressNetworkPolicyPeer) DeepCopyInto(out *EgressNetworkPolicyPeer)
- func (*EgressNetworkPolicyPeer) Descriptor() ([]byte, []int)
- func (m *EgressNetworkPolicyPeer) Marshal() (dAtA []byte, err error)
- func (m *EgressNetworkPolicyPeer) MarshalTo(dAtA []byte) (int, error)
- func (m *EgressNetworkPolicyPeer) MarshalToSizedBuffer(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
- func (m *EgressNetworkPolicyPeer) XXX_DiscardUnknown()
- func (m *EgressNetworkPolicyPeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EgressNetworkPolicyPeer) XXX_Merge(src proto.Message)
- func (m *EgressNetworkPolicyPeer) XXX_Size() int
- func (m *EgressNetworkPolicyPeer) XXX_Unmarshal(b []byte) error
- type EgressNetworkPolicyRule
- func (in *EgressNetworkPolicyRule) DeepCopy() *EgressNetworkPolicyRule
- func (in *EgressNetworkPolicyRule) DeepCopyInto(out *EgressNetworkPolicyRule)
- func (*EgressNetworkPolicyRule) Descriptor() ([]byte, []int)
- func (m *EgressNetworkPolicyRule) Marshal() (dAtA []byte, err error)
- func (m *EgressNetworkPolicyRule) MarshalTo(dAtA []byte) (int, error)
- func (m *EgressNetworkPolicyRule) MarshalToSizedBuffer(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
- func (m *EgressNetworkPolicyRule) XXX_DiscardUnknown()
- func (m *EgressNetworkPolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EgressNetworkPolicyRule) XXX_Merge(src proto.Message)
- func (m *EgressNetworkPolicyRule) XXX_Size() int
- func (m *EgressNetworkPolicyRule) XXX_Unmarshal(b []byte) error
- type EgressNetworkPolicyRuleType
- type EgressNetworkPolicySpec
- func (in *EgressNetworkPolicySpec) DeepCopy() *EgressNetworkPolicySpec
- func (in *EgressNetworkPolicySpec) DeepCopyInto(out *EgressNetworkPolicySpec)
- func (*EgressNetworkPolicySpec) Descriptor() ([]byte, []int)
- func (m *EgressNetworkPolicySpec) Marshal() (dAtA []byte, err error)
- func (m *EgressNetworkPolicySpec) MarshalTo(dAtA []byte) (int, error)
- func (m *EgressNetworkPolicySpec) MarshalToSizedBuffer(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
- func (m *EgressNetworkPolicySpec) XXX_DiscardUnknown()
- func (m *EgressNetworkPolicySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EgressNetworkPolicySpec) XXX_Merge(src proto.Message)
- func (m *EgressNetworkPolicySpec) XXX_Size() int
- func (m *EgressNetworkPolicySpec) XXX_Unmarshal(b []byte) error
- type HostSubnet
- func (in *HostSubnet) DeepCopy() *HostSubnet
- func (in *HostSubnet) DeepCopyInto(out *HostSubnet)
- func (in *HostSubnet) DeepCopyObject() runtime.Object
- func (*HostSubnet) Descriptor() ([]byte, []int)
- func (m *HostSubnet) Marshal() (dAtA []byte, err error)
- func (m *HostSubnet) MarshalTo(dAtA []byte) (int, error)
- func (m *HostSubnet) MarshalToSizedBuffer(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
- func (m *HostSubnet) XXX_DiscardUnknown()
- func (m *HostSubnet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HostSubnet) XXX_Merge(src proto.Message)
- func (m *HostSubnet) XXX_Size() int
- func (m *HostSubnet) XXX_Unmarshal(b []byte) error
- type HostSubnetEgressCIDR
- type HostSubnetEgressIP
- type HostSubnetList
- func (in *HostSubnetList) DeepCopy() *HostSubnetList
- func (in *HostSubnetList) DeepCopyInto(out *HostSubnetList)
- func (in *HostSubnetList) DeepCopyObject() runtime.Object
- func (*HostSubnetList) Descriptor() ([]byte, []int)
- func (m *HostSubnetList) Marshal() (dAtA []byte, err error)
- func (m *HostSubnetList) MarshalTo(dAtA []byte) (int, error)
- func (m *HostSubnetList) MarshalToSizedBuffer(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
- func (m *HostSubnetList) XXX_DiscardUnknown()
- func (m *HostSubnetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HostSubnetList) XXX_Merge(src proto.Message)
- func (m *HostSubnetList) XXX_Size() int
- func (m *HostSubnetList) XXX_Unmarshal(b []byte) error
- type NetNamespace
- func (in *NetNamespace) DeepCopy() *NetNamespace
- func (in *NetNamespace) DeepCopyInto(out *NetNamespace)
- func (in *NetNamespace) DeepCopyObject() runtime.Object
- func (*NetNamespace) Descriptor() ([]byte, []int)
- func (m *NetNamespace) Marshal() (dAtA []byte, err error)
- func (m *NetNamespace) MarshalTo(dAtA []byte) (int, error)
- func (m *NetNamespace) MarshalToSizedBuffer(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
- func (m *NetNamespace) XXX_DiscardUnknown()
- func (m *NetNamespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetNamespace) XXX_Merge(src proto.Message)
- func (m *NetNamespace) XXX_Size() int
- func (m *NetNamespace) XXX_Unmarshal(b []byte) error
- type NetNamespaceEgressIP
- type NetNamespaceList
- func (in *NetNamespaceList) DeepCopy() *NetNamespaceList
- func (in *NetNamespaceList) DeepCopyInto(out *NetNamespaceList)
- func (in *NetNamespaceList) DeepCopyObject() runtime.Object
- func (*NetNamespaceList) Descriptor() ([]byte, []int)
- func (m *NetNamespaceList) Marshal() (dAtA []byte, err error)
- func (m *NetNamespaceList) MarshalTo(dAtA []byte) (int, error)
- func (m *NetNamespaceList) MarshalToSizedBuffer(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
- func (m *NetNamespaceList) XXX_DiscardUnknown()
- func (m *NetNamespaceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetNamespaceList) XXX_Merge(src proto.Message)
- func (m *NetNamespaceList) XXX_Size() int
- func (m *NetNamespaceList) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // Pod annotations AssignMacvlanAnnotation = "pod.network.openshift.io/assign-macvlan" // HostSubnet annotations. (Note: should be "hostsubnet.network.openshift.io/", but the incorrect name is now part of the API.) AssignHostSubnetAnnotation = "pod.network.openshift.io/assign-subnet" FixedVNIDHostAnnotation = "pod.network.openshift.io/fixed-vnid-host" NodeUIDAnnotation = "pod.network.openshift.io/node-uid" // NetNamespace annotations MulticastEnabledAnnotation = "netnamespace.network.openshift.io/multicast-enabled" // ChangePodNetworkAnnotation is an annotation on NetNamespace to request change of pod network ChangePodNetworkAnnotation string = "pod.network.openshift.io/multitenant.change-network" )
const (
ClusterNetworkDefault = "default"
)
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") )
var ( GroupName = "network.openshift.io" GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"} // Install is a function which adds this version to a scheme Install = schemeBuilder.AddToScheme // SchemeGroupVersion generated code relies on this name // Deprecated SchemeGroupVersion = GroupVersion // AddToScheme exists solely to keep the old generators creating valid code // DEPRECATED AddToScheme = schemeBuilder.AddToScheme )
var (
DeprecatedInstallWithoutGroup = legacySchemeBuilder.AddToScheme
)
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource generated code relies on this being here, but it logically belongs to the group DEPRECATED
Types ¶
type ClusterNetwork ¶
type ClusterNetwork struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#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 // +kubebuilder:validation:Pattern=`^(([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/([0-9]|[12][0-9]|3[0-2])$` 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 // +kubebuilder:validation:Minimum=2 // +kubebuilder:validation:Maximum=30 HostSubnetLength uint32 `json:"hostsubnetlength,omitempty" protobuf:"varint,3,opt,name=hostsubnetlength"` // ServiceNetwork is the CIDR range that Service IP addresses are allocated from // +kubebuilder:validation:Pattern=`^(([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/([0-9]|[12][0-9]|3[0-2])$` 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 addresses from. ClusterNetworks []ClusterNetworkEntry `json:"clusterNetworks" protobuf:"bytes,6,rep,name=clusterNetworks"` // VXLANPort sets the VXLAN destination port used by the cluster. // It is set by the master configuration file on startup and cannot be edited manually. // Valid values for VXLANPort are integers 1-65535 inclusive and if unset defaults to 4789. // Changing VXLANPort allows users to resolve issues between openshift SDN and other software trying to use the same VXLAN destination port. // +kubebuilder:validation:Minimum=1 // +kubebuilder:validation:Maximum=65535 // +kubebuilder:validation:Optional // +optional VXLANPort *uint32 `json:"vxlanPort,omitempty" protobuf:"varint,7,opt,name=vxlanPort"` // MTU is the MTU for the overlay network. This should be 50 less than the MTU of the network connecting the nodes. It is normally autodetected by the cluster network operator. // +kubebuilder:validation:Minimum=576 // +kubebuilder:validation:Maximum=65536 // +kubebuilder:validation:Optional // +optional MTU *uint32 `json:"mtu,omitempty" protobuf:"varint,8,opt,name=mtu"` }
ClusterNetwork was used by OpenShift SDN. DEPRECATED: OpenShift SDN is no longer supported and this object is no longer used in any way by OpenShift.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +kubebuilder:object:root=true +kubebuilder:resource:path=clusternetworks,scope=Cluster +openshift:api-approved.openshift.io=https://github.com/openshift/api/pull/527 +openshift:file-pattern=operatorOrdering=001 +kubebuilder:printcolumn:name="Cluster Network",type=string,JSONPath=.network,description="The primary cluster network CIDR" +kubebuilder:printcolumn:name="Service Network",type=string,JSONPath=.serviceNetwork,description="The service network CIDR" +kubebuilder:printcolumn:name="Plugin Name",type=string,JSONPath=.pluginName,description="The OpenShift SDN network plug-in in use" +openshift:compatibility-gen:level=1
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) MarshalToSizedBuffer ¶
func (m *ClusterNetwork) MarshalToSizedBuffer(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
func (*ClusterNetwork) XXX_DiscardUnknown ¶
func (m *ClusterNetwork) XXX_DiscardUnknown()
func (*ClusterNetwork) XXX_Marshal ¶
func (m *ClusterNetwork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClusterNetwork) XXX_Merge ¶
func (m *ClusterNetwork) XXX_Merge(src proto.Message)
func (*ClusterNetwork) XXX_Size ¶
func (m *ClusterNetwork) XXX_Size() int
func (*ClusterNetwork) XXX_Unmarshal ¶
func (m *ClusterNetwork) XXX_Unmarshal(b []byte) error
type ClusterNetworkEntry ¶
type ClusterNetworkEntry struct { // CIDR defines the total range of a cluster networks address space. // +kubebuilder:validation:Pattern=`^(([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/([0-9]|[12][0-9]|3[0-2])$` 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. // +kubebuilder:validation:Minimum=2 // +kubebuilder:validation:Maximum=30 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) MarshalToSizedBuffer ¶
func (m *ClusterNetworkEntry) MarshalToSizedBuffer(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
func (*ClusterNetworkEntry) XXX_DiscardUnknown ¶
func (m *ClusterNetworkEntry) XXX_DiscardUnknown()
func (*ClusterNetworkEntry) XXX_Marshal ¶
func (m *ClusterNetworkEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClusterNetworkEntry) XXX_Merge ¶
func (m *ClusterNetworkEntry) XXX_Merge(src proto.Message)
func (*ClusterNetworkEntry) XXX_Size ¶
func (m *ClusterNetworkEntry) XXX_Size() int
func (*ClusterNetworkEntry) XXX_Unmarshal ¶
func (m *ClusterNetworkEntry) XXX_Unmarshal(b []byte) error
type ClusterNetworkList ¶
type ClusterNetworkList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#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
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
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) MarshalToSizedBuffer ¶
func (m *ClusterNetworkList) MarshalToSizedBuffer(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
func (*ClusterNetworkList) XXX_DiscardUnknown ¶
func (m *ClusterNetworkList) XXX_DiscardUnknown()
func (*ClusterNetworkList) XXX_Marshal ¶
func (m *ClusterNetworkList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClusterNetworkList) XXX_Merge ¶
func (m *ClusterNetworkList) XXX_Merge(src proto.Message)
func (*ClusterNetworkList) XXX_Size ¶
func (m *ClusterNetworkList) XXX_Size() int
func (*ClusterNetworkList) XXX_Unmarshal ¶
func (m *ClusterNetworkList) XXX_Unmarshal(b []byte) error
type EgressNetworkPolicy ¶
type EgressNetworkPolicy struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata 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 was used by OpenShift SDN. DEPRECATED: OpenShift SDN is no longer supported and this object is no longer used in any way by OpenShift.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +kubebuilder:object:root=true +kubebuilder:resource:path=egressnetworkpolicies,scope=Namespaced +openshift:api-approved.openshift.io=https://github.com/openshift/api/pull/527 +openshift:file-pattern=operatorOrdering=004 +openshift:compatibility-gen:level=1
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) MarshalToSizedBuffer ¶
func (m *EgressNetworkPolicy) MarshalToSizedBuffer(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
func (*EgressNetworkPolicy) XXX_DiscardUnknown ¶
func (m *EgressNetworkPolicy) XXX_DiscardUnknown()
func (*EgressNetworkPolicy) XXX_Marshal ¶
func (m *EgressNetworkPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EgressNetworkPolicy) XXX_Merge ¶
func (m *EgressNetworkPolicy) XXX_Merge(src proto.Message)
func (*EgressNetworkPolicy) XXX_Size ¶
func (m *EgressNetworkPolicy) XXX_Size() int
func (*EgressNetworkPolicy) XXX_Unmarshal ¶
func (m *EgressNetworkPolicy) XXX_Unmarshal(b []byte) error
type EgressNetworkPolicyList ¶
type EgressNetworkPolicyList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata 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
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
func (*EgressNetworkPolicyList) DeepCopy ¶
func (in *EgressNetworkPolicyList) DeepCopy() *EgressNetworkPolicyList
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) MarshalToSizedBuffer ¶
func (m *EgressNetworkPolicyList) MarshalToSizedBuffer(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
func (*EgressNetworkPolicyList) XXX_DiscardUnknown ¶
func (m *EgressNetworkPolicyList) XXX_DiscardUnknown()
func (*EgressNetworkPolicyList) XXX_Marshal ¶
func (m *EgressNetworkPolicyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EgressNetworkPolicyList) XXX_Merge ¶
func (m *EgressNetworkPolicyList) XXX_Merge(src proto.Message)
func (*EgressNetworkPolicyList) XXX_Size ¶
func (m *EgressNetworkPolicyList) XXX_Size() int
func (*EgressNetworkPolicyList) XXX_Unmarshal ¶
func (m *EgressNetworkPolicyList) XXX_Unmarshal(b []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 // Ideally we would have liked to use the cidr openapi format for this property. // But openshift-sdn only supports v4 while specifying the cidr format allows both v4 and v6 cidrs // We are therefore using a regex pattern to validate instead. // +kubebuilder:validation:Pattern=`^(([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/([0-9]|[12][0-9]|3[0-2])$` 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 // +kubebuilder:validation:Pattern=`^([A-Za-z0-9-]+\.)*[A-Za-z0-9-]+\.?$` DNSName string `json:"dnsName,omitempty" protobuf:"bytes,2,rep,name=dnsName"` }
EgressNetworkPolicyPeer specifies a target to apply egress network policy to
func (*EgressNetworkPolicyPeer) DeepCopy ¶
func (in *EgressNetworkPolicyPeer) DeepCopy() *EgressNetworkPolicyPeer
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) MarshalToSizedBuffer ¶
func (m *EgressNetworkPolicyPeer) MarshalToSizedBuffer(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
func (*EgressNetworkPolicyPeer) XXX_DiscardUnknown ¶
func (m *EgressNetworkPolicyPeer) XXX_DiscardUnknown()
func (*EgressNetworkPolicyPeer) XXX_Marshal ¶
func (m *EgressNetworkPolicyPeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EgressNetworkPolicyPeer) XXX_Merge ¶
func (m *EgressNetworkPolicyPeer) XXX_Merge(src proto.Message)
func (*EgressNetworkPolicyPeer) XXX_Size ¶
func (m *EgressNetworkPolicyPeer) XXX_Size() int
func (*EgressNetworkPolicyPeer) XXX_Unmarshal ¶
func (m *EgressNetworkPolicyPeer) XXX_Unmarshal(b []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 ¶
func (in *EgressNetworkPolicyRule) DeepCopy() *EgressNetworkPolicyRule
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) MarshalToSizedBuffer ¶
func (m *EgressNetworkPolicyRule) MarshalToSizedBuffer(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
func (*EgressNetworkPolicyRule) XXX_DiscardUnknown ¶
func (m *EgressNetworkPolicyRule) XXX_DiscardUnknown()
func (*EgressNetworkPolicyRule) XXX_Marshal ¶
func (m *EgressNetworkPolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EgressNetworkPolicyRule) XXX_Merge ¶
func (m *EgressNetworkPolicyRule) XXX_Merge(src proto.Message)
func (*EgressNetworkPolicyRule) XXX_Size ¶
func (m *EgressNetworkPolicyRule) XXX_Size() int
func (*EgressNetworkPolicyRule) XXX_Unmarshal ¶
func (m *EgressNetworkPolicyRule) XXX_Unmarshal(b []byte) error
type EgressNetworkPolicyRuleType ¶
type EgressNetworkPolicyRuleType string
EgressNetworkPolicyRuleType indicates whether an EgressNetworkPolicyRule allows or denies traffic +kubebuilder:validation:Pattern=`^Allow|Deny$`
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) DeepCopy ¶
func (in *EgressNetworkPolicySpec) DeepCopy() *EgressNetworkPolicySpec
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) MarshalToSizedBuffer ¶
func (m *EgressNetworkPolicySpec) MarshalToSizedBuffer(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
func (*EgressNetworkPolicySpec) XXX_DiscardUnknown ¶
func (m *EgressNetworkPolicySpec) XXX_DiscardUnknown()
func (*EgressNetworkPolicySpec) XXX_Marshal ¶
func (m *EgressNetworkPolicySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EgressNetworkPolicySpec) XXX_Merge ¶
func (m *EgressNetworkPolicySpec) XXX_Merge(src proto.Message)
func (*EgressNetworkPolicySpec) XXX_Size ¶
func (m *EgressNetworkPolicySpec) XXX_Size() int
func (*EgressNetworkPolicySpec) XXX_Unmarshal ¶
func (m *EgressNetworkPolicySpec) XXX_Unmarshal(b []byte) error
type HostSubnet ¶
type HostSubnet struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#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.) // +kubebuilder:validation:Pattern=`^[a-z0-9.-]+$` 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 // +kubebuilder:validation:Pattern=`^(([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$` 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 // +kubebuilder:validation:Pattern=`^(([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/([0-9]|[12][0-9]|3[0-2])$` Subnet string `json:"subnet" protobuf:"bytes,4,opt,name=subnet"` // EgressIPs is the list of automatic egress IP addresses currently hosted by this node. // If EgressCIDRs is empty, this can be set by hand; if EgressCIDRs is set then the // master will overwrite the value here with its own allocation of egress IPs. // +optional EgressIPs []HostSubnetEgressIP `json:"egressIPs,omitempty" protobuf:"bytes,5,rep,name=egressIPs"` // EgressCIDRs is the list of CIDR ranges available for automatically assigning // egress IPs to this node from. If this field is set then EgressIPs should be // treated as read-only. // +optional EgressCIDRs []HostSubnetEgressCIDR `json:"egressCIDRs,omitempty" protobuf:"bytes,6,rep,name=egressCIDRs"` }
HostSubnet was used by OpenShift SDN. DEPRECATED: OpenShift SDN is no longer supported and this object is no longer used in any way by OpenShift.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +kubebuilder:object:root=true +kubebuilder:resource:path=hostsubnets,scope=Cluster +openshift:api-approved.openshift.io=https://github.com/openshift/api/pull/527 +openshift:file-pattern=operatorOrdering=002 +kubebuilder:printcolumn:name="Host",type=string,JSONPath=.host,description="The name of the node" +kubebuilder:printcolumn:name="Host IP",type=string,JSONPath=.hostIP,description="The IP address to be used as a VTEP by other nodes in the overlay network" +kubebuilder:printcolumn:name="Subnet",type=string,JSONPath=.subnet,description="The CIDR range of the overlay network assigned to the node for its pods" +kubebuilder:printcolumn:name="Egress CIDRs",type=string,JSONPath=.egressCIDRs,description="The network egress CIDRs" +kubebuilder:printcolumn:name="Egress IPs",type=string,JSONPath=.egressIPs,description="The network egress IP addresses" +openshift:compatibility-gen:level=1
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) MarshalToSizedBuffer ¶
func (m *HostSubnet) MarshalToSizedBuffer(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
func (*HostSubnet) XXX_DiscardUnknown ¶
func (m *HostSubnet) XXX_DiscardUnknown()
func (*HostSubnet) XXX_Marshal ¶
func (m *HostSubnet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HostSubnet) XXX_Merge ¶
func (m *HostSubnet) XXX_Merge(src proto.Message)
func (*HostSubnet) XXX_Size ¶
func (m *HostSubnet) XXX_Size() int
func (*HostSubnet) XXX_Unmarshal ¶
func (m *HostSubnet) XXX_Unmarshal(b []byte) error
type HostSubnetEgressCIDR ¶
type HostSubnetEgressCIDR string
HostSubnetEgressCIDR represents one egress CIDR from which to assign IP addresses for this node represented by the HostSubnet +kubebuilder:validation:Pattern=`^(([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/([0-9]|[12][0-9]|3[0-2])$`
type HostSubnetEgressIP ¶
type HostSubnetEgressIP string
HostSubnetEgressIP represents one egress IP address currently hosted on the node represented by HostSubnet +kubebuilder:validation:Pattern=`^(([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$`
type HostSubnetList ¶
type HostSubnetList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#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
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
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) MarshalToSizedBuffer ¶
func (m *HostSubnetList) MarshalToSizedBuffer(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
func (*HostSubnetList) XXX_DiscardUnknown ¶
func (m *HostSubnetList) XXX_DiscardUnknown()
func (*HostSubnetList) XXX_Marshal ¶
func (m *HostSubnetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HostSubnetList) XXX_Merge ¶
func (m *HostSubnetList) XXX_Merge(src proto.Message)
func (*HostSubnetList) XXX_Size ¶
func (m *HostSubnetList) XXX_Size() int
func (*HostSubnetList) XXX_Unmarshal ¶
func (m *HostSubnetList) XXX_Unmarshal(b []byte) error
type NetNamespace ¶
type NetNamespace struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#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.) // +kubebuilder:validation:Pattern=`^[a-z0-9.-]+$` 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. // +kubebuilder:validation:Minimum=0 // +kubebuilder:validation:Maximum=16777215 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 []NetNamespaceEgressIP `json:"egressIPs,omitempty" protobuf:"bytes,4,rep,name=egressIPs"` }
NetNamespace was used by OpenShift SDN. DEPRECATED: OpenShift SDN is no longer supported and this object is no longer used in any way by OpenShift.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +kubebuilder:object:root=true +kubebuilder:resource:path=netnamespaces,scope=Cluster +openshift:api-approved.openshift.io=https://github.com/openshift/api/pull/527 +openshift:file-pattern=operatorOrdering=003 +kubebuilder:printcolumn:name="NetID",type=integer,JSONPath=.netid,description="The network identifier of the network namespace" +kubebuilder:printcolumn:name="Egress IPs",type=string,JSONPath=.egressIPs,description="The network egress IP addresses" +openshift:compatibility-gen:level=1
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) MarshalToSizedBuffer ¶
func (m *NetNamespace) MarshalToSizedBuffer(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
func (*NetNamespace) XXX_DiscardUnknown ¶
func (m *NetNamespace) XXX_DiscardUnknown()
func (*NetNamespace) XXX_Marshal ¶
func (m *NetNamespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetNamespace) XXX_Merge ¶
func (m *NetNamespace) XXX_Merge(src proto.Message)
func (*NetNamespace) XXX_Size ¶
func (m *NetNamespace) XXX_Size() int
func (*NetNamespace) XXX_Unmarshal ¶
func (m *NetNamespace) XXX_Unmarshal(b []byte) error
type NetNamespaceEgressIP ¶
type NetNamespaceEgressIP string
NetNamespaceEgressIP is a single egress IP out of a list of reserved IPs used as source of external traffic coming from pods in this namespace +kubebuilder:validation:Pattern=`^(([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$`
type NetNamespaceList ¶
type NetNamespaceList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#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
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
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) MarshalToSizedBuffer ¶
func (m *NetNamespaceList) MarshalToSizedBuffer(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
func (*NetNamespaceList) XXX_DiscardUnknown ¶
func (m *NetNamespaceList) XXX_DiscardUnknown()
func (*NetNamespaceList) XXX_Marshal ¶
func (m *NetNamespaceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetNamespaceList) XXX_Merge ¶
func (m *NetNamespaceList) XXX_Merge(src proto.Message)
func (*NetNamespaceList) XXX_Size ¶
func (m *NetNamespaceList) XXX_Size() int
func (*NetNamespaceList) XXX_Unmarshal ¶
func (m *NetNamespaceList) XXX_Unmarshal(b []byte) error