mocks

package
v0.0.69 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockConsumer_RetrieveContainerDependenciesServer

type MockConsumer_RetrieveContainerDependenciesServer struct {
	module.Consumer_RetrieveContainerDependenciesV2Server
	SendInvocations int
	SendResponse    *module.ContainerDependenciesResponseV2
	SendError       error
}

func (*MockConsumer_RetrieveContainerDependenciesServer) Context

func (*MockConsumer_RetrieveContainerDependenciesServer) Send

type MockConsumer_RetrieveModuleDependenciesServer

type MockConsumer_RetrieveModuleDependenciesServer struct {
	module.Consumer_RetrieveModuleDependenciesServer
	SendInvocations int
	SendResponse    *module.ModuleDependenciesResponse
	SendError       error
}

func (*MockConsumer_RetrieveModuleDependenciesServer) Context

func (*MockConsumer_RetrieveModuleDependenciesServer) Send

type MockDependencyManagerClient

type MockDependencyManagerClient struct {
	services.DependencyManagerClient
	RegisterModuleDependenciesInvocations    int
	RegisterModuleDependenciesResponse       *module.Response
	RegisterModuleDependenciesError          error
	RegisterContainerDependenciesInvocations int
	RegisterContainerDependenciesResponse    *module.Response
	RegisterContainerDependenciesError       error
	RetrieveContainerDependenciesInvocations int
	RetrieveContainerDependenciesClient      services.DependencyManager_RetrieveContainerDependenciesClient
	RetrieveContainerDependenciesError       error
	RetrieveModuleDependenciesInvocations    int
	RetrieveModuleDependenciesClient         services.DependencyManager_RetrieveModuleDependenciesClient
	RetrieveModuleDependenciesError          error
}

func (*MockDependencyManagerClient) RegisterContainerDependencies

func (*MockDependencyManagerClient) RegisterModuleDependencies

type MockDependencyManager_RetrieveContainerDependenciesClient

type MockDependencyManager_RetrieveContainerDependenciesClient struct {
	services.DependencyManager_RetrieveContainerDependenciesClient
	RecvInvocations      int
	RecvResponse         *module.ContainerDependenciesResponseV2
	RecvError            error
	CloseSendInvocations int
	CloseSendError       error
}

func (*MockDependencyManager_RetrieveContainerDependenciesClient) CloseSend

func (*MockDependencyManager_RetrieveContainerDependenciesClient) Recv

type MockDependencyManager_RetrieveModuleDependenciesClient

type MockDependencyManager_RetrieveModuleDependenciesClient struct {
	services.DependencyManager_RetrieveModuleDependenciesClient
	RecvInvocations      int
	RecvResponse         *module.ModuleDependenciesResponse
	RecvError            error
	CloseSendInvocations int
	CloseSendError       error
}

func (*MockDependencyManager_RetrieveModuleDependenciesClient) CloseSend

func (*MockDependencyManager_RetrieveModuleDependenciesClient) Recv

type MockDownloadSourceZipServer

type MockDownloadSourceZipServer struct {
	services.Storage_DownloadSourceZipServer
	SendInvocations int
	SendResponse    *module.SourceZipResponse
	SendError       error
}

func (*MockDownloadSourceZipServer) Context

func (*MockDownloadSourceZipServer) Send

type MockRegistrarClient

type MockRegistrarClient struct {
	services.RegistrarClient
	RegisterInvocations int
	RegisterResponse    *module.Response
	RegisterError       error
}

func (*MockRegistrarClient) Register

type MockStorageClient

type MockStorageClient struct {
	services.StorageClient
	UploadSourceZipInvocations   int
	UploadSourceZipClient        services.Storage_UploadSourceZipClient
	UploadSourceZipError         error
	DownloadSourceZipInvocations int
	DownloadSourceZipClient      services.Storage_DownloadSourceZipClient
	DownloadSourceZipError       error
}

func (*MockStorageClient) UploadSourceZip

type MockStorage_DownloadSourceZipClient

type MockStorage_DownloadSourceZipClient struct {
	services.Storage_DownloadSourceZipClient
	RecvInvocations      int
	RecvResponse         *module.SourceZipResponse
	RecvError            error
	CloseSendInvocations int
	CloseSendError       error
}

func (*MockStorage_DownloadSourceZipClient) CloseSend

func (*MockStorage_DownloadSourceZipClient) Recv

type MockStorage_UploadSourceZipClient

type MockStorage_UploadSourceZipClient struct {
	services.Storage_UploadSourceZipClient
	CloseAndRecvInvocations int
	CloseAndRecvResponse    *module.Response
	CloseAndRecvError       error
	SendInvocations         int
	SendError               error
	CloseSendInvocations    int
	CloseSendError          error
}

func (*MockStorage_UploadSourceZipClient) CloseAndRecv

func (*MockStorage_UploadSourceZipClient) CloseSend

func (*MockStorage_UploadSourceZipClient) Send

type MockUploadSourceZipServer

type MockUploadSourceZipServer struct {
	services.Storage_UploadSourceZipServer
	SendAndCloseInvocations int
	SendAndCloseResponse    *module.Response
	SendAndCloseError       error
	RecvInvocations         int
	RecvMaxInvocations      int
	RecvRequest             *module.UploadSourceZipRequest
	RecvError               error
}

func (*MockUploadSourceZipServer) Context

func (mus *MockUploadSourceZipServer) Context() context.Context

func (*MockUploadSourceZipServer) Recv

func (*MockUploadSourceZipServer) SendAndClose

func (mus *MockUploadSourceZipServer) SendAndClose(response *module.Response) error

type MockVersionManagerClient

type MockVersionManagerClient struct {
	services.VersionManagerClient
	BeginVersionInvocations   int
	BeginVersionResponse      *module.Response
	BeginVersionError         error
	PublishVersionInvocations int
	PublishVersionResponse    *module.Response
	PublishVersionError       error
	AbortVersionInvocations   int
	AbortVersionResponse      *module.Response
	AbortVersionError         error
}

func (*MockVersionManagerClient) AbortVersion

func (*MockVersionManagerClient) BeginVersion

func (*MockVersionManagerClient) PublishVersion

Jump to

Keyboard shortcuts

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