mocks

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2019 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 Client_RunCommandWithVersion_OngoingVerification added in v0.2.2

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

func (*Client_RunCommandWithVersion_OngoingVerification) GetAllCapturedArguments added in v0.2.2

func (c *Client_RunCommandWithVersion_OngoingVerification) GetAllCapturedArguments() (_param0 []*logging.SimpleLogger, _param1 []string, _param2 [][]string, _param3 []*go_version.Version, _param4 []string)

func (*Client_RunCommandWithVersion_OngoingVerification) GetCapturedArguments added in v0.2.2

type Client_Version_OngoingVerification added in v0.2.2

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

func (*Client_Version_OngoingVerification) GetAllCapturedArguments added in v0.2.2

func (c *Client_Version_OngoingVerification) GetAllCapturedArguments()

func (*Client_Version_OngoingVerification) GetCapturedArguments added in v0.2.2

func (c *Client_Version_OngoingVerification) GetCapturedArguments()

type Downloader_GetFile_OngoingVerification added in v0.6.0

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

func (*Downloader_GetFile_OngoingVerification) GetAllCapturedArguments added in v0.6.0

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

func (*Downloader_GetFile_OngoingVerification) GetCapturedArguments added in v0.6.0

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) 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.SimpleLogger, path string, args []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.Matcher) *VerifierClient

func (*MockClient) VerifyWasCalledEventually added in v0.4.13

func (mock *MockClient) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierClient

func (*MockClient) VerifyWasCalledInOrder added in v0.2.2

func (mock *MockClient) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierClient

func (*MockClient) VerifyWasCalledOnce added in v0.2.2

func (mock *MockClient) VerifyWasCalledOnce() *VerifierClient

func (*MockClient) Version added in v0.2.2

func (mock *MockClient) Version() *go_version.Version

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) 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.Matcher) *VerifierDownloader

func (*MockDownloader) VerifyWasCalledEventually added in v0.6.0

func (mock *MockDownloader) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierDownloader

func (*MockDownloader) VerifyWasCalledInOrder added in v0.6.0

func (mock *MockDownloader) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierDownloader

func (*MockDownloader) VerifyWasCalledOnce added in v0.6.0

func (mock *MockDownloader) VerifyWasCalledOnce() *VerifierDownloader

type VerifierClient added in v0.2.2

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

func (*VerifierClient) RunCommandWithVersion added in v0.2.2

func (verifier *VerifierClient) RunCommandWithVersion(log *logging.SimpleLogger, path string, args []string, v *go_version.Version, workspace string) *Client_RunCommandWithVersion_OngoingVerification

func (*VerifierClient) Version added in v0.2.2

type VerifierDownloader added in v0.6.0

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

func (*VerifierDownloader) GetFile added in v0.6.0

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