Documentation ¶
Index ¶
- type MockStreamer
- func (mock *MockStreamer) FailHandler() pegomock.FailHandler
- func (mock *MockStreamer) GetRepositoryPrefixes() (*versionstream.RepositoryPrefixes, error)
- func (mock *MockStreamer) GetVersionsDir() string
- func (mock *MockStreamer) ResolveDockerImage(_param0 string) (string, error)
- func (mock *MockStreamer) ResolveGitVersion(_param0 string) (string, error)
- func (mock *MockStreamer) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockStreamer) StableVersion(_param0 versionstream.VersionKind, _param1 string) (*versionstream.StableVersion, error)
- func (mock *MockStreamer) StableVersionNumber(_param0 versionstream.VersionKind, _param1 string) (string, error)
- func (mock *MockStreamer) VerifyPackage(_param0 string, _param1 string) error
- func (mock *MockStreamer) VerifyPackages(_param0 map[string]string) error
- func (mock *MockStreamer) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockStreamer
- func (mock *MockStreamer) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockStreamer
- func (mock *MockStreamer) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierMockStreamer
- func (mock *MockStreamer) VerifyWasCalledOnce() *VerifierMockStreamer
- type MockStreamer_GetRepositoryPrefixes_OngoingVerification
- type MockStreamer_GetVersionsDir_OngoingVerification
- type MockStreamer_ResolveDockerImage_OngoingVerification
- type MockStreamer_ResolveGitVersion_OngoingVerification
- type MockStreamer_StableVersionNumber_OngoingVerification
- type MockStreamer_StableVersion_OngoingVerification
- type MockStreamer_VerifyPackage_OngoingVerification
- type MockStreamer_VerifyPackages_OngoingVerification
- type VerifierMockStreamer
- func (verifier *VerifierMockStreamer) GetRepositoryPrefixes() *MockStreamer_GetRepositoryPrefixes_OngoingVerification
- func (verifier *VerifierMockStreamer) GetVersionsDir() *MockStreamer_GetVersionsDir_OngoingVerification
- func (verifier *VerifierMockStreamer) ResolveDockerImage(_param0 string) *MockStreamer_ResolveDockerImage_OngoingVerification
- func (verifier *VerifierMockStreamer) ResolveGitVersion(_param0 string) *MockStreamer_ResolveGitVersion_OngoingVerification
- func (verifier *VerifierMockStreamer) StableVersion(_param0 versionstream.VersionKind, _param1 string) *MockStreamer_StableVersion_OngoingVerification
- func (verifier *VerifierMockStreamer) StableVersionNumber(_param0 versionstream.VersionKind, _param1 string) *MockStreamer_StableVersionNumber_OngoingVerification
- func (verifier *VerifierMockStreamer) VerifyPackage(_param0 string, _param1 string) *MockStreamer_VerifyPackage_OngoingVerification
- func (verifier *VerifierMockStreamer) VerifyPackages(_param0 map[string]string) *MockStreamer_VerifyPackages_OngoingVerification
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStreamer ¶
type MockStreamer struct {
// contains filtered or unexported fields
}
func NewMockStreamer ¶
func NewMockStreamer(options ...pegomock.Option) *MockStreamer
func (*MockStreamer) FailHandler ¶
func (mock *MockStreamer) FailHandler() pegomock.FailHandler
func (*MockStreamer) GetRepositoryPrefixes ¶
func (mock *MockStreamer) GetRepositoryPrefixes() (*versionstream.RepositoryPrefixes, error)
func (*MockStreamer) GetVersionsDir ¶
func (mock *MockStreamer) GetVersionsDir() string
func (*MockStreamer) ResolveDockerImage ¶
func (mock *MockStreamer) ResolveDockerImage(_param0 string) (string, error)
func (*MockStreamer) ResolveGitVersion ¶
func (mock *MockStreamer) ResolveGitVersion(_param0 string) (string, error)
func (*MockStreamer) SetFailHandler ¶
func (mock *MockStreamer) SetFailHandler(fh pegomock.FailHandler)
func (*MockStreamer) StableVersion ¶
func (mock *MockStreamer) StableVersion(_param0 versionstream.VersionKind, _param1 string) (*versionstream.StableVersion, error)
func (*MockStreamer) StableVersionNumber ¶
func (mock *MockStreamer) StableVersionNumber(_param0 versionstream.VersionKind, _param1 string) (string, error)
func (*MockStreamer) VerifyPackage ¶
func (mock *MockStreamer) VerifyPackage(_param0 string, _param1 string) error
func (*MockStreamer) VerifyPackages ¶
func (mock *MockStreamer) VerifyPackages(_param0 map[string]string) error
func (*MockStreamer) VerifyWasCalled ¶
func (mock *MockStreamer) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockStreamer
func (*MockStreamer) VerifyWasCalledEventually ¶
func (mock *MockStreamer) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockStreamer
func (*MockStreamer) VerifyWasCalledInOrder ¶
func (mock *MockStreamer) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockStreamer
func (*MockStreamer) VerifyWasCalledOnce ¶
func (mock *MockStreamer) VerifyWasCalledOnce() *VerifierMockStreamer
type MockStreamer_GetRepositoryPrefixes_OngoingVerification ¶
type MockStreamer_GetRepositoryPrefixes_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockStreamer_GetRepositoryPrefixes_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockStreamer_GetRepositoryPrefixes_OngoingVerification) GetAllCapturedArguments()
func (*MockStreamer_GetRepositoryPrefixes_OngoingVerification) GetCapturedArguments ¶
func (c *MockStreamer_GetRepositoryPrefixes_OngoingVerification) GetCapturedArguments()
type MockStreamer_GetVersionsDir_OngoingVerification ¶
type MockStreamer_GetVersionsDir_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockStreamer_GetVersionsDir_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockStreamer_GetVersionsDir_OngoingVerification) GetAllCapturedArguments()
func (*MockStreamer_GetVersionsDir_OngoingVerification) GetCapturedArguments ¶
func (c *MockStreamer_GetVersionsDir_OngoingVerification) GetCapturedArguments()
type MockStreamer_ResolveDockerImage_OngoingVerification ¶
type MockStreamer_ResolveDockerImage_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockStreamer_ResolveDockerImage_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockStreamer_ResolveDockerImage_OngoingVerification) GetAllCapturedArguments() (_param0 []string)
func (*MockStreamer_ResolveDockerImage_OngoingVerification) GetCapturedArguments ¶
func (c *MockStreamer_ResolveDockerImage_OngoingVerification) GetCapturedArguments() string
type MockStreamer_ResolveGitVersion_OngoingVerification ¶
type MockStreamer_ResolveGitVersion_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockStreamer_ResolveGitVersion_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockStreamer_ResolveGitVersion_OngoingVerification) GetAllCapturedArguments() (_param0 []string)
func (*MockStreamer_ResolveGitVersion_OngoingVerification) GetCapturedArguments ¶
func (c *MockStreamer_ResolveGitVersion_OngoingVerification) GetCapturedArguments() string
type MockStreamer_StableVersionNumber_OngoingVerification ¶
type MockStreamer_StableVersionNumber_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockStreamer_StableVersionNumber_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockStreamer_StableVersionNumber_OngoingVerification) GetAllCapturedArguments() (_param0 []versionstream.VersionKind, _param1 []string)
func (*MockStreamer_StableVersionNumber_OngoingVerification) GetCapturedArguments ¶
func (c *MockStreamer_StableVersionNumber_OngoingVerification) GetCapturedArguments() (versionstream.VersionKind, string)
type MockStreamer_StableVersion_OngoingVerification ¶
type MockStreamer_StableVersion_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockStreamer_StableVersion_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockStreamer_StableVersion_OngoingVerification) GetAllCapturedArguments() (_param0 []versionstream.VersionKind, _param1 []string)
func (*MockStreamer_StableVersion_OngoingVerification) GetCapturedArguments ¶
func (c *MockStreamer_StableVersion_OngoingVerification) GetCapturedArguments() (versionstream.VersionKind, string)
type MockStreamer_VerifyPackage_OngoingVerification ¶
type MockStreamer_VerifyPackage_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockStreamer_VerifyPackage_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockStreamer_VerifyPackage_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string)
func (*MockStreamer_VerifyPackage_OngoingVerification) GetCapturedArguments ¶
func (c *MockStreamer_VerifyPackage_OngoingVerification) GetCapturedArguments() (string, string)
type MockStreamer_VerifyPackages_OngoingVerification ¶
type MockStreamer_VerifyPackages_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockStreamer_VerifyPackages_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockStreamer_VerifyPackages_OngoingVerification) GetAllCapturedArguments() (_param0 []map[string]string)
func (*MockStreamer_VerifyPackages_OngoingVerification) GetCapturedArguments ¶
func (c *MockStreamer_VerifyPackages_OngoingVerification) GetCapturedArguments() map[string]string
type VerifierMockStreamer ¶
type VerifierMockStreamer struct {
// contains filtered or unexported fields
}
func (*VerifierMockStreamer) GetRepositoryPrefixes ¶
func (verifier *VerifierMockStreamer) GetRepositoryPrefixes() *MockStreamer_GetRepositoryPrefixes_OngoingVerification
func (*VerifierMockStreamer) GetVersionsDir ¶
func (verifier *VerifierMockStreamer) GetVersionsDir() *MockStreamer_GetVersionsDir_OngoingVerification
func (*VerifierMockStreamer) ResolveDockerImage ¶
func (verifier *VerifierMockStreamer) ResolveDockerImage(_param0 string) *MockStreamer_ResolveDockerImage_OngoingVerification
func (*VerifierMockStreamer) ResolveGitVersion ¶
func (verifier *VerifierMockStreamer) ResolveGitVersion(_param0 string) *MockStreamer_ResolveGitVersion_OngoingVerification
func (*VerifierMockStreamer) StableVersion ¶
func (verifier *VerifierMockStreamer) StableVersion(_param0 versionstream.VersionKind, _param1 string) *MockStreamer_StableVersion_OngoingVerification
func (*VerifierMockStreamer) StableVersionNumber ¶
func (verifier *VerifierMockStreamer) StableVersionNumber(_param0 versionstream.VersionKind, _param1 string) *MockStreamer_StableVersionNumber_OngoingVerification
func (*VerifierMockStreamer) VerifyPackage ¶
func (verifier *VerifierMockStreamer) VerifyPackage(_param0 string, _param1 string) *MockStreamer_VerifyPackage_OngoingVerification
func (*VerifierMockStreamer) VerifyPackages ¶
func (verifier *VerifierMockStreamer) VerifyPackages(_param0 map[string]string) *MockStreamer_VerifyPackages_OngoingVerification
Click to show internal directories.
Click to hide internal directories.