Class: Google::Cloud::GkeMultiCloud::V1::Toleration
- Inherits:
-
Object
- Object
- Google::Cloud::GkeMultiCloud::V1::Toleration
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/gkemulticloud/v1/attached_resources.rb
Overview
Toleration defines the fields for tolerations for pods created by auto-installed components.
Defined Under Namespace
Modules: Effect, KeyOperator
Instance Attribute Summary collapse
-
#effect ⇒ ::Google::Cloud::GkeMultiCloud::V1::Toleration::Effect
Effect indicates the taint effect to match e.g.
-
#key ⇒ ::String
Key is the taint key that the toleration applies to.
-
#key_operator ⇒ ::Google::Cloud::GkeMultiCloud::V1::Toleration::KeyOperator
KeyOperator represents a key's relationship to the value e.g.
-
#value ⇒ ::String
Value is the taint value that the toleration applies to.
Instance Attribute Details
#effect ⇒ ::Google::Cloud::GkeMultiCloud::V1::Toleration::Effect
Returns Effect indicates the taint effect to match e.g. 'NoSchedule'.
364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 |
# File 'proto_docs/google/cloud/gkemulticloud/v1/attached_resources.rb', line 364 class Toleration include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # KeyOperator represents a key's relationship to the value e.g. 'Equal'. module KeyOperator # Operator is not specified. KEY_OPERATOR_UNSPECIFIED = 0 # Operator maps to 'Equal'. KEY_OPERATOR_EQUAL = 1 # Operator maps to 'Exists'. KEY_OPERATOR_EXISTS = 2 end # Effect indicates the taint effect to match e.g. 'NoSchedule'. module Effect # Effect is not specified. EFFECT_UNSPECIFIED = 0 # Effect maps to 'NoSchedule'. EFFECT_NO_SCHEDULE = 1 # Effect maps to 'PreferNoSchedule'. EFFECT_PREFER_NO_SCHEDULE = 2 # Effect maps to 'NoExecute'. EFFECT_NO_EXECUTE = 3 end end |
#key ⇒ ::String
Returns Key is the taint key that the toleration applies to.
364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 |
# File 'proto_docs/google/cloud/gkemulticloud/v1/attached_resources.rb', line 364 class Toleration include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # KeyOperator represents a key's relationship to the value e.g. 'Equal'. module KeyOperator # Operator is not specified. KEY_OPERATOR_UNSPECIFIED = 0 # Operator maps to 'Equal'. KEY_OPERATOR_EQUAL = 1 # Operator maps to 'Exists'. KEY_OPERATOR_EXISTS = 2 end # Effect indicates the taint effect to match e.g. 'NoSchedule'. module Effect # Effect is not specified. EFFECT_UNSPECIFIED = 0 # Effect maps to 'NoSchedule'. EFFECT_NO_SCHEDULE = 1 # Effect maps to 'PreferNoSchedule'. EFFECT_PREFER_NO_SCHEDULE = 2 # Effect maps to 'NoExecute'. EFFECT_NO_EXECUTE = 3 end end |
#key_operator ⇒ ::Google::Cloud::GkeMultiCloud::V1::Toleration::KeyOperator
Returns KeyOperator represents a key's relationship to the value e.g. 'Exist'.
364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 |
# File 'proto_docs/google/cloud/gkemulticloud/v1/attached_resources.rb', line 364 class Toleration include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # KeyOperator represents a key's relationship to the value e.g. 'Equal'. module KeyOperator # Operator is not specified. KEY_OPERATOR_UNSPECIFIED = 0 # Operator maps to 'Equal'. KEY_OPERATOR_EQUAL = 1 # Operator maps to 'Exists'. KEY_OPERATOR_EXISTS = 2 end # Effect indicates the taint effect to match e.g. 'NoSchedule'. module Effect # Effect is not specified. EFFECT_UNSPECIFIED = 0 # Effect maps to 'NoSchedule'. EFFECT_NO_SCHEDULE = 1 # Effect maps to 'PreferNoSchedule'. EFFECT_PREFER_NO_SCHEDULE = 2 # Effect maps to 'NoExecute'. EFFECT_NO_EXECUTE = 3 end end |
#value ⇒ ::String
Returns Value is the taint value that the toleration applies to.
364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 |
# File 'proto_docs/google/cloud/gkemulticloud/v1/attached_resources.rb', line 364 class Toleration include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # KeyOperator represents a key's relationship to the value e.g. 'Equal'. module KeyOperator # Operator is not specified. KEY_OPERATOR_UNSPECIFIED = 0 # Operator maps to 'Equal'. KEY_OPERATOR_EQUAL = 1 # Operator maps to 'Exists'. KEY_OPERATOR_EXISTS = 2 end # Effect indicates the taint effect to match e.g. 'NoSchedule'. module Effect # Effect is not specified. EFFECT_UNSPECIFIED = 0 # Effect maps to 'NoSchedule'. EFFECT_NO_SCHEDULE = 1 # Effect maps to 'PreferNoSchedule'. EFFECT_PREFER_NO_SCHEDULE = 2 # Effect maps to 'NoExecute'. EFFECT_NO_EXECUTE = 3 end end |