Sha256: 81cc9892243858c62a9fbef20f38cb339580a783cd1460f7f6fbb9d060605d1b
Contents?: true
Size: 355 Bytes
Versions: 8
Compression:
Stored size: 355 Bytes
Contents
module Kontena::Cli::Vpn class ConfigCommand < Clamp::Command include Kontena::Cli::Common def execute require_api_url payload = {cmd: ['/usr/local/bin/ovpn_getclient', 'KONTENA_VPN_CLIENT']} stdout, stderr = client(require_token).post("containers/#{current_grid}/vpn/vpn-1/exec", payload) puts stdout end end end
Version data entries
8 entries across 8 versions & 1 rubygems