Sha256: 0869d1e0d023c5e0c53c8f142b4b5bb1c43ebb4a818136d6052290f76bbd0b72

Contents?: true

Size: 939 Bytes

Versions: 69

Compression:

Stored size: 939 Bytes

Contents

module Fog
  module Parsers
    module AWS
      module ECS
        require 'fog/aws/parsers/ecs/task_definition'

        class DescribeTaskDefinition < Fog::Parsers::AWS::ECS::TaskDefinition
          def reset
            super
            @result = 'DescribeTaskDefinitionResult'
            @definition = 'taskDefinition'
            @response[@result] = {
              @definition => {
                'volumes'              => [],
                'containerDefinitions' => []
              }
            }
            @contexts = %w(volumes containerDefinitions command entryPoint environment links mountPoints portMappings volumesFrom)
            @context     = []
            @volume      = {}
            @host        = {}
            @container   = {}
            @environment = {}
            @mountpoint  = {}
            @portmapping = {}
            @volume_from = {}
          end
        end
      end
    end
  end
end

Version data entries

69 entries across 67 versions & 3 rubygems

Version Path
fog-aws-3.0.0 lib/fog/aws/parsers/ecs/describe_task_definition.rb
fog-aws-2.0.1 lib/fog/aws/parsers/ecs/describe_task_definition.rb
fog-aws-2.0.0 lib/fog/aws/parsers/ecs/describe_task_definition.rb
fog-aws-1.4.1 lib/fog/aws/parsers/ecs/describe_task_definition.rb
fog-aws-1.4.0 lib/fog/aws/parsers/ecs/describe_task_definition.rb
fog-aws-1.3.0 lib/fog/aws/parsers/ecs/describe_task_definition.rb
fog-aws-1.2.1 lib/fog/aws/parsers/ecs/describe_task_definition.rb
fog-aws-1.2.0 lib/fog/aws/parsers/ecs/describe_task_definition.rb
fog-aws-1.1.0 lib/fog/aws/parsers/ecs/describe_task_definition.rb
fog-aws-1.0.0 lib/fog/aws/parsers/ecs/describe_task_definition.rb
fog-aws-0.13.0 lib/fog/aws/parsers/ecs/describe_task_definition.rb
fog-aws-0.12.0 lib/fog/aws/parsers/ecs/describe_task_definition.rb
fog-aws-0.11.0 lib/fog/aws/parsers/ecs/describe_task_definition.rb
fog-aws-0.10.0 lib/fog/aws/parsers/ecs/describe_task_definition.rb
fog-aws-0.9.4 lib/fog/aws/parsers/ecs/describe_task_definition.rb
fog-aws-0.9.3 lib/fog/aws/parsers/ecs/describe_task_definition.rb
fog-aws-0.9.2 lib/fog/aws/parsers/ecs/describe_task_definition.rb
fog-aws-0.9.1 lib/fog/aws/parsers/ecs/describe_task_definition.rb
fog-aws-0.9.0 lib/fog/aws/parsers/ecs/describe_task_definition.rb
fog-aws-0.8.1 lib/fog/aws/parsers/ecs/describe_task_definition.rb