pipeline

package
v0.1.32145 Latest Latest
Warning

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

Go to latest
Published: May 29, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPipelineCommand

func NewPipelineCommand(config *settings.Config, preRunE validator.Validator, opts ...PipelineOption) *cobra.Command

NewPipelineCommand generates a cobra command for managing pipelines

Types

type PipelineOption

type PipelineOption interface {
	// contains filtered or unexported methods
}

PipelineOption configures a command created by NewPipelineCommand

func CustomReader

func CustomReader(r UserInputReader) PipelineOption

CustomReader returns a PipelineOption that sets a given UserInputReader to a pipeline command

type UserInputReader

type UserInputReader interface {
	ReadStringFromUser(msg string) string
	AskConfirm(msg string) bool
}

UserInputReader displays a message and reads a user input value

Jump to

Keyboard shortcuts

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