Sha256: 293f11055e5f707db639eea35022ddd1ad3fa7b8a95c14f334989a87a0ff4da9
Contents?: true
Size: 389 Bytes
Versions: 1
Compression:
Stored size: 389 Bytes
Contents
module Kontena::Cli::Grids::TrustedSubnets class ListCommand < Kontena::Command include Kontena::Cli::Common include Kontena::Cli::GridOptions requires_current_master def execute grid = client.get("grids/#{current_grid}") trusted_subnets = grid['trusted_subnets'] || [] trusted_subnets.each do |subnet| puts subnet end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kontena-cli-1.3.0.pre1 | lib/kontena/cli/grids/trusted_subnets/list_command.rb |