Documentation ¶
Index ¶
- Constants
- func Hash(s string) (string, error)
- func NewLagerLogr(logger lager.Logger) logr.Logger
- func ParseAppIndex(podName string) (int, error)
- func ParseImageRegistryHost(imageURL string) string
- type LagerLogr
- func (l LagerLogr) Enabled(level int) bool
- func (l LagerLogr) Error(err error, msg string, kvs ...interface{})
- func (l LagerLogr) Info(level int, msg string, kvs ...interface{})
- func (l LagerLogr) Init(_ logr.RuntimeInfo)
- func (l LagerLogr) WithName(name string) logr.LogSink
- func (l LagerLogr) WithValues(kvs ...interface{}) logr.LogSink
Constants ¶
View Source
const DockerHubHost = "index.docker.io/v1/"
View Source
const MaxHashLength = 10
Variables ¶
This section is empty.
Functions ¶
func ParseAppIndex ¶
func ParseImageRegistryHost ¶
Types ¶
type LagerLogr ¶
type LagerLogr struct {
// contains filtered or unexported fields
}
LagerLogr is a logr (https://github.com/go-logr/logr) implementation over lager.Logger
func (LagerLogr) Init ¶ added in v0.3.0
func (l LagerLogr) Init(_ logr.RuntimeInfo)
func (LagerLogr) WithValues ¶
Click to show internal directories.
Click to hide internal directories.