Class: Google::Cloud::Container::V1::NetworkPolicy
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1::NetworkPolicy
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/container/v1/cluster_service.rb
Overview
Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
Defined Under Namespace
Modules: Provider
Instance Attribute Summary collapse
-
#enabled ⇒ ::Boolean
Whether network policy is enabled on the cluster.
-
#provider ⇒ ::Google::Cloud::Container::V1::NetworkPolicy::Provider
The selected network policy provider.
Instance Attribute Details
#enabled ⇒ ::Boolean
Returns Whether network policy is enabled on the cluster.
1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1305 class NetworkPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Allowed Network Policy providers. module Provider # Not set PROVIDER_UNSPECIFIED = 0 # Tigera (Calico Felix). CALICO = 1 end end |
#provider ⇒ ::Google::Cloud::Container::V1::NetworkPolicy::Provider
Returns The selected network policy provider.
1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1305 class NetworkPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Allowed Network Policy providers. module Provider # Not set PROVIDER_UNSPECIFIED = 0 # Tigera (Calico Felix). CALICO = 1 end end |