Documentation ¶
Index ¶
- type MockExecutionVersionCache
- func (mock *MockExecutionVersionCache) FailHandler() pegomock.FailHandler
- func (mock *MockExecutionVersionCache) Get(key *go_version.Version) (string, error)
- func (mock *MockExecutionVersionCache) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockExecutionVersionCache) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockExecutionVersionCache
- func (mock *MockExecutionVersionCache) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockExecutionVersionCache
- func (mock *MockExecutionVersionCache) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockExecutionVersionCache
- func (mock *MockExecutionVersionCache) VerifyWasCalledOnce() *VerifierMockExecutionVersionCache
- type MockExecutionVersionCache_Get_OngoingVerification
- type MockKeySerializer
- func (mock *MockKeySerializer) FailHandler() pegomock.FailHandler
- func (mock *MockKeySerializer) Serialize(key *go_version.Version) (string, error)
- func (mock *MockKeySerializer) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockKeySerializer) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockKeySerializer
- func (mock *MockKeySerializer) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockKeySerializer
- func (mock *MockKeySerializer) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockKeySerializer
- func (mock *MockKeySerializer) VerifyWasCalledOnce() *VerifierMockKeySerializer
- type MockKeySerializer_Serialize_OngoingVerification
- type VerifierMockExecutionVersionCache
- type VerifierMockKeySerializer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExecutionVersionCache ¶
type MockExecutionVersionCache struct {
// contains filtered or unexported fields
}
func NewMockExecutionVersionCache ¶
func NewMockExecutionVersionCache(options ...pegomock.Option) *MockExecutionVersionCache
func (*MockExecutionVersionCache) FailHandler ¶
func (mock *MockExecutionVersionCache) FailHandler() pegomock.FailHandler
func (*MockExecutionVersionCache) Get ¶
func (mock *MockExecutionVersionCache) Get(key *go_version.Version) (string, error)
func (*MockExecutionVersionCache) SetFailHandler ¶
func (mock *MockExecutionVersionCache) SetFailHandler(fh pegomock.FailHandler)
func (*MockExecutionVersionCache) VerifyWasCalled ¶
func (mock *MockExecutionVersionCache) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockExecutionVersionCache
func (*MockExecutionVersionCache) VerifyWasCalledEventually ¶
func (mock *MockExecutionVersionCache) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockExecutionVersionCache
func (*MockExecutionVersionCache) VerifyWasCalledInOrder ¶
func (mock *MockExecutionVersionCache) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockExecutionVersionCache
func (*MockExecutionVersionCache) VerifyWasCalledOnce ¶
func (mock *MockExecutionVersionCache) VerifyWasCalledOnce() *VerifierMockExecutionVersionCache
type MockExecutionVersionCache_Get_OngoingVerification ¶
type MockExecutionVersionCache_Get_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockExecutionVersionCache_Get_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockExecutionVersionCache_Get_OngoingVerification) GetAllCapturedArguments() (_param0 []*go_version.Version)
func (*MockExecutionVersionCache_Get_OngoingVerification) GetCapturedArguments ¶
func (c *MockExecutionVersionCache_Get_OngoingVerification) GetCapturedArguments() *go_version.Version
type MockKeySerializer ¶
type MockKeySerializer struct {
// contains filtered or unexported fields
}
func NewMockKeySerializer ¶
func NewMockKeySerializer(options ...pegomock.Option) *MockKeySerializer
func (*MockKeySerializer) FailHandler ¶
func (mock *MockKeySerializer) FailHandler() pegomock.FailHandler
func (*MockKeySerializer) Serialize ¶
func (mock *MockKeySerializer) Serialize(key *go_version.Version) (string, error)
func (*MockKeySerializer) SetFailHandler ¶
func (mock *MockKeySerializer) SetFailHandler(fh pegomock.FailHandler)
func (*MockKeySerializer) VerifyWasCalled ¶
func (mock *MockKeySerializer) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockKeySerializer
func (*MockKeySerializer) VerifyWasCalledEventually ¶
func (mock *MockKeySerializer) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockKeySerializer
func (*MockKeySerializer) VerifyWasCalledInOrder ¶
func (mock *MockKeySerializer) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockKeySerializer
func (*MockKeySerializer) VerifyWasCalledOnce ¶
func (mock *MockKeySerializer) VerifyWasCalledOnce() *VerifierMockKeySerializer
type MockKeySerializer_Serialize_OngoingVerification ¶
type MockKeySerializer_Serialize_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockKeySerializer_Serialize_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockKeySerializer_Serialize_OngoingVerification) GetAllCapturedArguments() (_param0 []*go_version.Version)
func (*MockKeySerializer_Serialize_OngoingVerification) GetCapturedArguments ¶
func (c *MockKeySerializer_Serialize_OngoingVerification) GetCapturedArguments() *go_version.Version
type VerifierMockExecutionVersionCache ¶
type VerifierMockExecutionVersionCache struct {
// contains filtered or unexported fields
}
func (*VerifierMockExecutionVersionCache) Get ¶
func (verifier *VerifierMockExecutionVersionCache) Get(key *go_version.Version) *MockExecutionVersionCache_Get_OngoingVerification
type VerifierMockKeySerializer ¶
type VerifierMockKeySerializer struct {
// contains filtered or unexported fields
}
func (*VerifierMockKeySerializer) Serialize ¶
func (verifier *VerifierMockKeySerializer) Serialize(key *go_version.Version) *MockKeySerializer_Serialize_OngoingVerification
Click to show internal directories.
Click to hide internal directories.