logcache

package
v0.0.0-...-1fe19bb Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(logCacheEndpoint string, config command.Config, ui command.UI, k8sConfigGetter v7action.KubernetesConfigGetter) (*logcache.Client, error)

NewClient returns back a configured Log Cache Client.

Types

type DebugPrinter

type DebugPrinter struct {
	// contains filtered or unexported fields
}

func (DebugPrinter) PrintError

func (p DebugPrinter) PrintError(err error)

func (DebugPrinter) PrintRequest

func (p DebugPrinter) PrintRequest(req *http.Request)

func (DebugPrinter) PrintResponse

func (p DebugPrinter) PrintResponse(resp *http.Response)

type RequestLoggerOutput

type RequestLoggerOutput interface {
	Start() error
	Stop() error

	DisplayType(name string, requestDate time.Time) error
	DisplayDump(dump string) error

	DisplayHost(name string) error
	DisplayRequestHeader(method string, uri string, httpProtocol string) error
	DisplayResponseHeader(httpProtocol string, status string) error
}

Jump to

Keyboard shortcuts

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