Sha256: 326804f2c967c89ef3defade22b5ab4e72ca64a33d92ac9db878d504b49f7998

Contents?: true

Size: 1.95 KB

Versions: 20

Compression:

Stored size: 1.95 KB

Contents

Aws.config[:ecs] = {
  stub_responses: {
    describe_container_instances: {
      container_instances: [
        {
          agent_connected: true,
          container_instance_arn:
            'arn:aws:ecs:us-east-1:123456789012:container-instance/f2756532-8f13-4d53-87c9-aed50dc94cd7',
          ec2_instance_id: 'i-01234567',
          pending_tasks_count: 0,
          registered_resources: [
            {
              name: 'CPU',
              type: 'INTEGER',
              double_value: 0.0,
              integer_value: 2048,
              long_value: 0
            },
            {
              name: 'MEMORY',
              type: 'INTEGER',
              double_value: 0.0,
              integer_value: 3768,
              long_value: 0
            },
            {
              name: 'PORTS',
              type: 'STRINGSET',
              double_value: 0.0,
              integer_value: 0,
              long_value: 0,
              string_set_value: %w[
                '2376',
                '22',
                '51678',
                '2375'
              ]
            }
          ],
          remaining_resources: [
            {
              name: 'CPU',
              type: 'INTEGER',
              double_value: 0.0,
              integer_value: 1948,
              long_value: 0
            },
            {
              name: 'MEMORY',
              type: 'INTEGER',
              double_value: 0.0,
              integer_value: 3668,
              long_value: 0
            },
            {
              name: 'PORTS',
              type: 'STRINGSET',
              double_value: 0.0,
              integer_value: 0,
              long_value: 0,
              string_set_value: %w[
                '2376',
                '22',
                '80',
                '51678',
                '2375'
              ]
            }
          ],
          running_tasks_count: 1,
          status: 'ACTIVE'
        }
      ],
      failures: [
      ]
    }
  }
}

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
awspec-0.69.1 lib/awspec/stub/ecs_container_instance.rb
awspec-0.69.0 lib/awspec/stub/ecs_container_instance.rb
awspec-0.68.0 lib/awspec/stub/ecs_container_instance.rb
awspec-0.67.1 lib/awspec/stub/ecs_container_instance.rb
awspec-0.67.0 lib/awspec/stub/ecs_container_instance.rb
awspec-0.66.2 lib/awspec/stub/ecs_container_instance.rb
awspec-0.66.1 lib/awspec/stub/ecs_container_instance.rb
awspec-0.66.0 lib/awspec/stub/ecs_container_instance.rb
awspec-0.65.2 lib/awspec/stub/ecs_container_instance.rb
awspec-0.65.1 lib/awspec/stub/ecs_container_instance.rb
awspec-0.65.0 lib/awspec/stub/ecs_container_instance.rb
awspec-0.64.0 lib/awspec/stub/ecs_container_instance.rb
awspec-0.63.1 lib/awspec/stub/ecs_container_instance.rb
awspec-0.63.0 lib/awspec/stub/ecs_container_instance.rb
awspec-0.62.1 lib/awspec/stub/ecs_container_instance.rb
awspec-0.62.0 lib/awspec/stub/ecs_container_instance.rb
awspec-0.61.1 lib/awspec/stub/ecs_container_instance.rb
awspec-0.61.0 lib/awspec/stub/ecs_container_instance.rb
awspec-0.60.1 lib/awspec/stub/ecs_container_instance.rb
awspec-0.60.0 lib/awspec/stub/ecs_container_instance.rb