droplet_reuse: Reuse a droplet or image by name

Description Usage Arguments Details Value Examples

View source: R/droplet_reuse.R

Description

Reuse a droplet or image by name

Usage

1

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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)

analogsea documentation built on June 2, 2021, 1:07 a.m.