versionstream_test

package
v2.1.114 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 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 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

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

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

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

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

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 (*VerifierMockStreamer) GetVersionsDir

func (*VerifierMockStreamer) ResolveDockerImage

func (*VerifierMockStreamer) ResolveGitVersion

func (*VerifierMockStreamer) StableVersion

func (*VerifierMockStreamer) StableVersionNumber

func (*VerifierMockStreamer) VerifyPackage

func (verifier *VerifierMockStreamer) VerifyPackage(_param0 string, _param1 string) *MockStreamer_VerifyPackage_OngoingVerification

func (*VerifierMockStreamer) VerifyPackages

Jump to

Keyboard shortcuts

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