leftovers: github.com/genevievelesperance/leftovers/gcp/sql Index | Files | Directories

package sql

import "github.com/genevievelesperance/leftovers/gcp/sql"

Index

Package Files

client.go instance.go instances.go logger.go operation_waiter.go

func NewClient Uses

func NewClient(project string, service *gcpsql.Service, logger logger) client

func NewOperationWaiter Uses

func NewOperationWaiter(op *gcpsql.Operation, service *gcpsql.Service, project string, logger logger) operationWaiter

type Instance Uses

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

func NewInstance Uses

func NewInstance(client instancesClient, name string) Instance

func (Instance) Delete Uses

func (i Instance) Delete() error

func (Instance) Name Uses

func (i Instance) Name() string

func (Instance) Type Uses

func (i Instance) Type() string

type Instances Uses

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

func NewInstances Uses

func NewInstances(client instancesClient, logger logger) Instances

func (Instances) List Uses

func (i Instances) List(filter string) ([]common.Deletable, error)

func (Instances) Type Uses

func (i Instances) Type() string

Directories

PathSynopsis
fakes

Package sql imports 6 packages (graph). Updated 2019-11-02. Refresh now. Tools for package owners.