compute

package
v0.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReplaceRootVolume

func ReplaceRootVolume(r ReplaceRootVolumeRequest) (*string, error)

This function will replace the root volume for a running ec2 instance and will delete the replaced volume If wait flag is true on request the funcion will wait until the replace task succeed otherwise it will trigger the task and return the id to reference it

Types

type ReplaceRootVolumeRequest

type ReplaceRootVolumeRequest struct {
	Region     string
	InstanceID string
	AMIID      string
	Wait       bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL