droplet_reuse {analogsea}R Documentation

Reuse a droplet or image by name

Description

Reuse a droplet or image by name

Usage

droplet_reuse(name, ...)

Arguments

name

A name that could be a droplet or image name

...

Named options passed on to droplet_create.

Details

Internally, we call the droplets and images (with private = TRUE) to get list of your droplets and images - and we check against those.

Value

A droplet

Examples

## Not run: 
# matches droplet that exists
droplet_reuse(name = 'BeguiledAmmonia')

# matching image that exists
droplet_reuse(name = 'hadleyverse1', size = "1gb")

# no matching droplet or image
droplet_reuse(name = 'tablesandchairs')

## End(Not run)

[Package analogsea version 1.0.0 Index]