abstract class K8S::Kubernetes::ResourceList(T)

Included Modules

Direct Known Subclasses

Defined in:

k8s/list.cr

Constructors

Instance Method Summary

Instance methods inherited from module K8S::Kubernetes::Resource::List

api_version : String api_version, kind : String kind, metadata : Apimachinery::Apis::Meta::V1::ListMeta? metadata, metadata! : Apimachinery::Apis::Meta::V1::ListMeta metadata!

Instance methods inherited from class K8S::Kubernetes::Resource

api_version : String api_version, from_file(file) from_file, kind : String kind

Constructor methods inherited from class K8S::Kubernetes::Resource

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, items : Array(T), metadata : Apimachinery::Apis::Meta::V1::ListMeta? = nil) #

[View source]

Instance Method Detail

def items : Array(T) #

[View source]
def items=(items : Array(T)) #

[View source]

[View source]
def metadata=(metadata : Apimachinery::Apis::Meta::V1::ListMeta?) #

[View source]