Class: Google::Cloud::Container::V1beta1::SoleTenantConfig::NodeAffinity
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1beta1::SoleTenantConfig::NodeAffinity
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/container/v1beta1/cluster_service.rb
Overview
Specifies the NodeAffinity key, values, and affinity operator according to shared sole tenant node group affinities.
Defined Under Namespace
Modules: Operator
Instance Attribute Summary collapse
-
#key ⇒ ::String
Key for NodeAffinity.
-
#operator ⇒ ::Google::Cloud::Container::V1beta1::SoleTenantConfig::NodeAffinity::Operator
Operator for NodeAffinity.
-
#values ⇒ ::Array<::String>
Values for NodeAffinity.
Instance Attribute Details
#key ⇒ ::String
Returns Key for NodeAffinity.
763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 763 class NodeAffinity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Operator allows user to specify affinity or anti-affinity for the # given key values. module Operator # Invalid or unspecified affinity operator. OPERATOR_UNSPECIFIED = 0 # Affinity operator. IN = 1 # Anti-affinity operator. NOT_IN = 2 end end |
#operator ⇒ ::Google::Cloud::Container::V1beta1::SoleTenantConfig::NodeAffinity::Operator
Returns Operator for NodeAffinity.
763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 763 class NodeAffinity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Operator allows user to specify affinity or anti-affinity for the # given key values. module Operator # Invalid or unspecified affinity operator. OPERATOR_UNSPECIFIED = 0 # Affinity operator. IN = 1 # Anti-affinity operator. NOT_IN = 2 end end |
#values ⇒ ::Array<::String>
Returns Values for NodeAffinity.
763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 763 class NodeAffinity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Operator allows user to specify affinity or anti-affinity for the # given key values. module Operator # Invalid or unspecified affinity operator. OPERATOR_UNSPECIFIED = 0 # Affinity operator. IN = 1 # Anti-affinity operator. NOT_IN = 2 end end |