Class: Kubes::Compiler::Dsl::Syntax::Secret

Inherits:
Resource
  • Object
show all
Includes:
Core::Files
Defined in:
lib/kubes/compiler/dsl/syntax/secret.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



10
11
12
# File 'lib/kubes/compiler/dsl/syntax/secret.rb', line 10

def default_apiVersion
  "v1"
end

#default_result_appendObject



14
15
16
17
18
19
20
# File 'lib/kubes/compiler/dsl/syntax/secret.rb', line 14

def default_result_append
  {
    data: data,
    stringData: stringData,
    type: type,
  }
end