Documentation
¶
Overview ¶
Package command implements various cf CLI plugin commands for communicating with Log Cache.
Index ¶
- func Meta(ctx context.Context, cli plugin.CliConnection, args []string, c http.Client, ...)
- func Query(ctx context.Context, cli plugin.CliConnection, args []string, c http.Client, ...)
- func Tail(ctx context.Context, cli plugin.CliConnection, args []string, c http.Client, ...)
- type Logger
- type MetaOption
- type QueryOption
- type TailOption
- type Tailer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Meta ¶
func Meta( ctx context.Context, cli plugin.CliConnection, args []string, c http.Client, log Logger, tableWriter io.Writer, mopts ...MetaOption, )
Meta returns the metadata from Log Cache
Types ¶
type Logger ¶
type Logger interface { Fatalf(format string, args ...interface{}) Printf(format string, args ...interface{}) }
Logger is used for outputting log-cache results and errors
type MetaOption ¶
type MetaOption func(*optionsFlags)
func WithMetaNoHeaders ¶
func WithMetaNoHeaders() MetaOption
func WithMetaNoiseSleepDuration ¶
func WithMetaNoiseSleepDuration(d time.Duration) MetaOption
type QueryOption ¶
type QueryOption func(*queryOptions)
type TailOption ¶
type TailOption func(*tailOptions)
func WithTailNoHeaders ¶
func WithTailNoHeaders() TailOption
Click to show internal directories.
Click to hide internal directories.