Documentation ¶
Index ¶
- Constants
- func DownloadArtifacts(id, dir string, client client.Client)
- func GetClient(cmd *cobra.Command) (client.Client, string)
- func NewAbortExecutionCmd() *cobra.Command
- func NewCreateScriptsCmd() *cobra.Command
- func NewDeleteScriptsCmd() *cobra.Command
- func NewGetExecutionCmd() *cobra.Command
- func NewListExecutionsCmd() *cobra.Command
- func NewListScriptsCmd() *cobra.Command
- func NewStartScriptCmd() *cobra.Command
- func NewWatchExecutionCmd() *cobra.Command
- type ExecutionGoTemplateRenderer
- type ExecutionJSONRenderer
- type ExecutionRawRenderer
- type ExecutionRenderer
- type ExecutionsGoTemplateListRenderer
- type ExecutionsJSONListRenderer
- type ExecutionsListRenderer
- type ExecutionsRawListRenderer
Constants ¶
View Source
const ( OutputGoTemplate = "go" OutputJSON = "json" OutputRAW = "raw" )
View Source
const WatchInterval = 2 * time.Second
Variables ¶
This section is empty.
Functions ¶
func DownloadArtifacts ¶ added in v0.6.29
func NewAbortExecutionCmd ¶
func NewCreateScriptsCmd ¶
func NewDeleteScriptsCmd ¶ added in v0.6.4
func NewGetExecutionCmd ¶
func NewListExecutionsCmd ¶
func NewListScriptsCmd ¶
func NewStartScriptCmd ¶
func NewWatchExecutionCmd ¶
Types ¶
type ExecutionGoTemplateRenderer ¶ added in v0.6.4
type ExecutionGoTemplateRenderer struct {
Template string
}
type ExecutionJSONRenderer ¶ added in v0.6.4
type ExecutionJSONRenderer struct { }
type ExecutionRawRenderer ¶ added in v0.6.4
type ExecutionRawRenderer struct { }
type ExecutionRenderer ¶ added in v0.6.4
type ExecutionRenderer interface { Render(result testkube.Execution, writer io.Writer) error Watch(result testkube.Execution, writer io.Writer) error }
func GetExecutionRenderer ¶ added in v0.6.4
func GetExecutionRenderer(cmd *cobra.Command) ExecutionRenderer
type ExecutionsGoTemplateListRenderer ¶ added in v0.6.4
type ExecutionsGoTemplateListRenderer struct {
Template string
}
func (ExecutionsGoTemplateListRenderer) Render ¶ added in v0.6.4
func (r ExecutionsGoTemplateListRenderer) Render(list testkube.ExecutionsResult, writer io.Writer) error
type ExecutionsJSONListRenderer ¶ added in v0.6.4
type ExecutionsJSONListRenderer struct { }
func (ExecutionsJSONListRenderer) Render ¶ added in v0.6.4
func (r ExecutionsJSONListRenderer) Render(list testkube.ExecutionsResult, writer io.Writer) error
type ExecutionsListRenderer ¶ added in v0.6.4
type ExecutionsListRenderer interface {
Render(list testkube.ExecutionsResult, writer io.Writer) error
}
func GetExecutionsListRenderer ¶ added in v0.6.4
func GetExecutionsListRenderer(cmd *cobra.Command) ExecutionsListRenderer
type ExecutionsRawListRenderer ¶ added in v0.6.4
type ExecutionsRawListRenderer struct { }
func (ExecutionsRawListRenderer) Render ¶ added in v0.6.4
func (r ExecutionsRawListRenderer) Render(list testkube.ExecutionsResult, writer io.Writer) error
Click to show internal directories.
Click to hide internal directories.