logs

package
v0.0.0-...-8a8da8d Latest Latest
Warning

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

Go to latest
Published: May 26, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogController

type LogController struct {
	KubeClient   kubernetes.Interface
	KubeciClient cs.Interface
}

func NewLogController

func NewLogController(clientConfig *rest.Config) (*LogController, error)

func (*LogController) LogReader

func (c *LogController) LogReader(query Query) (io.ReadCloser, error)

func (*LogController) WorkplanStatus

func (c *LogController) WorkplanStatus(query Query) (api.WorkplanStatus, error)

type Query

type Query struct {
	Namespace string
	Workflow  string `survey:"workflow"`
	Workplan  string `survey:"workplan"`
	Step      string `survey:"step"`
	Follow    bool
}

Jump to

Keyboard shortcuts

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