Sha256: 839cb9a33295d222db74c78f4877363ec13042b7ae8dc35c6896b8255a284efb

Contents?: true

Size: 585 Bytes

Versions: 55

Compression:

Stored size: 585 Bytes

Contents

require "rubygems"
require "fog"

def test
  connection = Fog::Compute.new(:provider => "google")
  health = connection.http_health_checks.create(:name => "test-checks")
  health.wait_for { health.ready? }
  backend = connection.backend_services.create(
    :name => "backend-test",
    :health_checks => [health.self_link],
    :port => 8080,
    :timeout_sec => 40,
    :backends => [{ "group" => "resource_view self_link" }]
  )
  backend.get_health

  puts connection.backend_services.all

  backend = connection.backend_services.get("backend-test")
  backend.get_health
end

test

Version data entries

55 entries across 55 versions & 2 rubygems

Version Path
fog-google-1.24.1 examples/backend_services.rb
fog-google-1.24.0 examples/backend_services.rb
fog-google-1.23.0 examples/backend_services.rb
fog-google-1.22.0 examples/backend_services.rb
fog-google-1.21.1 examples/backend_services.rb
fog-google-1.21.0 examples/backend_services.rb
fog-google-1.20.0 examples/backend_services.rb
fog-google-1.19.0 examples/backend_services.rb
fog-google-1.18.0 examples/backend_services.rb
fog-google-1.17.0 examples/backend_services.rb
fog-google-1.16.1 examples/backend_services.rb
fog-google-1.16.0 examples/backend_services.rb
fog-google-1.15.0 examples/backend_services.rb
fog-google-1.14.0 examples/backend_services.rb
gitlab-fog-google-1.14.0 examples/backend_services.rb
fog-google-1.13.0 examples/backend_services.rb
gitlab-fog-google-1.13.0 examples/backend_services.rb
fog-google-1.12.1 examples/backend_services.rb
fog-google-1.12.0 examples/backend_services.rb
fog-google-1.11.0 examples/backend_services.rb