Sha256: ea7e07cb3479a791bf00db18eee25c4f1d63aba2361d30db9863b4d44e0dac6d

Contents?: true

Size: 689 Bytes

Versions: 47

Compression:

Stored size: 689 Bytes

Contents

# -*- coding: utf-8 -*-
require "magellan/cli/resources"

module Magellan
  module Cli
    module Resources

      class Container < Base
        self.resource_key = "container~instance"
        self.resource_dependency = {"stage" => Stage::VERSION_PARAMETER_NAME}
        self.hidden_fields = %w[created_at updated_at].map(&:freeze).freeze
        self.multiline_fields = %w[docker_properties_json links_yaml publishings_yaml volumes_yaml env_yaml].map(&:freeze).freeze
        self.field_associations = {
          "stage_version_id" => {name: "stage", resource: "stage~version"},
          "container_image_id" => {name: "image", class: "Image"},
        }
      end

    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
magellan-cli-0.11.1 lib/magellan/cli/resources/container.rb
magellan-cli-0.11.0 lib/magellan/cli/resources/container.rb
magellan-cli-0.10.0 lib/magellan/cli/resources/container.rb
magellan-cli-0.9.1 lib/magellan/cli/resources/container.rb
magellan-cli-0.9.0 lib/magellan/cli/resources/container.rb
magellan-cli-0.8.3 lib/magellan/cli/resources/container.rb
magellan-cli-0.8.2 lib/magellan/cli/resources/container.rb
magellan-cli-0.8.1 lib/magellan/cli/resources/container.rb
magellan-cli-0.8.0 lib/magellan/cli/resources/container.rb
magellan-cli-0.7.11 lib/magellan/cli/resources/container.rb
magellan-cli-0.7.10 lib/magellan/cli/resources/container.rb
magellan-cli-0.7.9 lib/magellan/cli/resources/container.rb
magellan-cli-0.7.8 lib/magellan/cli/resources/container.rb
magellan-cli-0.7.7 lib/magellan/cli/resources/container.rb
magellan-cli-0.7.6 lib/magellan/cli/resources/container.rb
magellan-cli-0.7.5 lib/magellan/cli/resources/container.rb
magellan-cli-0.7.4 lib/magellan/cli/resources/container.rb
magellan-cli-0.7.3 lib/magellan/cli/resources/container.rb
magellan-cli-0.7.2 lib/magellan/cli/resources/container.rb
magellan-cli-0.7.1 lib/magellan/cli/resources/container.rb