Documentation
¶
Index ¶
- Constants
- Variables
- type Bosh
- type Config
- type FileReporter
- type Logger
- func (l *Logger) Debug(tag, msg string, args ...interface{})
- func (l *Logger) DebugWithDetails(tag, msg string, args ...interface{})
- func (l *Logger) Error(tag, msg string, args ...interface{})
- func (l *Logger) ErrorWithDetails(tag, msg string, args ...interface{})
- func (l *Logger) Flush() error
- func (l *Logger) FlushTimeout(time.Duration) error
- func (l *Logger) HandlePanic(tag string)
- func (l *Logger) Info(tag, msg string, args ...interface{})
- func (l *Logger) ToggleForcedDebug()
- func (l *Logger) Warn(tag, msg string, args ...interface{})
- type ReadCloserProxy
- type TaskReporter
- type VMProgress
Constants ¶
View Source
const ( UploadingReleases = "uploading-releases" Deploying = "deploying" RunningErrand = "running-errand" )
Variables ¶
View Source
var VMProgressInterval = 1 * time.Second
Functions ¶
This section is empty.
Types ¶
type Bosh ¶
type Bosh struct {
// contains filtered or unexported fields
}
func NewWithDirector ¶
func (*Bosh) GetVMProgress ¶
func (*Bosh) VMProgress ¶
func (b *Bosh) VMProgress(deploymentName string) chan VMProgress
type FileReporter ¶
type FileReporter struct{}
func (*FileReporter) TrackDownload ¶
func (*FileReporter) TrackUpload ¶
func (f *FileReporter) TrackUpload(_ int64, r io.ReadCloser) ui.ReadSeekCloser
type Logger ¶
type Logger struct{}
func (*Logger) DebugWithDetails ¶
func (*Logger) ErrorWithDetails ¶
func (*Logger) HandlePanic ¶
func (*Logger) ToggleForcedDebug ¶
func (l *Logger) ToggleForcedDebug()
type ReadCloserProxy ¶
type ReadCloserProxy struct {
// contains filtered or unexported fields
}
func (*ReadCloserProxy) Close ¶
func (p *ReadCloserProxy) Close() error
type TaskReporter ¶
type TaskReporter struct{}
func (*TaskReporter) TaskFinished ¶
func (t *TaskReporter) TaskFinished(int, string)
func (*TaskReporter) TaskOutputChunk ¶
func (t *TaskReporter) TaskOutputChunk(int, []byte)
func (*TaskReporter) TaskStarted ¶
func (t *TaskReporter) TaskStarted(int)
Click to show internal directories.
Click to hide internal directories.