Documentation ¶
Index ¶
- func CreateTemplateVersionSource(t *testing.T, responses *echo.Responses) string
- func New(t *testing.T, args ...string) (*cobra.Command, config.Root)
- func NewWithSubcommands(t *testing.T, subcommands []*cobra.Command, args ...string) (*cobra.Command, config.Root)
- func SetupConfig(t *testing.T, client *codersdk.Client, root config.Root)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTemplateVersionSource ¶ added in v0.4.0
CreateTemplateVersionSource writes the echo provisioner responses into a new temporary testing directory.
func New ¶
New creates a CLI instance with a configuration pointed to a temporary testing directory.
func NewWithSubcommands ¶ added in v0.8.7
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.