Sha256: 43c40648ca17ff1d85a9bb22a5ab4149f3aba9fe2044de653924e3f31f162590

Contents?: true

Size: 873 Bytes

Versions: 33

Compression:

Stored size: 873 Bytes

Contents

require 'seira/commands/kubectl'
require 'seira/commands/gcloud'

module Seira
  module Commands
    def kubectl(command, context:, clean_output: false, return_output: false)
      Seira::Commands.kubectl(command, context: context, clean_output: clean_output, return_output: return_output)
    end

    def self.kubectl(command, context:, clean_output: false, return_output: false)
      Kubectl.new(command, context: context).invoke(clean_output: clean_output, return_output: return_output)
    end

    def gcloud(command, context:, clean_output: false, format: :boolean)
      Seira::Commands.gcloud(command, context: context, clean_output: clean_output, format: format)
    end

    def self.gcloud(command, context:, clean_output: false, format: :boolean)
      Gcloud.new(command, context: context, clean_output: clean_output, format: format).invoke
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
seira-0.7.5 lib/seira/commands.rb
seira-0.7.4 lib/seira/commands.rb
seira-0.7.3 lib/seira/commands.rb
seira-0.7.2 lib/seira/commands.rb
seira-0.7.1 lib/seira/commands.rb
seira-0.7.0 lib/seira/commands.rb
seira-0.6.6 lib/seira/commands.rb
seira-0.6.5 lib/seira/commands.rb
seira-0.6.4 lib/seira/commands.rb
seira-0.6.3 lib/seira/commands.rb
seira-0.6.2 lib/seira/commands.rb
seira-0.6.1 lib/seira/commands.rb
seira-0.6.0 lib/seira/commands.rb
seira-0.5.9 lib/seira/commands.rb
seira-0.5.7 lib/seira/commands.rb
seira-0.5.6 lib/seira/commands.rb
seira-0.5.5 lib/seira/commands.rb
seira-0.5.3 lib/seira/commands.rb
seira-0.5.2 lib/seira/commands.rb
seira-0.5.1 lib/seira/commands.rb