forked from kubernetes-client/go
/
v1beta1_network_policy_peer.go
23 lines (18 loc) · 1.06 KB
/
v1beta1_network_policy_peer.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
* Kubernetes
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: v1.10.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package client
// DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated by networking/v1/NetworkPolicyPeer.
type V1beta1NetworkPolicyPeer struct {
// IPBlock defines policy on a particular IPBlock
IpBlock *V1beta1IpBlock `json:"ipBlock,omitempty"`
// Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces.
NamespaceSelector *V1LabelSelector `json:"namespaceSelector,omitempty"`
// This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace.
PodSelector *V1LabelSelector `json:"podSelector,omitempty"`
}