leftovers: github.com/genevievelesperance/leftovers/nsxt Index | Files | Directories

package nsxt

import "github.com/genevievelesperance/leftovers/nsxt"

Index

Package Files

leftovers.go

type Leftovers Uses

type Leftovers struct {
    // contains filtered or unexported fields
}

func NewLeftovers Uses

func NewLeftovers(logger logger, managerHost, user, password string) (Leftovers, error)

func (Leftovers) Delete Uses

func (l Leftovers) Delete(filter string) error

Delete will collect all resources that contain the provided filter in the resource's identifier, prompt you to confirm deletion (if enabled), and delete those that are selected.

func (Leftovers) DeleteByType Uses

func (l Leftovers) DeleteByType(filter, rType string) error

DeleteByType will collect all resources of the provied type that contain the provided filter in the resource's identifier, prompt you to confirm deletion (if enabled), and delete those that are selected.

func (Leftovers) List Uses

func (l Leftovers) List(filter string)

List will print all the resources that contain the provided filter in the resource's identifier.

func (Leftovers) ListByType Uses

func (l Leftovers) ListByType(filter, rType string)

ListByType defaults to List.

func (Leftovers) Types Uses

func (l Leftovers) Types()

Types will print all the resource types that can be deleted on this IaaS.

Directories

PathSynopsis
groupingobjects
groupingobjects/fakes
logicalrouting
logicalrouting/fakes

Package nsxt imports 8 packages (graph). Updated 2019-11-13. Refresh now. Tools for package owners.