{"modulePath":"github.com/Stackdome/stackdome","version":"v0.0.7-alpha","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package stack\n\nPackage stack is a generated GoMock package.\n\n## Constants\n\n```go\nconst (\n\tStackWorkerName = \"stack-worker\"\n)\n```\n\n## Functions\n\n```go\nfunc NewDeprovisionReconciler(spec DeprovisionReconcilerSpec) *deprovisionReconciler\n```\n\n```go\nfunc NewNamespaceReconciler(spec NamespaceReconcilerSpec) *namespaceReconciler\n```\n\n```go\nfunc NewStackWorker(spec StackWorkerSpec) worker.Worker\n```\n\n## Types\n\n```go\ntype DeprovisionReconcilerSpec struct {\n\tStackService     stackService\n\tNamespaceService namespaceService\n\tSecretService    secretService\n\tLogger           logger.Logger\n\tVolumeService    volumeService\n\tClusterManager   clustermanager.ClusterManager\n}\n```\n\n```go\ntype MocknamespaceService struct {\n\t// contains filtered or unexported fields\n}\n```\nMocknamespaceService is a mock of namespaceService interface.\n\n```go\nfunc NewMocknamespaceService(ctrl *gomock.Controller) *MocknamespaceService\n```\nNewMocknamespaceService creates a new mock instance.\n\n```go\nfunc (m *MocknamespaceService) EXPECT() *MocknamespaceServiceMockRecorder\n```\nEXPECT returns an object that allows the caller to indicate expected use.\n\n```go\nfunc (m *MocknamespaceService) Get(ctx context.Context, id string) (*models.Namespace, *errors.ServiceError)\n```\nGet mocks base method.\n\n```go\nfunc (m *MocknamespaceService) InternalDeleteFromDB(ctx context.Context, ID string) *errors.ServiceError\n```\nInternalDeleteFromDB mocks base method.\n\n```go\ntype MocknamespaceServiceMockRecorder struct {\n\t// contains filtered or unexported fields\n}\n```\nMocknamespaceServiceMockRecorder is the mock recorder for MocknamespaceService.\n\n```go\nfunc (mr *MocknamespaceServiceMockRecorder) Get(ctx, id any) *gomock.Call\n```\nGet indicates an expected call of Get.\n\n```go\nfunc (mr *MocknamespaceServiceMockRecorder) InternalDeleteFromDB(ctx, ID any) *gomock.Call\n```\nInternalDeleteFromDB indicates an expected call of InternalDeleteFromDB.\n\n```go\ntype MocksecretService struct {\n\t// contains filtered or unexported fields\n}\n```\nMocksecretService is a mock of secretService interface.\n\n```go\nfunc NewMocksecretService(ctrl *gomock.Controller) *MocksecretService\n```\nNewMocksecretService creates a new mock instance.\n\n```go\nfunc (m *MocksecretService) EXPECT() *MocksecretServiceMockRecorder\n```\nEXPECT returns an object that allows the caller to indicate expected use.\n\n```go\nfunc (m *MocksecretService) InternalGetByID(ctx context.Context, id string) (*models.Secret, *errors.ServiceError)\n```\nInternalGetByID mocks base method.\n\n```go\ntype MocksecretServiceMockRecorder struct {\n\t// contains filtered or unexported fields\n}\n```\nMocksecretServiceMockRecorder is the mock recorder for MocksecretService.\n\n```go\nfunc (mr *MocksecretServiceMockRecorder) InternalGetByID(ctx, id any) *gomock.Call\n```\nInternalGetByID indicates an expected call of InternalGetByID.\n\n```go\ntype MockstackService struct {\n\t// contains filtered or unexported fields\n}\n```\nMockstackService is a mock of stackService interface.\n\n```go\nfunc NewMockstackService(ctrl *gomock.Controller) *MockstackService\n```\nNewMockstackService creates a new mock instance.\n\n```go\nfunc (m *MockstackService) EXPECT() *MockstackServiceMockRecorder\n```\nEXPECT returns an object that allows the caller to indicate expected use.\n\n```go\nfunc (m *MockstackService) InternalDeleteFromDB(ctx context.Context, ID string) *errors.ServiceError\n```\nInternalDeleteFromDB mocks base method.\n\n```go\nfunc (m *MockstackService) InternalGetStack(ctx context.Context, ID string) (*models.Stack, *errors.ServiceError)\n```\nInternalGetStack mocks base method.\n\n```go\nfunc (m *MockstackService) InternalList(ctx context.Context, query string, args ...any) ([]*models.Stack, *errors.ServiceError)\n```\nInternalList mocks base method.\n\n```go\nfunc (m *MockstackService) UpdateStackCrRevision(ctx context.Context, ID, crRevision string) *errors.ServiceError\n```\nUpdateStackCrRevision mocks base method.\n\n```go\nfunc (m *MockstackService) UpdateStatus(ctx context.Context, ID string, status *models.StackStatus) *errors.ServiceError\n```\nUpdateStatus mocks base method.\n\n```go\ntype MockstackServiceMockRecorder struct {\n\t// contains filtered or unexported fields\n}\n```\nMockstackServiceMockRecorder is the mock recorder for MockstackService.\n\n```go\nfunc (mr *MockstackServiceMockRecorder) InternalDeleteFromDB(ctx, ID any) *gomock.Call\n```\nInternalDeleteFromDB indicates an expected call of InternalDeleteFromDB.\n\n```go\nfunc (mr *MockstackServiceMockRecorder) InternalGetStack(ctx, ID any) *gomock.Call\n```\nInternalGetStack indicates an expected call of InternalGetStack.\n\n```go\nfunc (mr *MockstackServiceMockRecorder) InternalList(ctx, query any, args ...any) *gomock.Call\n```\nInternalList indicates an expected call of InternalList.\n\n```go\nfunc (mr *MockstackServiceMockRecorder) UpdateStackCrRevision(ctx, ID, crRevision any) *gomock.Call\n```\nUpdateStackCrRevision indicates an expected call of UpdateStackCrRevision.\n\n```go\nfunc (mr *MockstackServiceMockRecorder) UpdateStatus(ctx, ID, status any) *gomock.Call\n```\nUpdateStatus indicates an expected call of UpdateStatus.\n\n```go\ntype MocksubReconciler struct {\n\t// contains filtered or unexported fields\n}\n```\nMocksubReconciler is a mock of subReconciler interface.\n\n```go\nfunc NewMocksubReconciler(ctrl *gomock.Controller) *MocksubReconciler\n```\nNewMocksubReconciler creates a new mock instance.\n\n```go\nfunc (m *MocksubReconciler) EXPECT() *MocksubReconcilerMockRecorder\n```\nEXPECT returns an object that allows the caller to indicate expected use.\n\n```go\nfunc (m *MocksubReconciler) Name() string\n```\nName mocks base method.\n\n```go\nfunc (m *MocksubReconciler) Reconcile(ctx context.Context, stack *models.Stack) (subReconcilerResult, error)\n```\nReconcile mocks base method.\n\n```go\ntype MocksubReconcilerMockRecorder struct {\n\t// contains filtered or unexported fields\n}\n```\nMocksubReconcilerMockRecorder is the mock recorder for MocksubReconciler.\n\n```go\nfunc (mr *MocksubReconcilerMockRecorder) Name() *gomock.Call\n```\nName indicates an expected call of Name.\n\n```go\nfunc (mr *MocksubReconcilerMockRecorder) Reconcile(ctx, stack any) *gomock.Call\n```\nReconcile indicates an expected call of Reconcile.\n\n```go\ntype MockvolumeService struct {\n\t// contains filtered or unexported fields\n}\n```\nMockvolumeService is a mock of volumeService interface.\n\n```go\nfunc NewMockvolumeService(ctrl *gomock.Controller) *MockvolumeService\n```\nNewMockvolumeService creates a new mock instance.\n\n```go\nfunc (m *MockvolumeService) EXPECT() *MockvolumeServiceMockRecorder\n```\nEXPECT returns an object that allows the caller to indicate expected use.\n\n```go\nfunc (m *MockvolumeService) InternalDeleteVolumesUsedByStackFromDB(ctx context.Context, stackID string) *errors.ServiceError\n```\nInternalDeleteVolumesUsedByStackFromDB mocks base method.\n\n```go\nfunc (m *MockvolumeService) ListVolumesUsedByStack(ctx context.Context, stackID string) ([]*models.Volume, *errors.ServiceError)\n```\nListVolumesUsedByStack mocks base method.\n\n```go\ntype MockvolumeServiceMockRecorder struct {\n\t// contains filtered or unexported fields\n}\n```\nMockvolumeServiceMockRecorder is the mock recorder for MockvolumeService.\n\n```go\nfunc (mr *MockvolumeServiceMockRecorder) InternalDeleteVolumesUsedByStackFromDB(ctx, stackID any) *gomock.Call\n```\nInternalDeleteVolumesUsedByStackFromDB indicates an expected call of InternalDeleteVolumesUsedByStackFromDB.\n\n```go\nfunc (mr *MockvolumeServiceMockRecorder) ListVolumesUsedByStack(ctx, stackID any) *gomock.Call\n```\nListVolumesUsedByStack indicates an expected call of ListVolumesUsedByStack.\n\n```go\ntype NamespaceReconcilerSpec struct {\n\tClusterManager   clustermanager.ClusterManager\n\tNamespaceService namespaceService\n\tLogger           logger.Logger\n}\n```\n\n```go\ntype StackWorkerSpec struct {\n\tStackService     stackService\n\tSecretService    secretService\n\tVolumeService    volumeService\n\tNamespaceService namespaceService\n\tEnv              string\n\tClusterManager   clustermanager.ClusterManager\n}\n```\n\n","path":"github.com/Stackdome/stackdome/pkg/worker/stack","name":"stack","synopsis":"Package stack is a generated GoMock package.","isRedistributable":true}
