Documentation ¶
Index ¶
- type MockConsumer_RetrieveContainerDependenciesServer
- type MockConsumer_RetrieveModuleDependenciesServer
- type MockDependencyManagerClient
- func (m *MockDependencyManagerClient) RegisterContainerDependencies(ctx context.Context, in *terrariumModule.RegisterContainerDependenciesRequest, ...) (*terrariumModule.Response, error)
- func (m *MockDependencyManagerClient) RegisterModuleDependencies(ctx context.Context, in *terrariumModule.RegisterModuleDependenciesRequest, ...) (*terrariumModule.Response, error)
- func (m *MockDependencyManagerClient) RetrieveContainerDependencies(ctx context.Context, ...) (moduleServices.DependencyManager_RetrieveContainerDependenciesClient, error)
- func (m *MockDependencyManagerClient) RetrieveModuleDependencies(ctx context.Context, in *terrariumModule.RetrieveModuleDependenciesRequest, ...) (moduleServices.DependencyManager_RetrieveModuleDependenciesClient, error)
- type MockDependencyManager_RetrieveContainerDependenciesClient
- type MockDependencyManager_RetrieveModuleDependenciesClient
- type MockDownloadSourceZipServer
- type MockProviderVersionManagerClient
- func (m *MockProviderVersionManagerClient) AbortProviderVersion(ctx context.Context, in *providerServices.TerminateVersionRequest, ...) (*terrariumProvider.Response, error)
- func (m *MockProviderVersionManagerClient) PublishVersion(ctx context.Context, in *providerServices.TerminateVersionRequest, ...) (*terrariumProvider.Response, error)
- func (m *MockProviderVersionManagerClient) Register(ctx context.Context, in *terrariumProvider.RegisterProviderRequest, ...) (*terrariumProvider.Response, error)
- type MockRegistrarClient
- type MockStorageClient
- func (m *MockStorageClient) DownloadSourceZip(ctx context.Context, in *terrariumModule.DownloadSourceZipRequest, ...) (moduleServices.Storage_DownloadSourceZipClient, error)
- func (m *MockStorageClient) UploadSourceZip(ctx context.Context, opts ...grpc.CallOption) (moduleServices.Storage_UploadSourceZipClient, error)
- type MockStorage_DownloadSourceZipClient
- type MockStorage_UploadSourceZipClient
- type MockUploadSourceZipServer
- type MockVersionManagerClient
- func (m *MockVersionManagerClient) AbortVersion(ctx context.Context, in *moduleServices.TerminateVersionRequest, ...) (*terrariumModule.Response, error)
- func (m *MockVersionManagerClient) BeginVersion(ctx context.Context, in *terrariumModule.BeginVersionRequest, ...) (*terrariumModule.Response, error)
- func (m *MockVersionManagerClient) PublishVersion(ctx context.Context, in *moduleServices.TerminateVersionRequest, ...) (*terrariumModule.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 { moduleServices.DependencyManagerClient RegisterModuleDependenciesInvocations int RegisterModuleDependenciesResponse *terrariumModule.Response RegisterModuleDependenciesError error RegisterContainerDependenciesInvocations int RegisterContainerDependenciesResponse *terrariumModule.Response RegisterContainerDependenciesError error RetrieveContainerDependenciesInvocations int RetrieveContainerDependenciesClient moduleServices.DependencyManager_RetrieveContainerDependenciesClient RetrieveContainerDependenciesError error RetrieveModuleDependenciesInvocations int RetrieveModuleDependenciesClient moduleServices.DependencyManager_RetrieveModuleDependenciesClient RetrieveModuleDependenciesError error }
func (*MockDependencyManagerClient) RegisterContainerDependencies ¶
func (m *MockDependencyManagerClient) RegisterContainerDependencies(ctx context.Context, in *terrariumModule.RegisterContainerDependenciesRequest, opts ...grpc.CallOption) (*terrariumModule.Response, error)
func (*MockDependencyManagerClient) RegisterModuleDependencies ¶
func (m *MockDependencyManagerClient) RegisterModuleDependencies(ctx context.Context, in *terrariumModule.RegisterModuleDependenciesRequest, opts ...grpc.CallOption) (*terrariumModule.Response, error)
func (*MockDependencyManagerClient) RetrieveContainerDependencies ¶
func (m *MockDependencyManagerClient) RetrieveContainerDependencies(ctx context.Context, in *terrariumModule.RetrieveContainerDependenciesRequestV2, opts ...grpc.CallOption) (moduleServices.DependencyManager_RetrieveContainerDependenciesClient, error)
func (*MockDependencyManagerClient) RetrieveModuleDependencies ¶
func (m *MockDependencyManagerClient) RetrieveModuleDependencies(ctx context.Context, in *terrariumModule.RetrieveModuleDependenciesRequest, opts ...grpc.CallOption) (moduleServices.DependencyManager_RetrieveModuleDependenciesClient, error)
type MockDependencyManager_RetrieveContainerDependenciesClient ¶
type MockDependencyManager_RetrieveContainerDependenciesClient struct { moduleServices.DependencyManager_RetrieveContainerDependenciesClient RecvInvocations int RecvResponse *terrariumModule.ContainerDependenciesResponseV2 RecvError error CloseSendInvocations int CloseSendError error }
func (*MockDependencyManager_RetrieveContainerDependenciesClient) CloseSend ¶
func (m *MockDependencyManager_RetrieveContainerDependenciesClient) CloseSend() error
type MockDependencyManager_RetrieveModuleDependenciesClient ¶
type MockDependencyManager_RetrieveModuleDependenciesClient struct { moduleServices.DependencyManager_RetrieveModuleDependenciesClient RecvInvocations int RecvResponse *terrariumModule.ModuleDependenciesResponse RecvError error CloseSendInvocations int CloseSendError error }
func (*MockDependencyManager_RetrieveModuleDependenciesClient) CloseSend ¶
func (m *MockDependencyManager_RetrieveModuleDependenciesClient) CloseSend() 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 MockProviderVersionManagerClient ¶ added in v0.0.78
type MockProviderVersionManagerClient struct { providerServices.VersionManagerClient RegisterInvocations int RegisterResponse *terrariumProvider.Response RegisterError error PublishVersionInvocations int PublishVersionResponse *terrariumProvider.Response PublishVersionError error AbortVersionInvocations int AbortVersionResponse *terrariumProvider.Response AbortVersionError error }
func (*MockProviderVersionManagerClient) AbortProviderVersion ¶ added in v0.0.78
func (m *MockProviderVersionManagerClient) AbortProviderVersion(ctx context.Context, in *providerServices.TerminateVersionRequest, opts ...grpc.CallOption) (*terrariumProvider.Response, error)
func (*MockProviderVersionManagerClient) PublishVersion ¶ added in v0.0.78
func (m *MockProviderVersionManagerClient) PublishVersion(ctx context.Context, in *providerServices.TerminateVersionRequest, opts ...grpc.CallOption) (*terrariumProvider.Response, error)
func (*MockProviderVersionManagerClient) Register ¶ added in v0.0.78
func (m *MockProviderVersionManagerClient) Register(ctx context.Context, in *terrariumProvider.RegisterProviderRequest, opts ...grpc.CallOption) (*terrariumProvider.Response, error)
type MockRegistrarClient ¶
type MockRegistrarClient struct { moduleServices.RegistrarClient RegisterInvocations int RegisterResponse *terrariumModule.Response RegisterError error }
func (*MockRegistrarClient) Register ¶
func (m *MockRegistrarClient) Register(ctx context.Context, in *terrariumModule.RegisterModuleRequest, opts ...grpc.CallOption) (*terrariumModule.Response, error)
type MockStorageClient ¶
type MockStorageClient struct { moduleServices.StorageClient UploadSourceZipInvocations int UploadSourceZipClient moduleServices.Storage_UploadSourceZipClient UploadSourceZipError error DownloadSourceZipInvocations int DownloadSourceZipClient moduleServices.Storage_DownloadSourceZipClient DownloadSourceZipError error }
func (*MockStorageClient) DownloadSourceZip ¶
func (m *MockStorageClient) DownloadSourceZip(ctx context.Context, in *terrariumModule.DownloadSourceZipRequest, opts ...grpc.CallOption) (moduleServices.Storage_DownloadSourceZipClient, error)
func (*MockStorageClient) UploadSourceZip ¶
func (m *MockStorageClient) UploadSourceZip(ctx context.Context, opts ...grpc.CallOption) (moduleServices.Storage_UploadSourceZipClient, error)
type MockStorage_DownloadSourceZipClient ¶
type MockStorage_DownloadSourceZipClient struct { moduleServices.Storage_DownloadSourceZipClient RecvInvocations int RecvResponse *terrariumModule.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() (*terrariumModule.SourceZipResponse, error)
type MockStorage_UploadSourceZipClient ¶
type MockStorage_UploadSourceZipClient struct { moduleServices.Storage_UploadSourceZipClient CloseAndRecvInvocations int CloseAndRecvResponse *terrariumModule.Response CloseAndRecvError error SendInvocations int SendError error CloseSendInvocations int CloseSendError error }
func (*MockStorage_UploadSourceZipClient) CloseAndRecv ¶
func (m *MockStorage_UploadSourceZipClient) CloseAndRecv() (*terrariumModule.Response, error)
func (*MockStorage_UploadSourceZipClient) CloseSend ¶
func (m *MockStorage_UploadSourceZipClient) CloseSend() error
func (*MockStorage_UploadSourceZipClient) Send ¶
func (m *MockStorage_UploadSourceZipClient) Send(*terrariumModule.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 { moduleServices.VersionManagerClient BeginVersionInvocations int BeginVersionResponse *terrariumModule.Response BeginVersionError error PublishVersionInvocations int PublishVersionResponse *terrariumModule.Response PublishVersionError error AbortVersionInvocations int AbortVersionResponse *terrariumModule.Response AbortVersionError error }
func (*MockVersionManagerClient) AbortVersion ¶
func (m *MockVersionManagerClient) AbortVersion(ctx context.Context, in *moduleServices.TerminateVersionRequest, opts ...grpc.CallOption) (*terrariumModule.Response, error)
func (*MockVersionManagerClient) BeginVersion ¶
func (m *MockVersionManagerClient) BeginVersion(ctx context.Context, in *terrariumModule.BeginVersionRequest, opts ...grpc.CallOption) (*terrariumModule.Response, error)
func (*MockVersionManagerClient) PublishVersion ¶
func (m *MockVersionManagerClient) PublishVersion(ctx context.Context, in *moduleServices.TerminateVersionRequest, opts ...grpc.CallOption) (*terrariumModule.Response, error)
Click to show internal directories.
Click to hide internal directories.