Documentation ¶
Index ¶
- Constants
- func CreateBucket(minioClient *minio.Client, bucketName string) error
- type CliLogger
- func (l *CliLogger) Actionf(format string, a ...interface{})
- func (l *CliLogger) Failuref(format string, a ...interface{})
- func (l *CliLogger) Generatef(format string, a ...interface{})
- func (l *CliLogger) L() logr.Logger
- func (l *CliLogger) Println(format string, a ...interface{})
- func (l *CliLogger) Successf(format string, a ...interface{})
- func (l *CliLogger) Waitingf(format string, a ...interface{})
- func (l *CliLogger) Warningf(format string, a ...interface{})
- type Logger
- type S3LogWriter
- func (l *S3LogWriter) Actionf(format string, a ...interface{})
- func (l *S3LogWriter) Failuref(format string, a ...interface{})
- func (l *S3LogWriter) Generatef(format string, a ...interface{})
- func (l *S3LogWriter) L() logr.Logger
- func (l *S3LogWriter) Println(format string, a ...interface{})
- func (l *S3LogWriter) Successf(format string, a ...interface{})
- func (l *S3LogWriter) Waitingf(format string, a ...interface{})
- func (l *S3LogWriter) Warningf(format string, a ...interface{})
Constants ¶
View Source
const PodLogBucketName = "pod-logs"
View Source
const SessionLogBucketName = "gitops-run-logs"
View Source
const SessionLogSource = "gitops-run-client"
Variables ¶
This section is empty.
Functions ¶
func CreateBucket ¶ added in v0.16.0
Types ¶
type CliLogger ¶ added in v0.11.0
type Logger ¶
type Logger interface { Println(format string, a ...interface{}) Actionf(format string, a ...interface{}) Failuref(format string, a ...interface{}) Generatef(format string, a ...interface{}) Successf(format string, a ...interface{}) Waitingf(format string, a ...interface{}) Warningf(format string, a ...interface{}) L() logr.Logger }
func NewCLILogger ¶ added in v0.2.3
NewCLILogger returns a wrapped logr that logs to the specified writer Note: unless you're doing CLI work, you should use core/logger.New instead
type S3LogWriter ¶ added in v0.11.0
type S3LogWriter struct {
// contains filtered or unexported fields
}
func (*S3LogWriter) Actionf ¶ added in v0.11.0
func (l *S3LogWriter) Actionf(format string, a ...interface{})
func (*S3LogWriter) Failuref ¶ added in v0.11.0
func (l *S3LogWriter) Failuref(format string, a ...interface{})
func (*S3LogWriter) Generatef ¶ added in v0.11.0
func (l *S3LogWriter) Generatef(format string, a ...interface{})
func (*S3LogWriter) L ¶ added in v0.11.0
func (l *S3LogWriter) L() logr.Logger
func (*S3LogWriter) Println ¶ added in v0.11.0
func (l *S3LogWriter) Println(format string, a ...interface{})
func (*S3LogWriter) Successf ¶ added in v0.11.0
func (l *S3LogWriter) Successf(format string, a ...interface{})
func (*S3LogWriter) Waitingf ¶ added in v0.11.0
func (l *S3LogWriter) Waitingf(format string, a ...interface{})
func (*S3LogWriter) Warningf ¶ added in v0.11.0
func (l *S3LogWriter) Warningf(format string, a ...interface{})
Click to show internal directories.
Click to hide internal directories.