logs

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package logs contains shared utility methods for logging.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogFilter

type LogFilter struct{}

LogFilter implements the klog LogFilter interface, to filter log messages in the liqoctl install command.

func (LogFilter) Filter

func (l LogFilter) Filter(args []interface{}) []interface{}

Filter filters the helm CRDs installation errors.

func (LogFilter) FilterF

func (l LogFilter) FilterF(format string, args []interface{}) (f string, a []interface{})

FilterF does nothing (i.e, only passes through the arguments), as not used in this context.

func (LogFilter) FilterS

func (l LogFilter) FilterS(msg string, keysAndValues []interface{}) (m string, a []interface{})

FilterS does nothing (i.e, only passes through the arguments), as not used in this context.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL