util_test

package
v1.3.650 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commander_CurrentArgs_OngoingVerification

type Commander_CurrentArgs_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*Commander_CurrentArgs_OngoingVerification) GetAllCapturedArguments

func (c *Commander_CurrentArgs_OngoingVerification) GetAllCapturedArguments()

func (*Commander_CurrentArgs_OngoingVerification) GetCapturedArguments

func (c *Commander_CurrentArgs_OngoingVerification) GetCapturedArguments()

type Commander_CurrentDir_OngoingVerification

type Commander_CurrentDir_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*Commander_CurrentDir_OngoingVerification) GetAllCapturedArguments

func (c *Commander_CurrentDir_OngoingVerification) GetAllCapturedArguments()

func (*Commander_CurrentDir_OngoingVerification) GetCapturedArguments

func (c *Commander_CurrentDir_OngoingVerification) GetCapturedArguments()

type Commander_CurrentEnv_OngoingVerification

type Commander_CurrentEnv_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*Commander_CurrentEnv_OngoingVerification) GetAllCapturedArguments

func (c *Commander_CurrentEnv_OngoingVerification) GetAllCapturedArguments()

func (*Commander_CurrentEnv_OngoingVerification) GetCapturedArguments

func (c *Commander_CurrentEnv_OngoingVerification) GetCapturedArguments()

type Commander_CurrentName_OngoingVerification

type Commander_CurrentName_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*Commander_CurrentName_OngoingVerification) GetAllCapturedArguments

func (c *Commander_CurrentName_OngoingVerification) GetAllCapturedArguments()

func (*Commander_CurrentName_OngoingVerification) GetCapturedArguments

func (c *Commander_CurrentName_OngoingVerification) GetCapturedArguments()

type Commander_DidError_OngoingVerification

type Commander_DidError_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*Commander_DidError_OngoingVerification) GetAllCapturedArguments

func (c *Commander_DidError_OngoingVerification) GetAllCapturedArguments()

func (*Commander_DidError_OngoingVerification) GetCapturedArguments

func (c *Commander_DidError_OngoingVerification) GetCapturedArguments()

type Commander_DidFail_OngoingVerification

type Commander_DidFail_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*Commander_DidFail_OngoingVerification) GetAllCapturedArguments

func (c *Commander_DidFail_OngoingVerification) GetAllCapturedArguments()

func (*Commander_DidFail_OngoingVerification) GetCapturedArguments

func (c *Commander_DidFail_OngoingVerification) GetCapturedArguments()

type Commander_Error_OngoingVerification

type Commander_Error_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*Commander_Error_OngoingVerification) GetAllCapturedArguments

func (c *Commander_Error_OngoingVerification) GetAllCapturedArguments()

func (*Commander_Error_OngoingVerification) GetCapturedArguments

func (c *Commander_Error_OngoingVerification) GetCapturedArguments()

type Commander_RunWithoutRetry_OngoingVerification

type Commander_RunWithoutRetry_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*Commander_RunWithoutRetry_OngoingVerification) GetAllCapturedArguments

func (c *Commander_RunWithoutRetry_OngoingVerification) GetAllCapturedArguments()

func (*Commander_RunWithoutRetry_OngoingVerification) GetCapturedArguments

func (c *Commander_RunWithoutRetry_OngoingVerification) GetCapturedArguments()

type Commander_Run_OngoingVerification

type Commander_Run_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*Commander_Run_OngoingVerification) GetAllCapturedArguments

func (c *Commander_Run_OngoingVerification) GetAllCapturedArguments()

func (*Commander_Run_OngoingVerification) GetCapturedArguments

func (c *Commander_Run_OngoingVerification) GetCapturedArguments()

type Commander_SetArgs_OngoingVerification

type Commander_SetArgs_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*Commander_SetArgs_OngoingVerification) GetAllCapturedArguments

func (c *Commander_SetArgs_OngoingVerification) GetAllCapturedArguments() (_param0 [][]string)

func (*Commander_SetArgs_OngoingVerification) GetCapturedArguments

func (c *Commander_SetArgs_OngoingVerification) GetCapturedArguments() []string

type Commander_SetDir_OngoingVerification

type Commander_SetDir_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*Commander_SetDir_OngoingVerification) GetAllCapturedArguments

func (c *Commander_SetDir_OngoingVerification) GetAllCapturedArguments() (_param0 []string)

func (*Commander_SetDir_OngoingVerification) GetCapturedArguments

func (c *Commander_SetDir_OngoingVerification) GetCapturedArguments() string

type Commander_SetEnvVariable_OngoingVerification

type Commander_SetEnvVariable_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*Commander_SetEnvVariable_OngoingVerification) GetAllCapturedArguments

func (c *Commander_SetEnvVariable_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string)

func (*Commander_SetEnvVariable_OngoingVerification) GetCapturedArguments

func (c *Commander_SetEnvVariable_OngoingVerification) GetCapturedArguments() (string, string)

