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

package storage

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

Index

Package Files

bucket.go buckets.go client.go logger.go

func NewClient Uses

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

type Bucket Uses

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

func NewBucket Uses

func NewBucket(client bucketsClient, name string) Bucket

func (Bucket) Delete Uses

func (b Bucket) Delete() error

func (Bucket) Name Uses

func (b Bucket) Name() string

func (Bucket) Type Uses

func (b Bucket) Type() string

type Buckets Uses

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

func NewBuckets Uses

func NewBuckets(client bucketsClient, logger logger) Buckets

func (Buckets) List Uses

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

func (Buckets) Type Uses

func (b Buckets) Type() string

Directories

PathSynopsis
fakes

Package storage imports 4 packages (graph). Updated 2019-11-05. Refresh now. Tools for package owners.