struct

Kubernetes::Preconditions

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.

Constructors

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)

Instance methods

resource_version

Specifies the target ResourceVersion

Source
resource_version=(resource_version : String | Nil)

Specifies the target ResourceVersion

Source
uid

Specifies the target UID.

Source
uid=(uid : String | Nil)

Specifies the target UID.

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source