dynamic_server_manager v0.0.10 DynamicServerManager.Server behaviour
Link to this section Summary
Link to this section Types
Link to this type
info()
Link to this type
status()
status() :: [ :inactive | :starting | :running | :destroying | :destroyed | :migrating ]
Link to this section Functions
Link to this function
build_config(key, location, server, overrides \\ %{})
Link to this function
config(provider_label, location, server, overrides \\ %{})
Link to this function
create_from_snapshot(provider_label, specs)
Link to this function
destroy(provider_label, metadata)
Link to this function
filter_servers_minutes_old(servers, minutes_old)
Link to this function
get_location(key, location)
Link to this function
get_module(provider)
Link to this function
info(provider_label, metadata)
Link to this function
list_servers(provider_label, location, minutes_old \\ nil)
Link to this function
make_hostname(prefix \\ "server")
Link to this function
parse_datestring(string, format \\ "{ISO:Extended:Z}")
Link to this function
status(provider_label, metadata)
Link to this function
up(provider_label, location)
Link to this section Callbacks
Link to this callback
config(location, server, overrides)
Link to this callback
create_from_snapshot(specs)
Link to this callback
list_servers(location, minutes_old)
list_servers(location(), minutes_old()) :: server_list()