cbdeploy

package module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultErrorHandler

type DefaultErrorHandler struct{}

type DefaultLogger

type DefaultLogger struct{}

func (DefaultLogger) ErrorF

func (d DefaultLogger) ErrorF(category string, message string, args ...interface{})

func (DefaultLogger) InfoF

func (d DefaultLogger) InfoF(category string, message string, args ...interface{})

type Downloader

type Downloader interface {
	Download(bucket string, name string) ([]byte, error)
}

type ErrorHandler

type ErrorHandler interface {
	Error(e error)
}

type Logger

type Logger interface {
	InfoF(category string, message string, args ...interface{})
	ErrorF(category string, message string, args ...interface{})
}

type Uploader

type Uploader interface {
	UploadBytes(bucket string, name string, data []byte, public bool) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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