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, kind : String kind

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

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

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

from_file(file) from_file, from_files(*paths) from_files

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]