Sha256: 30d703a4990ee42ed4b2e96b99ac94caf8d1f7952fb32734ee1d6b5679cfc2b3

Contents?: true

Size: 1.55 KB

Versions: 100

Compression:

Stored size: 1.55 KB

Contents

class Bluebox
  module BLB
    module Formats
      LB_APPLICATION = {
        'id' => String,
        'ip_v4' => String,
        'ip_v6' => String,
        'name'  => String,
        'lb_services' => Array,
        'source_ip_v4' => Fog::Nullable::String,
      }

      LB_APPLICATIONS = [LB_APPLICATION]

      LB_SERVICE = {
        'name' => String,
        'port' => Integer,
        'private' => Fog::Boolean,
        'status_username' => String,
        'status_password' => String,
        'status_url' => String,
        'service_type' => String,
        'created' => String,
        'lb_backends' => Array,
        'pem_file_uploaded?' => Fog::Nullable::Boolean,
      }

      LB_SERVICES = [LB_SERVICE]

      LB_BACKEND = {
        'id' => String,
        'backend_name' => String,
        'lb_machines' => Array,
        'acl_name' => String,
        'acl_name' => String,
        'monitoring_url_hostname' => String,
        'monitoring_url' => String,
        'monitoring_url_hostname' => String,
        'check_interval' => Integer,
        'rise' => Fog::Nullable::Integer,
        'order' => Fog::Nullable::Integer,
        'fall' => Fog::Nullable::Integer,
      }

      LB_BACKENDS = [LB_BACKEND]

      LB_MACHINE = {
        'port' => Integer,
        'id' => String,
        'ip' => String,
        'maxconn' => Integer,
        'hostname' => String,
        'created' => String,
      }

      ADD_MACHINE_TO_LB = [
        { 'text' => String },
        { 'status' => String },
      ]

      REMOVE_MACHINE_FROM_BACKEND = 'Record Removed.'
    end
  end
end

Version data entries

100 entries across 98 versions & 10 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-1.42.1/tests/bluebox/requests/blb/helper.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-1.42.1/tests/bluebox/requests/blb/helper.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-1.42.1/tests/bluebox/requests/blb/helper.rb
fog-1.42.1 tests/bluebox/requests/blb/helper.rb
fog-2.0.0 tests/bluebox/requests/blb/helper.rb
fog-1.42.0 tests/bluebox/requests/blb/helper.rb
fog-1.41.0 tests/bluebox/requests/blb/helper.rb
fog-1.40.0 tests/bluebox/requests/blb/helper.rb
fog-1.39.0 tests/bluebox/requests/blb/helper.rb
fog-1.38.0 tests/bluebox/requests/blb/helper.rb
fog-1.37.0 tests/bluebox/requests/blb/helper.rb
fog-1.36.0 tests/bluebox/requests/blb/helper.rb
fog-1.35.0 tests/bluebox/requests/blb/helper.rb
fog-2.0.0.pre.0 tests/bluebox/requests/blb/helper.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/bluebox/requests/blb/helper.rb
fog-1.34.0 tests/bluebox/requests/blb/helper.rb
fog-1.33.0 tests/bluebox/requests/blb/helper.rb
fog-1.32.0 tests/bluebox/requests/blb/helper.rb
fog-1.31.0 tests/bluebox/requests/blb/helper.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/bluebox/requests/blb/helper.rb