Class: Kitsune::Kit::Adapters::Provider

Inherits:
Object
  • Object
show all
Defined in:
lib/kitsune/kit/adapters/provider.rb

Direct Known Subclasses

DigitalOceanProvider, FakeProvider

Instance Method Summary collapse

Instance Method Details

#create_server(spec:) ⇒ Object

Raises:

  • (NotImplementedError)


25
# File 'lib/kitsune/kit/adapters/provider.rb', line 25

def create_server(spec:) = raise NotImplementedError

#delete_dns_record(id:, zone:) ⇒ Object

Raises:

  • (NotImplementedError)


30
# File 'lib/kitsune/kit/adapters/provider.rb', line 30

def delete_dns_record(id:, zone:) = raise NotImplementedError

#delete_server(id:) ⇒ Object

Raises:

  • (NotImplementedError)


27
# File 'lib/kitsune/kit/adapters/provider.rb', line 27

def delete_server(id:) = raise NotImplementedError

#find_dns_record(zone:, name:, type:) ⇒ Object

Raises:

  • (NotImplementedError)


28
# File 'lib/kitsune/kit/adapters/provider.rb', line 28

def find_dns_record(zone:, name:, type:) = raise NotImplementedError

#find_server(name:, tags: []) ⇒ Object

Raises:

  • (NotImplementedError)


23
# File 'lib/kitsune/kit/adapters/provider.rb', line 23

def find_server(name:, tags: []) = raise NotImplementedError

#find_server_by_id(id:) ⇒ Object

Raises:

  • (NotImplementedError)


24
# File 'lib/kitsune/kit/adapters/provider.rb', line 24

def find_server_by_id(id:) = raise NotImplementedError

#upsert_dns_record(record:) ⇒ Object

Raises:

  • (NotImplementedError)


29
# File 'lib/kitsune/kit/adapters/provider.rb', line 29

def upsert_dns_record(record:) = raise NotImplementedError

#validate_credentials!Object

Raises:

  • (NotImplementedError)


21
# File 'lib/kitsune/kit/adapters/provider.rb', line 21

def validate_credentials! = raise NotImplementedError

#validate_server_spec!(spec:) ⇒ Object

Raises:

  • (NotImplementedError)


22
# File 'lib/kitsune/kit/adapters/provider.rb', line 22

def validate_server_spec!(spec:) = raise NotImplementedError

#wait_until_ready(id:, timeout:) ⇒ Object

Raises:

  • (NotImplementedError)


26
# File 'lib/kitsune/kit/adapters/provider.rb', line 26

def wait_until_ready(id:, timeout:) = raise NotImplementedError