Class: KubeDSL::ExternalRef

Inherits:
Ref
  • Object
show all
Defined in:
lib/kube-dsl/external_ref.rb

Constant Summary

Constants included from StringHelpers

StringHelpers::RUBY_KEYWORDS

Instance Attribute Summary

Attributes inherited from Ref

#autoload_prefix, #inflector, #kind, #namespace, #ruby_namespace_prefix, #schema_dir, #str, #version

Instance Method Summary collapse

Methods inherited from Ref

#initialize, #ruby_autoload_path, #ruby_namespace

Methods included from StringHelpers

#capitalize, #underscore, #unkeywordify

Constructor Details

This class inherits a constructor from KubeDSL::Ref

Instance Method Details

#documentObject



7
8
9
# File 'lib/kube-dsl/external_ref.rb', line 7

def document
  {}
end

#metaObject



3
4
5
# File 'lib/kube-dsl/external_ref.rb', line 3

def meta
  @meta ||= ExternalResourceMeta.new(self)
end

#object?Boolean

assume external refs are always object fields

Returns:

  • (Boolean)


12
13
14
# File 'lib/kube-dsl/external_ref.rb', line 12

def object?
  true
end