Documentation ¶
Index ¶
- type MockClient
- func (mock *MockClient) DetectVersion(_param0 logging.SimpleLogging, _param1 string) *go_version.Version
- func (mock *MockClient) EnsureVersion(_param0 logging.SimpleLogging, _param1 *go_version.Version) error
- func (mock *MockClient) FailHandler() pegomock.FailHandler
- func (mock *MockClient) ListAvailableVersions(_param0 logging.SimpleLogging) ([]string, error)
- func (mock *MockClient) RunCommandWithVersion(_param0 command.ProjectContext, _param1 string, _param2 []string, ...) (string, error)
- func (mock *MockClient) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockClient) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockClient
- func (mock *MockClient) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockClient
- func (mock *MockClient) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockClient
- func (mock *MockClient) VerifyWasCalledOnce() *VerifierMockClient
- type MockClient_DetectVersion_OngoingVerification
- type MockClient_EnsureVersion_OngoingVerification
- type MockClient_ListAvailableVersions_OngoingVerification
- type MockClient_RunCommandWithVersion_OngoingVerification
- func (c *MockClient_RunCommandWithVersion_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext, _param1 []string, _param2 [][]string, ...)
- func (c *MockClient_RunCommandWithVersion_OngoingVerification) GetCapturedArguments() (command.ProjectContext, string, []string, map[string]string, ...)
- type MockDownloader
- func (mock *MockDownloader) FailHandler() pegomock.FailHandler
- func (mock *MockDownloader) GetAny(_param0 string, _param1 string) error
- func (mock *MockDownloader) GetFile(_param0 string, _param1 string) error
- func (mock *MockDownloader) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockDownloader) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockDownloader
- func (mock *MockDownloader) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockDownloader
- func (mock *MockDownloader) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockDownloader
- func (mock *MockDownloader) VerifyWasCalledOnce() *VerifierMockDownloader
- type MockDownloader_GetAny_OngoingVerification
- type MockDownloader_GetFile_OngoingVerification
- type VerifierMockClient
- func (verifier *VerifierMockClient) DetectVersion(_param0 logging.SimpleLogging, _param1 string) *MockClient_DetectVersion_OngoingVerification
- func (verifier *VerifierMockClient) EnsureVersion(_param0 logging.SimpleLogging, _param1 *go_version.Version) *MockClient_EnsureVersion_OngoingVerification
- func (verifier *VerifierMockClient) ListAvailableVersions(_param0 logging.SimpleLogging) *MockClient_ListAvailableVersions_OngoingVerification
- func (verifier *VerifierMockClient) RunCommandWithVersion(_param0 command.ProjectContext, _param1 string, _param2 []string, ...) *MockClient_RunCommandWithVersion_OngoingVerification
- type VerifierMockDownloader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
func NewMockClient ¶
func NewMockClient(options ...pegomock.Option) *MockClient
func (*MockClient) DetectVersion ¶ added in v0.22.0
func (mock *MockClient) DetectVersion(_param0 logging.SimpleLogging, _param1 string) *go_version.Version
func (*MockClient) EnsureVersion ¶
func (mock *MockClient) EnsureVersion(_param0 logging.SimpleLogging, _param1 *go_version.Version) error
func (*MockClient) FailHandler ¶
func (mock *MockClient) FailHandler() pegomock.FailHandler
func (*MockClient) ListAvailableVersions ¶ added in v0.22.0
func (mock *MockClient) ListAvailableVersions(_param0 logging.SimpleLogging) ([]string, error)
func (*MockClient) RunCommandWithVersion ¶
func (mock *MockClient) RunCommandWithVersion(_param0 command.ProjectContext, _param1 string, _param2 []string, _param3 map[string]string, _param4 *go_version.Version, _param5 string) (string, error)
func (*MockClient) SetFailHandler ¶
func (mock *MockClient) SetFailHandler(fh pegomock.FailHandler)
func (*MockClient) VerifyWasCalled ¶
func (mock *MockClient) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockClient
func (*MockClient) VerifyWasCalledEventually ¶
func (mock *MockClient) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockClient
func (*MockClient) VerifyWasCalledInOrder ¶
func (mock *MockClient) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockClient
func (*MockClient) VerifyWasCalledOnce ¶
func (mock *MockClient) VerifyWasCalledOnce() *VerifierMockClient
type MockClient_DetectVersion_OngoingVerification ¶ added in v0.22.0
type MockClient_DetectVersion_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockClient_DetectVersion_OngoingVerification) GetAllCapturedArguments ¶ added in v0.22.0
func (c *MockClient_DetectVersion_OngoingVerification) GetAllCapturedArguments() (_param0 []logging.SimpleLogging, _param1 []string)
func (*MockClient_DetectVersion_OngoingVerification) GetCapturedArguments ¶ added in v0.22.0
func (c *MockClient_DetectVersion_OngoingVerification) GetCapturedArguments() (logging.SimpleLogging, string)
type MockClient_EnsureVersion_OngoingVerification ¶
type MockClient_EnsureVersion_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockClient_EnsureVersion_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockClient_EnsureVersion_OngoingVerification) GetAllCapturedArguments() (_param0 []logging.SimpleLogging, _param1 []*go_version.Version)
func (*MockClient_EnsureVersion_OngoingVerification) GetCapturedArguments ¶
func (c *MockClient_EnsureVersion_OngoingVerification) GetCapturedArguments() (logging.SimpleLogging, *go_version.Version)
type MockClient_ListAvailableVersions_OngoingVerification ¶ added in v0.22.0
type MockClient_ListAvailableVersions_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockClient_ListAvailableVersions_OngoingVerification) GetAllCapturedArguments ¶ added in v0.22.0
func (c *MockClient_ListAvailableVersions_OngoingVerification) GetAllCapturedArguments() (_param0 []logging.SimpleLogging)
func (*MockClient_ListAvailableVersions_OngoingVerification) GetCapturedArguments ¶ added in v0.22.0
func (c *MockClient_ListAvailableVersions_OngoingVerification) GetCapturedArguments() logging.SimpleLogging
type MockClient_RunCommandWithVersion_OngoingVerification ¶
type MockClient_RunCommandWithVersion_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockClient_RunCommandWithVersion_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockClient_RunCommandWithVersion_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext, _param1 []string, _param2 [][]string, _param3 []map[string]string, _param4 []*go_version.Version, _param5 []string)
func (*MockClient_RunCommandWithVersion_OngoingVerification) GetCapturedArguments ¶
func (c *MockClient_RunCommandWithVersion_OngoingVerification) GetCapturedArguments() (command.ProjectContext, string, []string, map[string]string, *go_version.Version, string)
type MockDownloader ¶
type MockDownloader struct {
// contains filtered or unexported fields
}
func NewMockDownloader ¶
func NewMockDownloader(options ...pegomock.Option) *MockDownloader
func (*MockDownloader) FailHandler ¶
func (mock *MockDownloader) FailHandler() pegomock.FailHandler
func (*MockDownloader) GetAny ¶
func (mock *MockDownloader) GetAny(_param0 string, _param1 string) error
func (*MockDownloader) GetFile ¶
func (mock *MockDownloader) GetFile(_param0 string, _param1 string) error
func (*MockDownloader) SetFailHandler ¶
func (mock *MockDownloader) SetFailHandler(fh pegomock.FailHandler)
func (*MockDownloader) VerifyWasCalled ¶
func (mock *MockDownloader) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockDownloader
func (*MockDownloader) VerifyWasCalledEventually ¶
func (mock *MockDownloader) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockDownloader
func (*MockDownloader) VerifyWasCalledInOrder ¶
func (mock *MockDownloader) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockDownloader
func (*MockDownloader) VerifyWasCalledOnce ¶
func (mock *MockDownloader) VerifyWasCalledOnce() *VerifierMockDownloader
type MockDownloader_GetAny_OngoingVerification ¶
type MockDownloader_GetAny_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockDownloader_GetAny_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockDownloader_GetAny_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string)
func (*MockDownloader_GetAny_OngoingVerification) GetCapturedArguments ¶
func (c *MockDownloader_GetAny_OngoingVerification) GetCapturedArguments() (string, string)
type MockDownloader_GetFile_OngoingVerification ¶
type MockDownloader_GetFile_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockDownloader_GetFile_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockDownloader_GetFile_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string)
func (*MockDownloader_GetFile_OngoingVerification) GetCapturedArguments ¶
func (c *MockDownloader_GetFile_OngoingVerification) GetCapturedArguments() (string, string)
type VerifierMockClient ¶
type VerifierMockClient struct {
// contains filtered or unexported fields
}
func (*VerifierMockClient) DetectVersion ¶ added in v0.22.0
func (verifier *VerifierMockClient) DetectVersion(_param0 logging.SimpleLogging, _param1 string) *MockClient_DetectVersion_OngoingVerification
func (*VerifierMockClient) EnsureVersion ¶
func (verifier *VerifierMockClient) EnsureVersion(_param0 logging.SimpleLogging, _param1 *go_version.Version) *MockClient_EnsureVersion_OngoingVerification
func (*VerifierMockClient) ListAvailableVersions ¶ added in v0.22.0
func (verifier *VerifierMockClient) ListAvailableVersions(_param0 logging.SimpleLogging) *MockClient_ListAvailableVersions_OngoingVerification
func (*VerifierMockClient) RunCommandWithVersion ¶
func (verifier *VerifierMockClient) RunCommandWithVersion(_param0 command.ProjectContext, _param1 string, _param2 []string, _param3 map[string]string, _param4 *go_version.Version, _param5 string) *MockClient_RunCommandWithVersion_OngoingVerification
type VerifierMockDownloader ¶
type VerifierMockDownloader struct {
// contains filtered or unexported fields
}
func (*VerifierMockDownloader) GetAny ¶
func (verifier *VerifierMockDownloader) GetAny(_param0 string, _param1 string) *MockDownloader_GetAny_OngoingVerification
func (*VerifierMockDownloader) GetFile ¶
func (verifier *VerifierMockDownloader) GetFile(_param0 string, _param1 string) *MockDownloader_GetFile_OngoingVerification
Click to show internal directories.
Click to hide internal directories.