Sha256: 9490f1452e0f6eff075b8b19addbd32b43a3b267fb7a334c18a9f49ce5df52f5

Contents?: true

Size: 384 Bytes

Versions: 7

Compression:

Stored size: 384 Bytes

Contents

module Awspec::Helper
  module Finder
    module Eks
      def find_eks_cluster(name)
        res = eks_client.describe_cluster({ name: name })
        res.cluster
      end

      def find_eks_nodegroup(cluster_name, group_name)
        res = eks_client.describe_nodegroup({ cluster_name: cluster_name, nodegroup_name: group_name })
        res.nodegroup
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
awspec-1.25.1 lib/awspec/helper/finder/eks.rb
awspec-1.25.0 lib/awspec/helper/finder/eks.rb
awspec-1.24.4 lib/awspec/helper/finder/eks.rb
awspec-1.24.3 lib/awspec/helper/finder/eks.rb
awspec-1.24.2 lib/awspec/helper/finder/eks.rb
awspec-1.24.1 lib/awspec/helper/finder/eks.rb
awspec-1.24.0 lib/awspec/helper/finder/eks.rb