type Commander_SetEnv_OngoingVerification

type Commander_SetEnv_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*Commander_SetEnv_OngoingVerification) GetAllCapturedArguments

func (c *Commander_SetEnv_OngoingVerification) GetAllCapturedArguments() (_param0 []map[string]string)

func (*Commander_SetEnv_OngoingVerification) GetCapturedArguments

func (c *Commander_SetEnv_OngoingVerification) GetCapturedArguments() map[string]string

type Commander_SetExponentialBackOff_OngoingVerification

type Commander_SetExponentialBackOff_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*Commander_SetExponentialBackOff_OngoingVerification) GetAllCapturedArguments

func (c *Commander_SetExponentialBackOff_OngoingVerification) GetAllCapturedArguments() (_param0 []*backoff.ExponentialBackOff)

func (*Commander_SetExponentialBackOff_OngoingVerification) GetCapturedArguments

type Commander_SetName_OngoingVerification

type Commander_SetName_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*Commander_SetName_OngoingVerification) GetAllCapturedArguments

func (c *Commander_SetName_OngoingVerification) GetAllCapturedArguments() (_param0 []string)

func (*Commander_SetName_OngoingVerification) GetCapturedArguments

func (c *Commander_SetName_OngoingVerification) GetCapturedArguments() string

type Commander_SetTimeout_OngoingVerification

type Commander_SetTimeout_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*Commander_SetTimeout_OngoingVerification) GetAllCapturedArguments

func (c *Commander_SetTimeout_OngoingVerification) GetAllCapturedArguments() (_param0 []time.Duration)

func (*Commander_SetTimeout_OngoingVerification) GetCapturedArguments

func (c *Commander_SetTimeout_OngoingVerification) GetCapturedArguments() time.Duration

type MockCommander

type MockCommander struct {
	// contains filtered or unexported fields
}

func NewMockCommander

func NewMockCommander() *MockCommander

func (*MockCommander) CurrentArgs

func (mock *MockCommander) CurrentArgs() []string

func (*MockCommander) CurrentDir

func (mock *MockCommander) CurrentDir() string

func (*MockCommander) CurrentEnv

func (mock *MockCommander) CurrentEnv() map[string]string

func (*MockCommander) CurrentName

func (mock *MockCommander) CurrentName() string

func (*MockCommander) DidError

func (mock *MockCommander) DidError() bool

func (*MockCommander) DidFail

func (mock *MockCommander) DidFail() bool

func (*MockCommander) Error

func (mock *MockCommander) Error() error

func (*MockCommander) Run

func (mock *MockCommander) Run() (string, error)

func (*MockCommander) RunWithoutRetry

func (mock *MockCommander) RunWithoutRetry() (string, error)

func (*MockCommander) SetArgs

func (mock *MockCommander) SetArgs(_param0 []string)

func (*MockCommander) SetDir

func (mock *MockCommander) SetDir(_param0 string)

func (*MockCommander) SetEnv

func (mock *MockCommander) SetEnv(_param0 map[string]string)

func (*MockCommander) SetEnvVariable

func (mock *MockCommander) SetEnvVariable(_param0 string, _param1 string)

func (*MockCommander) SetExponentialBackOff

func (mock *MockCommander) SetExponentialBackOff(_param0 *backoff.ExponentialBackOff)

func (*MockCommander) SetName

func (mock *MockCommander) SetName(_param0 string)

func (*MockCommander) SetTimeout

func (mock *MockCommander) SetTimeout(_param0 time.Duration)

func (*MockCommander) VerifyWasCalled

func (mock *MockCommander) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierCommander

func (*MockCommander) VerifyWasCalledInOrder

func (mock *MockCommander) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierCommander

func (*MockCommander) VerifyWasCalledOnce

func (mock *MockCommander) VerifyWasCalledOnce() *VerifierCommander

type VerifierCommander

type VerifierCommander struct {
	// contains filtered or unexported fields
}

func (*VerifierCommander) CurrentArgs

func (*VerifierCommander) CurrentDir

func (*VerifierCommander) CurrentEnv

func (*VerifierCommander) CurrentName

func (*VerifierCommander) DidError

func (*VerifierCommander) DidFail

func (*VerifierCommander) Error

func (*VerifierCommander) Run

func (*VerifierCommander) RunWithoutRetry

func (*VerifierCommander) SetArgs

func (verifier *VerifierCommander) SetArgs(_param0 []string) *Commander_SetArgs_OngoingVerification

func (*VerifierCommander) SetDir

func (*VerifierCommander) SetEnv

func (*VerifierCommander) SetEnvVariable

func (verifier *VerifierCommander) SetEnvVariable(_param0 string, _param1 string) *Commander_SetEnvVariable_OngoingVerification

func (*VerifierCommander) SetExponentialBackOff

func (*VerifierCommander) SetName

func (*VerifierCommander) SetTimeout

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL