Documentation
¶
Index ¶
- func CreateCertificate(basePath, filename string) string
- func CreateToken(basePath, filename string) string
- func RandomString(length int) string
- func RandomStringWithCharset(length int, charset string) string
- type TestLogger
- func (TestLogger) Enabled() bool
- func (log TestLogger) Error(err error, msg string, args ...interface{})
- func (TestLogger) Info(msg string, args ...interface{})
- func (log TestLogger) V(level int) logr.InfoLogger
- func (log TestLogger) WithName(_ string) logr.Logger
- func (log TestLogger) WithValues(_ ...interface{}) logr.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCertificate ¶ added in v0.9.2
func CreateToken ¶ added in v0.9.2
func RandomString ¶
func RandomStringWithCharset ¶
Types ¶
type TestLogger ¶
type TestLogger struct{}
TestLogger is a logr.Logger that only prints the main msg.
func (TestLogger) Enabled ¶
func (TestLogger) Enabled() bool
func (TestLogger) Error ¶
func (log TestLogger) Error(err error, msg string, args ...interface{})
func (TestLogger) Info ¶
func (TestLogger) Info(msg string, args ...interface{})
func (TestLogger) V ¶
func (log TestLogger) V(level int) logr.InfoLogger
func (TestLogger) WithValues ¶
func (log TestLogger) WithValues(_ ...interface{}) logr.Logger
Click to show internal directories.
Click to hide internal directories.