executors

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OutputGoTemplate = "go"
	OutputJSON       = "json"
	OutputRAW        = "raw"
)

Variables

This section is empty.

Functions

func NewCreateExecutorCmd

func NewCreateExecutorCmd() *cobra.Command

func NewDeleteExecutorCmd

func NewDeleteExecutorCmd() *cobra.Command

func NewGetExecutorCmd

func NewGetExecutorCmd() *cobra.Command

func NewListExecutorCmd

func NewListExecutorCmd() *cobra.Command

Types

type ExecutorGoTemplateListRenderer

type ExecutorGoTemplateListRenderer struct {
	Template string
}

func (ExecutorGoTemplateListRenderer) Render

type ExecutorGoTemplateRenderer

type ExecutorGoTemplateRenderer struct {
	Template string
}

func (ExecutorGoTemplateRenderer) Render

type ExecutorJSONListRenderer

type ExecutorJSONListRenderer struct {
}

func (ExecutorJSONListRenderer) Render

type ExecutorJSONRenderer

type ExecutorJSONRenderer struct {
}

func (ExecutorJSONRenderer) Render

func (r ExecutorJSONRenderer) Render(result testkube.ExecutorDetails, writer io.Writer) error

type ExecutorListRenderer

type ExecutorListRenderer interface {
	Render(list testkube.ExecutorsDetails, writer io.Writer) error
}

func GetExecutorListRenderer

func GetExecutorListRenderer(cmd *cobra.Command) ExecutorListRenderer

type ExecutorRawListRenderer

type ExecutorRawListRenderer struct {
}

func (ExecutorRawListRenderer) Render

type ExecutorRawRenderer

type ExecutorRawRenderer struct {
}

func (ExecutorRawRenderer) Render

func (r ExecutorRawRenderer) Render(executor testkube.ExecutorDetails, writer io.Writer) error

type ExecutorRenderer

type ExecutorRenderer interface {
	Render(result testkube.ExecutorDetails, writer io.Writer) error
}

func GetExecutorRenderer

func GetExecutorRenderer(cmd *cobra.Command) ExecutorRenderer

Jump to

Keyboard shortcuts

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