Documentation ¶
Index ¶
- Constants
- Variables
- func CreateLocalDir(dirName string) (string, error)
- func EnsureDirExists(p string) error
- type Builder
- func (s *Builder) Build() (string, error)
- func (s *Builder) Dir(name string) *Builder
- func (s *Builder) File(name string) (string, error)
- func (s *Builder) ListBucket(ctx context.Context) ([]os.FileInfo, error)
- func (s *Builder) SignedURL(ctx context.Context, objectKey string, duration time.Duration) (string, error)
- type Config
Constants ¶
View Source
const ConfigurationKey = "bucket"
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewConfig, NewBuilder, )
Functions ¶
func CreateLocalDir ¶
func EnsureDirExists ¶
Types ¶
type Builder ¶
func NewBuilder ¶
func (*Builder) ListBucket ¶
TODO breadchris can we use the fs interface? https://github.com/google/go-cloud/pull/3272/files
Click to show internal directories.
Click to hide internal directories.