Class: KubeDSL::DSL::Apiextensions::V1::CustomResourceColumnDefinition

Inherits:
KubeDSL::DSLObject
  • Object
show all
Defined in:
lib/kube-dsl/dsl/apiextensions/v1/custom_resource_column_definition.rb

Instance Method Summary collapse

Methods inherited from KubeDSL::DSLObject

#initialize, #to_resource

Methods included from ValueFields

extended

Methods included from Validations

extended

Constructor Details

This class inherits a constructor from KubeDSL::DSLObject

Instance Method Details

#kind_symObject



28
29
30
# File 'lib/kube-dsl/dsl/apiextensions/v1/custom_resource_column_definition.rb', line 28

def kind_sym
  :custom_resource_column_definition
end

#serializeObject



17
18
19
20
21
22
23
24
25
26
# File 'lib/kube-dsl/dsl/apiextensions/v1/custom_resource_column_definition.rb', line 17

def serialize
  {}.tap do |result|
    result[:description] = description
    result[:format] = format
    result[:jsonPath] = json_path
    result[:name] = name
    result[:priority] = priority
    result[:type] = type
  end
end