Documentation ¶
Index ¶
- Constants
- func DownloadArtifacts(id, dir string, client client.Client)
- func NewAbortExecutionCmd() *cobra.Command
- func NewCreateScriptsCmd() *cobra.Command
- func NewDeleteAllScriptsCmd() *cobra.Command
- func NewDeleteScriptsCmd() *cobra.Command
- func NewGetExecutionCmd() *cobra.Command
- func NewGetScriptsCmd() *cobra.Command
- func NewListExecutionsCmd() *cobra.Command
- func NewListScriptsCmd() *cobra.Command
- func NewStartScriptCmd() *cobra.Command
- func NewUpdateScriptsCmd() *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 ¶
NewCreateScriptsCmd is a command tp create new scriptcustom resource
func NewDeleteAllScriptsCmd ¶ added in v0.7.21
func NewDeleteScriptsCmd ¶ added in v0.6.4
func NewGetExecutionCmd ¶
func NewGetScriptsCmd ¶ added in v0.7.3
func NewListExecutionsCmd ¶
func NewListScriptsCmd ¶
func NewStartScriptCmd ¶
func NewUpdateScriptsCmd ¶ added in v0.7.3
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.