Documentation ¶
Index ¶
- Constants
- func NewCreateExecutorCmd() *cobra.Command
- func NewDeleteExecutorCmd() *cobra.Command
- func NewGetExecutorCmd() *cobra.Command
- func NewListExecutorCmd() *cobra.Command
- type ExecutorGoTemplateListRenderer
- type ExecutorGoTemplateRenderer
- type ExecutorJSONListRenderer
- type ExecutorJSONRenderer
- type ExecutorListRenderer
- type ExecutorRawListRenderer
- type ExecutorRawRenderer
- type ExecutorRenderer
Constants ¶
View Source
const ( OutputGoTemplate = "go" OutputJSON = "json" OutputRAW = "raw" )
Variables ¶
This section is empty.
Functions ¶
func NewCreateExecutorCmd ¶
func NewDeleteExecutorCmd ¶
func NewGetExecutorCmd ¶
func NewListExecutorCmd ¶
Types ¶
type ExecutorGoTemplateListRenderer ¶
type ExecutorGoTemplateListRenderer struct {
Template string
}
func (ExecutorGoTemplateListRenderer) Render ¶
func (r ExecutorGoTemplateListRenderer) Render(list testkube.ExecutorsDetails, writer io.Writer) error
type ExecutorGoTemplateRenderer ¶
type ExecutorGoTemplateRenderer struct {
Template string
}
func (ExecutorGoTemplateRenderer) Render ¶
func (r ExecutorGoTemplateRenderer) Render(result testkube.ExecutorDetails, writer io.Writer) error
type ExecutorJSONListRenderer ¶
type ExecutorJSONListRenderer struct { }
func (ExecutorJSONListRenderer) Render ¶
func (r ExecutorJSONListRenderer) Render(list testkube.ExecutorsDetails, writer io.Writer) error
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 ¶
func (r ExecutorRawListRenderer) Render(list testkube.ExecutorsDetails, writer io.Writer) error
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
Click to show internal directories.
Click to hide internal directories.