Class: Kubes::Compiler::Dsl::Syntax::Namespace

Inherits:
Resource
  • Object
show all
Defined in:
lib/kubes/compiler/dsl/syntax/namespace.rb

Instance Attribute Summary

Attributes inherited from Resource

#kind_from_block

Instance Method Summary collapse

Methods inherited from Resource

#default_apiVersion, #default_kind, #default_result, #default_result_append, #default_top, #field, #top

Methods included from Util::Normalize

#extract_type, #normalize_kind

Instance Method Details

#default_metadataObject

override



4
5
6
7
8
9
10
11
# File 'lib/kubes/compiler/dsl/syntax/namespace.rb', line 4

def 
  {
    annotations: annotations,
    name: name,
    labels: labels,
    # no namespace
  }
end