Documentation
¶
Index ¶
Constants ¶
View Source
const (
// LogPath is the path where log files are stored.
LogPath = "/var/log/"
)
Variables ¶
View Source
var ( CNILogger = initZapLog(zapCNILogFile) IPamLogger = initZapLog(zapIpamLogFile) TelemetryLogger = initZapLog(zapTelemetryLogFile) )
Functions ¶
func InitializeMock ¶
func InitializeMock()
Types ¶
type ErrorWithoutStackTrace ¶ added in v1.6.5
type ErrorWithoutStackTrace struct {
// contains filtered or unexported fields
}
func NewErrorWithoutStackTrace ¶ added in v1.6.5
func NewErrorWithoutStackTrace(err error) *ErrorWithoutStackTrace
func (*ErrorWithoutStackTrace) Error ¶ added in v1.6.5
func (l *ErrorWithoutStackTrace) Error() string
func (*ErrorWithoutStackTrace) Format ¶ added in v1.6.5
func (l *ErrorWithoutStackTrace) Format(s fmt.State, verb rune)
func (*ErrorWithoutStackTrace) Unwrap ¶ added in v1.6.5
func (l *ErrorWithoutStackTrace) Unwrap() error
Click to show internal directories.
Click to hide internal directories.