We should add an internal logger package similar to go-login. Sometimes we need detailed debugging information and we need a generic way to provide this.
// A Logger represents an active logging object that generates
// lines of output to an io.Writer.
type Logger interface {
Debug(args ...interface{})
Debugf(format string, args ...interface{})
Debugln(args ...interface{})
Error(args ...interface{})
Errorf(format string, args ...interface{})
Errorln(args ...interface{})
Info(args ...interface{})
Infof(format string, args ...interface{})
Infoln(args ...interface{})
Warn(args ...interface{})
Warnf(format string, args ...interface{})
Warnln(args ...interface{})
}
Once enabled we should provide debug logging for Docker and Kubernetes, specifically we need to start with the Docker pull process to verify whether credentials are being properly passed to the Docker daemon when cloning.
We should add an internal logger package similar to go-login. Sometimes we need detailed debugging information and we need a generic way to provide this.
Once enabled we should provide debug logging for Docker and Kubernetes, specifically we need to start with the Docker pull process to verify whether credentials are being properly passed to the Docker daemon when cloning.