mocks

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 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 MockDownloader added in v0.30.0

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

func NewMockDownloader added in v0.30.0

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

func (*MockDownloader) FailHandler added in v0.30.0

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

func (*MockDownloader) GetAny added in v0.30.0

func (mock *MockDownloader) GetAny(dst string, src string) error

func (*MockDownloader) SetFailHandler added in v0.30.0

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

func (*MockDownloader) VerifyWasCalled added in v0.30.0

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

func (*MockDownloader) VerifyWasCalledEventually added in v0.30.0

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

func (*MockDownloader) VerifyWasCalledInOrder added in v0.30.0

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

func (*MockDownloader) VerifyWasCalledOnce added in v0.30.0

func (mock *MockDownloader) VerifyWasCalledOnce() *VerifierMockDownloader

type MockDownloader_GetAny_OngoingVerification added in v0.30.0

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

func (*MockDownloader_GetAny_OngoingVerification) GetAllCapturedArguments added in v0.30.0

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

func (*MockDownloader_GetAny_OngoingVerification) GetCapturedArguments added in v0.30.0

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

type MockSourceResolver

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

func NewMockSourceResolver

func NewMockSourceResolver(options ...pegomock.Option) *MockSourceResolver

func (*MockSourceResolver) FailHandler

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

func (*MockSourceResolver) Resolve

func (mock *MockSourceResolver) Resolve(policySet valid.PolicySet) (string, error)

func (*MockSourceResolver) SetFailHandler

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

func (*MockSourceResolver) VerifyWasCalled

func (mock *MockSourceResolver) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockSourceResolver

func (*MockSourceResolver) VerifyWasCalledEventually

func (mock *MockSourceResolver) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockSourceResolver

func (*MockSourceResolver) VerifyWasCalledInOrder

func (mock *MockSourceResolver) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockSourceResolver

func (*MockSourceResolver) VerifyWasCalledOnce

func (mock *MockSourceResolver) VerifyWasCalledOnce() *VerifierMockSourceResolver

type MockSourceResolver_Resolve_OngoingVerification

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

func (*MockSourceResolver_Resolve_OngoingVerification) GetAllCapturedArguments

func (c *MockSourceResolver_Resolve_OngoingVerification) GetAllCapturedArguments() (_param0 []valid.PolicySet)

func (*MockSourceResolver_Resolve_OngoingVerification) GetCapturedArguments

type VerifierMockDownloader added in v0.30.0

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

func (*VerifierMockDownloader) GetAny added in v0.30.0

type VerifierMockSourceResolver

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

func (*VerifierMockSourceResolver) Resolve

Jump to

Keyboard shortcuts

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