skuber
.
networking
NetworkPolicy
Related Docs:
class NetworkPolicy
|
package networking
object
NetworkPolicy
extends
Serializable
Linear Supertypes
Serializable
,
Serializable
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
NetworkPolicy
Serializable
Serializable
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
case class
EgressRule
(
ports:
List
[
Port
] =
Nil
,
to:
List
[
Peer
] =
Nil
)
extends
Product
with
Serializable
case class
IPBlock
(
cidr:
String
,
except:
List
[
String
] =
Nil
)
extends
Product
with
Serializable
case class
IngressRule
(
ports:
List
[
Port
] =
Nil
,
from:
List
[
Peer
] =
Nil
)
extends
Product
with
Serializable
case class
Peer
(
podSelector:
Option
[
LabelSelector
] =
None
,
namespaceSelector:
Option
[
LabelSelector
] =
None
,
ipBlock:
Option
[
IPBlock
] =
None
)
extends
Product
with
Serializable
case class
Port
(
port:
NameablePort
,
protocol:
Protocol.Value
=
Protocol.TCP
)
extends
Product
with
Serializable
case class
Spec
(
podSelector:
LabelSelector
,
ingress:
List
[
IngressRule
] =
Nil
,
egress:
List
[
EgressRule
] =
Nil
,
policyTypes:
List
[
String
] =
Nil
)
extends
Product
with
Serializable
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
allowAllEgress
(
name:
String
,
namespace:
Namespace
=
skuber.Namespace.default
)
:
NetworkPolicy
def
allowAllIngress
(
name:
String
,
namespace:
Namespace
=
skuber.Namespace.default
)
:
NetworkPolicy
def
apply
(
name:
String
)
:
NetworkPolicy
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
denyAllEgress
(
name:
String
,
namespace:
Namespace
=
skuber.Namespace.default
)
:
NetworkPolicy
def
denyAllIngress
(
name:
String
,
namespace:
Namespace
=
skuber.Namespace.default
)
:
NetworkPolicy
def
denyAllIngressAndEgress
(
name:
String
,
namespace:
Namespace
=
skuber.Namespace.default
)
:
NetworkPolicy
implicit
val
egressRuleFmt
:
Format
[
EgressRule
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
implicit
val
ingressRuleFmt
:
Format
[
IngressRule
]
implicit
val
ipBlockFmt
:
Format
[
IPBlock
]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
named
(
name:
String
)
:
NetworkPolicy
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
implicit
val
networkPolicyFmt
:
Format
[
NetworkPolicy
]
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
implicit
val
npolDef
:
ResourceDefinition
[
NetworkPolicy
] { def spec: skuber.NonCoreResourceSpecification }
implicit
val
npolListDef
:
ResourceDefinition
[
NetworkPolicyList
] { def spec: skuber.NonCoreResourceSpecification }
implicit
val
peerFmt
:
Format
[
Peer
]
implicit
val
portFmt
:
Format
[
Port
]
implicit
val
specfmt
:
Format
[
Spec
]
val
specification
:
NonCoreResourceSpecification
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
AnyRef
Inherited from
Any
Ungrouped