Documentation ¶
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type IPBlock
- type MultiNetworkPolicy
- type MultiNetworkPolicyEgressRule
- type MultiNetworkPolicyIngressRule
- type MultiNetworkPolicyList
- type MultiNetworkPolicyPeer
- type MultiNetworkPolicyPort
- type MultiNetworkPolicySpec
- type MultiPolicyType
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder : localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder // AddToScheme ... AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: k8scnicncfio.GroupName, Version: "v1beta2"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type IPBlock ¶
type IPBlock struct { CIDR string `json:"cidr"` // +optional Except []string `json:"except,omitempty"` }
IPBlock ...
func (*IPBlock) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPBlock.
func (*IPBlock) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultiNetworkPolicy ¶
type MultiNetworkPolicy struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // +optional Spec MultiNetworkPolicySpec `json:"spec,omitempty"` }
MultiNetworkPolicy ...
func (*MultiNetworkPolicy) DeepCopy ¶
func (in *MultiNetworkPolicy) DeepCopy() *MultiNetworkPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiNetworkPolicy.
func (*MultiNetworkPolicy) DeepCopyInto ¶
func (in *MultiNetworkPolicy) DeepCopyInto(out *MultiNetworkPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MultiNetworkPolicy) DeepCopyObject ¶
func (in *MultiNetworkPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MultiNetworkPolicyEgressRule ¶
type MultiNetworkPolicyEgressRule struct { // +optional Ports []MultiNetworkPolicyPort `json:"ports,omitempty"` // +optional To []MultiNetworkPolicyPeer `json:"to,omitempty"` }
MultiNetworkPolicyEgressRule ...
func (*MultiNetworkPolicyEgressRule) DeepCopy ¶
func (in *MultiNetworkPolicyEgressRule) DeepCopy() *MultiNetworkPolicyEgressRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiNetworkPolicyEgressRule.
func (*MultiNetworkPolicyEgressRule) DeepCopyInto ¶
func (in *MultiNetworkPolicyEgressRule) DeepCopyInto(out *MultiNetworkPolicyEgressRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultiNetworkPolicyIngressRule ¶
type MultiNetworkPolicyIngressRule struct { // +optional Ports []MultiNetworkPolicyPort `json:"ports,omitempty"` // +optional From []MultiNetworkPolicyPeer `json:"from,omitempty"` }
MultiNetworkPolicyIngressRule ...
func (*MultiNetworkPolicyIngressRule) DeepCopy ¶
func (in *MultiNetworkPolicyIngressRule) DeepCopy() *MultiNetworkPolicyIngressRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiNetworkPolicyIngressRule.
func (*MultiNetworkPolicyIngressRule) DeepCopyInto ¶
func (in *MultiNetworkPolicyIngressRule) DeepCopyInto(out *MultiNetworkPolicyIngressRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultiNetworkPolicyList ¶
type MultiNetworkPolicyList struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // +optional metav1.ListMeta `json:"metadata,omitempty"` Items []MultiNetworkPolicy `json:"items"` }
MultiNetworkPolicyList ...
func (*MultiNetworkPolicyList) DeepCopy ¶
func (in *MultiNetworkPolicyList) DeepCopy() *MultiNetworkPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiNetworkPolicyList.
func (*MultiNetworkPolicyList) DeepCopyInto ¶
func (in *MultiNetworkPolicyList) DeepCopyInto(out *MultiNetworkPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MultiNetworkPolicyList) DeepCopyObject ¶
func (in *MultiNetworkPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MultiNetworkPolicyPeer ¶
type MultiNetworkPolicyPeer struct { // +optional PodSelector *metav1.LabelSelector `json:"podSelector,omitempty"` // +optional NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty"` // +optional IPBlock *IPBlock `json:"ipBlock,omitempty"` }
MultiNetworkPolicyPeer ...
func (*MultiNetworkPolicyPeer) DeepCopy ¶
func (in *MultiNetworkPolicyPeer) DeepCopy() *MultiNetworkPolicyPeer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiNetworkPolicyPeer.
func (*MultiNetworkPolicyPeer) DeepCopyInto ¶
func (in *MultiNetworkPolicyPeer) DeepCopyInto(out *MultiNetworkPolicyPeer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultiNetworkPolicyPort ¶
type MultiNetworkPolicyPort struct { // +optional Protocol *v1.Protocol `json:"protocol,omitempty"` // +optional Port *intstr.IntOrString `json:"port,omitempty"` // +optional EndPort *int32 `json:"endPort,omitempty"` }
MultiNetworkPolicyPort ...
func (*MultiNetworkPolicyPort) DeepCopy ¶
func (in *MultiNetworkPolicyPort) DeepCopy() *MultiNetworkPolicyPort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiNetworkPolicyPort.
func (*MultiNetworkPolicyPort) DeepCopyInto ¶
func (in *MultiNetworkPolicyPort) DeepCopyInto(out *MultiNetworkPolicyPort)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultiNetworkPolicySpec ¶
type MultiNetworkPolicySpec struct { PodSelector metav1.LabelSelector `json:"podSelector"` // +optional Ingress []MultiNetworkPolicyIngressRule `json:"ingress,omitempty"` // +optional Egress []MultiNetworkPolicyEgressRule `json:"egress,omitempty"` // +optional PolicyTypes []MultiPolicyType `json:"policyTypes,omitempty"` }
MultiNetworkPolicySpec ...
func (*MultiNetworkPolicySpec) DeepCopy ¶
func (in *MultiNetworkPolicySpec) DeepCopy() *MultiNetworkPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiNetworkPolicySpec.
func (*MultiNetworkPolicySpec) DeepCopyInto ¶
func (in *MultiNetworkPolicySpec) DeepCopyInto(out *MultiNetworkPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultiPolicyType ¶
type MultiPolicyType string
MultiPolicyType ...
const ( // PolicyTypeIngress ... PolicyTypeIngress MultiPolicyType = "Ingress" // PolicyTypeEgress ... PolicyTypeEgress MultiPolicyType = "Egress" )