Sha256: 58c799b13ad6f3c0c828960bbc0a263796cce10bb29d1e8eab751b5f527b03d5
Contents?: true
Size: 1.24 KB
Versions: 37
Compression:
Stored size: 1.24 KB
Contents
LINKS_FORMAT = [{ 'href' => String, 'rel' => String }] 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
37 entries across 37 versions & 10 rubygems