Sha256: 509c04c8e2dd65c44ed7762474c4361061dcb99a917f08a0fe0f0669de56ade3

Contents?: true

Size: 676 Bytes

Versions: 11

Compression:

Stored size: 676 Bytes

Contents

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

module Magellan
  module Cli
    module Resources

      class Container < Base
        self.resource_name = "container~instance"
        self.resource_dependency = {"stage" => "stage-version"}
        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

11 entries across 11 versions & 1 rubygems

Version Path
magellan-cli-0.2.17 lib/magellan/cli/resources/container.rb
magellan-cli-0.2.16 lib/magellan/cli/resources/container.rb
magellan-cli-0.2.15 lib/magellan/cli/resources/container.rb
magellan-cli-0.2.14 lib/magellan/cli/resources/container.rb
magellan-cli-0.2.13 lib/magellan/cli/resources/container.rb
magellan-cli-0.2.12 lib/magellan/cli/resources/container.rb
magellan-cli-0.2.11 lib/magellan/cli/resources/container.rb
magellan-cli-0.2.10 lib/magellan/cli/resources/container.rb
magellan-cli-0.2.9 lib/magellan/cli/resources/container.rb
magellan-cli-0.2.8 lib/magellan/cli/resources/container.rb
magellan-cli-0.2.7 lib/magellan/cli/resources/container.rb