Class: Google::Container::V1::NetworkPolicy
- Inherits:
-
Object
- Object
- Google::Container::V1::NetworkPolicy
- Defined in:
- lib/google/cloud/container/v1/doc/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 ⇒ true, false
Whether network policy is enabled on the cluster.
-
#provider ⇒ Google::Container::V1::NetworkPolicy::Provider
The selected network policy provider.
Instance Attribute Details
#enabled ⇒ true, false
Returns Whether network policy is enabled on the cluster.
249 250 251 252 253 254 255 256 257 258 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 249 class NetworkPolicy # Allowed Network Policy providers. module Provider # Not set PROVIDER_UNSPECIFIED = 0 # Tigera (Calico Felix). CALICO = 1 end end |
#provider ⇒ Google::Container::V1::NetworkPolicy::Provider
Returns The selected network policy provider.
249 250 251 252 253 254 255 256 257 258 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 249 class NetworkPolicy # Allowed Network Policy providers. module Provider # Not set PROVIDER_UNSPECIFIED = 0 # Tigera (Calico Felix). CALICO = 1 end end |