cmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2019 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs the command.

Types

type PodLogger

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

PodLogger implements PodInterface

func (*PodLogger) StartStream

func (p *PodLogger) StartStream()

StartStream starts collection of Pod Logs

type PodLogs

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

PodLogs contains logs from a pod.

type RegexList

type RegexList struct {
	Type RegexType
	List []string
}

RegexList implements RegexMaker.

func (*RegexList) GetRegex

func (r *RegexList) GetRegex() *regexp.Regexp

GetRegex takes a list of strings and returns a regular expression.

type RegexMaker

type RegexMaker interface {
	GetRegex() *regexp.Regexp
}

RegexMaker here.

type RegexType

type RegexType int

RegexType defines a Regex Type.

const (
	Black RegexType = 1
	White RegexType = 2
)

Regex Types:

Jump to

Keyboard shortcuts

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