Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(testCtx *test.TestCommandContext, kustomizeCtx *KustomizeContext) *cobra.Command
Types ¶
type CliClient ¶
type CliClient interface {
RequestEvaluationPrerunData(token string, isCi bool) (*cliClient.EvaluationPrerunDataResponse, error)
}
type KustomizeCommandRunner ¶
type KustomizeCommandRunner interface { BuildCommandDescription(dir string, name string, args []string) string RunCommand(name string, args []string) (executor.CommandOutput, error) ExecuteKustomizeBin(args []string) ([]byte, error) CreateTempFile(tempFilePrefix string, content []byte) (string, error) }
type KustomizeContext ¶
type KustomizeContext struct {
CommandRunner KustomizeCommandRunner
}
Click to show internal directories.
Click to hide internal directories.