struct
Kubernetes::ContainerRestartRuleOnExitCodes
- Kubernetes::ContainerRestartRuleOnExitCodes
- Struct
- Value
- Object
Overview
ContainerRestartRuleOnExitCodes describes the condition for handling an exited container based on its exit codes.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_core_v1.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : ::JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#operator : String | Nil
Represents the relationship between the container exit code(s) and the specified values.
-
#operator=(operator : String | Nil)
Represents the relationship between the container exit code(s) and the specified values.
-
#values : Array(Int32) | Nil
Specifies the set of values to check for container exit codes.
-
#values=(values : Array(Int32) | Nil)
Specifies the set of values to check for container exit codes.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
Represents the relationship between the container exit code(s) and the specified values. Possible values are: - In: the requirement is satisfied if the container exit code is in the set of specified values.
- NotIn: the requirement is satisfied if the container exit code is not in the set of specified values.
Represents the relationship between the container exit code(s) and the specified values. Possible values are: - In: the requirement is satisfied if the container exit code is in the set of specified values.
- NotIn: the requirement is satisfied if the container exit code is not in the set of specified values.
Specifies the set of values to check for container exit codes. At most 255 elements are allowed.
Specifies the set of values to check for container exit codes. At most 255 elements are allowed.