mocks

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient added in v0.2.2

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

func NewMockClient added in v0.2.2

func NewMockClient(options ...pegomock.Option) *MockClient

func (*MockClient) EnsureVersion added in v0.9.0

func (mock *MockClient) EnsureVersion(log logging.SimpleLogging, v *go_version.Version) error

func (*MockClient) FailHandler added in v0.6.0

func (mock *MockClient) FailHandler() pegomock.FailHandler

func (*MockClient) RunCommandWithVersion added in v0.2.2

func (mock *MockClient) RunCommandWithVersion(log logging.SimpleLogging, path string, args []string, envs map[string]string, v *go_version.Version, workspace string) (string, error)

func (*MockClient) SetFailHandler added in v0.6.0

func (mock *MockClient) SetFailHandler(fh pegomock.FailHandler)

func (*MockClient) VerifyWasCalled added in v0.2.2

func (mock *MockClient) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockClient

func (*MockClient) VerifyWasCalledEventually added in v0.4.13

func (mock *MockClient) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockClient

func (*MockClient) VerifyWasCalledInOrder added in v0.2.2

func (mock *MockClient) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockClient

func (*MockClient) VerifyWasCalledOnce added in v0.2.2

func (mock *MockClient) VerifyWasCalledOnce() *VerifierMockClient

type MockClient_EnsureVersion_OngoingVerification added in v0.9.0

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

func (*MockClient_EnsureVersion_OngoingVerification) GetAllCapturedArguments added in v0.9.0

func (c *MockClient_EnsureVersion_OngoingVerification) GetAllCapturedArguments() (_param0 []logging.SimpleLogging, _param1 []*go_version.Version)

func (*MockClient_EnsureVersion_OngoingVerification) GetCapturedArguments added in v0.9.0

type MockClient_RunCommandWithVersion_OngoingVerification added in v0.8.3

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

func (*MockClient_RunCommandWithVersion_OngoingVerification) GetAllCapturedArguments added in v0.8.3

func (c *MockClient_RunCommandWithVersion_OngoingVerification) GetAllCapturedArguments() (_param0 []logging.SimpleLogging, _param1 []string, _param2 [][]string, _param3 []map[string]string, _param4 []*go_version.Version, _param5 []string)

func (*MockClient_RunCommandWithVersion_OngoingVerification) GetCapturedArguments added in v0.8.3

type MockDownloader added in v0.6.0

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

func NewMockDownloader added in v0.6.0

func NewMockDownloader(options ...pegomock.Option) *MockDownloader

func (*MockDownloader) FailHandler added in v0.6.0

func (mock *MockDownloader) FailHandler() pegomock.FailHandler

func (*MockDownloader) GetAny added in v0.17.0

func (mock *MockDownloader) GetAny(dst string, src string, opts ...go_getter.ClientOption) error

func (*MockDownloader) GetFile added in v0.6.0

func (mock *MockDownloader) GetFile(dst string, src string, opts ...go_getter.ClientOption) error

func (*MockDownloader) SetFailHandler added in v0.6.0

func (mock *MockDownloader) SetFailHandler(fh pegomock.FailHandler)

func (*MockDownloader) VerifyWasCalled added in v0.6.0

func (mock *MockDownloader) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockDownloader

func (*MockDownloader) VerifyWasCalledEventually added in v0.6.0

func (mock *MockDownloader) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockDownloader

func (*MockDownloader) VerifyWasCalledInOrder added in v0.6.0

func (mock *MockDownloader) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockDownloader

func (*MockDownloader) VerifyWasCalledOnce added in v0.6.0

func (mock *MockDownloader) VerifyWasCalledOnce() *VerifierMockDownloader

type MockDownloader_GetAny_OngoingVerification added in v0.17.0

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

func (*MockDownloader_GetAny_OngoingVerification) GetAllCapturedArguments added in v0.17.0

func (c *MockDownloader_GetAny_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 [][]go_getter.ClientOption)

func (*MockDownloader_GetAny_OngoingVerification) GetCapturedArguments added in v0.17.0

type MockDownloader_GetFile_OngoingVerification added in v0.8.3

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

func (*MockDownloader_GetFile_OngoingVerification) GetAllCapturedArguments added in v0.8.3

func (c *MockDownloader_GetFile_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 [][]go_getter.ClientOption)

func (*MockDownloader_GetFile_OngoingVerification) GetCapturedArguments added in v0.8.3

type VerifierMockClient added in v0.8.3

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

func (*VerifierMockClient) EnsureVersion added in v0.9.0

func (*VerifierMockClient) RunCommandWithVersion added in v0.8.3

func (verifier *VerifierMockClient) RunCommandWithVersion(log logging.SimpleLogging, path string, args []string, envs map[string]string, v *go_version.Version, workspace string) *MockClient_RunCommandWithVersion_OngoingVerification

type VerifierMockDownloader added in v0.8.3

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

func (*VerifierMockDownloader) GetAny added in v0.17.0

func (*VerifierMockDownloader) GetFile added in v0.8.3

Directories

Path Synopsis
Code generated by pegomock.
Code generated by pegomock.

Jump to

Keyboard shortcuts

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