Class: Google::Cloud::Container::V1beta1::NetworkPolicy

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/container/v1beta1/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

Instance Attribute Details

#enabled::Boolean

Returns Whether network policy is enabled on the cluster.

Returns:

  • (::Boolean)

    Whether network policy is enabled on the cluster.



1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 1078

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::V1beta1::NetworkPolicy::Provider

Returns The selected network policy provider.

Returns:



1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 1078

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