Class: Kustomize::GeneratorPlugin
- Inherits:
-
Plugin
- Object
- Plugin
- Kustomize::GeneratorPlugin
show all
- Defined in:
- lib/kustomize/generator_plugin.rb
Instance Attribute Summary
Attributes inherited from Plugin
#session
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Plugin
create, kustomize_plugin_match_api_version, kustomize_plugin_match_kind, match_on
Class Method Details
.inherited(subklass) ⇒ Object
4
5
6
7
|
# File 'lib/kustomize/generator_plugin.rb', line 4
def self.inherited(subklass)
reg = Kustomize::PluginRegistry.instance
reg.probe_queue.push(subklass)
end
|
Instance Method Details
#emit ⇒ Object
9
10
11
|
# File 'lib/kustomize/generator_plugin.rb', line 9
def emit
[]
end
|
#to_yaml_stream ⇒ Object
13
14
15
|
# File 'lib/kustomize/generator_plugin.rb', line 13
def to_yaml_stream
self.emit.map(&:to_yaml).join("")
end
|