aws

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterUninstaller

type ClusterUninstaller struct {

	// Filters is a slice of filters for matching resources.  A
	// resources matches the whole slice if it matches any of the
	// entries.  For example:
	//
	//   filter := []map[string]string{
	//     {
	//       "a": "b",
	//       "c": "d:,
	//     },
	//     {
	//       "d": "e",
	//     },
	//   }
	//
	// will match resources with (a:b and c:d) or d:e.
	Filters     []Filter // filter(s) we will be searching for
	Logger      log.FieldLogger
	LogLevel    string
	Region      string
	ClusterName string
}

ClusterUninstaller holds the various options for the cluster we want to delete

func (*ClusterUninstaller) Run

func (o *ClusterUninstaller) Run() error

Run is the entrypoint to start the uninstall process

type Filter

type Filter map[string]string

Filter holds the key/value pairs for the tags we will be matching against.

A resource matches the filter if all of the key/value pairs are in its tags.

Jump to

Keyboard shortcuts

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