Sha256: c6932e8075e044d29686b381e0ed26f2103fd2b287ebe48122796c24ad63c521

Contents?: true

Size: 1.92 KB

Versions: 118

Compression:

Stored size: 1.92 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

118 entries across 118 versions & 4 rubygems

Version Path
cthiesfork-awspec-1.2.2 lib/awspec/stub/ecs_container_instance.rb
cthiesfork-awspec-1.2.1 lib/awspec/stub/ecs_container_instance.rb
awspec-1.18.5 lib/awspec/stub/ecs_container_instance.rb
cthiesfork-awspec-1.2.0 lib/awspec/stub/ecs_container_instance.rb
cthiesfork-awspec-1.1.0 lib/awspec/stub/ecs_container_instance.rb
cthiesfork-awspec-1.0.0 lib/awspec/stub/ecs_container_instance.rb
awspec-1.18.4 lib/awspec/stub/ecs_container_instance.rb
awspec-1.18.3 lib/awspec/stub/ecs_container_instance.rb
awspec-1.18.2 lib/awspec/stub/ecs_container_instance.rb
awspec-1.18.1 lib/awspec/stub/ecs_container_instance.rb
awspec-1.18.0 lib/awspec/stub/ecs_container_instance.rb
awspec-1.17.4 lib/awspec/stub/ecs_container_instance.rb
awspec-1.17.3 lib/awspec/stub/ecs_container_instance.rb
awspec-1.17.2 lib/awspec/stub/ecs_container_instance.rb
awspec-1.17.1 lib/awspec/stub/ecs_container_instance.rb
awspec-1.17.0 lib/awspec/stub/ecs_container_instance.rb
awspec-1.16.1 lib/awspec/stub/ecs_container_instance.rb
awspec-1.16.0 lib/awspec/stub/ecs_container_instance.rb
awspec-1.15.3 lib/awspec/stub/ecs_container_instance.rb
awspec-1.15.2 lib/awspec/stub/ecs_container_instance.rb