Sha256: a263a295c442cd739dd226b8c781d038dce0ccf192b7d44a6aeeab1f934282f3

Contents?: true

Size: 1.18 KB

Versions: 78

Compression:

Stored size: 1.18 KB

Contents

FLAVOR_FORMAT = {
  'id' => Integer,
  'name' => String,
  'ram' => Integer,
  'links' => LINKS_FORMAT
}

GET_FLAVOR_FORMAT = {
  'flavor' => FLAVOR_FORMAT
}

LIST_FLAVORS_FORMAT = {
  'flavors' => [FLAVOR_FORMAT]
}

INSTANCE_FORMAT = {
  'id' => String,
  'name' => String,
  'status' => String,
  'links' => LINKS_FORMAT,
  'flavor' => {
    'id' => String,
    'links' => LINKS_FORMAT
  },
  'volume' => {
    'size' => Integer
  }
}

INSTANCE_DETAILS_FORMAT = INSTANCE_FORMAT.merge({
  'created' => String,
  'updated' => String,
  'hostname' => String,
})

CREATE_INSTANCE_FORMAT = {
  'instance' => INSTANCE_DETAILS_FORMAT
}

GET_INSTANCE_FORMAT = {
  'instance' => INSTANCE_DETAILS_FORMAT.merge({
    'volume' => {
      'size' => Integer,
      'used' => Float
    }
  })
}

LIST_INSTANCES_FORMAT = {
  'instances' => [
    INSTANCE_FORMAT
  ]
}

CHECK_ROOT_USER_FORMAT = {
  'rootEnabled' => Fog::Boolean
}

ENABLE_ROOT_USER_FORMAT = {
  'user' => {
    'name' => String,
    'password' => String
  }
}

LIST_DATABASES_FORMAT = {
  'databases' => [{
    'name' => String
  }]
}

LIST_USERS_FORMAT = {
  'users' => [{
    'name' => String,
    'databases' => [{
      'name' => String
    }]
  }]
}

Version data entries

78 entries across 76 versions & 7 rubygems

Version Path
fog-rackspace-0.1.6 tests/rackspace/requests/databases/helper.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-rackspace-0.1.5/tests/rackspace/requests/databases/helper.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-rackspace-0.1.5/tests/rackspace/requests/databases/helper.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-rackspace-0.1.5/tests/rackspace/requests/databases/helper.rb
fog-rackspace-0.1.5 tests/rackspace/requests/databases/helper.rb
fog-rackspace-0.1.4 tests/rackspace/requests/databases/helper.rb
fog-rackspace-0.1.3 tests/rackspace/requests/databases/helper.rb
fog-rackspace-0.1.2 tests/rackspace/requests/databases/helper.rb
fog-rackspace-0.1.1 tests/rackspace/requests/databases/helper.rb
fog-rackspace-0.1.0 tests/rackspace/requests/databases/helper.rb
fog-1.37.0 tests/rackspace/requests/databases/helper.rb
fog-1.36.0 tests/rackspace/requests/databases/helper.rb
fog-1.35.0 tests/rackspace/requests/databases/helper.rb
fog-2.0.0.pre.0 tests/rackspace/requests/databases/helper.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/rackspace/requests/databases/helper.rb
fog-1.34.0 tests/rackspace/requests/databases/helper.rb
fog-1.33.0 tests/rackspace/requests/databases/helper.rb
fog-1.32.0 tests/rackspace/requests/databases/helper.rb
fog-1.31.0 tests/rackspace/requests/databases/helper.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/rackspace/requests/databases/helper.rb