Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvForTest ¶
type EnvForTest struct {
// contains filtered or unexported fields
}
EnvForTest manages the plugin test environment. It sets/resets XDG_CONFIG_HOME, makes/removes a temp objRoot.
func NewEnvForTest ¶
func NewEnvForTest(t *testing.T) *EnvForTest
func (*EnvForTest) BuildExecPlugin ¶
func (x *EnvForTest) BuildExecPlugin(g, v, k string)
func (*EnvForTest) BuildGoPlugin ¶
func (x *EnvForTest) BuildGoPlugin(g, v, k string)
func (*EnvForTest) Reset ¶
func (x *EnvForTest) Reset()
func (*EnvForTest) Set ¶
func (x *EnvForTest) Set() *EnvForTest
Click to show internal directories.
Click to hide internal directories.