Documentation ¶
Overview ¶
Package mock_store is a generated GoMock package.
Index ¶
- type MockAirgapStore
- func (m *MockAirgapStore) EXPECT() *MockAirgapStoreMockRecorder
- func (m *MockAirgapStore) GetAirgapInstallStatus() (*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() *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, isAirgapEnabled, skipImagePush bool) (*types0.App, error)
- func (m *MockAppStore) EXPECT() *MockAppStoreMockRecorder
- func (m *MockAppStore) GetApp(appID string) (*types0.App, error)
- func (m *MockAppStore) GetAppFromSlug(slug string) (*types0.App, error)
- func (m *MockAppStore) GetAppIDFromSlug(slug string) (string, error)
- func (m *MockAppStore) GetDownstream(clusterID string) (*types10.Downstream, error)
- func (m *MockAppStore) IsGitOpsEnabledForApp(appID string) (bool, error)
- func (m *MockAppStore) ListAppsForDownstream(clusterID string) ([]*types0.App, error)
- func (m *MockAppStore) ListDownstreamsForApp(appID string) ([]types10.Downstream, error)
- func (m *MockAppStore) ListInstalledAppSlugs() ([]string, error)
- func (m *MockAppStore) ListInstalledApps() ([]*types0.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(name, upstreamURI, licenseData, isAirgapEnabled, skipImagePush interface{}) *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() ([]*types10.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 MockKOTSStore
- func (m *MockKOTSStore) AddAppToAllDownstreams(appID string) error
- func (m *MockKOTSStore) ClearTaskStatus(taskID string) error
- func (m *MockKOTSStore) CreateApp(name, upstreamURI, licenseData string, isAirgapEnabled, skipImagePush bool) (*types0.App, error)
- func (m *MockKOTSStore) CreateAppVersion(appID string, currentSequence *int64, filesInDir, source string, ...) (int64, error)
- func (m *MockKOTSStore) CreateAppVersionArchive(appID string, sequence int64, archivePath string) error
- func (m *MockKOTSStore) CreateNewCluster(userID string, isAllUsers bool, title, token string) (string, error)
- func (m *MockKOTSStore) CreatePendingSupportBundle(bundleID, appID, clusterID string) error
- func (m *MockKOTSStore) CreateScheduledInstanceSnapshot(snapshotID, clusterID string, timestamp time.Time) error
- func (m *MockKOTSStore) CreateScheduledSnapshot(snapshotID, appID string, timestamp time.Time) error
- func (m *MockKOTSStore) CreateSession(user *types8.User, issuedAt, expiresAt time.Time, roles []string) (*types6.Session, error)
- func (m *MockKOTSStore) CreateSupportBundle(bundleID, appID, archivePath string, marshalledTree []byte) (*types7.SupportBundle, error)
- func (m *MockKOTSStore) DeletePendingScheduledInstanceSnapshots(clusterID string) error
- func (m *MockKOTSStore) DeletePendingScheduledSnapshots(appID string) error
- func (m *MockKOTSStore) DeleteSession(sessionID string) error
- func (m *MockKOTSStore) EXPECT() *MockKOTSStoreMockRecorder
- func (m *MockKOTSStore) GetAirgapInstallStatus() (*types.InstallStatus, error)
- func (m *MockKOTSStore) GetAllAppLicenses() ([]*v1beta1.License, error)
- func (m *MockKOTSStore) GetApp(appID string) (*types0.App, error)
- func (m *MockKOTSStore) GetAppFromSlug(slug string) (*types0.App, error)
- func (m *MockKOTSStore) GetAppIDFromSlug(slug string) (string, error)
- func (m *MockKOTSStore) GetAppStatus(appID string) (*types9.AppStatus, error)
- func (m *MockKOTSStore) GetAppVersion(arg0 string, arg1 int64) (*types12.AppVersion, error)
- func (m *MockKOTSStore) GetAppVersionArchive(appID string, sequence int64, dstPath string) error
- func (m *MockKOTSStore) GetAppVersionsAfter(arg0 string, arg1 int64) ([]*types12.AppVersion, error)
- func (m *MockKOTSStore) GetClusterIDFromDeployToken(deployToken string) (string, error)
- func (m *MockKOTSStore) GetClusterIDFromSlug(slug string) (string, error)
- func (m *MockKOTSStore) GetDownstream(clusterID string) (*types10.Downstream, error)
- func (m *MockKOTSStore) GetLatestLicenseForApp(appID string) (*v1beta1.License, error)
- func (m *MockKOTSStore) GetLatestPreflightResultsForSequenceZero() (*types3.PreflightResult, error)
- func (m *MockKOTSStore) GetLicenseForAppVersion(appID string, sequence int64) (*v1beta1.License, error)
- func (m *MockKOTSStore) GetPendingAirgapUploadApp() (*types.PendingApp, error)
- func (m *MockKOTSStore) GetPendingInstallationStatus() (*types2.InstallStatus, error)
- func (m *MockKOTSStore) GetPreflightResults(appID string, sequence int64) (*types3.PreflightResult, error)
- func (m *MockKOTSStore) GetPrometheusAddress() (string, error)
- func (m *MockKOTSStore) GetRedactions(bundleID string) (redact.RedactionList, error)
- func (m *MockKOTSStore) GetRegistryDetailsForApp(appID string) (*types4.RegistrySettings, error)
- func (m *MockKOTSStore) GetReportingInfo(appID string) *types13.ReportingInfo
- func (m *MockKOTSStore) GetSession(sessionID string) (*types6.Session, error)
- func (m *MockKOTSStore) GetSupportBundle(bundleID string) (*types7.SupportBundle, error)
- func (m *MockKOTSStore) GetSupportBundleAnalysis(bundleID string) (*types7.SupportBundleAnalysis, error)
- func (m *MockKOTSStore) GetSupportBundleArchive(bundleID string) (string, error)
- func (m *MockKOTSStore) GetSupportBundleFromSlug(slug string) (*types7.SupportBundle, error)
- func (m *MockKOTSStore) GetSupportBundleSpecForApp(id string) (string, error)
- func (m *MockKOTSStore) GetTaskStatus(taskID string) (string, string, error)
- func (m *MockKOTSStore) Init() error
- func (m *MockKOTSStore) IsGitOpsEnabledForApp(appID string) (bool, error)
- func (m *MockKOTSStore) IsIdentityServiceSupportedForVersion(appID string, sequence int64) (bool, error)
- func (m *MockKOTSStore) IsKotsadmIDGenerated() (bool, error)
- func (m *MockKOTSStore) IsNotFound(err error) bool
- func (m *MockKOTSStore) IsRollbackSupportedForVersion(appID string, sequence int64) (bool, error)
- func (m *MockKOTSStore) IsSnapshotsSupportedForVersion(a *types0.App, sequence int64, renderer types5.Renderer) (bool, error)
- func (m *MockKOTSStore) ListAppsForDownstream(clusterID string) ([]*types0.App, error)
- func (m *MockKOTSStore) ListClusters() ([]*types10.Downstream, error)
- func (m *MockKOTSStore) ListDownstreamsForApp(appID string) ([]types10.Downstream, error)
- func (m *MockKOTSStore) ListInstalledAppSlugs() ([]string, error)
- func (m *MockKOTSStore) ListInstalledApps() ([]*types0.App, error)
- func (m *MockKOTSStore) ListPendingScheduledInstanceSnapshots(clusterID string) ([]types11.ScheduledInstanceSnapshot, error)
- func (m *MockKOTSStore) ListPendingScheduledSnapshots(appID string) ([]types11.ScheduledSnapshot, error)
- func (m *MockKOTSStore) ListPendingSupportBundlesForApp(appID string) ([]*types7.PendingSupportBundle, error)
- func (m *MockKOTSStore) ListSupportBundles(appID string) ([]*types7.SupportBundle, error)
- func (m *MockKOTSStore) RemoveApp(appID string) error
- func (m *MockKOTSStore) ResetAirgapInstallInProgress(appID string) error
- func (m *MockKOTSStore) ResetPreflightResults(appID string, sequence int64) error
- func (m *MockKOTSStore) RunMigrations()
- func (m *MockKOTSStore) SetAppInstallState(appID, state string) error
- func (m *MockKOTSStore) SetAppIsAirgap(appID string, isAirgap bool) error
- func (m *MockKOTSStore) SetIgnorePreflightPermissionErrors(appID string, sequence int64) error
- func (m *MockKOTSStore) SetInstanceSnapshotSchedule(clusterID, snapshotSchedule string) error
- func (m *MockKOTSStore) SetInstanceSnapshotTTL(clusterID, snapshotTTL string) error
- func (m *MockKOTSStore) SetIsKotsadmIDGenerated() error
- func (m *MockKOTSStore) SetPreflightResults(appID string, sequence int64, results []byte) error
- func (m *MockKOTSStore) SetPrometheusAddress(address string) error
- func (m *MockKOTSStore) SetRedactions(bundleID string, redacts redact.RedactionList) error
- func (m *MockKOTSStore) SetSnapshotSchedule(appID, snapshotSchedule string) error
- func (m *MockKOTSStore) SetSnapshotTTL(appID, snapshotTTL string) error
- func (m *MockKOTSStore) SetSupportBundleAnalysis(bundleID string, insights []byte) error
- func (m *MockKOTSStore) SetTaskStatus(taskID, message, status string) error
- func (m *MockKOTSStore) SetUpdateCheckerSpec(appID, updateCheckerSpec string) error
- func (m *MockKOTSStore) UpdateAppLicense(appID string, sequence int64, archiveDir string, newLicense *v1beta1.License, ...) (int64, error)
- func (m *MockKOTSStore) UpdateRegistry(appID, hostname, username, password, namespace string) error
- func (m *MockKOTSStore) UpdateScheduledInstanceSnapshot(snapshotID, backupName string) error
- func (m *MockKOTSStore) UpdateScheduledSnapshot(snapshotID, backupName string) error
- func (m *MockKOTSStore) UpdateTaskStatusTimestamp(taskID string) error
- func (m *MockKOTSStore) WaitForReady(ctx context.Context) error
- type MockKOTSStoreMockRecorder
- func (mr *MockKOTSStoreMockRecorder) AddAppToAllDownstreams(appID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) ClearTaskStatus(taskID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) CreateApp(name, upstreamURI, licenseData, isAirgapEnabled, skipImagePush interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) CreateAppVersion(appID, currentSequence, filesInDir, source, skipPreflights, gitops interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) CreateAppVersionArchive(appID, sequence, archivePath interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) CreateNewCluster(userID, isAllUsers, title, token interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) CreatePendingSupportBundle(bundleID, appID, clusterID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) CreateScheduledInstanceSnapshot(snapshotID, clusterID, timestamp interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) CreateScheduledSnapshot(snapshotID, appID, timestamp interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) CreateSession(user, issuedAt, expiresAt, roles interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) CreateSupportBundle(bundleID, appID, archivePath, marshalledTree interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) DeletePendingScheduledInstanceSnapshots(clusterID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) DeletePendingScheduledSnapshots(appID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) DeleteSession(sessionID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetAirgapInstallStatus() *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetAllAppLicenses() *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetApp(appID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetAppFromSlug(slug interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetAppIDFromSlug(slug interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetAppStatus(appID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetAppVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetAppVersionArchive(appID, sequence, dstPath interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetAppVersionsAfter(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetClusterIDFromDeployToken(deployToken interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetClusterIDFromSlug(slug interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetDownstream(clusterID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetLatestLicenseForApp(appID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetLatestPreflightResultsForSequenceZero() *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetLicenseForAppVersion(appID, sequence interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetPendingAirgapUploadApp() *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetPendingInstallationStatus() *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetPreflightResults(appID, sequence interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetPrometheusAddress() *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetRedactions(bundleID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetRegistryDetailsForApp(appID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetReportingInfo(appID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetSession(sessionID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetSupportBundle(bundleID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetSupportBundleAnalysis(bundleID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetSupportBundleArchive(bundleID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetSupportBundleFromSlug(slug interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetSupportBundleSpecForApp(id interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) GetTaskStatus(taskID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) Init() *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) IsGitOpsEnabledForApp(appID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) IsIdentityServiceSupportedForVersion(appID, sequence interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) IsKotsadmIDGenerated() *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) IsNotFound(err interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) IsRollbackSupportedForVersion(appID, sequence interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) IsSnapshotsSupportedForVersion(a, sequence, renderer interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) ListAppsForDownstream(clusterID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) ListClusters() *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) ListDownstreamsForApp(appID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) ListInstalledAppSlugs() *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) ListInstalledApps() *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) ListPendingScheduledInstanceSnapshots(clusterID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) ListPendingScheduledSnapshots(appID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) ListPendingSupportBundlesForApp(appID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) ListSupportBundles(appID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) RemoveApp(appID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) ResetAirgapInstallInProgress(appID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) ResetPreflightResults(appID, sequence interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) RunMigrations() *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) SetAppInstallState(appID, state interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) SetAppIsAirgap(appID, isAirgap interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) SetIgnorePreflightPermissionErrors(appID, sequence interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) SetInstanceSnapshotSchedule(clusterID, snapshotSchedule interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) SetInstanceSnapshotTTL(clusterID, snapshotTTL interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) SetIsKotsadmIDGenerated() *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) SetPreflightResults(appID, sequence, results interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) SetPrometheusAddress(address interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) SetRedactions(bundleID, redacts interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) SetSnapshotSchedule(appID, snapshotSchedule interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) SetSnapshotTTL(appID, snapshotTTL interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) SetSupportBundleAnalysis(bundleID, insights interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) SetTaskStatus(taskID, message, status interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) SetUpdateCheckerSpec(appID, updateCheckerSpec interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) UpdateAppLicense(appID, sequence, archiveDir, newLicense, originalLicenseData, ... interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) UpdateRegistry(appID, hostname, username, password, namespace interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) UpdateScheduledInstanceSnapshot(snapshotID, backupName interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) UpdateScheduledSnapshot(snapshotID, backupName interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) UpdateTaskStatusTimestamp(taskID interface{}) *gomock.Call
- func (mr *MockKOTSStoreMockRecorder) WaitForReady(ctx interface{}) *gomock.Call
- 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) GetLatestPreflightResultsForSequenceZero() (*types3.PreflightResult, error)
- func (m *MockPreflightStore) GetPreflightResults(appID string, sequence int64) (*types3.PreflightResult, error)
- func (m *MockPreflightStore) ResetPreflightResults(appID string, sequence int64) error
- func (m *MockPreflightStore) SetIgnorePreflightPermissionErrors(appID string, sequence int64) error
- func (m *MockPreflightStore) SetPreflightResults(appID string, sequence int64, results []byte) error
- type MockPreflightStoreMockRecorder
- func (mr *MockPreflightStoreMockRecorder) GetLatestPreflightResultsForSequenceZero() *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) SetPreflightResults(appID, sequence, results interface{}) *gomock.Call
- type MockPrometheusStore
- type MockPrometheusStoreMockRecorder
- type MockRegistryStore
- type MockRegistryStoreMockRecorder
- type MockReportingStore
- type MockReportingStoreMockRecorder
- type MockSessionStore
- func (m *MockSessionStore) CreateSession(user *types8.User, issuedAt, expiresAt time.Time, roles []string) (*types6.Session, error)
- func (m *MockSessionStore) DeleteSession(sessionID string) error
- func (m *MockSessionStore) EXPECT() *MockSessionStoreMockRecorder
- func (m *MockSessionStore) GetSession(sessionID string) (*types6.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) ([]types11.ScheduledInstanceSnapshot, error)
- func (m *MockSnapshotStore) ListPendingScheduledSnapshots(appID string) ([]types11.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 MockSupportBundleStore
- func (m *MockSupportBundleStore) CreatePendingSupportBundle(bundleID, appID, clusterID string) error
- func (m *MockSupportBundleStore) CreateSupportBundle(bundleID, appID, archivePath string, marshalledTree []byte) (*types7.SupportBundle, error)
- func (m *MockSupportBundleStore) EXPECT() *MockSupportBundleStoreMockRecorder
- func (m *MockSupportBundleStore) GetRedactions(bundleID string) (redact.RedactionList, error)
- func (m *MockSupportBundleStore) GetSupportBundle(bundleID string) (*types7.SupportBundle, error)
- func (m *MockSupportBundleStore) GetSupportBundleAnalysis(bundleID string) (*types7.SupportBundleAnalysis, error)
- func (m *MockSupportBundleStore) GetSupportBundleArchive(bundleID string) (string, error)
- func (m *MockSupportBundleStore) GetSupportBundleFromSlug(slug string) (*types7.SupportBundle, error)
- func (m *MockSupportBundleStore) GetSupportBundleSpecForApp(id string) (string, error)
- func (m *MockSupportBundleStore) ListPendingSupportBundlesForApp(appID string) ([]*types7.PendingSupportBundle, error)
- func (m *MockSupportBundleStore) ListSupportBundles(appID string) ([]*types7.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) 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) GetSupportBundleFromSlug(slug 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) (*types12.AppVersion, error)
- func (m *MockVersionStore) GetAppVersionArchive(appID string, sequence int64, dstPath string) error
- func (m *MockVersionStore) GetAppVersionsAfter(arg0 string, arg1 int64) ([]*types12.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 *types0.App, sequence int64, renderer types5.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() (*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() *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) (*types9.AppStatus, error)
GetAppStatus 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
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 bool) (*types0.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) (*types0.App, error)
GetApp mocks base method
func (*MockAppStore) GetAppFromSlug ¶
func (m *MockAppStore) GetAppFromSlug(slug string) (*types0.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) (*types10.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) ([]*types0.App, error)
ListAppsForDownstream mocks base method
func (*MockAppStore) ListDownstreamsForApp ¶
func (m *MockAppStore) ListDownstreamsForApp(appID string) ([]types10.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() ([]*types0.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 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() ([]*types10.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() (*types2.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 MockKOTSStore ¶
type MockKOTSStore struct {
// contains filtered or unexported fields
}
MockKOTSStore is a mock of KOTSStore interface
func NewMockKOTSStore ¶
func NewMockKOTSStore(ctrl *gomock.Controller) *MockKOTSStore
NewMockKOTSStore creates a new mock instance
func (*MockKOTSStore) AddAppToAllDownstreams ¶
func (m *MockKOTSStore) AddAppToAllDownstreams(appID string) error
AddAppToAllDownstreams mocks base method
func (*MockKOTSStore) ClearTaskStatus ¶
func (m *MockKOTSStore) ClearTaskStatus(taskID string) error
ClearTaskStatus mocks base method
func (*MockKOTSStore) CreateApp ¶
func (m *MockKOTSStore) CreateApp(name, upstreamURI, licenseData string, isAirgapEnabled, skipImagePush bool) (*types0.App, error)
CreateApp mocks base method
func (*MockKOTSStore) CreateAppVersion ¶
func (m *MockKOTSStore) CreateAppVersion(appID string, currentSequence *int64, filesInDir, source string, skipPreflights bool, gitops types1.DownstreamGitOps) (int64, error)
CreateAppVersion mocks base method
func (*MockKOTSStore) CreateAppVersionArchive ¶
func (m *MockKOTSStore) CreateAppVersionArchive(appID string, sequence int64, archivePath string) error
CreateAppVersionArchive mocks base method
func (*MockKOTSStore) CreateNewCluster ¶
func (m *MockKOTSStore) CreateNewCluster(userID string, isAllUsers bool, title, token string) (string, error)
CreateNewCluster mocks base method
func (*MockKOTSStore) CreatePendingSupportBundle ¶
func (m *MockKOTSStore) CreatePendingSupportBundle(bundleID, appID, clusterID string) error
CreatePendingSupportBundle mocks base method
func (*MockKOTSStore) CreateScheduledInstanceSnapshot ¶
func (m *MockKOTSStore) CreateScheduledInstanceSnapshot(snapshotID, clusterID string, timestamp time.Time) error
CreateScheduledInstanceSnapshot mocks base method
func (*MockKOTSStore) CreateScheduledSnapshot ¶
func (m *MockKOTSStore) CreateScheduledSnapshot(snapshotID, appID string, timestamp time.Time) error
CreateScheduledSnapshot mocks base method
func (*MockKOTSStore) CreateSession ¶
func (m *MockKOTSStore) CreateSession(user *types8.User, issuedAt, expiresAt time.Time, roles []string) (*types6.Session, error)
CreateSession mocks base method
func (*MockKOTSStore) CreateSupportBundle ¶
func (m *MockKOTSStore) CreateSupportBundle(bundleID, appID, archivePath string, marshalledTree []byte) (*types7.SupportBundle, error)
CreateSupportBundle mocks base method
func (*MockKOTSStore) DeletePendingScheduledInstanceSnapshots ¶
func (m *MockKOTSStore) DeletePendingScheduledInstanceSnapshots(clusterID string) error
DeletePendingScheduledInstanceSnapshots mocks base method
func (*MockKOTSStore) DeletePendingScheduledSnapshots ¶
func (m *MockKOTSStore) DeletePendingScheduledSnapshots(appID string) error
DeletePendingScheduledSnapshots mocks base method
func (*MockKOTSStore) DeleteSession ¶
func (m *MockKOTSStore) DeleteSession(sessionID string) error
DeleteSession mocks base method
func (*MockKOTSStore) EXPECT ¶
func (m *MockKOTSStore) EXPECT() *MockKOTSStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockKOTSStore) GetAirgapInstallStatus ¶
func (m *MockKOTSStore) GetAirgapInstallStatus() (*types.InstallStatus, error)
GetAirgapInstallStatus mocks base method
func (*MockKOTSStore) GetAllAppLicenses ¶
func (m *MockKOTSStore) GetAllAppLicenses() ([]*v1beta1.License, error)
GetAllAppLicenses mocks base method
func (*MockKOTSStore) GetApp ¶
func (m *MockKOTSStore) GetApp(appID string) (*types0.App, error)
GetApp mocks base method
func (*MockKOTSStore) GetAppFromSlug ¶
func (m *MockKOTSStore) GetAppFromSlug(slug string) (*types0.App, error)
GetAppFromSlug mocks base method
func (*MockKOTSStore) GetAppIDFromSlug ¶
func (m *MockKOTSStore) GetAppIDFromSlug(slug string) (string, error)
GetAppIDFromSlug mocks base method
func (*MockKOTSStore) GetAppStatus ¶
func (m *MockKOTSStore) GetAppStatus(appID string) (*types9.AppStatus, error)
GetAppStatus mocks base method
func (*MockKOTSStore) GetAppVersion ¶
func (m *MockKOTSStore) GetAppVersion(arg0 string, arg1 int64) (*types12.AppVersion, error)
GetAppVersion mocks base method
func (*MockKOTSStore) GetAppVersionArchive ¶
func (m *MockKOTSStore) GetAppVersionArchive(appID string, sequence int64, dstPath string) error
GetAppVersionArchive mocks base method
func (*MockKOTSStore) GetAppVersionsAfter ¶
func (m *MockKOTSStore) GetAppVersionsAfter(arg0 string, arg1 int64) ([]*types12.AppVersion, error)
GetAppVersionsAfter mocks base method
func (*MockKOTSStore) GetClusterIDFromDeployToken ¶
func (m *MockKOTSStore) GetClusterIDFromDeployToken(deployToken string) (string, error)
GetClusterIDFromDeployToken mocks base method
func (*MockKOTSStore) GetClusterIDFromSlug ¶
func (m *MockKOTSStore) GetClusterIDFromSlug(slug string) (string, error)
GetClusterIDFromSlug mocks base method
func (*MockKOTSStore) GetDownstream ¶
func (m *MockKOTSStore) GetDownstream(clusterID string) (*types10.Downstream, error)
GetDownstream mocks base method
func (*MockKOTSStore) GetLatestLicenseForApp ¶
func (m *MockKOTSStore) GetLatestLicenseForApp(appID string) (*v1beta1.License, error)
GetLatestLicenseForApp mocks base method
func (*MockKOTSStore) GetLatestPreflightResultsForSequenceZero ¶
func (m *MockKOTSStore) GetLatestPreflightResultsForSequenceZero() (*types3.PreflightResult, error)
GetLatestPreflightResultsForSequenceZero mocks base method
func (*MockKOTSStore) GetLicenseForAppVersion ¶
func (m *MockKOTSStore) GetLicenseForAppVersion(appID string, sequence int64) (*v1beta1.License, error)
GetLicenseForAppVersion mocks base method
func (*MockKOTSStore) GetPendingAirgapUploadApp ¶
func (m *MockKOTSStore) GetPendingAirgapUploadApp() (*types.PendingApp, error)
GetPendingAirgapUploadApp mocks base method
func (*MockKOTSStore) GetPendingInstallationStatus ¶
func (m *MockKOTSStore) GetPendingInstallationStatus() (*types2.InstallStatus, error)
GetPendingInstallationStatus mocks base method
func (*MockKOTSStore) GetPreflightResults ¶
func (m *MockKOTSStore) GetPreflightResults(appID string, sequence int64) (*types3.PreflightResult, error)
GetPreflightResults mocks base method
func (*MockKOTSStore) GetPrometheusAddress ¶
func (m *MockKOTSStore) GetPrometheusAddress() (string, error)
GetPrometheusAddress mocks base method
func (*MockKOTSStore) GetRedactions ¶
func (m *MockKOTSStore) GetRedactions(bundleID string) (redact.RedactionList, error)
GetRedactions mocks base method
func (*MockKOTSStore) GetRegistryDetailsForApp ¶
func (m *MockKOTSStore) GetRegistryDetailsForApp(appID string) (*types4.RegistrySettings, error)
GetRegistryDetailsForApp mocks base method
func (*MockKOTSStore) GetReportingInfo ¶
func (m *MockKOTSStore) GetReportingInfo(appID string) *types13.ReportingInfo
GetReportingInfo mocks base method
func (*MockKOTSStore) GetSession ¶
func (m *MockKOTSStore) GetSession(sessionID string) (*types6.Session, error)
GetSession mocks base method
func (*MockKOTSStore) GetSupportBundle ¶
func (m *MockKOTSStore) GetSupportBundle(bundleID string) (*types7.SupportBundle, error)
GetSupportBundle mocks base method
func (*MockKOTSStore) GetSupportBundleAnalysis ¶
func (m *MockKOTSStore) GetSupportBundleAnalysis(bundleID string) (*types7.SupportBundleAnalysis, error)
GetSupportBundleAnalysis mocks base method
func (*MockKOTSStore) GetSupportBundleArchive ¶
func (m *MockKOTSStore) GetSupportBundleArchive(bundleID string) (string, error)
GetSupportBundleArchive mocks base method
func (*MockKOTSStore) GetSupportBundleFromSlug ¶
func (m *MockKOTSStore) GetSupportBundleFromSlug(slug string) (*types7.SupportBundle, error)
GetSupportBundleFromSlug mocks base method
func (*MockKOTSStore) GetSupportBundleSpecForApp ¶
func (m *MockKOTSStore) GetSupportBundleSpecForApp(id string) (string, error)
GetSupportBundleSpecForApp mocks base method
func (*MockKOTSStore) GetTaskStatus ¶
func (m *MockKOTSStore) GetTaskStatus(taskID string) (string, string, error)
GetTaskStatus mocks base method
func (*MockKOTSStore) IsGitOpsEnabledForApp ¶
func (m *MockKOTSStore) IsGitOpsEnabledForApp(appID string) (bool, error)
IsGitOpsEnabledForApp mocks base method
func (*MockKOTSStore) IsIdentityServiceSupportedForVersion ¶
func (m *MockKOTSStore) IsIdentityServiceSupportedForVersion(appID string, sequence int64) (bool, error)
IsIdentityServiceSupportedForVersion mocks base method
func (*MockKOTSStore) IsKotsadmIDGenerated ¶
func (m *MockKOTSStore) IsKotsadmIDGenerated() (bool, error)
IsKotsadmIDGenerated mocks base method
func (*MockKOTSStore) IsNotFound ¶
func (m *MockKOTSStore) IsNotFound(err error) bool
IsNotFound mocks base method
func (*MockKOTSStore) IsRollbackSupportedForVersion ¶
func (m *MockKOTSStore) IsRollbackSupportedForVersion(appID string, sequence int64) (bool, error)
IsRollbackSupportedForVersion mocks base method
func (*MockKOTSStore) IsSnapshotsSupportedForVersion ¶
func (m *MockKOTSStore) IsSnapshotsSupportedForVersion(a *types0.App, sequence int64, renderer types5.Renderer) (bool, error)
IsSnapshotsSupportedForVersion mocks base method
func (*MockKOTSStore) ListAppsForDownstream ¶
func (m *MockKOTSStore) ListAppsForDownstream(clusterID string) ([]*types0.App, error)
ListAppsForDownstream mocks base method
func (*MockKOTSStore) ListClusters ¶
func (m *MockKOTSStore) ListClusters() ([]*types10.Downstream, error)
ListClusters mocks base method
func (*MockKOTSStore) ListDownstreamsForApp ¶
func (m *MockKOTSStore) ListDownstreamsForApp(appID string) ([]types10.Downstream, error)
ListDownstreamsForApp mocks base method
func (*MockKOTSStore) ListInstalledAppSlugs ¶
func (m *MockKOTSStore) ListInstalledAppSlugs() ([]string, error)
ListInstalledAppSlugs mocks base method
func (*MockKOTSStore) ListInstalledApps ¶
func (m *MockKOTSStore) ListInstalledApps() ([]*types0.App, error)
ListInstalledApps mocks base method
func (*MockKOTSStore) ListPendingScheduledInstanceSnapshots ¶
func (m *MockKOTSStore) ListPendingScheduledInstanceSnapshots(clusterID string) ([]types11.ScheduledInstanceSnapshot, error)
ListPendingScheduledInstanceSnapshots mocks base method
func (*MockKOTSStore) ListPendingScheduledSnapshots ¶
func (m *MockKOTSStore) ListPendingScheduledSnapshots(appID string) ([]types11.ScheduledSnapshot, error)
ListPendingScheduledSnapshots mocks base method
func (*MockKOTSStore) ListPendingSupportBundlesForApp ¶
func (m *MockKOTSStore) ListPendingSupportBundlesForApp(appID string) ([]*types7.PendingSupportBundle, error)
ListPendingSupportBundlesForApp mocks base method
func (*MockKOTSStore) ListSupportBundles ¶
func (m *MockKOTSStore) ListSupportBundles(appID string) ([]*types7.SupportBundle, error)
ListSupportBundles mocks base method
func (*MockKOTSStore) RemoveApp ¶
func (m *MockKOTSStore) RemoveApp(appID string) error
RemoveApp mocks base method
func (*MockKOTSStore) ResetAirgapInstallInProgress ¶
func (m *MockKOTSStore) ResetAirgapInstallInProgress(appID string) error
ResetAirgapInstallInProgress mocks base method
func (*MockKOTSStore) ResetPreflightResults ¶
func (m *MockKOTSStore) ResetPreflightResults(appID string, sequence int64) error
ResetPreflightResults mocks base method
func (*MockKOTSStore) RunMigrations ¶
func (m *MockKOTSStore) RunMigrations()
RunMigrations mocks base method
func (*MockKOTSStore) SetAppInstallState ¶
func (m *MockKOTSStore) SetAppInstallState(appID, state string) error
SetAppInstallState mocks base method
func (*MockKOTSStore) SetAppIsAirgap ¶
func (m *MockKOTSStore) SetAppIsAirgap(appID string, isAirgap bool) error
SetAppIsAirgap mocks base method
func (*MockKOTSStore) SetIgnorePreflightPermissionErrors ¶
func (m *MockKOTSStore) SetIgnorePreflightPermissionErrors(appID string, sequence int64) error
SetIgnorePreflightPermissionErrors mocks base method
func (*MockKOTSStore) SetInstanceSnapshotSchedule ¶
func (m *MockKOTSStore) SetInstanceSnapshotSchedule(clusterID, snapshotSchedule string) error
SetInstanceSnapshotSchedule mocks base method
func (*MockKOTSStore) SetInstanceSnapshotTTL ¶
func (m *MockKOTSStore) SetInstanceSnapshotTTL(clusterID, snapshotTTL string) error
SetInstanceSnapshotTTL mocks base method
func (*MockKOTSStore) SetIsKotsadmIDGenerated ¶
func (m *MockKOTSStore) SetIsKotsadmIDGenerated() error
SetIsKotsadmIDGenerated mocks base method
func (*MockKOTSStore) SetPreflightResults ¶
func (m *MockKOTSStore) SetPreflightResults(appID string, sequence int64, results []byte) error
SetPreflightResults mocks base method
func (*MockKOTSStore) SetPrometheusAddress ¶
func (m *MockKOTSStore) SetPrometheusAddress(address string) error
SetPrometheusAddress mocks base method
func (*MockKOTSStore) SetRedactions ¶
func (m *MockKOTSStore) SetRedactions(bundleID string, redacts redact.RedactionList) error
SetRedactions mocks base method
func (*MockKOTSStore) SetSnapshotSchedule ¶
func (m *MockKOTSStore) SetSnapshotSchedule(appID, snapshotSchedule string) error
SetSnapshotSchedule mocks base method
func (*MockKOTSStore) SetSnapshotTTL ¶
func (m *MockKOTSStore) SetSnapshotTTL(appID, snapshotTTL string) error
SetSnapshotTTL mocks base method
func (*MockKOTSStore) SetSupportBundleAnalysis ¶
func (m *MockKOTSStore) SetSupportBundleAnalysis(bundleID string, insights []byte) error
SetSupportBundleAnalysis mocks base method
func (*MockKOTSStore) SetTaskStatus ¶
func (m *MockKOTSStore) SetTaskStatus(taskID, message, status string) error
SetTaskStatus mocks base method
func (*MockKOTSStore) SetUpdateCheckerSpec ¶
func (m *MockKOTSStore) SetUpdateCheckerSpec(appID, updateCheckerSpec string) error
SetUpdateCheckerSpec mocks base method
func (*MockKOTSStore) UpdateAppLicense ¶
func (m *MockKOTSStore) UpdateAppLicense(appID string, sequence int64, archiveDir string, newLicense *v1beta1.License, originalLicenseData string, failOnVersionCreate bool, gitops types1.DownstreamGitOps, renderer types5.Renderer) (int64, error)
UpdateAppLicense mocks base method
func (*MockKOTSStore) UpdateRegistry ¶
func (m *MockKOTSStore) UpdateRegistry(appID, hostname, username, password, namespace string) error
UpdateRegistry mocks base method
func (*MockKOTSStore) UpdateScheduledInstanceSnapshot ¶
func (m *MockKOTSStore) UpdateScheduledInstanceSnapshot(snapshotID, backupName string) error
UpdateScheduledInstanceSnapshot mocks base method
func (*MockKOTSStore) UpdateScheduledSnapshot ¶
func (m *MockKOTSStore) UpdateScheduledSnapshot(snapshotID, backupName string) error
UpdateScheduledSnapshot mocks base method
func (*MockKOTSStore) UpdateTaskStatusTimestamp ¶
func (m *MockKOTSStore) UpdateTaskStatusTimestamp(taskID string) error
UpdateTaskStatusTimestamp mocks base method
func (*MockKOTSStore) WaitForReady ¶
func (m *MockKOTSStore) WaitForReady(ctx context.Context) error
WaitForReady mocks base method
type MockKOTSStoreMockRecorder ¶
type MockKOTSStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockKOTSStoreMockRecorder is the mock recorder for MockKOTSStore
func (*MockKOTSStoreMockRecorder) AddAppToAllDownstreams ¶
func (mr *MockKOTSStoreMockRecorder) AddAppToAllDownstreams(appID interface{}) *gomock.Call
AddAppToAllDownstreams indicates an expected call of AddAppToAllDownstreams
func (*MockKOTSStoreMockRecorder) ClearTaskStatus ¶
func (mr *MockKOTSStoreMockRecorder) ClearTaskStatus(taskID interface{}) *gomock.Call
ClearTaskStatus indicates an expected call of ClearTaskStatus
func (*MockKOTSStoreMockRecorder) CreateApp ¶
func (mr *MockKOTSStoreMockRecorder) CreateApp(name, upstreamURI, licenseData, isAirgapEnabled, skipImagePush interface{}) *gomock.Call
CreateApp indicates an expected call of CreateApp
func (*MockKOTSStoreMockRecorder) CreateAppVersion ¶
func (mr *MockKOTSStoreMockRecorder) CreateAppVersion(appID, currentSequence, filesInDir, source, skipPreflights, gitops interface{}) *gomock.Call
CreateAppVersion indicates an expected call of CreateAppVersion
func (*MockKOTSStoreMockRecorder) CreateAppVersionArchive ¶
func (mr *MockKOTSStoreMockRecorder) CreateAppVersionArchive(appID, sequence, archivePath interface{}) *gomock.Call
CreateAppVersionArchive indicates an expected call of CreateAppVersionArchive
func (*MockKOTSStoreMockRecorder) CreateNewCluster ¶
func (mr *MockKOTSStoreMockRecorder) CreateNewCluster(userID, isAllUsers, title, token interface{}) *gomock.Call
CreateNewCluster indicates an expected call of CreateNewCluster
func (*MockKOTSStoreMockRecorder) CreatePendingSupportBundle ¶
func (mr *MockKOTSStoreMockRecorder) CreatePendingSupportBundle(bundleID, appID, clusterID interface{}) *gomock.Call
CreatePendingSupportBundle indicates an expected call of CreatePendingSupportBundle
func (*MockKOTSStoreMockRecorder) CreateScheduledInstanceSnapshot ¶
func (mr *MockKOTSStoreMockRecorder) CreateScheduledInstanceSnapshot(snapshotID, clusterID, timestamp interface{}) *gomock.Call
CreateScheduledInstanceSnapshot indicates an expected call of CreateScheduledInstanceSnapshot
func (*MockKOTSStoreMockRecorder) CreateScheduledSnapshot ¶
func (mr *MockKOTSStoreMockRecorder) CreateScheduledSnapshot(snapshotID, appID, timestamp interface{}) *gomock.Call
CreateScheduledSnapshot indicates an expected call of CreateScheduledSnapshot
func (*MockKOTSStoreMockRecorder) CreateSession ¶
func (mr *MockKOTSStoreMockRecorder) CreateSession(user, issuedAt, expiresAt, roles interface{}) *gomock.Call
CreateSession indicates an expected call of CreateSession
func (*MockKOTSStoreMockRecorder) CreateSupportBundle ¶
func (mr *MockKOTSStoreMockRecorder) CreateSupportBundle(bundleID, appID, archivePath, marshalledTree interface{}) *gomock.Call
CreateSupportBundle indicates an expected call of CreateSupportBundle
func (*MockKOTSStoreMockRecorder) DeletePendingScheduledInstanceSnapshots ¶
func (mr *MockKOTSStoreMockRecorder) DeletePendingScheduledInstanceSnapshots(clusterID interface{}) *gomock.Call
DeletePendingScheduledInstanceSnapshots indicates an expected call of DeletePendingScheduledInstanceSnapshots
func (*MockKOTSStoreMockRecorder) DeletePendingScheduledSnapshots ¶
func (mr *MockKOTSStoreMockRecorder) DeletePendingScheduledSnapshots(appID interface{}) *gomock.Call
DeletePendingScheduledSnapshots indicates an expected call of DeletePendingScheduledSnapshots
func (*MockKOTSStoreMockRecorder) DeleteSession ¶
func (mr *MockKOTSStoreMockRecorder) DeleteSession(sessionID interface{}) *gomock.Call
DeleteSession indicates an expected call of DeleteSession
func (*MockKOTSStoreMockRecorder) GetAirgapInstallStatus ¶
func (mr *MockKOTSStoreMockRecorder) GetAirgapInstallStatus() *gomock.Call
GetAirgapInstallStatus indicates an expected call of GetAirgapInstallStatus
func (*MockKOTSStoreMockRecorder) GetAllAppLicenses ¶
func (mr *MockKOTSStoreMockRecorder) GetAllAppLicenses() *gomock.Call
GetAllAppLicenses indicates an expected call of GetAllAppLicenses
func (*MockKOTSStoreMockRecorder) GetApp ¶
func (mr *MockKOTSStoreMockRecorder) GetApp(appID interface{}) *gomock.Call
GetApp indicates an expected call of GetApp
func (*MockKOTSStoreMockRecorder) GetAppFromSlug ¶
func (mr *MockKOTSStoreMockRecorder) GetAppFromSlug(slug interface{}) *gomock.Call
GetAppFromSlug indicates an expected call of GetAppFromSlug
func (*MockKOTSStoreMockRecorder) GetAppIDFromSlug ¶
func (mr *MockKOTSStoreMockRecorder) GetAppIDFromSlug(slug interface{}) *gomock.Call
GetAppIDFromSlug indicates an expected call of GetAppIDFromSlug
func (*MockKOTSStoreMockRecorder) GetAppStatus ¶
func (mr *MockKOTSStoreMockRecorder) GetAppStatus(appID interface{}) *gomock.Call
GetAppStatus indicates an expected call of GetAppStatus
func (*MockKOTSStoreMockRecorder) GetAppVersion ¶
func (mr *MockKOTSStoreMockRecorder) GetAppVersion(arg0, arg1 interface{}) *gomock.Call
GetAppVersion indicates an expected call of GetAppVersion
func (*MockKOTSStoreMockRecorder) GetAppVersionArchive ¶
func (mr *MockKOTSStoreMockRecorder) GetAppVersionArchive(appID, sequence, dstPath interface{}) *gomock.Call
GetAppVersionArchive indicates an expected call of GetAppVersionArchive
func (*MockKOTSStoreMockRecorder) GetAppVersionsAfter ¶
func (mr *MockKOTSStoreMockRecorder) GetAppVersionsAfter(arg0, arg1 interface{}) *gomock.Call
GetAppVersionsAfter indicates an expected call of GetAppVersionsAfter
func (*MockKOTSStoreMockRecorder) GetClusterIDFromDeployToken ¶
func (mr *MockKOTSStoreMockRecorder) GetClusterIDFromDeployToken(deployToken interface{}) *gomock.Call
GetClusterIDFromDeployToken indicates an expected call of GetClusterIDFromDeployToken
func (*MockKOTSStoreMockRecorder) GetClusterIDFromSlug ¶
func (mr *MockKOTSStoreMockRecorder) GetClusterIDFromSlug(slug interface{}) *gomock.Call
GetClusterIDFromSlug indicates an expected call of GetClusterIDFromSlug
func (*MockKOTSStoreMockRecorder) GetDownstream ¶
func (mr *MockKOTSStoreMockRecorder) GetDownstream(clusterID interface{}) *gomock.Call
GetDownstream indicates an expected call of GetDownstream
func (*MockKOTSStoreMockRecorder) GetLatestLicenseForApp ¶
func (mr *MockKOTSStoreMockRecorder) GetLatestLicenseForApp(appID interface{}) *gomock.Call
GetLatestLicenseForApp indicates an expected call of GetLatestLicenseForApp
func (*MockKOTSStoreMockRecorder) GetLatestPreflightResultsForSequenceZero ¶
func (mr *MockKOTSStoreMockRecorder) GetLatestPreflightResultsForSequenceZero() *gomock.Call
GetLatestPreflightResultsForSequenceZero indicates an expected call of GetLatestPreflightResultsForSequenceZero
func (*MockKOTSStoreMockRecorder) GetLicenseForAppVersion ¶
func (mr *MockKOTSStoreMockRecorder) GetLicenseForAppVersion(appID, sequence interface{}) *gomock.Call
GetLicenseForAppVersion indicates an expected call of GetLicenseForAppVersion
func (*MockKOTSStoreMockRecorder) GetPendingAirgapUploadApp ¶
func (mr *MockKOTSStoreMockRecorder) GetPendingAirgapUploadApp() *gomock.Call
GetPendingAirgapUploadApp indicates an expected call of GetPendingAirgapUploadApp
func (*MockKOTSStoreMockRecorder) GetPendingInstallationStatus ¶
func (mr *MockKOTSStoreMockRecorder) GetPendingInstallationStatus() *gomock.Call
GetPendingInstallationStatus indicates an expected call of GetPendingInstallationStatus
func (*MockKOTSStoreMockRecorder) GetPreflightResults ¶
func (mr *MockKOTSStoreMockRecorder) GetPreflightResults(appID, sequence interface{}) *gomock.Call
GetPreflightResults indicates an expected call of GetPreflightResults
func (*MockKOTSStoreMockRecorder) GetPrometheusAddress ¶
func (mr *MockKOTSStoreMockRecorder) GetPrometheusAddress() *gomock.Call
GetPrometheusAddress indicates an expected call of GetPrometheusAddress
func (*MockKOTSStoreMockRecorder) GetRedactions ¶
func (mr *MockKOTSStoreMockRecorder) GetRedactions(bundleID interface{}) *gomock.Call
GetRedactions indicates an expected call of GetRedactions
func (*MockKOTSStoreMockRecorder) GetRegistryDetailsForApp ¶
func (mr *MockKOTSStoreMockRecorder) GetRegistryDetailsForApp(appID interface{}) *gomock.Call
GetRegistryDetailsForApp indicates an expected call of GetRegistryDetailsForApp
func (*MockKOTSStoreMockRecorder) GetReportingInfo ¶
func (mr *MockKOTSStoreMockRecorder) GetReportingInfo(appID interface{}) *gomock.Call
GetReportingInfo indicates an expected call of GetReportingInfo
func (*MockKOTSStoreMockRecorder) GetSession ¶
func (mr *MockKOTSStoreMockRecorder) GetSession(sessionID interface{}) *gomock.Call
GetSession indicates an expected call of GetSession
func (*MockKOTSStoreMockRecorder) GetSupportBundle ¶
func (mr *MockKOTSStoreMockRecorder) GetSupportBundle(bundleID interface{}) *gomock.Call
GetSupportBundle indicates an expected call of GetSupportBundle
func (*MockKOTSStoreMockRecorder) GetSupportBundleAnalysis ¶
func (mr *MockKOTSStoreMockRecorder) GetSupportBundleAnalysis(bundleID interface{}) *gomock.Call
GetSupportBundleAnalysis indicates an expected call of GetSupportBundleAnalysis
func (*MockKOTSStoreMockRecorder) GetSupportBundleArchive ¶
func (mr *MockKOTSStoreMockRecorder) GetSupportBundleArchive(bundleID interface{}) *gomock.Call
GetSupportBundleArchive indicates an expected call of GetSupportBundleArchive
func (*MockKOTSStoreMockRecorder) GetSupportBundleFromSlug ¶
func (mr *MockKOTSStoreMockRecorder) GetSupportBundleFromSlug(slug interface{}) *gomock.Call
GetSupportBundleFromSlug indicates an expected call of GetSupportBundleFromSlug
func (*MockKOTSStoreMockRecorder) GetSupportBundleSpecForApp ¶
func (mr *MockKOTSStoreMockRecorder) GetSupportBundleSpecForApp(id interface{}) *gomock.Call
GetSupportBundleSpecForApp indicates an expected call of GetSupportBundleSpecForApp
func (*MockKOTSStoreMockRecorder) GetTaskStatus ¶
func (mr *MockKOTSStoreMockRecorder) GetTaskStatus(taskID interface{}) *gomock.Call
GetTaskStatus indicates an expected call of GetTaskStatus
func (*MockKOTSStoreMockRecorder) Init ¶
func (mr *MockKOTSStoreMockRecorder) Init() *gomock.Call
Init indicates an expected call of Init
func (*MockKOTSStoreMockRecorder) IsGitOpsEnabledForApp ¶
func (mr *MockKOTSStoreMockRecorder) IsGitOpsEnabledForApp(appID interface{}) *gomock.Call
IsGitOpsEnabledForApp indicates an expected call of IsGitOpsEnabledForApp
func (*MockKOTSStoreMockRecorder) IsIdentityServiceSupportedForVersion ¶
func (mr *MockKOTSStoreMockRecorder) IsIdentityServiceSupportedForVersion(appID, sequence interface{}) *gomock.Call
IsIdentityServiceSupportedForVersion indicates an expected call of IsIdentityServiceSupportedForVersion
func (*MockKOTSStoreMockRecorder) IsKotsadmIDGenerated ¶
func (mr *MockKOTSStoreMockRecorder) IsKotsadmIDGenerated() *gomock.Call
IsKotsadmIDGenerated indicates an expected call of IsKotsadmIDGenerated
func (*MockKOTSStoreMockRecorder) IsNotFound ¶
func (mr *MockKOTSStoreMockRecorder) IsNotFound(err interface{}) *gomock.Call
IsNotFound indicates an expected call of IsNotFound
func (*MockKOTSStoreMockRecorder) IsRollbackSupportedForVersion ¶
func (mr *MockKOTSStoreMockRecorder) IsRollbackSupportedForVersion(appID, sequence interface{}) *gomock.Call
IsRollbackSupportedForVersion indicates an expected call of IsRollbackSupportedForVersion
func (*MockKOTSStoreMockRecorder) IsSnapshotsSupportedForVersion ¶
func (mr *MockKOTSStoreMockRecorder) IsSnapshotsSupportedForVersion(a, sequence, renderer interface{}) *gomock.Call
IsSnapshotsSupportedForVersion indicates an expected call of IsSnapshotsSupportedForVersion
func (*MockKOTSStoreMockRecorder) ListAppsForDownstream ¶
func (mr *MockKOTSStoreMockRecorder) ListAppsForDownstream(clusterID interface{}) *gomock.Call
ListAppsForDownstream indicates an expected call of ListAppsForDownstream
func (*MockKOTSStoreMockRecorder) ListClusters ¶
func (mr *MockKOTSStoreMockRecorder) ListClusters() *gomock.Call
ListClusters indicates an expected call of ListClusters
func (*MockKOTSStoreMockRecorder) ListDownstreamsForApp ¶
func (mr *MockKOTSStoreMockRecorder) ListDownstreamsForApp(appID interface{}) *gomock.Call
ListDownstreamsForApp indicates an expected call of ListDownstreamsForApp
func (*MockKOTSStoreMockRecorder) ListInstalledAppSlugs ¶
func (mr *MockKOTSStoreMockRecorder) ListInstalledAppSlugs() *gomock.Call
ListInstalledAppSlugs indicates an expected call of ListInstalledAppSlugs
func (*MockKOTSStoreMockRecorder) ListInstalledApps ¶
func (mr *MockKOTSStoreMockRecorder) ListInstalledApps() *gomock.Call
ListInstalledApps indicates an expected call of ListInstalledApps
func (*MockKOTSStoreMockRecorder) ListPendingScheduledInstanceSnapshots ¶
func (mr *MockKOTSStoreMockRecorder) ListPendingScheduledInstanceSnapshots(clusterID interface{}) *gomock.Call
ListPendingScheduledInstanceSnapshots indicates an expected call of ListPendingScheduledInstanceSnapshots
func (*MockKOTSStoreMockRecorder) ListPendingScheduledSnapshots ¶
func (mr *MockKOTSStoreMockRecorder) ListPendingScheduledSnapshots(appID interface{}) *gomock.Call
ListPendingScheduledSnapshots indicates an expected call of ListPendingScheduledSnapshots
func (*MockKOTSStoreMockRecorder) ListPendingSupportBundlesForApp ¶
func (mr *MockKOTSStoreMockRecorder) ListPendingSupportBundlesForApp(appID interface{}) *gomock.Call
ListPendingSupportBundlesForApp indicates an expected call of ListPendingSupportBundlesForApp
func (*MockKOTSStoreMockRecorder) ListSupportBundles ¶
func (mr *MockKOTSStoreMockRecorder) ListSupportBundles(appID interface{}) *gomock.Call
ListSupportBundles indicates an expected call of ListSupportBundles
func (*MockKOTSStoreMockRecorder) RemoveApp ¶
func (mr *MockKOTSStoreMockRecorder) RemoveApp(appID interface{}) *gomock.Call
RemoveApp indicates an expected call of RemoveApp
func (*MockKOTSStoreMockRecorder) ResetAirgapInstallInProgress ¶
func (mr *MockKOTSStoreMockRecorder) ResetAirgapInstallInProgress(appID interface{}) *gomock.Call
ResetAirgapInstallInProgress indicates an expected call of ResetAirgapInstallInProgress
func (*MockKOTSStoreMockRecorder) ResetPreflightResults ¶
func (mr *MockKOTSStoreMockRecorder) ResetPreflightResults(appID, sequence interface{}) *gomock.Call
ResetPreflightResults indicates an expected call of ResetPreflightResults
func (*MockKOTSStoreMockRecorder) RunMigrations ¶
func (mr *MockKOTSStoreMockRecorder) RunMigrations() *gomock.Call
RunMigrations indicates an expected call of RunMigrations
func (*MockKOTSStoreMockRecorder) SetAppInstallState ¶
func (mr *MockKOTSStoreMockRecorder) SetAppInstallState(appID, state interface{}) *gomock.Call
SetAppInstallState indicates an expected call of SetAppInstallState
func (*MockKOTSStoreMockRecorder) SetAppIsAirgap ¶
func (mr *MockKOTSStoreMockRecorder) SetAppIsAirgap(appID, isAirgap interface{}) *gomock.Call
SetAppIsAirgap indicates an expected call of SetAppIsAirgap
func (*MockKOTSStoreMockRecorder) SetIgnorePreflightPermissionErrors ¶
func (mr *MockKOTSStoreMockRecorder) SetIgnorePreflightPermissionErrors(appID, sequence interface{}) *gomock.Call
SetIgnorePreflightPermissionErrors indicates an expected call of SetIgnorePreflightPermissionErrors
func (*MockKOTSStoreMockRecorder) SetInstanceSnapshotSchedule ¶
func (mr *MockKOTSStoreMockRecorder) SetInstanceSnapshotSchedule(clusterID, snapshotSchedule interface{}) *gomock.Call
SetInstanceSnapshotSchedule indicates an expected call of SetInstanceSnapshotSchedule
func (*MockKOTSStoreMockRecorder) SetInstanceSnapshotTTL ¶
func (mr *MockKOTSStoreMockRecorder) SetInstanceSnapshotTTL(clusterID, snapshotTTL interface{}) *gomock.Call
SetInstanceSnapshotTTL indicates an expected call of SetInstanceSnapshotTTL
func (*MockKOTSStoreMockRecorder) SetIsKotsadmIDGenerated ¶
func (mr *MockKOTSStoreMockRecorder) SetIsKotsadmIDGenerated() *gomock.Call
SetIsKotsadmIDGenerated indicates an expected call of SetIsKotsadmIDGenerated
func (*MockKOTSStoreMockRecorder) SetPreflightResults ¶
func (mr *MockKOTSStoreMockRecorder) SetPreflightResults(appID, sequence, results interface{}) *gomock.Call
SetPreflightResults indicates an expected call of SetPreflightResults
func (*MockKOTSStoreMockRecorder) SetPrometheusAddress ¶
func (mr *MockKOTSStoreMockRecorder) SetPrometheusAddress(address interface{}) *gomock.Call
SetPrometheusAddress indicates an expected call of SetPrometheusAddress
func (*MockKOTSStoreMockRecorder) SetRedactions ¶
func (mr *MockKOTSStoreMockRecorder) SetRedactions(bundleID, redacts interface{}) *gomock.Call
SetRedactions indicates an expected call of SetRedactions
func (*MockKOTSStoreMockRecorder) SetSnapshotSchedule ¶
func (mr *MockKOTSStoreMockRecorder) SetSnapshotSchedule(appID, snapshotSchedule interface{}) *gomock.Call
SetSnapshotSchedule indicates an expected call of SetSnapshotSchedule
func (*MockKOTSStoreMockRecorder) SetSnapshotTTL ¶
func (mr *MockKOTSStoreMockRecorder) SetSnapshotTTL(appID, snapshotTTL interface{}) *gomock.Call
SetSnapshotTTL indicates an expected call of SetSnapshotTTL
func (*MockKOTSStoreMockRecorder) SetSupportBundleAnalysis ¶
func (mr *MockKOTSStoreMockRecorder) SetSupportBundleAnalysis(bundleID, insights interface{}) *gomock.Call
SetSupportBundleAnalysis indicates an expected call of SetSupportBundleAnalysis
func (*MockKOTSStoreMockRecorder) SetTaskStatus ¶
func (mr *MockKOTSStoreMockRecorder) SetTaskStatus(taskID, message, status interface{}) *gomock.Call
SetTaskStatus indicates an expected call of SetTaskStatus
func (*MockKOTSStoreMockRecorder) SetUpdateCheckerSpec ¶
func (mr *MockKOTSStoreMockRecorder) SetUpdateCheckerSpec(appID, updateCheckerSpec interface{}) *gomock.Call
SetUpdateCheckerSpec indicates an expected call of SetUpdateCheckerSpec
func (*MockKOTSStoreMockRecorder) UpdateAppLicense ¶
func (mr *MockKOTSStoreMockRecorder) UpdateAppLicense(appID, sequence, archiveDir, newLicense, originalLicenseData, failOnVersionCreate, gitops, renderer interface{}) *gomock.Call
UpdateAppLicense indicates an expected call of UpdateAppLicense
func (*MockKOTSStoreMockRecorder) UpdateRegistry ¶
func (mr *MockKOTSStoreMockRecorder) UpdateRegistry(appID, hostname, username, password, namespace interface{}) *gomock.Call
UpdateRegistry indicates an expected call of UpdateRegistry
func (*MockKOTSStoreMockRecorder) UpdateScheduledInstanceSnapshot ¶
func (mr *MockKOTSStoreMockRecorder) UpdateScheduledInstanceSnapshot(snapshotID, backupName interface{}) *gomock.Call
UpdateScheduledInstanceSnapshot indicates an expected call of UpdateScheduledInstanceSnapshot
func (*MockKOTSStoreMockRecorder) UpdateScheduledSnapshot ¶
func (mr *MockKOTSStoreMockRecorder) UpdateScheduledSnapshot(snapshotID, backupName interface{}) *gomock.Call
UpdateScheduledSnapshot indicates an expected call of UpdateScheduledSnapshot
func (*MockKOTSStoreMockRecorder) UpdateTaskStatusTimestamp ¶
func (mr *MockKOTSStoreMockRecorder) UpdateTaskStatusTimestamp(taskID interface{}) *gomock.Call
UpdateTaskStatusTimestamp indicates an expected call of UpdateTaskStatusTimestamp
func (*MockKOTSStoreMockRecorder) WaitForReady ¶
func (mr *MockKOTSStoreMockRecorder) WaitForReady(ctx interface{}) *gomock.Call
WaitForReady indicates an expected call of WaitForReady
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 types1.DownstreamGitOps, renderer types5.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) GetLatestPreflightResultsForSequenceZero ¶
func (m *MockPreflightStore) GetLatestPreflightResultsForSequenceZero() (*types3.PreflightResult, error)
GetLatestPreflightResultsForSequenceZero mocks base method
func (*MockPreflightStore) GetPreflightResults ¶
func (m *MockPreflightStore) GetPreflightResults(appID string, sequence int64) (*types3.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) 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) GetLatestPreflightResultsForSequenceZero ¶
func (mr *MockPreflightStoreMockRecorder) GetLatestPreflightResultsForSequenceZero() *gomock.Call
GetLatestPreflightResultsForSequenceZero indicates an expected call of GetLatestPreflightResultsForSequenceZero
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) 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) (*types4.RegistrySettings, error)
GetRegistryDetailsForApp mocks base method
func (*MockRegistryStore) UpdateRegistry ¶
func (m *MockRegistryStore) UpdateRegistry(appID, hostname, username, password, namespace string) 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 interface{}) *gomock.Call
UpdateRegistry indicates an expected call of UpdateRegistry
type MockReportingStore ¶
type MockReportingStore struct {
// contains filtered or unexported fields
}
MockReportingStore is a mock of ReportingStore interface
func NewMockReportingStore ¶
func NewMockReportingStore(ctrl *gomock.Controller) *MockReportingStore
NewMockReportingStore creates a new mock instance
func (*MockReportingStore) EXPECT ¶
func (m *MockReportingStore) EXPECT() *MockReportingStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockReportingStore) GetReportingInfo ¶
func (m *MockReportingStore) GetReportingInfo(appID string) *types13.ReportingInfo
GetReportingInfo mocks base method
type MockReportingStoreMockRecorder ¶
type MockReportingStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockReportingStoreMockRecorder is the mock recorder for MockReportingStore
func (*MockReportingStoreMockRecorder) GetReportingInfo ¶
func (mr *MockReportingStoreMockRecorder) GetReportingInfo(appID interface{}) *gomock.Call
GetReportingInfo indicates an expected call of GetReportingInfo
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 *types8.User, issuedAt, expiresAt time.Time, roles []string) (*types6.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) (*types6.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) ([]types11.ScheduledInstanceSnapshot, error)
ListPendingScheduledInstanceSnapshots mocks base method
func (*MockSnapshotStore) ListPendingScheduledSnapshots ¶
func (m *MockSnapshotStore) ListPendingScheduledSnapshots(appID string) ([]types11.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 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 ¶
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) (*types7.SupportBundle, error)
CreateSupportBundle 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) (*types7.SupportBundle, error)
GetSupportBundle mocks base method
func (*MockSupportBundleStore) GetSupportBundleAnalysis ¶
func (m *MockSupportBundleStore) GetSupportBundleAnalysis(bundleID string) (*types7.SupportBundleAnalysis, error)
GetSupportBundleAnalysis mocks base method
func (*MockSupportBundleStore) GetSupportBundleArchive ¶
func (m *MockSupportBundleStore) GetSupportBundleArchive(bundleID string) (string, error)
GetSupportBundleArchive mocks base method
func (*MockSupportBundleStore) GetSupportBundleFromSlug ¶
func (m *MockSupportBundleStore) GetSupportBundleFromSlug(slug string) (*types7.SupportBundle, error)
GetSupportBundleFromSlug mocks base method
func (*MockSupportBundleStore) GetSupportBundleSpecForApp ¶
func (m *MockSupportBundleStore) GetSupportBundleSpecForApp(id string) (string, error)
GetSupportBundleSpecForApp mocks base method
func (*MockSupportBundleStore) ListPendingSupportBundlesForApp ¶
func (m *MockSupportBundleStore) ListPendingSupportBundlesForApp(appID string) ([]*types7.PendingSupportBundle, error)
ListPendingSupportBundlesForApp mocks base method
func (*MockSupportBundleStore) ListSupportBundles ¶
func (m *MockSupportBundleStore) ListSupportBundles(appID string) ([]*types7.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 ¶
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) 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) GetSupportBundleFromSlug ¶
func (mr *MockSupportBundleStoreMockRecorder) GetSupportBundleFromSlug(slug interface{}) *gomock.Call
GetSupportBundleFromSlug indicates an expected call of GetSupportBundleFromSlug
func (*MockSupportBundleStoreMockRecorder) GetSupportBundleSpecForApp ¶
func (mr *MockSupportBundleStoreMockRecorder) GetSupportBundleSpecForApp(id interface{}) *gomock.Call
GetSupportBundleSpecForApp indicates an expected call of GetSupportBundleSpecForApp
func (*MockSupportBundleStoreMockRecorder) ListPendingSupportBundlesForApp ¶
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 types1.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) (*types12.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 ¶
func (m *MockVersionStore) GetAppVersionsAfter(arg0 string, arg1 int64) ([]*types12.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 *types0.App, sequence int64, renderer types5.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 ¶
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