struct Kubernetes::Resource(T)
- Kubernetes::Resource(T)
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
kubernetes.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, api_version : String, kind : String, metadata : Kubernetes::Metadata, spec : T, status : JSON::Any = JSON::Any.new(nil))
Instance Method Summary
Macros inherited from module Kubernetes::Serializable
add_field(type, getter_type, key = nil, **args, &block)
add_field,
field(type, key = nil, **args, &block)
field,
field?(type, key = nil, **args, &block)
field?
Constructor Detail
def self.new(*, api_version : String, kind : String, metadata : Kubernetes::Metadata, spec : T, status : JSON::Any = JSON::Any.new(nil))
#