Documentation ¶
Index ¶
- type Commander_CurrentArgs_OngoingVerification
- type Commander_CurrentDir_OngoingVerification
- type Commander_CurrentEnv_OngoingVerification
- type Commander_CurrentName_OngoingVerification
- type Commander_DidError_OngoingVerification
- type Commander_DidFail_OngoingVerification
- type Commander_Error_OngoingVerification
- type Commander_RunWithoutRetry_OngoingVerification
- type Commander_Run_OngoingVerification
- type Commander_SetArgs_OngoingVerification
- type Commander_SetDir_OngoingVerification
- type Commander_SetEnvVariable_OngoingVerification
- type Commander_SetEnv_OngoingVerification
- type Commander_SetExponentialBackOff_OngoingVerification
- type Commander_SetName_OngoingVerification
- type Commander_SetTimeout_OngoingVerification
- type MockCommander
- func (mock *MockCommander) CurrentArgs() []string
- func (mock *MockCommander) CurrentDir() string
- func (mock *MockCommander) CurrentEnv() map[string]string
- func (mock *MockCommander) CurrentName() string
- func (mock *MockCommander) DidError() bool
- func (mock *MockCommander) DidFail() bool
- func (mock *MockCommander) Error() error
- func (mock *MockCommander) Run() (string, error)
- func (mock *MockCommander) RunWithoutRetry() (string, error)
- func (mock *MockCommander) SetArgs(_param0 []string)
- func (mock *MockCommander) SetDir(_param0 string)
- func (mock *MockCommander) SetEnv(_param0 map[string]string)
- func (mock *MockCommander) SetEnvVariable(_param0 string, _param1 string)
- func (mock *MockCommander) SetExponentialBackOff(_param0 *backoff.ExponentialBackOff)
- func (mock *MockCommander) SetName(_param0 string)
- func (mock *MockCommander) SetTimeout(_param0 time.Duration)
- func (mock *MockCommander) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierCommander
- func (mock *MockCommander) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierCommander
- func (mock *MockCommander) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierCommander
- func (mock *MockCommander) VerifyWasCalledOnce() *VerifierCommander
- type VerifierCommander
- func (verifier *VerifierCommander) CurrentArgs() *Commander_CurrentArgs_OngoingVerification
- func (verifier *VerifierCommander) CurrentDir() *Commander_CurrentDir_OngoingVerification
- func (verifier *VerifierCommander) CurrentEnv() *Commander_CurrentEnv_OngoingVerification
- func (verifier *VerifierCommander) CurrentName() *Commander_CurrentName_OngoingVerification
- func (verifier *VerifierCommander) DidError() *Commander_DidError_OngoingVerification
- func (verifier *VerifierCommander) DidFail() *Commander_DidFail_OngoingVerification
- func (verifier *VerifierCommander) Error() *Commander_Error_OngoingVerification
- func (verifier *VerifierCommander) Run() *Commander_Run_OngoingVerification
- func (verifier *VerifierCommander) RunWithoutRetry() *Commander_RunWithoutRetry_OngoingVerification
- func (verifier *VerifierCommander) SetArgs(_param0 []string) *Commander_SetArgs_OngoingVerification
- func (verifier *VerifierCommander) SetDir(_param0 string) *Commander_SetDir_OngoingVerification
- func (verifier *VerifierCommander) SetEnv(_param0 map[string]string) *Commander_SetEnv_OngoingVerification
- func (verifier *VerifierCommander) SetEnvVariable(_param0 string, _param1 string) *Commander_SetEnvVariable_OngoingVerification
- func (verifier *VerifierCommander) SetExponentialBackOff(_param0 *backoff.ExponentialBackOff) *Commander_SetExponentialBackOff_OngoingVerification
- func (verifier *VerifierCommander) SetName(_param0 string) *Commander_SetName_OngoingVerification
- func (verifier *VerifierCommander) SetTimeout(_param0 time.Duration) *Commander_SetTimeout_OngoingVerification
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 ¶
func (c *Commander_SetExponentialBackOff_OngoingVerification) GetCapturedArguments() *backoff.ExponentialBackOff
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) VerifyWasCalledEventually ¶ added in v1.3.818
func (mock *MockCommander) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *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 (verifier *VerifierCommander) CurrentArgs() *Commander_CurrentArgs_OngoingVerification
func (*VerifierCommander) CurrentDir ¶
func (verifier *VerifierCommander) CurrentDir() *Commander_CurrentDir_OngoingVerification
func (*VerifierCommander) CurrentEnv ¶
func (verifier *VerifierCommander) CurrentEnv() *Commander_CurrentEnv_OngoingVerification
func (*VerifierCommander) CurrentName ¶
func (verifier *VerifierCommander) CurrentName() *Commander_CurrentName_OngoingVerification
func (*VerifierCommander) DidError ¶
func (verifier *VerifierCommander) DidError() *Commander_DidError_OngoingVerification
func (*VerifierCommander) DidFail ¶
func (verifier *VerifierCommander) DidFail() *Commander_DidFail_OngoingVerification
func (*VerifierCommander) Error ¶
func (verifier *VerifierCommander) Error() *Commander_Error_OngoingVerification
func (*VerifierCommander) Run ¶
func (verifier *VerifierCommander) Run() *Commander_Run_OngoingVerification
func (*VerifierCommander) RunWithoutRetry ¶
func (verifier *VerifierCommander) RunWithoutRetry() *Commander_RunWithoutRetry_OngoingVerification
func (*VerifierCommander) SetArgs ¶
func (verifier *VerifierCommander) SetArgs(_param0 []string) *Commander_SetArgs_OngoingVerification
func (*VerifierCommander) SetDir ¶
func (verifier *VerifierCommander) SetDir(_param0 string) *Commander_SetDir_OngoingVerification
func (*VerifierCommander) SetEnv ¶
func (verifier *VerifierCommander) SetEnv(_param0 map[string]string) *Commander_SetEnv_OngoingVerification
func (*VerifierCommander) SetEnvVariable ¶
func (verifier *VerifierCommander) SetEnvVariable(_param0 string, _param1 string) *Commander_SetEnvVariable_OngoingVerification
func (*VerifierCommander) SetExponentialBackOff ¶
func (verifier *VerifierCommander) SetExponentialBackOff(_param0 *backoff.ExponentialBackOff) *Commander_SetExponentialBackOff_OngoingVerification
func (*VerifierCommander) SetName ¶
func (verifier *VerifierCommander) SetName(_param0 string) *Commander_SetName_OngoingVerification
func (*VerifierCommander) SetTimeout ¶
func (verifier *VerifierCommander) SetTimeout(_param0 time.Duration) *Commander_SetTimeout_OngoingVerification
Click to show internal directories.
Click to hide internal directories.