Class: Kubes::Compiler::Dsl::Syntax::ConfigMap

Inherits:
Resource
  • Object
show all
Includes:
Core::Files
Defined in:
lib/kubes/compiler/dsl/syntax/config_map.rb

Instance Attribute Summary

Attributes inherited from Resource

#kind_from_block

Instance Method Summary collapse

Methods inherited from Resource

#default_kind, #default_metadata, #default_result, #default_top, #field, #top

Methods included from Util::Normalize

#extract_type, #normalize_kind

Instance Method Details

#default_apiVersionObject



9
10
11
# File 'lib/kubes/compiler/dsl/syntax/config_map.rb', line 9

def default_apiVersion
  "v1"
end

#default_result_appendObject



13
14
15
16
17
18
# File 'lib/kubes/compiler/dsl/syntax/config_map.rb', line 13

def default_result_append
  {
    data: data,
    binaryData: binaryData,
  }
end