Class: Awspec::Generator::Doc::Type::Eks
- Defined in:
- lib/awspec/generator/doc/type/eks.rb
Instance Method Summary collapse
-
#initialize ⇒ Eks
constructor
A new instance of Eks.
Methods inherited from Base
#collect_matchers, #doc_template, #generate_doc, #sort_num, #type_name
Constructor Details
#initialize ⇒ Eks
Returns a new instance of Eks.
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/awspec/generator/doc/type/eks.rb', line 7 def initialize super @type_name = 'Eks' @type = Awspec::Type::Eks.new('my-eks') @ret = @type.resource_via_client @matchers = [ Awspec::Type::Eks::STATES.map { |state| "be_#{state.downcase}" }.join(', ') ] @ignore_matchers = Awspec::Type::Eks::STATES.map { |state| "be_#{state.downcase}" } @describes = [] end |