Documentation ¶
Index ¶
- type MockConsumer_RetrieveContainerDependenciesServer
- type MockConsumer_RetrieveModuleDependenciesServer
- type MockDependencyManagerClient
- func (m *MockDependencyManagerClient) RegisterContainerDependencies(ctx context.Context, in *module.RegisterContainerDependenciesRequest, ...) (*module.Response, error)
- func (m *MockDependencyManagerClient) RegisterModuleDependencies(ctx context.Context, in *module.RegisterModuleDependenciesRequest, ...) (*module.Response, error)
- func (m *MockDependencyManagerClient) RetrieveContainerDependencies(ctx context.Context, in *module.RetrieveContainerDependenciesRequestV2, ...) (services.DependencyManager_RetrieveContainerDependenciesClient, error)
- func (m *MockDependencyManagerClient) RetrieveModuleDependencies(ctx context.Context, in *module.RetrieveModuleDependenciesRequest, ...) (services.DependencyManager_RetrieveModuleDependenciesClient, error)
- type MockDependencyManager_RetrieveContainerDependenciesClient
- type MockDependencyManager_RetrieveModuleDependenciesClient
- type MockDownloadSourceZipServer
- type MockRegistrarClient
- type MockStorageClient
- type MockStorage_DownloadSourceZipClient
- type MockStorage_UploadSourceZipClient
- type MockUploadSourceZipServer
- type MockVersionManagerClient
- func (m *MockVersionManagerClient) AbortVersion(ctx context.Context, in *services.TerminateVersionRequest, ...) (*module.Response, error)
- func (m *MockVersionManagerClient) BeginVersion(ctx context.Context, in *module.BeginVersionRequest, opts ...grpc.CallOption) (*module.Response, error)
- func (m *MockVersionManagerClient) PublishVersion(ctx context.Context, in *services.TerminateVersionRequest, ...) (*module.Response, error)
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 (m *MockConsumer_RetrieveContainerDependenciesServer) Context() context.Context
func (*MockConsumer_RetrieveContainerDependenciesServer) Send ¶
func (m *MockConsumer_RetrieveContainerDependenciesServer) Send(res *module.ContainerDependenciesResponseV2) error
type MockConsumer_RetrieveModuleDependenciesServer ¶
type MockConsumer_RetrieveModuleDependenciesServer struct { module.Consumer_RetrieveModuleDependenciesServer SendInvocations int SendResponse *module.ModuleDependenciesResponse SendError error }
func (*MockConsumer_RetrieveModuleDependenciesServer) Context ¶
func (m *MockConsumer_RetrieveModuleDependenciesServer) Context() context.Context
func (*MockConsumer_RetrieveModuleDependenciesServer) Send ¶
func (m *MockConsumer_RetrieveModuleDependenciesServer) Send(res *module.ModuleDependenciesResponse) error
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 (m *MockDependencyManagerClient) RegisterContainerDependencies(ctx context.Context, in *module.RegisterContainerDependenciesRequest, opts ...grpc.CallOption) (*module.Response, error)
func (*MockDependencyManagerClient) RegisterModuleDependencies ¶
func (m *MockDependencyManagerClient) RegisterModuleDependencies(ctx context.Context, in *module.RegisterModuleDependenciesRequest, opts ...grpc.CallOption) (*module.Response, error)
func (*MockDependencyManagerClient) RetrieveContainerDependencies ¶
func (m *MockDependencyManagerClient) RetrieveContainerDependencies(ctx context.Context, in *module.RetrieveContainerDependenciesRequestV2, opts ...grpc.CallOption) (services.DependencyManager_RetrieveContainerDependenciesClient, error)
func (*MockDependencyManagerClient) RetrieveModuleDependencies ¶
func (m *MockDependencyManagerClient) RetrieveModuleDependencies(ctx context.Context, in *module.RetrieveModuleDependenciesRequest, opts ...grpc.CallOption) (services.DependencyManager_RetrieveModuleDependenciesClient, error)
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 (m *MockDependencyManager_RetrieveContainerDependenciesClient) CloseSend() error
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 (m *MockDependencyManager_RetrieveModuleDependenciesClient) CloseSend() error
func (*MockDependencyManager_RetrieveModuleDependenciesClient) Recv ¶
func (m *MockDependencyManager_RetrieveModuleDependenciesClient) Recv() (*module.ModuleDependenciesResponse, error)
type MockDownloadSourceZipServer ¶
type MockDownloadSourceZipServer struct { services.Storage_DownloadSourceZipServer SendInvocations int SendResponse *module.SourceZipResponse SendError error }
func (*MockDownloadSourceZipServer) Context ¶
func (mds *MockDownloadSourceZipServer) Context() context.Context
func (*MockDownloadSourceZipServer) Send ¶
func (mds *MockDownloadSourceZipServer) Send(res *module.SourceZipResponse) error
type MockRegistrarClient ¶
type MockRegistrarClient struct { services.RegistrarClient RegisterInvocations int RegisterResponse *module.Response RegisterError error }
func (*MockRegistrarClient) Register ¶
func (m *MockRegistrarClient) Register(ctx context.Context, in *module.RegisterModuleRequest, opts ...grpc.CallOption) (*module.Response, error)
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) DownloadSourceZip ¶
func (m *MockStorageClient) DownloadSourceZip(ctx context.Context, in *module.DownloadSourceZipRequest, opts ...grpc.CallOption) (services.Storage_DownloadSourceZipClient, error)
func (*MockStorageClient) UploadSourceZip ¶
func (m *MockStorageClient) UploadSourceZip(ctx context.Context, opts ...grpc.CallOption) (services.Storage_UploadSourceZipClient, error)
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 (m *MockStorage_DownloadSourceZipClient) CloseSend() error
func (*MockStorage_DownloadSourceZipClient) Recv ¶
func (m *MockStorage_DownloadSourceZipClient) Recv() (*module.SourceZipResponse, error)
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 (m *MockStorage_UploadSourceZipClient) CloseAndRecv() (*module.Response, error)
func (*MockStorage_UploadSourceZipClient) CloseSend ¶
func (m *MockStorage_UploadSourceZipClient) CloseSend() error
func (*MockStorage_UploadSourceZipClient) Send ¶
func (m *MockStorage_UploadSourceZipClient) Send(*module.UploadSourceZipRequest) error
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 (mus *MockUploadSourceZipServer) Recv() (*module.UploadSourceZipRequest, error)
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 (m *MockVersionManagerClient) AbortVersion(ctx context.Context, in *services.TerminateVersionRequest, opts ...grpc.CallOption) (*module.Response, error)
func (*MockVersionManagerClient) BeginVersion ¶
func (m *MockVersionManagerClient) BeginVersion(ctx context.Context, in *module.BeginVersionRequest, opts ...grpc.CallOption) (*module.Response, error)
func (*MockVersionManagerClient) PublishVersion ¶
func (m *MockVersionManagerClient) PublishVersion(ctx context.Context, in *services.TerminateVersionRequest, opts ...grpc.CallOption) (*module.Response, error)
Click to show internal directories.
Click to hide internal directories.