summaryrefslogtreecommitdiff
path: root/app/models/clusters/kubernetes.rb
blob: b68e2ae401ef216f3709e466a70a2cbb9727495d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module Clusters
  module Kubernetes
    def self.table_name_prefix
      'clusters_kubernetes_'
    end

    def self.app(app_name)
      case app_name
      when HelmApp::NAME
        HelmApp
      else
        raise ArgumentError, "Unknown app #{app_name}"
      end
    end
  end
end