Documentation
¶
Overview ¶
Package mock_store is a generated GoMock package.
Index ¶
- type MockAirgapStore
- func (m *MockAirgapStore) EXPECT() *MockAirgapStoreMockRecorder
- func (m *MockAirgapStore) GetAirgapInstallStatus(appID string) (*types.InstallStatus, error)
- func (m *MockAirgapStore) GetPendingAirgapUploadApp() (*types.PendingApp, error)
- func (m *MockAirgapStore) ResetAirgapInstallInProgress(appID string) error
- func (m *MockAirgapStore) SetAppIsAirgap(appID string, isAirgap bool) error
- type MockAirgapStoreMockRecorder
- func (mr *MockAirgapStoreMockRecorder) GetAirgapInstallStatus(appID interface{}) *gomock.Call
- func (mr *MockAirgapStoreMockRecorder) GetPendingAirgapUploadApp() *gomock.Call
- func (mr *MockAirgapStoreMockRecorder) ResetAirgapInstallInProgress(appID interface{}) *gomock.Call
- func (mr *MockAirgapStoreMockRecorder) SetAppIsAirgap(appID, isAirgap interface{}) *gomock.Call
- type MockAppStatusStore
- type MockAppStatusStoreMockRecorder
- type MockAppStore
- func (m *MockAppStore) AddAppToAllDownstreams(appID string) error
- func (m *MockAppStore) CreateApp(name, upstreamURI, licenseData string, ...) (*types3.App, error)
- func (m *MockAppStore) EXPECT() *MockAppStoreMockRecorder
- func (m *MockAppStore) GetApp(appID string) (*types3.App, error)
- func (m *MockAppStore) GetAppFromSlug(slug string) (*types3.App, error)
- func (m *MockAppStore) GetAppIDFromSlug(slug string) (string, error)
- func (m *MockAppStore) GetDownstream(clusterID string) (*types1.Downstream, error)
- func (m *MockAppStore) IsGitOpsEnabledForApp(appID string) (bool, error)
- func (m *MockAppStore) ListAppsForDownstream(clusterID string) ([]*types3.App, error)
- func (m *MockAppStore) ListDownstreamsForApp(appID string) ([]types1.Downstream, error)
- func (m *MockAppStore) ListInstalledAppSlugs() ([]string, error)
- func (m *MockAppStore) ListInstalledApps() ([]*types3.App, error)
- func (m *MockAppStore) RemoveApp(appID string) error
- func (m *MockAppStore) SetAppInstallState(appID, state string) error
- func (m *MockAppStore) SetSnapshotSchedule(appID, snapshotSchedule string) error
- func (m *MockAppStore) SetSnapshotTTL(appID, snapshotTTL string) error
- func (m *MockAppStore) SetUpdateCheckerSpec(appID, updateCheckerSpec string) error
- type MockAppStoreMockRecorder
- func (mr *MockAppStoreMockRecorder) AddAppToAllDownstreams(appID interface{}) *gomock.Call
- func (mr *MockAppStoreMockRecorder) CreateApp(...) *gomock.Call
- func (mr *MockAppStoreMockRecorder) GetApp(appID interface{}) *gomock.Call
- func (mr *MockAppStoreMockRecorder) GetAppFromSlug(slug interface{}) *gomock.Call
- func (mr *MockAppStoreMockRecorder) GetAppIDFromSlug(slug interface{}) *gomock.Call
- func (mr *MockAppStoreMockRecorder) GetDownstream(clusterID interface{}) *gomock.Call
- func (mr *MockAppStoreMockRecorder) IsGitOpsEnabledForApp(appID interface{}) *gomock.Call
- func (mr *MockAppStoreMockRecorder) ListAppsForDownstream(clusterID interface{}) *gomock.Call
- func (mr *MockAppStoreMockRecorder) ListDownstreamsForApp(appID interface{}) *gomock.Call
- func (mr *MockAppStoreMockRecorder) ListInstalledAppSlugs() *gomock.Call
- func (mr *MockAppStoreMockRecorder) ListInstalledApps() *gomock.Call
- func (mr *MockAppStoreMockRecorder) RemoveApp(appID interface{}) *gomock.Call
- func (mr *MockAppStoreMockRecorder) SetAppInstallState(appID, state interface{}) *gomock.Call
- func (mr *MockAppStoreMockRecorder) SetSnapshotSchedule(appID, snapshotSchedule interface{}) *gomock.Call
- func (mr *MockAppStoreMockRecorder) SetSnapshotTTL(appID, snapshotTTL interface{}) *gomock.Call
- func (mr *MockAppStoreMockRecorder) SetUpdateCheckerSpec(appID, updateCheckerSpec interface{}) *gomock.Call
- type MockClusterStore
- func (m *MockClusterStore) CreateNewCluster(userID string, isAllUsers bool, title, token string) (string, error)
- func (m *MockClusterStore) EXPECT() *MockClusterStoreMockRecorder
- func (m *MockClusterStore) GetClusterIDFromDeployToken(deployToken string) (string, error)
- func (m *MockClusterStore) GetClusterIDFromSlug(slug string) (string, error)
- func (m *MockClusterStore) ListClusters() ([]*types1.Downstream, error)
- func (m *MockClusterStore) SetInstanceSnapshotSchedule(clusterID, snapshotSchedule string) error
- func (m *MockClusterStore) SetInstanceSnapshotTTL(clusterID, snapshotTTL string) error
- type MockClusterStoreMockRecorder
- func (mr *MockClusterStoreMockRecorder) CreateNewCluster(userID, isAllUsers, title, token interface{}) *gomock.Call
- func (mr *MockClusterStoreMockRecorder) GetClusterIDFromDeployToken(deployToken interface{}) *gomock.Call
- func (mr *MockClusterStoreMockRecorder) GetClusterIDFromSlug(slug interface{}) *gomock.Call
- func (mr *MockClusterStoreMockRecorder) ListClusters() *gomock.Call
- func (mr *MockClusterStoreMockRecorder) SetInstanceSnapshotSchedule(clusterID, snapshotSchedule interface{}) *gomock.Call
- func (mr *MockClusterStoreMockRecorder) SetInstanceSnapshotTTL(clusterID, snapshotTTL interface{}) *gomock.Call
- type MockInstallationStore
- type MockInstallationStoreMockRecorder
- type MockKotsadmParamsStore
- type MockKotsadmParamsStoreMockRecorder
- type MockLicenseStore
- func (m *MockLicenseStore) EXPECT() *MockLicenseStoreMockRecorder
- func (m *MockLicenseStore) GetAllAppLicenses() ([]*v1beta1.License, error)
- func (m *MockLicenseStore) GetLatestLicenseForApp(appID string) (*v1beta1.License, error)
- func (m *MockLicenseStore) GetLicenseForAppVersion(appID string, sequence int64) (*v1beta1.License, error)
- func (m *MockLicenseStore) UpdateAppLicense(appID string, sequence int64, archiveDir string, newLicense *v1beta1.License, ...) (int64, error)
- type MockLicenseStoreMockRecorder
- func (mr *MockLicenseStoreMockRecorder) GetAllAppLicenses() *gomock.Call
- func (mr *MockLicenseStoreMockRecorder) GetLatestLicenseForApp(appID interface{}) *gomock.Call
- func (mr *MockLicenseStoreMockRecorder) GetLicenseForAppVersion(appID, sequence interface{}) *gomock.Call
- func (mr *MockLicenseStoreMockRecorder) UpdateAppLicense(appID, sequence, archiveDir, newLicense, originalLicenseData, ... interface{}) *gomock.Call
- type MockMigrations
- type MockMigrationsMockRecorder
- type MockPreflightStore
- func (m *MockPreflightStore) EXPECT() *MockPreflightStoreMockRecorder
- func (m *MockPreflightStore) GetPreflightProgress(appID string, sequence int64) (string, error)
- func (m *MockPreflightStore) GetPreflightResults(appID string, sequence int64) (*types7.PreflightResult, error)
- func (m *MockPreflightStore) ResetPreflightResults(appID string, sequence int64) error
- func (m *MockPreflightStore) SetIgnorePreflightPermissionErrors(appID string, sequence int64) error
- func (m *MockPreflightStore) SetPreflightProgress(appID string, sequence int64, progress string) error
- func (m *MockPreflightStore) SetPreflightResults(appID string, sequence int64, results []byte) error
- type MockPreflightStoreMockRecorder
- func (mr *MockPreflightStoreMockRecorder) GetPreflightProgress(appID, sequence interface{}) *gomock.Call
- func (mr *MockPreflightStoreMockRecorder) GetPreflightResults(appID, sequence interface{}) *gomock.Call
- func (mr *MockPreflightStoreMockRecorder) ResetPreflightResults(appID, sequence interface{}) *gomock.Call
- func (mr *MockPreflightStoreMockRecorder) SetIgnorePreflightPermissionErrors(appID, sequence interface{}) *gomock.Call
- func (mr *MockPreflightStoreMockRecorder) SetPreflightProgress(appID, sequence, progress interface{}) *gomock.Call
- func (mr *MockPreflightStoreMockRecorder) SetPreflightResults(appID, sequence, results interface{}) *gomock.Call
- type MockPrometheusStore
- type MockPrometheusStoreMockRecorder
- type MockRegistryStore
- type MockRegistryStoreMockRecorder
- type MockSessionStore
- func (m *MockSessionStore) CreateSession(user *types12.User, issuedAt, expiresAt time.Time, roles []string) (*types10.Session, error)
- func (m *MockSessionStore) DeleteSession(sessionID string) error
- func (m *MockSessionStore) EXPECT() *MockSessionStoreMockRecorder
- func (m *MockSessionStore) GetSession(sessionID string) (*types10.Session, error)
- type MockSessionStoreMockRecorder
- type MockSnapshotStore
- func (m *MockSnapshotStore) CreateScheduledInstanceSnapshot(snapshotID, clusterID string, timestamp time.Time) error
- func (m *MockSnapshotStore) CreateScheduledSnapshot(snapshotID, appID string, timestamp time.Time) error
- func (m *MockSnapshotStore) DeletePendingScheduledInstanceSnapshots(clusterID string) error
- func (m *MockSnapshotStore) DeletePendingScheduledSnapshots(appID string) error
- func (m *MockSnapshotStore) EXPECT() *MockSnapshotStoreMockRecorder
- func (m *MockSnapshotStore) ListPendingScheduledInstanceSnapshots(clusterID string) ([]types5.ScheduledInstanceSnapshot, error)
- func (m *MockSnapshotStore) ListPendingScheduledSnapshots(appID string) ([]types5.ScheduledSnapshot, error)
- func (m *MockSnapshotStore) UpdateScheduledInstanceSnapshot(snapshotID, backupName string) error
- func (m *MockSnapshotStore) UpdateScheduledSnapshot(snapshotID, backupName string) error
- type MockSnapshotStoreMockRecorder
- func (mr *MockSnapshotStoreMockRecorder) CreateScheduledInstanceSnapshot(snapshotID, clusterID, timestamp interface{}) *gomock.Call
- func (mr *MockSnapshotStoreMockRecorder) CreateScheduledSnapshot(snapshotID, appID, timestamp interface{}) *gomock.Call
- func (mr *MockSnapshotStoreMockRecorder) DeletePendingScheduledInstanceSnapshots(clusterID interface{}) *gomock.Call
- func (mr *MockSnapshotStoreMockRecorder) DeletePendingScheduledSnapshots(appID interface{}) *gomock.Call
- func (mr *MockSnapshotStoreMockRecorder) ListPendingScheduledInstanceSnapshots(clusterID interface{}) *gomock.Call
- func (mr *MockSnapshotStoreMockRecorder) ListPendingScheduledSnapshots(appID interface{}) *gomock.Call
- func (mr *MockSnapshotStoreMockRecorder) UpdateScheduledInstanceSnapshot(snapshotID, backupName interface{}) *gomock.Call
- func (mr *MockSnapshotStoreMockRecorder) UpdateScheduledSnapshot(snapshotID, backupName interface{}) *gomock.Call
- type MockStore
- func (m *MockStore) AddAppToAllDownstreams(appID string) error
- func (m *MockStore) ClearTaskStatus(taskID string) error
- func (m *MockStore) CreateApp(name, upstreamURI, licenseData string, ...) (*types3.App, error)
- func (m *MockStore) CreateAppVersion(appID string, currentSequence *int64, filesInDir, source string, ...) (int64, error)
- func (m *MockStore) CreateAppVersionArchive(appID string, sequence int64, archivePath string) error
- func (m *MockStore) CreateNewCluster(userID string, isAllUsers bool, title, token string) (string, error)
- func (m *MockStore) CreatePendingSupportBundle(bundleID, appID, clusterID string) error
- func (m *MockStore) CreateScheduledInstanceSnapshot(snapshotID, clusterID string, timestamp time.Time) error
- func (m *MockStore) CreateScheduledSnapshot(snapshotID, appID string, timestamp time.Time) error
- func (m *MockStore) CreateSession(user *types12.User, issuedAt, expiresAt time.Time, roles []string) (*types10.Session, error)
- func (m *MockStore) CreateSupportBundle(bundleID, appID, archivePath string, marshalledTree []byte) (*types11.SupportBundle, error)
- func (m *MockStore) DeletePendingScheduledInstanceSnapshots(clusterID string) error
- func (m *MockStore) DeletePendingScheduledSnapshots(appID string) error
- func (m *MockStore) DeletePendingSupportBundle(id string) error
- func (m *MockStore) DeleteSession(sessionID string) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) GetAirgapInstallStatus(appID string) (*types.InstallStatus, error)
- func (m *MockStore) GetAllAppLicenses() ([]*v1beta1.License, error)
- func (m *MockStore) GetApp(appID string) (*types3.App, error)
- func (m *MockStore) GetAppFromSlug(slug string) (*types3.App, error)
- func (m *MockStore) GetAppIDFromSlug(slug string) (string, error)
- func (m *MockStore) GetAppStatus(appID string) (*types0.AppStatus, error)
- func (m *MockStore) GetAppVersion(arg0 string, arg1 int64) (*types2.AppVersion, error)
- func (m *MockStore) GetAppVersionArchive(appID string, sequence int64, dstPath string) error
- func (m *MockStore) GetAppVersionsAfter(arg0 string, arg1 int64) ([]*types2.AppVersion, error)
- func (m *MockStore) GetClusterIDFromDeployToken(deployToken string) (string, error)
- func (m *MockStore) GetClusterIDFromSlug(slug string) (string, error)
- func (m *MockStore) GetDownstream(clusterID string) (*types1.Downstream, error)
- func (m *MockStore) GetLatestLicenseForApp(appID string) (*v1beta1.License, error)
- func (m *MockStore) GetLicenseForAppVersion(appID string, sequence int64) (*v1beta1.License, error)
- func (m *MockStore) GetPendingAirgapUploadApp() (*types.PendingApp, error)
- func (m *MockStore) GetPendingInstallationStatus() (*types6.InstallStatus, error)
- func (m *MockStore) GetPreflightProgress(appID string, sequence int64) (string, error)
- func (m *MockStore) GetPreflightResults(appID string, sequence int64) (*types7.PreflightResult, error)
- func (m *MockStore) GetPrometheusAddress() (string, error)
- func (m *MockStore) GetRedactions(bundleID string) (redact.RedactionList, error)
- func (m *MockStore) GetRegistryDetailsForApp(appID string) (types8.RegistrySettings, error)
- func (m *MockStore) GetSession(sessionID string) (*types10.Session, error)
- func (m *MockStore) GetSupportBundle(bundleID string) (*types11.SupportBundle, error)
- func (m *MockStore) GetSupportBundleAnalysis(bundleID string) (*types11.SupportBundleAnalysis, error)
- func (m *MockStore) GetSupportBundleArchive(bundleID string) (string, error)
- func (m *MockStore) GetSupportBundleSpecForApp(id string) (string, error)
- func (m *MockStore) GetTaskStatus(taskID string) (string, string, error)
- func (m *MockStore) Init() error
- func (m *MockStore) IsGitOpsEnabledForApp(appID string) (bool, error)
- func (m *MockStore) IsIdentityServiceSupportedForVersion(appID string, sequence int64) (bool, error)
- func (m *MockStore) IsKotsadmIDGenerated() (bool, error)
- func (m *MockStore) IsNotFound(err error) bool
- func (m *MockStore) IsRollbackSupportedForVersion(appID string, sequence int64) (bool, error)
- func (m *MockStore) IsSnapshotsSupportedForVersion(a *types3.App, sequence int64, renderer types9.Renderer) (bool, error)
- func (m *MockStore) ListAppsForDownstream(clusterID string) ([]*types3.App, error)
- func (m *MockStore) ListClusters() ([]*types1.Downstream, error)
- func (m *MockStore) ListDownstreamsForApp(appID string) ([]types1.Downstream, error)
- func (m *MockStore) ListInstalledAppSlugs() ([]string, error)
- func (m *MockStore) ListInstalledApps() ([]*types3.App, error)
- func (m *MockStore) ListPendingScheduledInstanceSnapshots(clusterID string) ([]types5.ScheduledInstanceSnapshot, error)
- func (m *MockStore) ListPendingScheduledSnapshots(appID string) ([]types5.ScheduledSnapshot, error)
- func (m *MockStore) ListPendingSupportBundlesForApp(appID string) ([]*types11.PendingSupportBundle, error)
- func (m *MockStore) ListSupportBundles(appID string) ([]*types11.SupportBundle, error)
- func (m *MockStore) RemoveApp(appID string) error
- func (m *MockStore) ResetAirgapInstallInProgress(appID string) error
- func (m *MockStore) ResetPreflightResults(appID string, sequence int64) error
- func (m *MockStore) RunMigrations()
- func (m *MockStore) SetAppInstallState(appID, state string) error
- func (m *MockStore) SetAppIsAirgap(appID string, isAirgap bool) error
- func (m *MockStore) SetAppStatus(appID string, resourceStates []types0.ResourceState, updatedAt time.Time) error
- func (m *MockStore) SetIgnorePreflightPermissionErrors(appID string, sequence int64) error
- func (m *MockStore) SetInstanceSnapshotSchedule(clusterID, snapshotSchedule string) error
- func (m *MockStore) SetInstanceSnapshotTTL(clusterID, snapshotTTL string) error
- func (m *MockStore) SetIsKotsadmIDGenerated() error
- func (m *MockStore) SetPreflightProgress(appID string, sequence int64, progress string) error
- func (m *MockStore) SetPreflightResults(appID string, sequence int64, results []byte) error
- func (m *MockStore) SetPrometheusAddress(address string) error
- func (m *MockStore) SetRedactions(bundleID string, redacts redact.RedactionList) error
- func (m *MockStore) SetSnapshotSchedule(appID, snapshotSchedule string) error
- func (m *MockStore) SetSnapshotTTL(appID, snapshotTTL string) error
- func (m *MockStore) SetSupportBundleAnalysis(bundleID string, insights []byte) error
- func (m *MockStore) SetTaskStatus(taskID, message, status string) error
- func (m *MockStore) SetUpdateCheckerSpec(appID, updateCheckerSpec string) error
- func (m *MockStore) UpdateAppLicense(appID string, sequence int64, archiveDir string, newLicense *v1beta1.License, ...) (int64, error)
- func (m *MockStore) UpdateRegistry(appID, hostname, username, password, namespace string, isReadOnly bool) error
- func (m *MockStore) UpdateScheduledInstanceSnapshot(snapshotID, backupName string) error
- func (m *MockStore) UpdateScheduledSnapshot(snapshotID, backupName string) error
- func (m *MockStore) UpdateTaskStatusTimestamp(taskID string) error
- func (m *MockStore) WaitForReady(ctx context.Context) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) AddAppToAllDownstreams(appID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ClearTaskStatus(taskID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateApp(...) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateAppVersion(appID, currentSequence, filesInDir, source, skipPreflights, gitops interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateAppVersionArchive(appID, sequence, archivePath interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateNewCluster(userID, isAllUsers, title, token interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreatePendingSupportBundle(bundleID, appID, clusterID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateScheduledInstanceSnapshot(snapshotID, clusterID, timestamp interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateScheduledSnapshot(snapshotID, appID, timestamp interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateSession(user, issuedAt, expiresAt, roles interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateSupportBundle(bundleID, appID, archivePath, marshalledTree interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeletePendingScheduledInstanceSnapshots(clusterID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeletePendingScheduledSnapshots(appID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeletePendingSupportBundle(id interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteSession(sessionID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAirgapInstallStatus(appID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAllAppLicenses() *gomock.Call
- func (mr *MockStoreMockRecorder) GetApp(appID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAppFromSlug(slug interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAppIDFromSlug(slug interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAppStatus(appID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAppVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAppVersionArchive(appID, sequence, dstPath interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAppVersionsAfter(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetClusterIDFromDeployToken(deployToken interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetClusterIDFromSlug(slug interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetDownstream(clusterID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetLatestLicenseForApp(appID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetLicenseForAppVersion(appID, sequence interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetPendingAirgapUploadApp() *gomock.Call
- func (mr *MockStoreMockRecorder) GetPendingInstallationStatus() *gomock.Call
- func (mr *MockStoreMockRecorder) GetPreflightProgress(appID, sequence interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetPreflightResults(appID, sequence interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetPrometheusAddress() *gomock.Call
- func (mr *MockStoreMockRecorder) GetRedactions(bundleID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetRegistryDetailsForApp(appID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetSession(sessionID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetSupportBundle(bundleID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetSupportBundleAnalysis(bundleID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetSupportBundleArchive(bundleID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetSupportBundleSpecForApp(id interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetTaskStatus(taskID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Init() *gomock.Call
- func (mr *MockStoreMockRecorder) IsGitOpsEnabledForApp(appID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) IsIdentityServiceSupportedForVersion(appID, sequence interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) IsKotsadmIDGenerated() *gomock.Call
- func (mr *MockStoreMockRecorder) IsNotFound(err interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) IsRollbackSupportedForVersion(appID, sequence interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) IsSnapshotsSupportedForVersion(a, sequence, renderer interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListAppsForDownstream(clusterID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListClusters() *gomock.Call
- func (mr *MockStoreMockRecorder) ListDownstreamsForApp(appID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListInstalledAppSlugs() *gomock.Call
- func (mr *MockStoreMockRecorder) ListInstalledApps() *gomock.Call
- func (mr *MockStoreMockRecorder) ListPendingScheduledInstanceSnapshots(clusterID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListPendingScheduledSnapshots(appID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListPendingSupportBundlesForApp(appID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListSupportBundles(appID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) RemoveApp(appID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ResetAirgapInstallInProgress(appID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ResetPreflightResults(appID, sequence interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) RunMigrations() *gomock.Call
- func (mr *MockStoreMockRecorder) SetAppInstallState(appID, state interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetAppIsAirgap(appID, isAirgap interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetAppStatus(appID, resourceStates, updatedAt interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetIgnorePreflightPermissionErrors(appID, sequence interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetInstanceSnapshotSchedule(clusterID, snapshotSchedule interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetInstanceSnapshotTTL(clusterID, snapshotTTL interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetIsKotsadmIDGenerated() *gomock.Call
- func (mr *MockStoreMockRecorder) SetPreflightProgress(appID, sequence, progress interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetPreflightResults(appID, sequence, results interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetPrometheusAddress(address interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetRedactions(bundleID, redacts interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetSnapshotSchedule(appID, snapshotSchedule interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetSnapshotTTL(appID, snapshotTTL interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetSupportBundleAnalysis(bundleID, insights interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetTaskStatus(taskID, message, status interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetUpdateCheckerSpec(appID, updateCheckerSpec interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateAppLicense(appID, sequence, archiveDir, newLicense, originalLicenseData, ... interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateRegistry(appID, hostname, username, password, namespace, isReadOnly interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateScheduledInstanceSnapshot(snapshotID, backupName interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateScheduledSnapshot(snapshotID, backupName interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateTaskStatusTimestamp(taskID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) WaitForReady(ctx interface{}) *gomock.Call
- type MockSupportBundleStore
- func (m *MockSupportBundleStore) CreatePendingSupportBundle(bundleID, appID, clusterID string) error
- func (m *MockSupportBundleStore) CreateSupportBundle(bundleID, appID, archivePath string, marshalledTree []byte) (*types11.SupportBundle, error)
- func (m *MockSupportBundleStore) DeletePendingSupportBundle(id string) error
- func (m *MockSupportBundleStore) EXPECT() *MockSupportBundleStoreMockRecorder
- func (m *MockSupportBundleStore) GetRedactions(bundleID string) (redact.RedactionList, error)
- func (m *MockSupportBundleStore) GetSupportBundle(bundleID string) (*types11.SupportBundle, error)
- func (m *MockSupportBundleStore) GetSupportBundleAnalysis(bundleID string) (*types11.SupportBundleAnalysis, error)
- func (m *MockSupportBundleStore) GetSupportBundleArchive(bundleID string) (string, error)
- func (m *MockSupportBundleStore) GetSupportBundleSpecForApp(id string) (string, error)
- func (m *MockSupportBundleStore) ListPendingSupportBundlesForApp(appID string) ([]*types11.PendingSupportBundle, error)
- func (m *MockSupportBundleStore) ListSupportBundles(appID string) ([]*types11.SupportBundle, error)
- func (m *MockSupportBundleStore) SetRedactions(bundleID string, redacts redact.RedactionList) error
- func (m *MockSupportBundleStore) SetSupportBundleAnalysis(bundleID string, insights []byte) error
- type MockSupportBundleStoreMockRecorder
- func (mr *MockSupportBundleStoreMockRecorder) CreatePendingSupportBundle(bundleID, appID, clusterID interface{}) *gomock.Call
- func (mr *MockSupportBundleStoreMockRecorder) CreateSupportBundle(bundleID, appID, archivePath, marshalledTree interface{}) *gomock.Call
- func (mr *MockSupportBundleStoreMockRecorder) DeletePendingSupportBundle(id interface{}) *gomock.Call
- func (mr *MockSupportBundleStoreMockRecorder) GetRedactions(bundleID interface{}) *gomock.Call
- func (mr *MockSupportBundleStoreMockRecorder) GetSupportBundle(bundleID interface{}) *gomock.Call
- func (mr *MockSupportBundleStoreMockRecorder) GetSupportBundleAnalysis(bundleID interface{}) *gomock.Call
- func (mr *MockSupportBundleStoreMockRecorder) GetSupportBundleArchive(bundleID interface{}) *gomock.Call
- func (mr *MockSupportBundleStoreMockRecorder) GetSupportBundleSpecForApp(id interface{}) *gomock.Call
- func (mr *MockSupportBundleStoreMockRecorder) ListPendingSupportBundlesForApp(appID interface{}) *gomock.Call
- func (mr *MockSupportBundleStoreMockRecorder) ListSupportBundles(appID interface{}) *gomock.Call
- func (mr *MockSupportBundleStoreMockRecorder) SetRedactions(bundleID, redacts interface{}) *gomock.Call
- func (mr *MockSupportBundleStoreMockRecorder) SetSupportBundleAnalysis(bundleID, insights interface{}) *gomock.Call
- type MockTaskStore
- func (m *MockTaskStore) ClearTaskStatus(taskID string) error
- func (m *MockTaskStore) EXPECT() *MockTaskStoreMockRecorder
- func (m *MockTaskStore) GetTaskStatus(taskID string) (string, string, error)
- func (m *MockTaskStore) SetTaskStatus(taskID, message, status string) error
- func (m *MockTaskStore) UpdateTaskStatusTimestamp(taskID string) error
- type MockTaskStoreMockRecorder
- func (mr *MockTaskStoreMockRecorder) ClearTaskStatus(taskID interface{}) *gomock.Call
- func (mr *MockTaskStoreMockRecorder) GetTaskStatus(taskID interface{}) *gomock.Call
- func (mr *MockTaskStoreMockRecorder) SetTaskStatus(taskID, message, status interface{}) *gomock.Call
- func (mr *MockTaskStoreMockRecorder) UpdateTaskStatusTimestamp(taskID interface{}) *gomock.Call
- type MockVersionStore
- func (m *MockVersionStore) CreateAppVersion(appID string, currentSequence *int64, filesInDir, source string, ...) (int64, error)
- func (m *MockVersionStore) CreateAppVersionArchive(appID string, sequence int64, archivePath string) error
- func (m *MockVersionStore) EXPECT() *MockVersionStoreMockRecorder
- func (m *MockVersionStore) GetAppVersion(arg0 string, arg1 int64) (*types2.AppVersion, error)
- func (m *MockVersionStore) GetAppVersionArchive(appID string, sequence int64, dstPath string) error
- func (m *MockVersionStore) GetAppVersionsAfter(arg0 string, arg1 int64) ([]*types2.AppVersion, error)
- func (m *MockVersionStore) IsIdentityServiceSupportedForVersion(appID string, sequence int64) (bool, error)
- func (m *MockVersionStore) IsRollbackSupportedForVersion(appID string, sequence int64) (bool, error)
- func (m *MockVersionStore) IsSnapshotsSupportedForVersion(a *types3.App, sequence int64, renderer types9.Renderer) (bool, error)
- type MockVersionStoreMockRecorder
- func (mr *MockVersionStoreMockRecorder) CreateAppVersion(appID, currentSequence, filesInDir, source, skipPreflights, gitops interface{}) *gomock.Call
- func (mr *MockVersionStoreMockRecorder) CreateAppVersionArchive(appID, sequence, archivePath interface{}) *gomock.Call
- func (mr *MockVersionStoreMockRecorder) GetAppVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVersionStoreMockRecorder) GetAppVersionArchive(appID, sequence, dstPath interface{}) *gomock.Call
- func (mr *MockVersionStoreMockRecorder) GetAppVersionsAfter(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVersionStoreMockRecorder) IsIdentityServiceSupportedForVersion(appID, sequence interface{}) *gomock.Call
- func (mr *MockVersionStoreMockRecorder) IsRollbackSupportedForVersion(appID, sequence interface{}) *gomock.Call
- func (mr *MockVersionStoreMockRecorder) IsSnapshotsSupportedForVersion(a, sequence, renderer interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAirgapStore ¶
type MockAirgapStore struct {
// contains filtered or unexported fields
}
MockAirgapStore is a mock of AirgapStore interface
func NewMockAirgapStore ¶
func NewMockAirgapStore(ctrl *gomock.Controller) *MockAirgapStore
NewMockAirgapStore creates a new mock instance
func (*MockAirgapStore) EXPECT ¶
func (m *MockAirgapStore) EXPECT() *MockAirgapStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAirgapStore) GetAirgapInstallStatus ¶
func (m *MockAirgapStore) GetAirgapInstallStatus(appID string) (*types.InstallStatus, error)
GetAirgapInstallStatus mocks base method
func (*MockAirgapStore) GetPendingAirgapUploadApp ¶
func (m *MockAirgapStore) GetPendingAirgapUploadApp() (*types.PendingApp, error)
GetPendingAirgapUploadApp mocks base method
func (*MockAirgapStore) ResetAirgapInstallInProgress ¶
func (m *MockAirgapStore) ResetAirgapInstallInProgress(appID string) error
ResetAirgapInstallInProgress mocks base method
func (*MockAirgapStore) SetAppIsAirgap ¶
func (m *MockAirgapStore) SetAppIsAirgap(appID string, isAirgap bool) error
SetAppIsAirgap mocks base method
type MockAirgapStoreMockRecorder ¶
type MockAirgapStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockAirgapStoreMockRecorder is the mock recorder for MockAirgapStore
func (*MockAirgapStoreMockRecorder) GetAirgapInstallStatus ¶
func (mr *MockAirgapStoreMockRecorder) GetAirgapInstallStatus(appID interface{}) *gomock.Call
GetAirgapInstallStatus indicates an expected call of GetAirgapInstallStatus
func (*MockAirgapStoreMockRecorder) GetPendingAirgapUploadApp ¶
func (mr *MockAirgapStoreMockRecorder) GetPendingAirgapUploadApp() *gomock.Call
GetPendingAirgapUploadApp indicates an expected call of GetPendingAirgapUploadApp
func (*MockAirgapStoreMockRecorder) ResetAirgapInstallInProgress ¶
func (mr *MockAirgapStoreMockRecorder) ResetAirgapInstallInProgress(appID interface{}) *gomock.Call
ResetAirgapInstallInProgress indicates an expected call of ResetAirgapInstallInProgress
func (*MockAirgapStoreMockRecorder) SetAppIsAirgap ¶
func (mr *MockAirgapStoreMockRecorder) SetAppIsAirgap(appID, isAirgap interface{}) *gomock.Call
SetAppIsAirgap indicates an expected call of SetAppIsAirgap
type MockAppStatusStore ¶
type MockAppStatusStore struct {
// contains filtered or unexported fields
}
MockAppStatusStore is a mock of AppStatusStore interface
func NewMockAppStatusStore ¶
func NewMockAppStatusStore(ctrl *gomock.Controller) *MockAppStatusStore
NewMockAppStatusStore creates a new mock instance
func (*MockAppStatusStore) EXPECT ¶
func (m *MockAppStatusStore) EXPECT() *MockAppStatusStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAppStatusStore) GetAppStatus ¶
func (m *MockAppStatusStore) GetAppStatus(appID string) (*types0.AppStatus, error)
GetAppStatus mocks base method
func (*MockAppStatusStore) SetAppStatus ¶
func (m *MockAppStatusStore) SetAppStatus(appID string, resourceStates []types0.ResourceState, updatedAt time.Time) error
SetAppStatus mocks base method
type MockAppStatusStoreMockRecorder ¶
type MockAppStatusStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockAppStatusStoreMockRecorder is the mock recorder for MockAppStatusStore
func (*MockAppStatusStoreMockRecorder) GetAppStatus ¶
func (mr *MockAppStatusStoreMockRecorder) GetAppStatus(appID interface{}) *gomock.Call
GetAppStatus indicates an expected call of GetAppStatus
func (*MockAppStatusStoreMockRecorder) SetAppStatus ¶
func (mr *MockAppStatusStoreMockRecorder) SetAppStatus(appID, resourceStates, updatedAt interface{}) *gomock.Call
SetAppStatus indicates an expected call of SetAppStatus
type MockAppStore ¶
type MockAppStore struct {
// contains filtered or unexported fields
}
MockAppStore is a mock of AppStore interface
func NewMockAppStore ¶
func NewMockAppStore(ctrl *gomock.Controller) *MockAppStore
NewMockAppStore creates a new mock instance
func (*MockAppStore) AddAppToAllDownstreams ¶
func (m *MockAppStore) AddAppToAllDownstreams(appID string) error
AddAppToAllDownstreams mocks base method
func (*MockAppStore) CreateApp ¶
func (m *MockAppStore) CreateApp(name, upstreamURI, licenseData string, isAirgapEnabled, skipImagePush, registryIsReadOnly bool) (*types3.App, error)
CreateApp mocks base method
func (*MockAppStore) EXPECT ¶
func (m *MockAppStore) EXPECT() *MockAppStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAppStore) GetApp ¶
func (m *MockAppStore) GetApp(appID string) (*types3.App, error)
GetApp mocks base method
func (*MockAppStore) GetAppFromSlug ¶
func (m *MockAppStore) GetAppFromSlug(slug string) (*types3.App, error)
GetAppFromSlug mocks base method
func (*MockAppStore) GetAppIDFromSlug ¶
func (m *MockAppStore) GetAppIDFromSlug(slug string) (string, error)
GetAppIDFromSlug mocks base method
func (*MockAppStore) GetDownstream ¶
func (m *MockAppStore) GetDownstream(clusterID string) (*types1.Downstream, error)
GetDownstream mocks base method
func (*MockAppStore) IsGitOpsEnabledForApp ¶
func (m *MockAppStore) IsGitOpsEnabledForApp(appID string) (bool, error)
IsGitOpsEnabledForApp mocks base method
func (*MockAppStore) ListAppsForDownstream ¶
func (m *MockAppStore) ListAppsForDownstream(clusterID string) ([]*types3.App, error)
ListAppsForDownstream mocks base method
func (*MockAppStore) ListDownstreamsForApp ¶
func (m *MockAppStore) ListDownstreamsForApp(appID string) ([]types1.Downstream, error)
ListDownstreamsForApp mocks base method
func (*MockAppStore) ListInstalledAppSlugs ¶
func (m *MockAppStore) ListInstalledAppSlugs() ([]string, error)
ListInstalledAppSlugs mocks base method
func (*MockAppStore) ListInstalledApps ¶
func (m *MockAppStore) ListInstalledApps() ([]*types3.App, error)
ListInstalledApps mocks base method
func (*MockAppStore) RemoveApp ¶
func (m *MockAppStore) RemoveApp(appID string) error
RemoveApp mocks base method
func (*MockAppStore) SetAppInstallState ¶
func (m *MockAppStore) SetAppInstallState(appID, state string) error
SetAppInstallState mocks base method
func (*MockAppStore) SetSnapshotSchedule ¶
func (m *MockAppStore) SetSnapshotSchedule(appID, snapshotSchedule string) error
SetSnapshotSchedule mocks base method
func (*MockAppStore) SetSnapshotTTL ¶
func (m *MockAppStore) SetSnapshotTTL(appID, snapshotTTL string) error
SetSnapshotTTL mocks base method
func (*MockAppStore) SetUpdateCheckerSpec ¶
func (m *MockAppStore) SetUpdateCheckerSpec(appID, updateCheckerSpec string) error
SetUpdateCheckerSpec mocks base method
type MockAppStoreMockRecorder ¶
type MockAppStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockAppStoreMockRecorder is the mock recorder for MockAppStore
func (*MockAppStoreMockRecorder) AddAppToAllDownstreams ¶
func (mr *MockAppStoreMockRecorder) AddAppToAllDownstreams(appID interface{}) *gomock.Call
AddAppToAllDownstreams indicates an expected call of AddAppToAllDownstreams
func (*MockAppStoreMockRecorder) CreateApp ¶
func (mr *MockAppStoreMockRecorder) CreateApp(name, upstreamURI, licenseData, isAirgapEnabled, skipImagePush, registryIsReadOnly interface{}) *gomock.Call
CreateApp indicates an expected call of CreateApp
func (*MockAppStoreMockRecorder) GetApp ¶
func (mr *MockAppStoreMockRecorder) GetApp(appID interface{}) *gomock.Call
GetApp indicates an expected call of GetApp
func (*MockAppStoreMockRecorder) GetAppFromSlug ¶
func (mr *MockAppStoreMockRecorder) GetAppFromSlug(slug interface{}) *gomock.Call
GetAppFromSlug indicates an expected call of GetAppFromSlug
func (*MockAppStoreMockRecorder) GetAppIDFromSlug ¶
func (mr *MockAppStoreMockRecorder) GetAppIDFromSlug(slug interface{}) *gomock.Call
GetAppIDFromSlug indicates an expected call of GetAppIDFromSlug
func (*MockAppStoreMockRecorder) GetDownstream ¶
func (mr *MockAppStoreMockRecorder) GetDownstream(clusterID interface{}) *gomock.Call
GetDownstream indicates an expected call of GetDownstream
func (*MockAppStoreMockRecorder) IsGitOpsEnabledForApp ¶
func (mr *MockAppStoreMockRecorder) IsGitOpsEnabledForApp(appID interface{}) *gomock.Call
IsGitOpsEnabledForApp indicates an expected call of IsGitOpsEnabledForApp
func (*MockAppStoreMockRecorder) ListAppsForDownstream ¶
func (mr *MockAppStoreMockRecorder) ListAppsForDownstream(clusterID interface{}) *gomock.Call
ListAppsForDownstream indicates an expected call of ListAppsForDownstream
func (*MockAppStoreMockRecorder) ListDownstreamsForApp ¶
func (mr *MockAppStoreMockRecorder) ListDownstreamsForApp(appID interface{}) *gomock.Call
ListDownstreamsForApp indicates an expected call of ListDownstreamsForApp
func (*MockAppStoreMockRecorder) ListInstalledAppSlugs ¶
func (mr *MockAppStoreMockRecorder) ListInstalledAppSlugs() *gomock.Call
ListInstalledAppSlugs indicates an expected call of ListInstalledAppSlugs
func (*MockAppStoreMockRecorder) ListInstalledApps ¶
func (mr *MockAppStoreMockRecorder) ListInstalledApps() *gomock.Call
ListInstalledApps indicates an expected call of ListInstalledApps
func (*MockAppStoreMockRecorder) RemoveApp ¶
func (mr *MockAppStoreMockRecorder) RemoveApp(appID interface{}) *gomock.Call
RemoveApp indicates an expected call of RemoveApp
func (*MockAppStoreMockRecorder) SetAppInstallState ¶
func (mr *MockAppStoreMockRecorder) SetAppInstallState(appID, state interface{}) *gomock.Call
SetAppInstallState indicates an expected call of SetAppInstallState
func (*MockAppStoreMockRecorder) SetSnapshotSchedule ¶
func (mr *MockAppStoreMockRecorder) SetSnapshotSchedule(appID, snapshotSchedule interface{}) *gomock.Call
SetSnapshotSchedule indicates an expected call of SetSnapshotSchedule
func (*MockAppStoreMockRecorder) SetSnapshotTTL ¶
func (mr *MockAppStoreMockRecorder) SetSnapshotTTL(appID, snapshotTTL interface{}) *gomock.Call
SetSnapshotTTL indicates an expected call of SetSnapshotTTL
func (*MockAppStoreMockRecorder) SetUpdateCheckerSpec ¶
func (mr *MockAppStoreMockRecorder) SetUpdateCheckerSpec(appID, updateCheckerSpec interface{}) *gomock.Call
SetUpdateCheckerSpec indicates an expected call of SetUpdateCheckerSpec
type MockClusterStore ¶
type MockClusterStore struct {
// contains filtered or unexported fields
}
MockClusterStore is a mock of ClusterStore interface
func NewMockClusterStore ¶
func NewMockClusterStore(ctrl *gomock.Controller) *MockClusterStore
NewMockClusterStore creates a new mock instance
func (*MockClusterStore) CreateNewCluster ¶
func (m *MockClusterStore) CreateNewCluster(userID string, isAllUsers bool, title, token string) (string, error)
CreateNewCluster mocks base method
func (*MockClusterStore) EXPECT ¶
func (m *MockClusterStore) EXPECT() *MockClusterStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClusterStore) GetClusterIDFromDeployToken ¶
func (m *MockClusterStore) GetClusterIDFromDeployToken(deployToken string) (string, error)
GetClusterIDFromDeployToken mocks base method
func (*MockClusterStore) GetClusterIDFromSlug ¶
func (m *MockClusterStore) GetClusterIDFromSlug(slug string) (string, error)
GetClusterIDFromSlug mocks base method
func (*MockClusterStore) ListClusters ¶
func (m *MockClusterStore) ListClusters() ([]*types1.Downstream, error)
ListClusters mocks base method
func (*MockClusterStore) SetInstanceSnapshotSchedule ¶
func (m *MockClusterStore) SetInstanceSnapshotSchedule(clusterID, snapshotSchedule string) error
SetInstanceSnapshotSchedule mocks base method
func (*MockClusterStore) SetInstanceSnapshotTTL ¶
func (m *MockClusterStore) SetInstanceSnapshotTTL(clusterID, snapshotTTL string) error
SetInstanceSnapshotTTL mocks base method
type MockClusterStoreMockRecorder ¶
type MockClusterStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterStoreMockRecorder is the mock recorder for MockClusterStore
func (*MockClusterStoreMockRecorder) CreateNewCluster ¶
func (mr *MockClusterStoreMockRecorder) CreateNewCluster(userID, isAllUsers, title, token interface{}) *gomock.Call
CreateNewCluster indicates an expected call of CreateNewCluster
func (*MockClusterStoreMockRecorder) GetClusterIDFromDeployToken ¶
func (mr *MockClusterStoreMockRecorder) GetClusterIDFromDeployToken(deployToken interface{}) *gomock.Call
GetClusterIDFromDeployToken indicates an expected call of GetClusterIDFromDeployToken
func (*MockClusterStoreMockRecorder) GetClusterIDFromSlug ¶
func (mr *MockClusterStoreMockRecorder) GetClusterIDFromSlug(slug interface{}) *gomock.Call
GetClusterIDFromSlug indicates an expected call of GetClusterIDFromSlug
func (*MockClusterStoreMockRecorder) ListClusters ¶
func (mr *MockClusterStoreMockRecorder) ListClusters() *gomock.Call
ListClusters indicates an expected call of ListClusters
func (*MockClusterStoreMockRecorder) SetInstanceSnapshotSchedule ¶
func (mr *MockClusterStoreMockRecorder) SetInstanceSnapshotSchedule(clusterID, snapshotSchedule interface{}) *gomock.Call
SetInstanceSnapshotSchedule indicates an expected call of SetInstanceSnapshotSchedule
func (*MockClusterStoreMockRecorder) SetInstanceSnapshotTTL ¶
func (mr *MockClusterStoreMockRecorder) SetInstanceSnapshotTTL(clusterID, snapshotTTL interface{}) *gomock.Call
SetInstanceSnapshotTTL indicates an expected call of SetInstanceSnapshotTTL
type MockInstallationStore ¶
type MockInstallationStore struct {
// contains filtered or unexported fields
}
MockInstallationStore is a mock of InstallationStore interface
func NewMockInstallationStore ¶
func NewMockInstallationStore(ctrl *gomock.Controller) *MockInstallationStore
NewMockInstallationStore creates a new mock instance
func (*MockInstallationStore) EXPECT ¶
func (m *MockInstallationStore) EXPECT() *MockInstallationStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockInstallationStore) GetPendingInstallationStatus ¶
func (m *MockInstallationStore) GetPendingInstallationStatus() (*types6.InstallStatus, error)
GetPendingInstallationStatus mocks base method
type MockInstallationStoreMockRecorder ¶
type MockInstallationStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockInstallationStoreMockRecorder is the mock recorder for MockInstallationStore
func (*MockInstallationStoreMockRecorder) GetPendingInstallationStatus ¶
func (mr *MockInstallationStoreMockRecorder) GetPendingInstallationStatus() *gomock.Call
GetPendingInstallationStatus indicates an expected call of GetPendingInstallationStatus
type MockKotsadmParamsStore ¶
type MockKotsadmParamsStore struct {
// contains filtered or unexported fields
}
MockKotsadmParamsStore is a mock of KotsadmParamsStore interface
func NewMockKotsadmParamsStore ¶
func NewMockKotsadmParamsStore(ctrl *gomock.Controller) *MockKotsadmParamsStore
NewMockKotsadmParamsStore creates a new mock instance
func (*MockKotsadmParamsStore) EXPECT ¶
func (m *MockKotsadmParamsStore) EXPECT() *MockKotsadmParamsStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockKotsadmParamsStore) IsKotsadmIDGenerated ¶
func (m *MockKotsadmParamsStore) IsKotsadmIDGenerated() (bool, error)
IsKotsadmIDGenerated mocks base method
func (*MockKotsadmParamsStore) SetIsKotsadmIDGenerated ¶
func (m *MockKotsadmParamsStore) SetIsKotsadmIDGenerated() error
SetIsKotsadmIDGenerated mocks base method
type MockKotsadmParamsStoreMockRecorder ¶
type MockKotsadmParamsStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockKotsadmParamsStoreMockRecorder is the mock recorder for MockKotsadmParamsStore
func (*MockKotsadmParamsStoreMockRecorder) IsKotsadmIDGenerated ¶
func (mr *MockKotsadmParamsStoreMockRecorder) IsKotsadmIDGenerated() *gomock.Call
IsKotsadmIDGenerated indicates an expected call of IsKotsadmIDGenerated
func (*MockKotsadmParamsStoreMockRecorder) SetIsKotsadmIDGenerated ¶
func (mr *MockKotsadmParamsStoreMockRecorder) SetIsKotsadmIDGenerated() *gomock.Call
SetIsKotsadmIDGenerated indicates an expected call of SetIsKotsadmIDGenerated
type MockLicenseStore ¶
type MockLicenseStore struct {
// contains filtered or unexported fields
}
MockLicenseStore is a mock of LicenseStore interface
func NewMockLicenseStore ¶
func NewMockLicenseStore(ctrl *gomock.Controller) *MockLicenseStore
NewMockLicenseStore creates a new mock instance
func (*MockLicenseStore) EXPECT ¶
func (m *MockLicenseStore) EXPECT() *MockLicenseStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLicenseStore) GetAllAppLicenses ¶
func (m *MockLicenseStore) GetAllAppLicenses() ([]*v1beta1.License, error)
GetAllAppLicenses mocks base method
func (*MockLicenseStore) GetLatestLicenseForApp ¶
func (m *MockLicenseStore) GetLatestLicenseForApp(appID string) (*v1beta1.License, error)
GetLatestLicenseForApp mocks base method
func (*MockLicenseStore) GetLicenseForAppVersion ¶
func (m *MockLicenseStore) GetLicenseForAppVersion(appID string, sequence int64) (*v1beta1.License, error)
GetLicenseForAppVersion mocks base method
func (*MockLicenseStore) UpdateAppLicense ¶
func (m *MockLicenseStore) UpdateAppLicense(appID string, sequence int64, archiveDir string, newLicense *v1beta1.License, originalLicenseData string, failOnVersionCreate bool, gitops types4.DownstreamGitOps, renderer types9.Renderer) (int64, error)
UpdateAppLicense mocks base method
type MockLicenseStoreMockRecorder ¶
type MockLicenseStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockLicenseStoreMockRecorder is the mock recorder for MockLicenseStore
func (*MockLicenseStoreMockRecorder) GetAllAppLicenses ¶
func (mr *MockLicenseStoreMockRecorder) GetAllAppLicenses() *gomock.Call
GetAllAppLicenses indicates an expected call of GetAllAppLicenses
func (*MockLicenseStoreMockRecorder) GetLatestLicenseForApp ¶
func (mr *MockLicenseStoreMockRecorder) GetLatestLicenseForApp(appID interface{}) *gomock.Call
GetLatestLicenseForApp indicates an expected call of GetLatestLicenseForApp
func (*MockLicenseStoreMockRecorder) GetLicenseForAppVersion ¶
func (mr *MockLicenseStoreMockRecorder) GetLicenseForAppVersion(appID, sequence interface{}) *gomock.Call
GetLicenseForAppVersion indicates an expected call of GetLicenseForAppVersion
func (*MockLicenseStoreMockRecorder) UpdateAppLicense ¶
func (mr *MockLicenseStoreMockRecorder) UpdateAppLicense(appID, sequence, archiveDir, newLicense, originalLicenseData, failOnVersionCreate, gitops, renderer interface{}) *gomock.Call
UpdateAppLicense indicates an expected call of UpdateAppLicense
type MockMigrations ¶
type MockMigrations struct {
// contains filtered or unexported fields
}
MockMigrations is a mock of Migrations interface
func NewMockMigrations ¶
func NewMockMigrations(ctrl *gomock.Controller) *MockMigrations
NewMockMigrations creates a new mock instance
func (*MockMigrations) EXPECT ¶
func (m *MockMigrations) EXPECT() *MockMigrationsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMigrations) RunMigrations ¶
func (m *MockMigrations) RunMigrations()
RunMigrations mocks base method
type MockMigrationsMockRecorder ¶
type MockMigrationsMockRecorder struct {
// contains filtered or unexported fields
}
MockMigrationsMockRecorder is the mock recorder for MockMigrations
func (*MockMigrationsMockRecorder) RunMigrations ¶
func (mr *MockMigrationsMockRecorder) RunMigrations() *gomock.Call
RunMigrations indicates an expected call of RunMigrations
type MockPreflightStore ¶
type MockPreflightStore struct {
// contains filtered or unexported fields
}
MockPreflightStore is a mock of PreflightStore interface
func NewMockPreflightStore ¶
func NewMockPreflightStore(ctrl *gomock.Controller) *MockPreflightStore
NewMockPreflightStore creates a new mock instance
func (*MockPreflightStore) EXPECT ¶
func (m *MockPreflightStore) EXPECT() *MockPreflightStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPreflightStore) GetPreflightProgress ¶
func (m *MockPreflightStore) GetPreflightProgress(appID string, sequence int64) (string, error)
GetPreflightProgress mocks base method
func (*MockPreflightStore) GetPreflightResults ¶
func (m *MockPreflightStore) GetPreflightResults(appID string, sequence int64) (*types7.PreflightResult, error)
GetPreflightResults mocks base method
func (*MockPreflightStore) ResetPreflightResults ¶
func (m *MockPreflightStore) ResetPreflightResults(appID string, sequence int64) error
ResetPreflightResults mocks base method
func (*MockPreflightStore) SetIgnorePreflightPermissionErrors ¶
func (m *MockPreflightStore) SetIgnorePreflightPermissionErrors(appID string, sequence int64) error
SetIgnorePreflightPermissionErrors mocks base method
func (*MockPreflightStore) SetPreflightProgress ¶
func (m *MockPreflightStore) SetPreflightProgress(appID string, sequence int64, progress string) error
SetPreflightProgress mocks base method
func (*MockPreflightStore) SetPreflightResults ¶
func (m *MockPreflightStore) SetPreflightResults(appID string, sequence int64, results []byte) error
SetPreflightResults mocks base method
type MockPreflightStoreMockRecorder ¶
type MockPreflightStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockPreflightStoreMockRecorder is the mock recorder for MockPreflightStore
func (*MockPreflightStoreMockRecorder) GetPreflightProgress ¶
func (mr *MockPreflightStoreMockRecorder) GetPreflightProgress(appID, sequence interface{}) *gomock.Call
GetPreflightProgress indicates an expected call of GetPreflightProgress
func (*MockPreflightStoreMockRecorder) GetPreflightResults ¶
func (mr *MockPreflightStoreMockRecorder) GetPreflightResults(appID, sequence interface{}) *gomock.Call
GetPreflightResults indicates an expected call of GetPreflightResults
func (*MockPreflightStoreMockRecorder) ResetPreflightResults ¶
func (mr *MockPreflightStoreMockRecorder) ResetPreflightResults(appID, sequence interface{}) *gomock.Call
ResetPreflightResults indicates an expected call of ResetPreflightResults
func (*MockPreflightStoreMockRecorder) SetIgnorePreflightPermissionErrors ¶
func (mr *MockPreflightStoreMockRecorder) SetIgnorePreflightPermissionErrors(appID, sequence interface{}) *gomock.Call
SetIgnorePreflightPermissionErrors indicates an expected call of SetIgnorePreflightPermissionErrors
func (*MockPreflightStoreMockRecorder) SetPreflightProgress ¶
func (mr *MockPreflightStoreMockRecorder) SetPreflightProgress(appID, sequence, progress interface{}) *gomock.Call
SetPreflightProgress indicates an expected call of SetPreflightProgress
func (*MockPreflightStoreMockRecorder) SetPreflightResults ¶
func (mr *MockPreflightStoreMockRecorder) SetPreflightResults(appID, sequence, results interface{}) *gomock.Call
SetPreflightResults indicates an expected call of SetPreflightResults
type MockPrometheusStore ¶
type MockPrometheusStore struct {
// contains filtered or unexported fields
}
MockPrometheusStore is a mock of PrometheusStore interface
func NewMockPrometheusStore ¶
func NewMockPrometheusStore(ctrl *gomock.Controller) *MockPrometheusStore
NewMockPrometheusStore creates a new mock instance
func (*MockPrometheusStore) EXPECT ¶
func (m *MockPrometheusStore) EXPECT() *MockPrometheusStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPrometheusStore) GetPrometheusAddress ¶
func (m *MockPrometheusStore) GetPrometheusAddress() (string, error)
GetPrometheusAddress mocks base method
func (*MockPrometheusStore) SetPrometheusAddress ¶
func (m *MockPrometheusStore) SetPrometheusAddress(address string) error
SetPrometheusAddress mocks base method
type MockPrometheusStoreMockRecorder ¶
type MockPrometheusStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockPrometheusStoreMockRecorder is the mock recorder for MockPrometheusStore
func (*MockPrometheusStoreMockRecorder) GetPrometheusAddress ¶
func (mr *MockPrometheusStoreMockRecorder) GetPrometheusAddress() *gomock.Call
GetPrometheusAddress indicates an expected call of GetPrometheusAddress
func (*MockPrometheusStoreMockRecorder) SetPrometheusAddress ¶
func (mr *MockPrometheusStoreMockRecorder) SetPrometheusAddress(address interface{}) *gomock.Call
SetPrometheusAddress indicates an expected call of SetPrometheusAddress
type MockRegistryStore ¶
type MockRegistryStore struct {
// contains filtered or unexported fields
}
MockRegistryStore is a mock of RegistryStore interface
func NewMockRegistryStore ¶
func NewMockRegistryStore(ctrl *gomock.Controller) *MockRegistryStore
NewMockRegistryStore creates a new mock instance
func (*MockRegistryStore) EXPECT ¶
func (m *MockRegistryStore) EXPECT() *MockRegistryStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRegistryStore) GetRegistryDetailsForApp ¶
func (m *MockRegistryStore) GetRegistryDetailsForApp(appID string) (types8.RegistrySettings, error)
GetRegistryDetailsForApp mocks base method
func (*MockRegistryStore) UpdateRegistry ¶
func (m *MockRegistryStore) UpdateRegistry(appID, hostname, username, password, namespace string, isReadOnly bool) error
UpdateRegistry mocks base method
type MockRegistryStoreMockRecorder ¶
type MockRegistryStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockRegistryStoreMockRecorder is the mock recorder for MockRegistryStore
func (*MockRegistryStoreMockRecorder) GetRegistryDetailsForApp ¶
func (mr *MockRegistryStoreMockRecorder) GetRegistryDetailsForApp(appID interface{}) *gomock.Call
GetRegistryDetailsForApp indicates an expected call of GetRegistryDetailsForApp
func (*MockRegistryStoreMockRecorder) UpdateRegistry ¶
func (mr *MockRegistryStoreMockRecorder) UpdateRegistry(appID, hostname, username, password, namespace, isReadOnly interface{}) *gomock.Call
UpdateRegistry indicates an expected call of UpdateRegistry
type MockSessionStore ¶
type MockSessionStore struct {
// contains filtered or unexported fields
}
MockSessionStore is a mock of SessionStore interface
func NewMockSessionStore ¶
func NewMockSessionStore(ctrl *gomock.Controller) *MockSessionStore
NewMockSessionStore creates a new mock instance
func (*MockSessionStore) CreateSession ¶
func (m *MockSessionStore) CreateSession(user *types12.User, issuedAt, expiresAt time.Time, roles []string) (*types10.Session, error)
CreateSession mocks base method
func (*MockSessionStore) DeleteSession ¶
func (m *MockSessionStore) DeleteSession(sessionID string) error
DeleteSession mocks base method
func (*MockSessionStore) EXPECT ¶
func (m *MockSessionStore) EXPECT() *MockSessionStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSessionStore) GetSession ¶
func (m *MockSessionStore) GetSession(sessionID string) (*types10.Session, error)
GetSession mocks base method
type MockSessionStoreMockRecorder ¶
type MockSessionStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockSessionStoreMockRecorder is the mock recorder for MockSessionStore
func (*MockSessionStoreMockRecorder) CreateSession ¶
func (mr *MockSessionStoreMockRecorder) CreateSession(user, issuedAt, expiresAt, roles interface{}) *gomock.Call
CreateSession indicates an expected call of CreateSession
func (*MockSessionStoreMockRecorder) DeleteSession ¶
func (mr *MockSessionStoreMockRecorder) DeleteSession(sessionID interface{}) *gomock.Call
DeleteSession indicates an expected call of DeleteSession
func (*MockSessionStoreMockRecorder) GetSession ¶
func (mr *MockSessionStoreMockRecorder) GetSession(sessionID interface{}) *gomock.Call
GetSession indicates an expected call of GetSession
type MockSnapshotStore ¶
type MockSnapshotStore struct {
// contains filtered or unexported fields
}
MockSnapshotStore is a mock of SnapshotStore interface
func NewMockSnapshotStore ¶
func NewMockSnapshotStore(ctrl *gomock.Controller) *MockSnapshotStore
NewMockSnapshotStore creates a new mock instance
func (*MockSnapshotStore) CreateScheduledInstanceSnapshot ¶
func (m *MockSnapshotStore) CreateScheduledInstanceSnapshot(snapshotID, clusterID string, timestamp time.Time) error
CreateScheduledInstanceSnapshot mocks base method
func (*MockSnapshotStore) CreateScheduledSnapshot ¶
func (m *MockSnapshotStore) CreateScheduledSnapshot(snapshotID, appID string, timestamp time.Time) error
CreateScheduledSnapshot mocks base method
func (*MockSnapshotStore) DeletePendingScheduledInstanceSnapshots ¶
func (m *MockSnapshotStore) DeletePendingScheduledInstanceSnapshots(clusterID string) error
DeletePendingScheduledInstanceSnapshots mocks base method
func (*MockSnapshotStore) DeletePendingScheduledSnapshots ¶
func (m *MockSnapshotStore) DeletePendingScheduledSnapshots(appID string) error
DeletePendingScheduledSnapshots mocks base method
func (*MockSnapshotStore) EXPECT ¶
func (m *MockSnapshotStore) EXPECT() *MockSnapshotStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSnapshotStore) ListPendingScheduledInstanceSnapshots ¶
func (m *MockSnapshotStore) ListPendingScheduledInstanceSnapshots(clusterID string) ([]types5.ScheduledInstanceSnapshot, error)
ListPendingScheduledInstanceSnapshots mocks base method
func (*MockSnapshotStore) ListPendingScheduledSnapshots ¶
func (m *MockSnapshotStore) ListPendingScheduledSnapshots(appID string) ([]types5.ScheduledSnapshot, error)
ListPendingScheduledSnapshots mocks base method
func (*MockSnapshotStore) UpdateScheduledInstanceSnapshot ¶
func (m *MockSnapshotStore) UpdateScheduledInstanceSnapshot(snapshotID, backupName string) error
UpdateScheduledInstanceSnapshot mocks base method
func (*MockSnapshotStore) UpdateScheduledSnapshot ¶
func (m *MockSnapshotStore) UpdateScheduledSnapshot(snapshotID, backupName string) error
UpdateScheduledSnapshot mocks base method
type MockSnapshotStoreMockRecorder ¶
type MockSnapshotStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockSnapshotStoreMockRecorder is the mock recorder for MockSnapshotStore
func (*MockSnapshotStoreMockRecorder) CreateScheduledInstanceSnapshot ¶
func (mr *MockSnapshotStoreMockRecorder) CreateScheduledInstanceSnapshot(snapshotID, clusterID, timestamp interface{}) *gomock.Call
CreateScheduledInstanceSnapshot indicates an expected call of CreateScheduledInstanceSnapshot
func (*MockSnapshotStoreMockRecorder) CreateScheduledSnapshot ¶
func (mr *MockSnapshotStoreMockRecorder) CreateScheduledSnapshot(snapshotID, appID, timestamp interface{}) *gomock.Call
CreateScheduledSnapshot indicates an expected call of CreateScheduledSnapshot
func (*MockSnapshotStoreMockRecorder) DeletePendingScheduledInstanceSnapshots ¶
func (mr *MockSnapshotStoreMockRecorder) DeletePendingScheduledInstanceSnapshots(clusterID interface{}) *gomock.Call
DeletePendingScheduledInstanceSnapshots indicates an expected call of DeletePendingScheduledInstanceSnapshots
func (*MockSnapshotStoreMockRecorder) DeletePendingScheduledSnapshots ¶
func (mr *MockSnapshotStoreMockRecorder) DeletePendingScheduledSnapshots(appID interface{}) *gomock.Call
DeletePendingScheduledSnapshots indicates an expected call of DeletePendingScheduledSnapshots
func (*MockSnapshotStoreMockRecorder) ListPendingScheduledInstanceSnapshots ¶
func (mr *MockSnapshotStoreMockRecorder) ListPendingScheduledInstanceSnapshots(clusterID interface{}) *gomock.Call
ListPendingScheduledInstanceSnapshots indicates an expected call of ListPendingScheduledInstanceSnapshots
func (*MockSnapshotStoreMockRecorder) ListPendingScheduledSnapshots ¶
func (mr *MockSnapshotStoreMockRecorder) ListPendingScheduledSnapshots(appID interface{}) *gomock.Call
ListPendingScheduledSnapshots indicates an expected call of ListPendingScheduledSnapshots
func (*MockSnapshotStoreMockRecorder) UpdateScheduledInstanceSnapshot ¶
func (mr *MockSnapshotStoreMockRecorder) UpdateScheduledInstanceSnapshot(snapshotID, backupName interface{}) *gomock.Call
UpdateScheduledInstanceSnapshot indicates an expected call of UpdateScheduledInstanceSnapshot
func (*MockSnapshotStoreMockRecorder) UpdateScheduledSnapshot ¶
func (mr *MockSnapshotStoreMockRecorder) UpdateScheduledSnapshot(snapshotID, backupName interface{}) *gomock.Call
UpdateScheduledSnapshot indicates an expected call of UpdateScheduledSnapshot
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance
func (*MockStore) AddAppToAllDownstreams ¶
AddAppToAllDownstreams mocks base method
func (*MockStore) ClearTaskStatus ¶
ClearTaskStatus mocks base method
func (*MockStore) CreateApp ¶
func (m *MockStore) CreateApp(name, upstreamURI, licenseData string, isAirgapEnabled, skipImagePush, registryIsReadOnly bool) (*types3.App, error)
CreateApp mocks base method
func (*MockStore) CreateAppVersion ¶
func (m *MockStore) CreateAppVersion(appID string, currentSequence *int64, filesInDir, source string, skipPreflights bool, gitops types4.DownstreamGitOps) (int64, error)
CreateAppVersion mocks base method
func (*MockStore) CreateAppVersionArchive ¶
CreateAppVersionArchive mocks base method
func (*MockStore) CreateNewCluster ¶
func (m *MockStore) CreateNewCluster(userID string, isAllUsers bool, title, token string) (string, error)
CreateNewCluster mocks base method
func (*MockStore) CreatePendingSupportBundle ¶ added in v1.31.0
CreatePendingSupportBundle mocks base method
func (*MockStore) CreateScheduledInstanceSnapshot ¶
func (m *MockStore) CreateScheduledInstanceSnapshot(snapshotID, clusterID string, timestamp time.Time) error
CreateScheduledInstanceSnapshot mocks base method
func (*MockStore) CreateScheduledSnapshot ¶
CreateScheduledSnapshot mocks base method
func (*MockStore) CreateSession ¶
func (m *MockStore) CreateSession(user *types12.User, issuedAt, expiresAt time.Time, roles []string) (*types10.Session, error)
CreateSession mocks base method
func (*MockStore) CreateSupportBundle ¶
func (m *MockStore) CreateSupportBundle(bundleID, appID, archivePath string, marshalledTree []byte) (*types11.SupportBundle, error)
CreateSupportBundle mocks base method
func (*MockStore) DeletePendingScheduledInstanceSnapshots ¶
DeletePendingScheduledInstanceSnapshots mocks base method
func (*MockStore) DeletePendingScheduledSnapshots ¶
DeletePendingScheduledSnapshots mocks base method
func (*MockStore) DeletePendingSupportBundle ¶ added in v1.32.0
DeletePendingSupportBundle mocks base method
func (*MockStore) DeleteSession ¶
DeleteSession mocks base method
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStore) GetAirgapInstallStatus ¶
func (m *MockStore) GetAirgapInstallStatus(appID string) (*types.InstallStatus, error)
GetAirgapInstallStatus mocks base method
func (*MockStore) GetAllAppLicenses ¶
GetAllAppLicenses mocks base method
func (*MockStore) GetAppFromSlug ¶
GetAppFromSlug mocks base method
func (*MockStore) GetAppIDFromSlug ¶
GetAppIDFromSlug mocks base method
func (*MockStore) GetAppStatus ¶
GetAppStatus mocks base method
func (*MockStore) GetAppVersion ¶
GetAppVersion mocks base method
func (*MockStore) GetAppVersionArchive ¶
GetAppVersionArchive mocks base method
func (*MockStore) GetAppVersionsAfter ¶ added in v1.31.0
GetAppVersionsAfter mocks base method
func (*MockStore) GetClusterIDFromDeployToken ¶
GetClusterIDFromDeployToken mocks base method
func (*MockStore) GetClusterIDFromSlug ¶
GetClusterIDFromSlug mocks base method
func (*MockStore) GetDownstream ¶
func (m *MockStore) GetDownstream(clusterID string) (*types1.Downstream, error)
GetDownstream mocks base method
func (*MockStore) GetLatestLicenseForApp ¶
GetLatestLicenseForApp mocks base method
func (*MockStore) GetLicenseForAppVersion ¶
GetLicenseForAppVersion mocks base method
func (*MockStore) GetPendingAirgapUploadApp ¶
func (m *MockStore) GetPendingAirgapUploadApp() (*types.PendingApp, error)
GetPendingAirgapUploadApp mocks base method
func (*MockStore) GetPendingInstallationStatus ¶
func (m *MockStore) GetPendingInstallationStatus() (*types6.InstallStatus, error)
GetPendingInstallationStatus mocks base method
func (*MockStore) GetPreflightProgress ¶
GetPreflightProgress mocks base method
func (*MockStore) GetPreflightResults ¶
func (m *MockStore) GetPreflightResults(appID string, sequence int64) (*types7.PreflightResult, error)
GetPreflightResults mocks base method
func (*MockStore) GetPrometheusAddress ¶
GetPrometheusAddress mocks base method
func (*MockStore) GetRedactions ¶
func (m *MockStore) GetRedactions(bundleID string) (redact.RedactionList, error)
GetRedactions mocks base method
func (*MockStore) GetRegistryDetailsForApp ¶
func (m *MockStore) GetRegistryDetailsForApp(appID string) (types8.RegistrySettings, error)
GetRegistryDetailsForApp mocks base method
func (*MockStore) GetSession ¶
GetSession mocks base method
func (*MockStore) GetSupportBundle ¶
func (m *MockStore) GetSupportBundle(bundleID string) (*types11.SupportBundle, error)
GetSupportBundle mocks base method
func (*MockStore) GetSupportBundleAnalysis ¶
func (m *MockStore) GetSupportBundleAnalysis(bundleID string) (*types11.SupportBundleAnalysis, error)
GetSupportBundleAnalysis mocks base method
func (*MockStore) GetSupportBundleArchive ¶
GetSupportBundleArchive mocks base method
func (*MockStore) GetSupportBundleSpecForApp ¶ added in v1.31.0
GetSupportBundleSpecForApp mocks base method
func (*MockStore) GetTaskStatus ¶
GetTaskStatus mocks base method
func (*MockStore) IsGitOpsEnabledForApp ¶
IsGitOpsEnabledForApp mocks base method
func (*MockStore) IsIdentityServiceSupportedForVersion ¶
func (m *MockStore) IsIdentityServiceSupportedForVersion(appID string, sequence int64) (bool, error)
IsIdentityServiceSupportedForVersion mocks base method
func (*MockStore) IsKotsadmIDGenerated ¶
IsKotsadmIDGenerated mocks base method
func (*MockStore) IsNotFound ¶
IsNotFound mocks base method
func (*MockStore) IsRollbackSupportedForVersion ¶
IsRollbackSupportedForVersion mocks base method
func (*MockStore) IsSnapshotsSupportedForVersion ¶
func (m *MockStore) IsSnapshotsSupportedForVersion(a *types3.App, sequence int64, renderer types9.Renderer) (bool, error)
IsSnapshotsSupportedForVersion mocks base method
func (*MockStore) ListAppsForDownstream ¶
ListAppsForDownstream mocks base method
func (*MockStore) ListClusters ¶
func (m *MockStore) ListClusters() ([]*types1.Downstream, error)
ListClusters mocks base method
func (*MockStore) ListDownstreamsForApp ¶
func (m *MockStore) ListDownstreamsForApp(appID string) ([]types1.Downstream, error)
ListDownstreamsForApp mocks base method
func (*MockStore) ListInstalledAppSlugs ¶
ListInstalledAppSlugs mocks base method
func (*MockStore) ListInstalledApps ¶
ListInstalledApps mocks base method
func (*MockStore) ListPendingScheduledInstanceSnapshots ¶
func (m *MockStore) ListPendingScheduledInstanceSnapshots(clusterID string) ([]types5.ScheduledInstanceSnapshot, error)
ListPendingScheduledInstanceSnapshots mocks base method
func (*MockStore) ListPendingScheduledSnapshots ¶
func (m *MockStore) ListPendingScheduledSnapshots(appID string) ([]types5.ScheduledSnapshot, error)
ListPendingScheduledSnapshots mocks base method
func (*MockStore) ListPendingSupportBundlesForApp ¶ added in v1.31.0
func (m *MockStore) ListPendingSupportBundlesForApp(appID string) ([]*types11.PendingSupportBundle, error)
ListPendingSupportBundlesForApp mocks base method
func (*MockStore) ListSupportBundles ¶
func (m *MockStore) ListSupportBundles(appID string) ([]*types11.SupportBundle, error)
ListSupportBundles mocks base method
func (*MockStore) ResetAirgapInstallInProgress ¶
ResetAirgapInstallInProgress mocks base method
func (*MockStore) ResetPreflightResults ¶
ResetPreflightResults mocks base method
func (*MockStore) RunMigrations ¶
func (m *MockStore) RunMigrations()
RunMigrations mocks base method
func (*MockStore) SetAppInstallState ¶
SetAppInstallState mocks base method
func (*MockStore) SetAppIsAirgap ¶
SetAppIsAirgap mocks base method
func (*MockStore) SetAppStatus ¶
func (m *MockStore) SetAppStatus(appID string, resourceStates []types0.ResourceState, updatedAt time.Time) error
SetAppStatus mocks base method
func (*MockStore) SetIgnorePreflightPermissionErrors ¶
SetIgnorePreflightPermissionErrors mocks base method
func (*MockStore) SetInstanceSnapshotSchedule ¶
SetInstanceSnapshotSchedule mocks base method
func (*MockStore) SetInstanceSnapshotTTL ¶
SetInstanceSnapshotTTL mocks base method
func (*MockStore) SetIsKotsadmIDGenerated ¶
SetIsKotsadmIDGenerated mocks base method
func (*MockStore) SetPreflightProgress ¶
SetPreflightProgress mocks base method
func (*MockStore) SetPreflightResults ¶
SetPreflightResults mocks base method
func (*MockStore) SetPrometheusAddress ¶
SetPrometheusAddress mocks base method
func (*MockStore) SetRedactions ¶
func (m *MockStore) SetRedactions(bundleID string, redacts redact.RedactionList) error
SetRedactions mocks base method
func (*MockStore) SetSnapshotSchedule ¶
SetSnapshotSchedule mocks base method
func (*MockStore) SetSnapshotTTL ¶
SetSnapshotTTL mocks base method
func (*MockStore) SetSupportBundleAnalysis ¶
SetSupportBundleAnalysis mocks base method
func (*MockStore) SetTaskStatus ¶
SetTaskStatus mocks base method
func (*MockStore) SetUpdateCheckerSpec ¶
SetUpdateCheckerSpec mocks base method
func (*MockStore) UpdateAppLicense ¶
func (m *MockStore) UpdateAppLicense(appID string, sequence int64, archiveDir string, newLicense *v1beta1.License, originalLicenseData string, failOnVersionCreate bool, gitops types4.DownstreamGitOps, renderer types9.Renderer) (int64, error)
UpdateAppLicense mocks base method
func (*MockStore) UpdateRegistry ¶
func (m *MockStore) UpdateRegistry(appID, hostname, username, password, namespace string, isReadOnly bool) error
UpdateRegistry mocks base method
func (*MockStore) UpdateScheduledInstanceSnapshot ¶
UpdateScheduledInstanceSnapshot mocks base method
func (*MockStore) UpdateScheduledSnapshot ¶
UpdateScheduledSnapshot mocks base method
func (*MockStore) UpdateTaskStatusTimestamp ¶
UpdateTaskStatusTimestamp mocks base method
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore
func (*MockStoreMockRecorder) AddAppToAllDownstreams ¶
func (mr *MockStoreMockRecorder) AddAppToAllDownstreams(appID interface{}) *gomock.Call
AddAppToAllDownstreams indicates an expected call of AddAppToAllDownstreams
func (*MockStoreMockRecorder) ClearTaskStatus ¶
func (mr *MockStoreMockRecorder) ClearTaskStatus(taskID interface{}) *gomock.Call
ClearTaskStatus indicates an expected call of ClearTaskStatus
func (*MockStoreMockRecorder) CreateApp ¶
func (mr *MockStoreMockRecorder) CreateApp(name, upstreamURI, licenseData, isAirgapEnabled, skipImagePush, registryIsReadOnly interface{}) *gomock.Call
CreateApp indicates an expected call of CreateApp
func (*MockStoreMockRecorder) CreateAppVersion ¶
func (mr *MockStoreMockRecorder) CreateAppVersion(appID, currentSequence, filesInDir, source, skipPreflights, gitops interface{}) *gomock.Call
CreateAppVersion indicates an expected call of CreateAppVersion
func (*MockStoreMockRecorder) CreateAppVersionArchive ¶
func (mr *MockStoreMockRecorder) CreateAppVersionArchive(appID, sequence, archivePath interface{}) *gomock.Call
CreateAppVersionArchive indicates an expected call of CreateAppVersionArchive
func (*MockStoreMockRecorder) CreateNewCluster ¶
func (mr *MockStoreMockRecorder) CreateNewCluster(userID, isAllUsers, title, token interface{}) *gomock.Call
CreateNewCluster indicates an expected call of CreateNewCluster
func (*MockStoreMockRecorder) CreatePendingSupportBundle ¶ added in v1.31.0
func (mr *MockStoreMockRecorder) CreatePendingSupportBundle(bundleID, appID, clusterID interface{}) *gomock.Call
CreatePendingSupportBundle indicates an expected call of CreatePendingSupportBundle
func (*MockStoreMockRecorder) CreateScheduledInstanceSnapshot ¶
func (mr *MockStoreMockRecorder) CreateScheduledInstanceSnapshot(snapshotID, clusterID, timestamp interface{}) *gomock.Call
CreateScheduledInstanceSnapshot indicates an expected call of CreateScheduledInstanceSnapshot
func (*MockStoreMockRecorder) CreateScheduledSnapshot ¶
func (mr *MockStoreMockRecorder) CreateScheduledSnapshot(snapshotID, appID, timestamp interface{}) *gomock.Call
CreateScheduledSnapshot indicates an expected call of CreateScheduledSnapshot
func (*MockStoreMockRecorder) CreateSession ¶
func (mr *MockStoreMockRecorder) CreateSession(user, issuedAt, expiresAt, roles interface{}) *gomock.Call
CreateSession indicates an expected call of CreateSession
func (*MockStoreMockRecorder) CreateSupportBundle ¶
func (mr *MockStoreMockRecorder) CreateSupportBundle(bundleID, appID, archivePath, marshalledTree interface{}) *gomock.Call
CreateSupportBundle indicates an expected call of CreateSupportBundle
func (*MockStoreMockRecorder) DeletePendingScheduledInstanceSnapshots ¶
func (mr *MockStoreMockRecorder) DeletePendingScheduledInstanceSnapshots(clusterID interface{}) *gomock.Call
DeletePendingScheduledInstanceSnapshots indicates an expected call of DeletePendingScheduledInstanceSnapshots
func (*MockStoreMockRecorder) DeletePendingScheduledSnapshots ¶
func (mr *MockStoreMockRecorder) DeletePendingScheduledSnapshots(appID interface{}) *gomock.Call
DeletePendingScheduledSnapshots indicates an expected call of DeletePendingScheduledSnapshots
func (*MockStoreMockRecorder) DeletePendingSupportBundle ¶ added in v1.32.0
func (mr *MockStoreMockRecorder) DeletePendingSupportBundle(id interface{}) *gomock.Call
DeletePendingSupportBundle indicates an expected call of DeletePendingSupportBundle
func (*MockStoreMockRecorder) DeleteSession ¶
func (mr *MockStoreMockRecorder) DeleteSession(sessionID interface{}) *gomock.Call
DeleteSession indicates an expected call of DeleteSession
func (*MockStoreMockRecorder) GetAirgapInstallStatus ¶
func (mr *MockStoreMockRecorder) GetAirgapInstallStatus(appID interface{}) *gomock.Call
GetAirgapInstallStatus indicates an expected call of GetAirgapInstallStatus
func (*MockStoreMockRecorder) GetAllAppLicenses ¶
func (mr *MockStoreMockRecorder) GetAllAppLicenses() *gomock.Call
GetAllAppLicenses indicates an expected call of GetAllAppLicenses
func (*MockStoreMockRecorder) GetApp ¶
func (mr *MockStoreMockRecorder) GetApp(appID interface{}) *gomock.Call
GetApp indicates an expected call of GetApp
func (*MockStoreMockRecorder) GetAppFromSlug ¶
func (mr *MockStoreMockRecorder) GetAppFromSlug(slug interface{}) *gomock.Call
GetAppFromSlug indicates an expected call of GetAppFromSlug
func (*MockStoreMockRecorder) GetAppIDFromSlug ¶
func (mr *MockStoreMockRecorder) GetAppIDFromSlug(slug interface{}) *gomock.Call
GetAppIDFromSlug indicates an expected call of GetAppIDFromSlug
func (*MockStoreMockRecorder) GetAppStatus ¶
func (mr *MockStoreMockRecorder) GetAppStatus(appID interface{}) *gomock.Call
GetAppStatus indicates an expected call of GetAppStatus
func (*MockStoreMockRecorder) GetAppVersion ¶
func (mr *MockStoreMockRecorder) GetAppVersion(arg0, arg1 interface{}) *gomock.Call
GetAppVersion indicates an expected call of GetAppVersion
func (*MockStoreMockRecorder) GetAppVersionArchive ¶
func (mr *MockStoreMockRecorder) GetAppVersionArchive(appID, sequence, dstPath interface{}) *gomock.Call
GetAppVersionArchive indicates an expected call of GetAppVersionArchive
func (*MockStoreMockRecorder) GetAppVersionsAfter ¶ added in v1.31.0
func (mr *MockStoreMockRecorder) GetAppVersionsAfter(arg0, arg1 interface{}) *gomock.Call
GetAppVersionsAfter indicates an expected call of GetAppVersionsAfter
func (*MockStoreMockRecorder) GetClusterIDFromDeployToken ¶
func (mr *MockStoreMockRecorder) GetClusterIDFromDeployToken(deployToken interface{}) *gomock.Call
GetClusterIDFromDeployToken indicates an expected call of GetClusterIDFromDeployToken
func (*MockStoreMockRecorder) GetClusterIDFromSlug ¶
func (mr *MockStoreMockRecorder) GetClusterIDFromSlug(slug interface{}) *gomock.Call
GetClusterIDFromSlug indicates an expected call of GetClusterIDFromSlug
func (*MockStoreMockRecorder) GetDownstream ¶
func (mr *MockStoreMockRecorder) GetDownstream(clusterID interface{}) *gomock.Call
GetDownstream indicates an expected call of GetDownstream
func (*MockStoreMockRecorder) GetLatestLicenseForApp ¶
func (mr *MockStoreMockRecorder) GetLatestLicenseForApp(appID interface{}) *gomock.Call
GetLatestLicenseForApp indicates an expected call of GetLatestLicenseForApp
func (*MockStoreMockRecorder) GetLicenseForAppVersion ¶
func (mr *MockStoreMockRecorder) GetLicenseForAppVersion(appID, sequence interface{}) *gomock.Call
GetLicenseForAppVersion indicates an expected call of GetLicenseForAppVersion
func (*MockStoreMockRecorder) GetPendingAirgapUploadApp ¶
func (mr *MockStoreMockRecorder) GetPendingAirgapUploadApp() *gomock.Call
GetPendingAirgapUploadApp indicates an expected call of GetPendingAirgapUploadApp
func (*MockStoreMockRecorder) GetPendingInstallationStatus ¶
func (mr *MockStoreMockRecorder) GetPendingInstallationStatus() *gomock.Call
GetPendingInstallationStatus indicates an expected call of GetPendingInstallationStatus
func (*MockStoreMockRecorder) GetPreflightProgress ¶
func (mr *MockStoreMockRecorder) GetPreflightProgress(appID, sequence interface{}) *gomock.Call
GetPreflightProgress indicates an expected call of GetPreflightProgress
func (*MockStoreMockRecorder) GetPreflightResults ¶
func (mr *MockStoreMockRecorder) GetPreflightResults(appID, sequence interface{}) *gomock.Call
GetPreflightResults indicates an expected call of GetPreflightResults
func (*MockStoreMockRecorder) GetPrometheusAddress ¶
func (mr *MockStoreMockRecorder) GetPrometheusAddress() *gomock.Call
GetPrometheusAddress indicates an expected call of GetPrometheusAddress
func (*MockStoreMockRecorder) GetRedactions ¶
func (mr *MockStoreMockRecorder) GetRedactions(bundleID interface{}) *gomock.Call
GetRedactions indicates an expected call of GetRedactions
func (*MockStoreMockRecorder) GetRegistryDetailsForApp ¶
func (mr *MockStoreMockRecorder) GetRegistryDetailsForApp(appID interface{}) *gomock.Call
GetRegistryDetailsForApp indicates an expected call of GetRegistryDetailsForApp
func (*MockStoreMockRecorder) GetSession ¶
func (mr *MockStoreMockRecorder) GetSession(sessionID interface{}) *gomock.Call
GetSession indicates an expected call of GetSession
func (*MockStoreMockRecorder) GetSupportBundle ¶
func (mr *MockStoreMockRecorder) GetSupportBundle(bundleID interface{}) *gomock.Call
GetSupportBundle indicates an expected call of GetSupportBundle
func (*MockStoreMockRecorder) GetSupportBundleAnalysis ¶
func (mr *MockStoreMockRecorder) GetSupportBundleAnalysis(bundleID interface{}) *gomock.Call
GetSupportBundleAnalysis indicates an expected call of GetSupportBundleAnalysis
func (*MockStoreMockRecorder) GetSupportBundleArchive ¶
func (mr *MockStoreMockRecorder) GetSupportBundleArchive(bundleID interface{}) *gomock.Call
GetSupportBundleArchive indicates an expected call of GetSupportBundleArchive
func (*MockStoreMockRecorder) GetSupportBundleSpecForApp ¶ added in v1.31.0
func (mr *MockStoreMockRecorder) GetSupportBundleSpecForApp(id interface{}) *gomock.Call
GetSupportBundleSpecForApp indicates an expected call of GetSupportBundleSpecForApp
func (*MockStoreMockRecorder) GetTaskStatus ¶
func (mr *MockStoreMockRecorder) GetTaskStatus(taskID interface{}) *gomock.Call
GetTaskStatus indicates an expected call of GetTaskStatus
func (*MockStoreMockRecorder) Init ¶
func (mr *MockStoreMockRecorder) Init() *gomock.Call
Init indicates an expected call of Init
func (*MockStoreMockRecorder) IsGitOpsEnabledForApp ¶
func (mr *MockStoreMockRecorder) IsGitOpsEnabledForApp(appID interface{}) *gomock.Call
IsGitOpsEnabledForApp indicates an expected call of IsGitOpsEnabledForApp
func (*MockStoreMockRecorder) IsIdentityServiceSupportedForVersion ¶
func (mr *MockStoreMockRecorder) IsIdentityServiceSupportedForVersion(appID, sequence interface{}) *gomock.Call
IsIdentityServiceSupportedForVersion indicates an expected call of IsIdentityServiceSupportedForVersion
func (*MockStoreMockRecorder) IsKotsadmIDGenerated ¶
func (mr *MockStoreMockRecorder) IsKotsadmIDGenerated() *gomock.Call
IsKotsadmIDGenerated indicates an expected call of IsKotsadmIDGenerated
func (*MockStoreMockRecorder) IsNotFound ¶
func (mr *MockStoreMockRecorder) IsNotFound(err interface{}) *gomock.Call
IsNotFound indicates an expected call of IsNotFound
func (*MockStoreMockRecorder) IsRollbackSupportedForVersion ¶
func (mr *MockStoreMockRecorder) IsRollbackSupportedForVersion(appID, sequence interface{}) *gomock.Call
IsRollbackSupportedForVersion indicates an expected call of IsRollbackSupportedForVersion
func (*MockStoreMockRecorder) IsSnapshotsSupportedForVersion ¶
func (mr *MockStoreMockRecorder) IsSnapshotsSupportedForVersion(a, sequence, renderer interface{}) *gomock.Call
IsSnapshotsSupportedForVersion indicates an expected call of IsSnapshotsSupportedForVersion
func (*MockStoreMockRecorder) ListAppsForDownstream ¶
func (mr *MockStoreMockRecorder) ListAppsForDownstream(clusterID interface{}) *gomock.Call
ListAppsForDownstream indicates an expected call of ListAppsForDownstream
func (*MockStoreMockRecorder) ListClusters ¶
func (mr *MockStoreMockRecorder) ListClusters() *gomock.Call
ListClusters indicates an expected call of ListClusters
func (*MockStoreMockRecorder) ListDownstreamsForApp ¶
func (mr *MockStoreMockRecorder) ListDownstreamsForApp(appID interface{}) *gomock.Call
ListDownstreamsForApp indicates an expected call of ListDownstreamsForApp
func (*MockStoreMockRecorder) ListInstalledAppSlugs ¶
func (mr *MockStoreMockRecorder) ListInstalledAppSlugs() *gomock.Call
ListInstalledAppSlugs indicates an expected call of ListInstalledAppSlugs
func (*MockStoreMockRecorder) ListInstalledApps ¶
func (mr *MockStoreMockRecorder) ListInstalledApps() *gomock.Call
ListInstalledApps indicates an expected call of ListInstalledApps
func (*MockStoreMockRecorder) ListPendingScheduledInstanceSnapshots ¶
func (mr *MockStoreMockRecorder) ListPendingScheduledInstanceSnapshots(clusterID interface{}) *gomock.Call
ListPendingScheduledInstanceSnapshots indicates an expected call of ListPendingScheduledInstanceSnapshots
func (*MockStoreMockRecorder) ListPendingScheduledSnapshots ¶
func (mr *MockStoreMockRecorder) ListPendingScheduledSnapshots(appID interface{}) *gomock.Call
ListPendingScheduledSnapshots indicates an expected call of ListPendingScheduledSnapshots
func (*MockStoreMockRecorder) ListPendingSupportBundlesForApp ¶ added in v1.31.0
func (mr *MockStoreMockRecorder) ListPendingSupportBundlesForApp(appID interface{}) *gomock.Call
ListPendingSupportBundlesForApp indicates an expected call of ListPendingSupportBundlesForApp
func (*MockStoreMockRecorder) ListSupportBundles ¶
func (mr *MockStoreMockRecorder) ListSupportBundles(appID interface{}) *gomock.Call
ListSupportBundles indicates an expected call of ListSupportBundles
func (*MockStoreMockRecorder) RemoveApp ¶
func (mr *MockStoreMockRecorder) RemoveApp(appID interface{}) *gomock.Call
RemoveApp indicates an expected call of RemoveApp
func (*MockStoreMockRecorder) ResetAirgapInstallInProgress ¶
func (mr *MockStoreMockRecorder) ResetAirgapInstallInProgress(appID interface{}) *gomock.Call
ResetAirgapInstallInProgress indicates an expected call of ResetAirgapInstallInProgress
func (*MockStoreMockRecorder) ResetPreflightResults ¶
func (mr *MockStoreMockRecorder) ResetPreflightResults(appID, sequence interface{}) *gomock.Call
ResetPreflightResults indicates an expected call of ResetPreflightResults
func (*MockStoreMockRecorder) RunMigrations ¶
func (mr *MockStoreMockRecorder) RunMigrations() *gomock.Call
RunMigrations indicates an expected call of RunMigrations
func (*MockStoreMockRecorder) SetAppInstallState ¶
func (mr *MockStoreMockRecorder) SetAppInstallState(appID, state interface{}) *gomock.Call
SetAppInstallState indicates an expected call of SetAppInstallState
func (*MockStoreMockRecorder) SetAppIsAirgap ¶
func (mr *MockStoreMockRecorder) SetAppIsAirgap(appID, isAirgap interface{}) *gomock.Call
SetAppIsAirgap indicates an expected call of SetAppIsAirgap
func (*MockStoreMockRecorder) SetAppStatus ¶
func (mr *MockStoreMockRecorder) SetAppStatus(appID, resourceStates, updatedAt interface{}) *gomock.Call
SetAppStatus indicates an expected call of SetAppStatus
func (*MockStoreMockRecorder) SetIgnorePreflightPermissionErrors ¶
func (mr *MockStoreMockRecorder) SetIgnorePreflightPermissionErrors(appID, sequence interface{}) *gomock.Call
SetIgnorePreflightPermissionErrors indicates an expected call of SetIgnorePreflightPermissionErrors
func (*MockStoreMockRecorder) SetInstanceSnapshotSchedule ¶
func (mr *MockStoreMockRecorder) SetInstanceSnapshotSchedule(clusterID, snapshotSchedule interface{}) *gomock.Call
SetInstanceSnapshotSchedule indicates an expected call of SetInstanceSnapshotSchedule
func (*MockStoreMockRecorder) SetInstanceSnapshotTTL ¶
func (mr *MockStoreMockRecorder) SetInstanceSnapshotTTL(clusterID, snapshotTTL interface{}) *gomock.Call
SetInstanceSnapshotTTL indicates an expected call of SetInstanceSnapshotTTL
func (*MockStoreMockRecorder) SetIsKotsadmIDGenerated ¶
func (mr *MockStoreMockRecorder) SetIsKotsadmIDGenerated() *gomock.Call
SetIsKotsadmIDGenerated indicates an expected call of SetIsKotsadmIDGenerated
func (*MockStoreMockRecorder) SetPreflightProgress ¶
func (mr *MockStoreMockRecorder) SetPreflightProgress(appID, sequence, progress interface{}) *gomock.Call
SetPreflightProgress indicates an expected call of SetPreflightProgress
func (*MockStoreMockRecorder) SetPreflightResults ¶
func (mr *MockStoreMockRecorder) SetPreflightResults(appID, sequence, results interface{}) *gomock.Call
SetPreflightResults indicates an expected call of SetPreflightResults
func (*MockStoreMockRecorder) SetPrometheusAddress ¶
func (mr *MockStoreMockRecorder) SetPrometheusAddress(address interface{}) *gomock.Call
SetPrometheusAddress indicates an expected call of SetPrometheusAddress
func (*MockStoreMockRecorder) SetRedactions ¶
func (mr *MockStoreMockRecorder) SetRedactions(bundleID, redacts interface{}) *gomock.Call
SetRedactions indicates an expected call of SetRedactions
func (*MockStoreMockRecorder) SetSnapshotSchedule ¶
func (mr *MockStoreMockRecorder) SetSnapshotSchedule(appID, snapshotSchedule interface{}) *gomock.Call
SetSnapshotSchedule indicates an expected call of SetSnapshotSchedule
func (*MockStoreMockRecorder) SetSnapshotTTL ¶
func (mr *MockStoreMockRecorder) SetSnapshotTTL(appID, snapshotTTL interface{}) *gomock.Call
SetSnapshotTTL indicates an expected call of SetSnapshotTTL
func (*MockStoreMockRecorder) SetSupportBundleAnalysis ¶
func (mr *MockStoreMockRecorder) SetSupportBundleAnalysis(bundleID, insights interface{}) *gomock.Call
SetSupportBundleAnalysis indicates an expected call of SetSupportBundleAnalysis
func (*MockStoreMockRecorder) SetTaskStatus ¶
func (mr *MockStoreMockRecorder) SetTaskStatus(taskID, message, status interface{}) *gomock.Call
SetTaskStatus indicates an expected call of SetTaskStatus
func (*MockStoreMockRecorder) SetUpdateCheckerSpec ¶
func (mr *MockStoreMockRecorder) SetUpdateCheckerSpec(appID, updateCheckerSpec interface{}) *gomock.Call
SetUpdateCheckerSpec indicates an expected call of SetUpdateCheckerSpec
func (*MockStoreMockRecorder) UpdateAppLicense ¶
func (mr *MockStoreMockRecorder) UpdateAppLicense(appID, sequence, archiveDir, newLicense, originalLicenseData, failOnVersionCreate, gitops, renderer interface{}) *gomock.Call
UpdateAppLicense indicates an expected call of UpdateAppLicense
func (*MockStoreMockRecorder) UpdateRegistry ¶
func (mr *MockStoreMockRecorder) UpdateRegistry(appID, hostname, username, password, namespace, isReadOnly interface{}) *gomock.Call
UpdateRegistry indicates an expected call of UpdateRegistry
func (*MockStoreMockRecorder) UpdateScheduledInstanceSnapshot ¶
func (mr *MockStoreMockRecorder) UpdateScheduledInstanceSnapshot(snapshotID, backupName interface{}) *gomock.Call
UpdateScheduledInstanceSnapshot indicates an expected call of UpdateScheduledInstanceSnapshot
func (*MockStoreMockRecorder) UpdateScheduledSnapshot ¶
func (mr *MockStoreMockRecorder) UpdateScheduledSnapshot(snapshotID, backupName interface{}) *gomock.Call
UpdateScheduledSnapshot indicates an expected call of UpdateScheduledSnapshot
func (*MockStoreMockRecorder) UpdateTaskStatusTimestamp ¶
func (mr *MockStoreMockRecorder) UpdateTaskStatusTimestamp(taskID interface{}) *gomock.Call
UpdateTaskStatusTimestamp indicates an expected call of UpdateTaskStatusTimestamp
func (*MockStoreMockRecorder) WaitForReady ¶
func (mr *MockStoreMockRecorder) WaitForReady(ctx interface{}) *gomock.Call
WaitForReady indicates an expected call of WaitForReady
type MockSupportBundleStore ¶
type MockSupportBundleStore struct {
// contains filtered or unexported fields
}
MockSupportBundleStore is a mock of SupportBundleStore interface
func NewMockSupportBundleStore ¶
func NewMockSupportBundleStore(ctrl *gomock.Controller) *MockSupportBundleStore
NewMockSupportBundleStore creates a new mock instance
func (*MockSupportBundleStore) CreatePendingSupportBundle ¶ added in v1.31.0
func (m *MockSupportBundleStore) CreatePendingSupportBundle(bundleID, appID, clusterID string) error
CreatePendingSupportBundle mocks base method
func (*MockSupportBundleStore) CreateSupportBundle ¶
func (m *MockSupportBundleStore) CreateSupportBundle(bundleID, appID, archivePath string, marshalledTree []byte) (*types11.SupportBundle, error)
CreateSupportBundle mocks base method
func (*MockSupportBundleStore) DeletePendingSupportBundle ¶ added in v1.32.0
func (m *MockSupportBundleStore) DeletePendingSupportBundle(id string) error
DeletePendingSupportBundle mocks base method
func (*MockSupportBundleStore) EXPECT ¶
func (m *MockSupportBundleStore) EXPECT() *MockSupportBundleStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSupportBundleStore) GetRedactions ¶
func (m *MockSupportBundleStore) GetRedactions(bundleID string) (redact.RedactionList, error)
GetRedactions mocks base method
func (*MockSupportBundleStore) GetSupportBundle ¶
func (m *MockSupportBundleStore) GetSupportBundle(bundleID string) (*types11.SupportBundle, error)
GetSupportBundle mocks base method
func (*MockSupportBundleStore) GetSupportBundleAnalysis ¶
func (m *MockSupportBundleStore) GetSupportBundleAnalysis(bundleID string) (*types11.SupportBundleAnalysis, error)
GetSupportBundleAnalysis mocks base method
func (*MockSupportBundleStore) GetSupportBundleArchive ¶
func (m *MockSupportBundleStore) GetSupportBundleArchive(bundleID string) (string, error)
GetSupportBundleArchive mocks base method
func (*MockSupportBundleStore) GetSupportBundleSpecForApp ¶ added in v1.31.0
func (m *MockSupportBundleStore) GetSupportBundleSpecForApp(id string) (string, error)
GetSupportBundleSpecForApp mocks base method
func (*MockSupportBundleStore) ListPendingSupportBundlesForApp ¶ added in v1.31.0
func (m *MockSupportBundleStore) ListPendingSupportBundlesForApp(appID string) ([]*types11.PendingSupportBundle, error)
ListPendingSupportBundlesForApp mocks base method
func (*MockSupportBundleStore) ListSupportBundles ¶
func (m *MockSupportBundleStore) ListSupportBundles(appID string) ([]*types11.SupportBundle, error)
ListSupportBundles mocks base method
func (*MockSupportBundleStore) SetRedactions ¶
func (m *MockSupportBundleStore) SetRedactions(bundleID string, redacts redact.RedactionList) error
SetRedactions mocks base method
func (*MockSupportBundleStore) SetSupportBundleAnalysis ¶
func (m *MockSupportBundleStore) SetSupportBundleAnalysis(bundleID string, insights []byte) error
SetSupportBundleAnalysis mocks base method
type MockSupportBundleStoreMockRecorder ¶
type MockSupportBundleStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockSupportBundleStoreMockRecorder is the mock recorder for MockSupportBundleStore
func (*MockSupportBundleStoreMockRecorder) CreatePendingSupportBundle ¶ added in v1.31.0
func (mr *MockSupportBundleStoreMockRecorder) CreatePendingSupportBundle(bundleID, appID, clusterID interface{}) *gomock.Call
CreatePendingSupportBundle indicates an expected call of CreatePendingSupportBundle
func (*MockSupportBundleStoreMockRecorder) CreateSupportBundle ¶
func (mr *MockSupportBundleStoreMockRecorder) CreateSupportBundle(bundleID, appID, archivePath, marshalledTree interface{}) *gomock.Call
CreateSupportBundle indicates an expected call of CreateSupportBundle
func (*MockSupportBundleStoreMockRecorder) DeletePendingSupportBundle ¶ added in v1.32.0
func (mr *MockSupportBundleStoreMockRecorder) DeletePendingSupportBundle(id interface{}) *gomock.Call
DeletePendingSupportBundle indicates an expected call of DeletePendingSupportBundle
func (*MockSupportBundleStoreMockRecorder) GetRedactions ¶
func (mr *MockSupportBundleStoreMockRecorder) GetRedactions(bundleID interface{}) *gomock.Call
GetRedactions indicates an expected call of GetRedactions
func (*MockSupportBundleStoreMockRecorder) GetSupportBundle ¶
func (mr *MockSupportBundleStoreMockRecorder) GetSupportBundle(bundleID interface{}) *gomock.Call
GetSupportBundle indicates an expected call of GetSupportBundle
func (*MockSupportBundleStoreMockRecorder) GetSupportBundleAnalysis ¶
func (mr *MockSupportBundleStoreMockRecorder) GetSupportBundleAnalysis(bundleID interface{}) *gomock.Call
GetSupportBundleAnalysis indicates an expected call of GetSupportBundleAnalysis
func (*MockSupportBundleStoreMockRecorder) GetSupportBundleArchive ¶
func (mr *MockSupportBundleStoreMockRecorder) GetSupportBundleArchive(bundleID interface{}) *gomock.Call
GetSupportBundleArchive indicates an expected call of GetSupportBundleArchive
func (*MockSupportBundleStoreMockRecorder) GetSupportBundleSpecForApp ¶ added in v1.31.0
func (mr *MockSupportBundleStoreMockRecorder) GetSupportBundleSpecForApp(id interface{}) *gomock.Call
GetSupportBundleSpecForApp indicates an expected call of GetSupportBundleSpecForApp
func (*MockSupportBundleStoreMockRecorder) ListPendingSupportBundlesForApp ¶ added in v1.31.0
func (mr *MockSupportBundleStoreMockRecorder) ListPendingSupportBundlesForApp(appID interface{}) *gomock.Call
ListPendingSupportBundlesForApp indicates an expected call of ListPendingSupportBundlesForApp
func (*MockSupportBundleStoreMockRecorder) ListSupportBundles ¶
func (mr *MockSupportBundleStoreMockRecorder) ListSupportBundles(appID interface{}) *gomock.Call
ListSupportBundles indicates an expected call of ListSupportBundles
func (*MockSupportBundleStoreMockRecorder) SetRedactions ¶
func (mr *MockSupportBundleStoreMockRecorder) SetRedactions(bundleID, redacts interface{}) *gomock.Call
SetRedactions indicates an expected call of SetRedactions
func (*MockSupportBundleStoreMockRecorder) SetSupportBundleAnalysis ¶
func (mr *MockSupportBundleStoreMockRecorder) SetSupportBundleAnalysis(bundleID, insights interface{}) *gomock.Call
SetSupportBundleAnalysis indicates an expected call of SetSupportBundleAnalysis
type MockTaskStore ¶
type MockTaskStore struct {
// contains filtered or unexported fields
}
MockTaskStore is a mock of TaskStore interface
func NewMockTaskStore ¶
func NewMockTaskStore(ctrl *gomock.Controller) *MockTaskStore
NewMockTaskStore creates a new mock instance
func (*MockTaskStore) ClearTaskStatus ¶
func (m *MockTaskStore) ClearTaskStatus(taskID string) error
ClearTaskStatus mocks base method
func (*MockTaskStore) EXPECT ¶
func (m *MockTaskStore) EXPECT() *MockTaskStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTaskStore) GetTaskStatus ¶
func (m *MockTaskStore) GetTaskStatus(taskID string) (string, string, error)
GetTaskStatus mocks base method
func (*MockTaskStore) SetTaskStatus ¶
func (m *MockTaskStore) SetTaskStatus(taskID, message, status string) error
SetTaskStatus mocks base method
func (*MockTaskStore) UpdateTaskStatusTimestamp ¶
func (m *MockTaskStore) UpdateTaskStatusTimestamp(taskID string) error
UpdateTaskStatusTimestamp mocks base method
type MockTaskStoreMockRecorder ¶
type MockTaskStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockTaskStoreMockRecorder is the mock recorder for MockTaskStore
func (*MockTaskStoreMockRecorder) ClearTaskStatus ¶
func (mr *MockTaskStoreMockRecorder) ClearTaskStatus(taskID interface{}) *gomock.Call
ClearTaskStatus indicates an expected call of ClearTaskStatus
func (*MockTaskStoreMockRecorder) GetTaskStatus ¶
func (mr *MockTaskStoreMockRecorder) GetTaskStatus(taskID interface{}) *gomock.Call
GetTaskStatus indicates an expected call of GetTaskStatus
func (*MockTaskStoreMockRecorder) SetTaskStatus ¶
func (mr *MockTaskStoreMockRecorder) SetTaskStatus(taskID, message, status interface{}) *gomock.Call
SetTaskStatus indicates an expected call of SetTaskStatus
func (*MockTaskStoreMockRecorder) UpdateTaskStatusTimestamp ¶
func (mr *MockTaskStoreMockRecorder) UpdateTaskStatusTimestamp(taskID interface{}) *gomock.Call
UpdateTaskStatusTimestamp indicates an expected call of UpdateTaskStatusTimestamp
type MockVersionStore ¶
type MockVersionStore struct {
// contains filtered or unexported fields
}
MockVersionStore is a mock of VersionStore interface
func NewMockVersionStore ¶
func NewMockVersionStore(ctrl *gomock.Controller) *MockVersionStore
NewMockVersionStore creates a new mock instance
func (*MockVersionStore) CreateAppVersion ¶
func (m *MockVersionStore) CreateAppVersion(appID string, currentSequence *int64, filesInDir, source string, skipPreflights bool, gitops types4.DownstreamGitOps) (int64, error)
CreateAppVersion mocks base method
func (*MockVersionStore) CreateAppVersionArchive ¶
func (m *MockVersionStore) CreateAppVersionArchive(appID string, sequence int64, archivePath string) error
CreateAppVersionArchive mocks base method
func (*MockVersionStore) EXPECT ¶
func (m *MockVersionStore) EXPECT() *MockVersionStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockVersionStore) GetAppVersion ¶
func (m *MockVersionStore) GetAppVersion(arg0 string, arg1 int64) (*types2.AppVersion, error)
GetAppVersion mocks base method
func (*MockVersionStore) GetAppVersionArchive ¶
func (m *MockVersionStore) GetAppVersionArchive(appID string, sequence int64, dstPath string) error
GetAppVersionArchive mocks base method
func (*MockVersionStore) GetAppVersionsAfter ¶ added in v1.31.0
func (m *MockVersionStore) GetAppVersionsAfter(arg0 string, arg1 int64) ([]*types2.AppVersion, error)
GetAppVersionsAfter mocks base method
func (*MockVersionStore) IsIdentityServiceSupportedForVersion ¶
func (m *MockVersionStore) IsIdentityServiceSupportedForVersion(appID string, sequence int64) (bool, error)
IsIdentityServiceSupportedForVersion mocks base method
func (*MockVersionStore) IsRollbackSupportedForVersion ¶
func (m *MockVersionStore) IsRollbackSupportedForVersion(appID string, sequence int64) (bool, error)
IsRollbackSupportedForVersion mocks base method
func (*MockVersionStore) IsSnapshotsSupportedForVersion ¶
func (m *MockVersionStore) IsSnapshotsSupportedForVersion(a *types3.App, sequence int64, renderer types9.Renderer) (bool, error)
IsSnapshotsSupportedForVersion mocks base method
type MockVersionStoreMockRecorder ¶
type MockVersionStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockVersionStoreMockRecorder is the mock recorder for MockVersionStore
func (*MockVersionStoreMockRecorder) CreateAppVersion ¶
func (mr *MockVersionStoreMockRecorder) CreateAppVersion(appID, currentSequence, filesInDir, source, skipPreflights, gitops interface{}) *gomock.Call
CreateAppVersion indicates an expected call of CreateAppVersion
func (*MockVersionStoreMockRecorder) CreateAppVersionArchive ¶
func (mr *MockVersionStoreMockRecorder) CreateAppVersionArchive(appID, sequence, archivePath interface{}) *gomock.Call
CreateAppVersionArchive indicates an expected call of CreateAppVersionArchive
func (*MockVersionStoreMockRecorder) GetAppVersion ¶
func (mr *MockVersionStoreMockRecorder) GetAppVersion(arg0, arg1 interface{}) *gomock.Call
GetAppVersion indicates an expected call of GetAppVersion
func (*MockVersionStoreMockRecorder) GetAppVersionArchive ¶
func (mr *MockVersionStoreMockRecorder) GetAppVersionArchive(appID, sequence, dstPath interface{}) *gomock.Call
GetAppVersionArchive indicates an expected call of GetAppVersionArchive
func (*MockVersionStoreMockRecorder) GetAppVersionsAfter ¶ added in v1.31.0
func (mr *MockVersionStoreMockRecorder) GetAppVersionsAfter(arg0, arg1 interface{}) *gomock.Call
GetAppVersionsAfter indicates an expected call of GetAppVersionsAfter
func (*MockVersionStoreMockRecorder) IsIdentityServiceSupportedForVersion ¶
func (mr *MockVersionStoreMockRecorder) IsIdentityServiceSupportedForVersion(appID, sequence interface{}) *gomock.Call
IsIdentityServiceSupportedForVersion indicates an expected call of IsIdentityServiceSupportedForVersion
func (*MockVersionStoreMockRecorder) IsRollbackSupportedForVersion ¶
func (mr *MockVersionStoreMockRecorder) IsRollbackSupportedForVersion(appID, sequence interface{}) *gomock.Call
IsRollbackSupportedForVersion indicates an expected call of IsRollbackSupportedForVersion
func (*MockVersionStoreMockRecorder) IsSnapshotsSupportedForVersion ¶
func (mr *MockVersionStoreMockRecorder) IsSnapshotsSupportedForVersion(a, sequence, renderer interface{}) *gomock.Call
IsSnapshotsSupportedForVersion indicates an expected call of IsSnapshotsSupportedForVersion