Documentation ¶
Index ¶
- type MockDownloader
- func (mock *MockDownloader) FailHandler() pegomock.FailHandler
- func (mock *MockDownloader) GetAny(dst string, src 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 MockSourceResolver
- func (mock *MockSourceResolver) FailHandler() pegomock.FailHandler
- func (mock *MockSourceResolver) Resolve(policySet valid.PolicySet) (string, error)
- func (mock *MockSourceResolver) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockSourceResolver) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockSourceResolver
- func (mock *MockSourceResolver) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockSourceResolver
- func (mock *MockSourceResolver) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockSourceResolver
- func (mock *MockSourceResolver) VerifyWasCalledOnce() *VerifierMockSourceResolver
- type MockSourceResolver_Resolve_OngoingVerification
- type VerifierMockDownloader
- type VerifierMockSourceResolver
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 ¶
func (c *MockSourceResolver_Resolve_OngoingVerification) GetCapturedArguments() valid.PolicySet
type VerifierMockDownloader ¶ added in v0.30.0
type VerifierMockDownloader struct {
// contains filtered or unexported fields
}
func (*VerifierMockDownloader) GetAny ¶ added in v0.30.0
func (verifier *VerifierMockDownloader) GetAny(dst string, src string) *MockDownloader_GetAny_OngoingVerification
type VerifierMockSourceResolver ¶
type VerifierMockSourceResolver struct {
// contains filtered or unexported fields
}
func (*VerifierMockSourceResolver) Resolve ¶
func (verifier *VerifierMockSourceResolver) Resolve(policySet valid.PolicySet) *MockSourceResolver_Resolve_OngoingVerification
Click to show internal directories.
Click to hide internal directories.