Documentation
¶
Overview ¶
Copyright 2020 New Relic Corporation. All rights reserved. SPDX-License-Identifier: Apache-2.0
Copyright 2020 New Relic Corporation. All rights reserved. SPDX-License-Identifier: Apache-2.0
Index ¶
- Variables
- func AssertChanIsClosed(t *testing.T, ch <-chan []byte)
- func ChannelErrClosed(ch <-chan error) error
- func ChannelErrClosedTimeout(ch <-chan error, timeout time.Duration) error
- func ChannelRead(ch <-chan []byte) string
- func Command(script Script, args ...string) config.ShlexOpt
- func CommandSlice(script Script, args ...string) []string
- func GetGoEnv(env string) (string, error)
- func GoBuild(gofile Script, dstPath string) error
- func GoCommand() string
- func GoRun(gofile Script, args ...string) config.ShlexOpt
- type Script
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrChannelTimeout = errors.New("channel not closed after timeout")
Functions ¶
func AssertChanIsClosed ¶
func ChannelErrClosed ¶
if the channel has been closed without an error, it returns nil. An error otherwise
func ChannelErrClosedTimeout ¶
func ChannelRead ¶
func CommandSlice ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.