Documentation ¶
Index ¶
- Variables
- func CopyTestRepo(log fatalLogger, name string) string
- func Eq(t *testing.T, got interface{}, expected interface{})
- func ExecuteCommand(cmd *cobra.Command, cli string, stdout *bytes.Buffer, stderr *bytes.Buffer) (*test.CmdOut, error)
- func FirstLine(output []byte) string
- func InitFactory(ios *iostreams.IOStreams, rt http.RoundTripper) *cmdutils.Factory
- func InitIOStreams(isTTY bool, doHyperlinks string) (*iostreams.IOStreams, *bytes.Buffer, *bytes.Buffer, *bytes.Buffer)
- func InitTest(m *testing.M, suffix string)
- func RunCommand(cmd *cobra.Command, cli string, stds ...*bytes.Buffer) (*test.CmdOut, error)
- func StubFactory(repo string) *cmdutils.Factory
- func StubFactoryWithConfig(repo string) (*cmdutils.Factory, error)
- type Author
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GlabBinaryPath string CachedTestFactory *cmdutils.Factory )
Functions ¶
func CopyTestRepo ¶
func ExecuteCommand ¶ added in v1.25.0
func InitFactory ¶ added in v1.25.0
func InitIOStreams ¶ added in v1.25.0
func RunCommand ¶
func StubFactory ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.