mock_store

package
v1.33.0-beta.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package mock_store is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAirgapStore) GetAirgapInstallStatus

func (m *MockAirgapStore) GetAirgapInstallStatus(appID string) (*types.InstallStatus, error)

GetAirgapInstallStatus mocks base method

func (*MockAirgapStore) GetPendingAirgapUploadApp

func (m *MockAirgapStore) GetPendingAirgapUploadApp() (*types.PendingApp, error)

GetPendingAirgapUploadApp mocks base method

func (*MockAirgapStore) ResetAirgapInstallInProgress

func (m *MockAirgapStore) ResetAirgapInstallInProgress(appID string) error

ResetAirgapInstallInProgress mocks base method

func (*MockAirgapStore) SetAppIsAirgap

func (m *MockAirgapStore) SetAppIsAirgap(appID string, isAirgap bool) error

SetAppIsAirgap mocks base method

type MockAirgapStoreMockRecorder

type MockAirgapStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockAirgapStoreMockRecorder is the mock recorder for MockAirgapStore

func (*MockAirgapStoreMockRecorder) GetAirgapInstallStatus

func (mr *MockAirgapStoreMockRecorder) GetAirgapInstallStatus(appID interface{}) *gomock.Call

GetAirgapInstallStatus indicates an expected call of GetAirgapInstallStatus

func (*MockAirgapStoreMockRecorder) GetPendingAirgapUploadApp

func (mr *MockAirgapStoreMockRecorder) GetPendingAirgapUploadApp() *gomock.Call

GetPendingAirgapUploadApp indicates an expected call of GetPendingAirgapUploadApp

func (*MockAirgapStoreMockRecorder) ResetAirgapInstallInProgress

func (mr *MockAirgapStoreMockRecorder) ResetAirgapInstallInProgress(appID interface{}) *gomock.Call

ResetAirgapInstallInProgress indicates an expected call of ResetAirgapInstallInProgress

func (*MockAirgapStoreMockRecorder) SetAppIsAirgap

func (mr *MockAirgapStoreMockRecorder) SetAppIsAirgap(appID, isAirgap interface{}) *gomock.Call

SetAppIsAirgap indicates an expected call of SetAppIsAirgap

type MockAppStatusStore

type MockAppStatusStore struct {
	// contains filtered or unexported fields
}

MockAppStatusStore is a mock of AppStatusStore interface

func NewMockAppStatusStore

func NewMockAppStatusStore(ctrl *gomock.Controller) *MockAppStatusStore

NewMockAppStatusStore creates a new mock instance

func (*MockAppStatusStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAppStatusStore) GetAppStatus

func (m *MockAppStatusStore) GetAppStatus(appID string) (*types0.AppStatus, error)

GetAppStatus mocks base method

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) (*types4.App, error)

CreateApp mocks base method

func (*MockAppStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAppStore) GetApp

func (m *MockAppStore) GetApp(appID string) (*types4.App, error)

GetApp mocks base method

func (*MockAppStore) GetAppFromSlug

func (m *MockAppStore) GetAppFromSlug(slug string) (*types4.App, error)

GetAppFromSlug mocks base method

func (*MockAppStore) GetAppIDFromSlug

func (m *MockAppStore) GetAppIDFromSlug(slug string) (string, error)

GetAppIDFromSlug mocks base method

func (*MockAppStore) GetDownstream

func (m *MockAppStore) GetDownstream(clusterID string) (*types1.Downstream, error)

GetDownstream mocks base method

func (*MockAppStore) IsGitOpsEnabledForApp

func (m *MockAppStore) IsGitOpsEnabledForApp(appID string) (bool, error)

IsGitOpsEnabledForApp mocks base method

func (*MockAppStore) ListAppsForDownstream

func (m *MockAppStore) ListAppsForDownstream(clusterID string) ([]*types4.App, error)

ListAppsForDownstream mocks base method

func (*MockAppStore) ListDownstreamsForApp

func (m *MockAppStore) ListDownstreamsForApp(appID string) ([]types1.Downstream, error)

ListDownstreamsForApp mocks base method

func (*MockAppStore) ListInstalledAppSlugs

func (m *MockAppStore) ListInstalledAppSlugs() ([]string, error)

ListInstalledAppSlugs mocks base method

func (*MockAppStore) ListInstalledApps

func (m *MockAppStore) ListInstalledApps() ([]*types4.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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockClusterStore) GetClusterIDFromDeployToken

func (m *MockClusterStore) GetClusterIDFromDeployToken(deployToken string) (string, error)

GetClusterIDFromDeployToken mocks base method

func (*MockClusterStore) GetClusterIDFromSlug

func (m *MockClusterStore) GetClusterIDFromSlug(slug string) (string, error)

GetClusterIDFromSlug mocks base method

func (*MockClusterStore) ListClusters

func (m *MockClusterStore) ListClusters() ([]*types1.Downstream, error)

ListClusters mocks base method

func (*MockClusterStore) SetInstanceSnapshotSchedule

func (m *MockClusterStore) SetInstanceSnapshotSchedule(clusterID, snapshotSchedule string) error

SetInstanceSnapshotSchedule mocks base method

func (*MockClusterStore) SetInstanceSnapshotTTL

func (m *MockClusterStore) SetInstanceSnapshotTTL(clusterID, snapshotTTL string) error

SetInstanceSnapshotTTL mocks base method

type MockClusterStoreMockRecorder

type MockClusterStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockClusterStoreMockRecorder is the mock recorder for MockClusterStore

func (*MockClusterStoreMockRecorder) CreateNewCluster

func (mr *MockClusterStoreMockRecorder) CreateNewCluster(userID, isAllUsers, title, token interface{}) *gomock.Call

CreateNewCluster indicates an expected call of CreateNewCluster

func (*MockClusterStoreMockRecorder) GetClusterIDFromDeployToken

func (mr *MockClusterStoreMockRecorder) GetClusterIDFromDeployToken(deployToken interface{}) *gomock.Call

GetClusterIDFromDeployToken indicates an expected call of GetClusterIDFromDeployToken

func (*MockClusterStoreMockRecorder) GetClusterIDFromSlug

func (mr *MockClusterStoreMockRecorder) GetClusterIDFromSlug(slug interface{}) *gomock.Call

GetClusterIDFromSlug indicates an expected call of GetClusterIDFromSlug

func (*MockClusterStoreMockRecorder) ListClusters

func (mr *MockClusterStoreMockRecorder) ListClusters() *gomock.Call

ListClusters indicates an expected call of ListClusters

func (*MockClusterStoreMockRecorder) SetInstanceSnapshotSchedule

func (mr *MockClusterStoreMockRecorder) SetInstanceSnapshotSchedule(clusterID, snapshotSchedule interface{}) *gomock.Call

SetInstanceSnapshotSchedule indicates an expected call of SetInstanceSnapshotSchedule

func (*MockClusterStoreMockRecorder) SetInstanceSnapshotTTL

func (mr *MockClusterStoreMockRecorder) SetInstanceSnapshotTTL(clusterID, snapshotTTL interface{}) *gomock.Call

SetInstanceSnapshotTTL indicates an expected call of SetInstanceSnapshotTTL

type MockInstallationStore

type MockInstallationStore struct {
	// contains filtered or unexported fields
}

MockInstallationStore is a mock of InstallationStore interface

func NewMockInstallationStore

func NewMockInstallationStore(ctrl *gomock.Controller) *MockInstallationStore

NewMockInstallationStore creates a new mock instance

func (*MockInstallationStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockInstallationStore) GetPendingInstallationStatus

func (m *MockInstallationStore) GetPendingInstallationStatus() (*types6.InstallStatus, error)

GetPendingInstallationStatus mocks base method

type MockInstallationStoreMockRecorder

type MockInstallationStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockInstallationStoreMockRecorder is the mock recorder for MockInstallationStore

func (*MockInstallationStoreMockRecorder) GetPendingInstallationStatus

func (mr *MockInstallationStoreMockRecorder) GetPendingInstallationStatus() *gomock.Call

GetPendingInstallationStatus indicates an expected call of GetPendingInstallationStatus

type MockKotsadmParamsStore

type MockKotsadmParamsStore struct {
	// contains filtered or unexported fields
}

MockKotsadmParamsStore is a mock of KotsadmParamsStore interface

func NewMockKotsadmParamsStore

func NewMockKotsadmParamsStore(ctrl *gomock.Controller) *MockKotsadmParamsStore

NewMockKotsadmParamsStore creates a new mock instance

func (*MockKotsadmParamsStore) EXPECT

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

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 types5.DownstreamGitOps, renderer types9.Renderer) (int64, error)

UpdateAppLicense mocks base method

type MockLicenseStoreMockRecorder

type MockLicenseStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockLicenseStoreMockRecorder is the mock recorder for MockLicenseStore

func (*MockLicenseStoreMockRecorder) GetAllAppLicenses

func (mr *MockLicenseStoreMockRecorder) GetAllAppLicenses() *gomock.Call

GetAllAppLicenses indicates an expected call of GetAllAppLicenses

func (*MockLicenseStoreMockRecorder) GetLatestLicenseForApp

func (mr *MockLicenseStoreMockRecorder) GetLatestLicenseForApp(appID interface{}) *gomock.Call

GetLatestLicenseForApp indicates an expected call of GetLatestLicenseForApp

func (*MockLicenseStoreMockRecorder) GetLicenseForAppVersion

func (mr *MockLicenseStoreMockRecorder) GetLicenseForAppVersion(appID, sequence interface{}) *gomock.Call

GetLicenseForAppVersion indicates an expected call of GetLicenseForAppVersion

func (*MockLicenseStoreMockRecorder) UpdateAppLicense

func (mr *MockLicenseStoreMockRecorder) UpdateAppLicense(appID, sequence, archiveDir, newLicense, originalLicenseData, failOnVersionCreate, gitops, renderer interface{}) *gomock.Call

UpdateAppLicense indicates an expected call of UpdateAppLicense

type MockMigrations

type MockMigrations struct {
	// contains filtered or unexported fields
}

MockMigrations is a mock of Migrations interface

func NewMockMigrations

func NewMockMigrations(ctrl *gomock.Controller) *MockMigrations

NewMockMigrations creates a new mock instance

func (*MockMigrations) EXPECT

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockPreflightStore) GetLatestPreflightResultsForSequenceZero added in v1.31.0

func (m *MockPreflightStore) GetLatestPreflightResultsForSequenceZero() (*types7.PreflightResult, error)

GetLatestPreflightResultsForSequenceZero mocks base method

func (*MockPreflightStore) GetPreflightResults

func (m *MockPreflightStore) GetPreflightResults(appID string, sequence int64) (*types7.PreflightResult, error)

GetPreflightResults mocks base method

func (*MockPreflightStore) ResetPreflightResults

func (m *MockPreflightStore) ResetPreflightResults(appID string, sequence int64) error

ResetPreflightResults mocks base method

func (*MockPreflightStore) SetIgnorePreflightPermissionErrors

func (m *MockPreflightStore) SetIgnorePreflightPermissionErrors(appID string, sequence int64) error

SetIgnorePreflightPermissionErrors mocks base method

func (*MockPreflightStore) 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 added in v1.31.0

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

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRegistryStore) GetRegistryDetailsForApp

func (m *MockRegistryStore) GetRegistryDetailsForApp(appID string) (*types8.RegistrySettings, error)

GetRegistryDetailsForApp mocks base method

func (*MockRegistryStore) UpdateRegistry

func (m *MockRegistryStore) UpdateRegistry(appID, hostname, username, password, namespace string) 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 added in v1.31.0

type MockReportingStore struct {
	// contains filtered or unexported fields
}

MockReportingStore is a mock of ReportingStore interface

func NewMockReportingStore added in v1.31.0

func NewMockReportingStore(ctrl *gomock.Controller) *MockReportingStore

NewMockReportingStore creates a new mock instance

func (*MockReportingStore) EXPECT added in v1.31.0

EXPECT returns an object that allows the caller to indicate expected use

func (*MockReportingStore) GetReportingInfo added in v1.31.0

func (m *MockReportingStore) GetReportingInfo(appID string) *types12.ReportingInfo

GetReportingInfo mocks base method

type MockReportingStoreMockRecorder added in v1.31.0

type MockReportingStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockReportingStoreMockRecorder is the mock recorder for MockReportingStore

func (*MockReportingStoreMockRecorder) GetReportingInfo added in v1.31.0

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 *types13.User, issuedAt, expiresAt time.Time, roles []string) (*types10.Session, error)

CreateSession mocks base method

func (*MockSessionStore) DeleteSession

func (m *MockSessionStore) DeleteSession(sessionID string) error

DeleteSession mocks base method

func (*MockSessionStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSessionStore) GetSession

func (m *MockSessionStore) GetSession(sessionID string) (*types10.Session, error)

GetSession mocks base method

type MockSessionStoreMockRecorder

type MockSessionStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockSessionStoreMockRecorder is the mock recorder for MockSessionStore

func (*MockSessionStoreMockRecorder) CreateSession

func (mr *MockSessionStoreMockRecorder) CreateSession(user, issuedAt, expiresAt, roles interface{}) *gomock.Call

CreateSession indicates an expected call of CreateSession

func (*MockSessionStoreMockRecorder) DeleteSession

func (mr *MockSessionStoreMockRecorder) DeleteSession(sessionID interface{}) *gomock.Call

DeleteSession indicates an expected call of DeleteSession

func (*MockSessionStoreMockRecorder) GetSession

func (mr *MockSessionStoreMockRecorder) GetSession(sessionID interface{}) *gomock.Call

GetSession indicates an expected call of GetSession

type MockSnapshotStore

type MockSnapshotStore struct {
	// contains filtered or unexported fields
}

MockSnapshotStore is a mock of SnapshotStore interface

func NewMockSnapshotStore

func NewMockSnapshotStore(ctrl *gomock.Controller) *MockSnapshotStore

NewMockSnapshotStore creates a new mock instance

func (*MockSnapshotStore) CreateScheduledInstanceSnapshot

func (m *MockSnapshotStore) CreateScheduledInstanceSnapshot(snapshotID, clusterID string, timestamp time.Time) error

CreateScheduledInstanceSnapshot mocks base method

func (*MockSnapshotStore) CreateScheduledSnapshot

func (m *MockSnapshotStore) CreateScheduledSnapshot(snapshotID, appID string, timestamp time.Time) error

CreateScheduledSnapshot mocks base method

func (*MockSnapshotStore) DeletePendingScheduledInstanceSnapshots

func (m *MockSnapshotStore) DeletePendingScheduledInstanceSnapshots(clusterID string) error

DeletePendingScheduledInstanceSnapshots mocks base method

func (*MockSnapshotStore) DeletePendingScheduledSnapshots

func (m *MockSnapshotStore) DeletePendingScheduledSnapshots(appID string) error

DeletePendingScheduledSnapshots mocks base method

func (*MockSnapshotStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSnapshotStore) ListPendingScheduledInstanceSnapshots

func (m *MockSnapshotStore) ListPendingScheduledInstanceSnapshots(clusterID string) ([]types2.ScheduledInstanceSnapshot, error)

ListPendingScheduledInstanceSnapshots mocks base method

func (*MockSnapshotStore) ListPendingScheduledSnapshots

func (m *MockSnapshotStore) ListPendingScheduledSnapshots(appID string) ([]types2.ScheduledSnapshot, error)

ListPendingScheduledSnapshots mocks base method

func (*MockSnapshotStore) UpdateScheduledInstanceSnapshot

func (m *MockSnapshotStore) UpdateScheduledInstanceSnapshot(snapshotID, backupName string) error

UpdateScheduledInstanceSnapshot mocks base method

func (*MockSnapshotStore) UpdateScheduledSnapshot

func (m *MockSnapshotStore) UpdateScheduledSnapshot(snapshotID, backupName string) error

UpdateScheduledSnapshot mocks base method

type MockSnapshotStoreMockRecorder

type MockSnapshotStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockSnapshotStoreMockRecorder is the mock recorder for MockSnapshotStore

func (*MockSnapshotStoreMockRecorder) CreateScheduledInstanceSnapshot

func (mr *MockSnapshotStoreMockRecorder) CreateScheduledInstanceSnapshot(snapshotID, clusterID, timestamp interface{}) *gomock.Call

CreateScheduledInstanceSnapshot indicates an expected call of CreateScheduledInstanceSnapshot

func (*MockSnapshotStoreMockRecorder) CreateScheduledSnapshot

func (mr *MockSnapshotStoreMockRecorder) CreateScheduledSnapshot(snapshotID, appID, timestamp interface{}) *gomock.Call

CreateScheduledSnapshot indicates an expected call of CreateScheduledSnapshot

func (*MockSnapshotStoreMockRecorder) DeletePendingScheduledInstanceSnapshots

func (mr *MockSnapshotStoreMockRecorder) DeletePendingScheduledInstanceSnapshots(clusterID interface{}) *gomock.Call

DeletePendingScheduledInstanceSnapshots indicates an expected call of DeletePendingScheduledInstanceSnapshots

func (*MockSnapshotStoreMockRecorder) DeletePendingScheduledSnapshots

func (mr *MockSnapshotStoreMockRecorder) DeletePendingScheduledSnapshots(appID interface{}) *gomock.Call

DeletePendingScheduledSnapshots indicates an expected call of DeletePendingScheduledSnapshots

func (*MockSnapshotStoreMockRecorder) ListPendingScheduledInstanceSnapshots

func (mr *MockSnapshotStoreMockRecorder) ListPendingScheduledInstanceSnapshots(clusterID interface{}) *gomock.Call

ListPendingScheduledInstanceSnapshots indicates an expected call of ListPendingScheduledInstanceSnapshots

func (*MockSnapshotStoreMockRecorder) ListPendingScheduledSnapshots

func (mr *MockSnapshotStoreMockRecorder) ListPendingScheduledSnapshots(appID interface{}) *gomock.Call

ListPendingScheduledSnapshots indicates an expected call of ListPendingScheduledSnapshots

func (*MockSnapshotStoreMockRecorder) UpdateScheduledInstanceSnapshot

func (mr *MockSnapshotStoreMockRecorder) UpdateScheduledInstanceSnapshot(snapshotID, backupName interface{}) *gomock.Call

UpdateScheduledInstanceSnapshot indicates an expected call of UpdateScheduledInstanceSnapshot

func (*MockSnapshotStoreMockRecorder) UpdateScheduledSnapshot

func (mr *MockSnapshotStoreMockRecorder) UpdateScheduledSnapshot(snapshotID, backupName interface{}) *gomock.Call

UpdateScheduledSnapshot indicates an expected call of UpdateScheduledSnapshot

type MockStore

type MockStore struct {
	// contains filtered or unexported fields
}

MockStore is a mock of Store interface

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance

func (*MockStore) AddAppToAllDownstreams

func (m *MockStore) AddAppToAllDownstreams(appID string) error

AddAppToAllDownstreams mocks base method

func (*MockStore) ClearTaskStatus

func (m *MockStore) ClearTaskStatus(taskID string) error

ClearTaskStatus mocks base method

func (*MockStore) CreateApp

func (m *MockStore) CreateApp(name, upstreamURI, licenseData string, isAirgapEnabled, skipImagePush bool) (*types4.App, error)

CreateApp mocks base method

func (*MockStore) CreateAppVersion

func (m *MockStore) CreateAppVersion(appID string, currentSequence *int64, filesInDir, source string, skipPreflights bool, gitops types5.DownstreamGitOps) (int64, error)

CreateAppVersion mocks base method

func (*MockStore) CreateAppVersionArchive

func (m *MockStore) CreateAppVersionArchive(appID string, sequence int64, archivePath string) error

CreateAppVersionArchive mocks base method

func (*MockStore) CreateNewCluster

func (m *MockStore) CreateNewCluster(userID string, isAllUsers bool, title, token string) (string, error)

CreateNewCluster mocks base method

func (*MockStore) CreatePendingSupportBundle added in v1.31.0

func (m *MockStore) CreatePendingSupportBundle(bundleID, appID, clusterID string) error

CreatePendingSupportBundle mocks base method

func (*MockStore) CreateScheduledInstanceSnapshot

func (m *MockStore) CreateScheduledInstanceSnapshot(snapshotID, clusterID string, timestamp time.Time) error

CreateScheduledInstanceSnapshot mocks base method

func (*MockStore) CreateScheduledSnapshot

func (m *MockStore) CreateScheduledSnapshot(snapshotID, appID string, timestamp time.Time) error

CreateScheduledSnapshot mocks base method

func (*MockStore) CreateSession

func (m *MockStore) CreateSession(user *types13.User, issuedAt, expiresAt time.Time, roles []string) (*types10.Session, error)

CreateSession mocks base method

func (*MockStore) CreateSupportBundle

func (m *MockStore) CreateSupportBundle(bundleID, appID, archivePath string, marshalledTree []byte) (*types11.SupportBundle, error)

CreateSupportBundle mocks base method

func (*MockStore) DeletePendingScheduledInstanceSnapshots

func (m *MockStore) DeletePendingScheduledInstanceSnapshots(clusterID string) error

DeletePendingScheduledInstanceSnapshots mocks base method

func (*MockStore) DeletePendingScheduledSnapshots

func (m *MockStore) DeletePendingScheduledSnapshots(appID string) error

DeletePendingScheduledSnapshots mocks base method

func (*MockStore) DeletePendingSupportBundle added in v1.32.0

func (m *MockStore) DeletePendingSupportBundle(id string) error

DeletePendingSupportBundle mocks base method

func (*MockStore) DeleteSession

func (m *MockStore) DeleteSession(sessionID string) error

DeleteSession mocks base method

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockStore) GetAirgapInstallStatus

func (m *MockStore) GetAirgapInstallStatus(appID string) (*types.InstallStatus, error)

GetAirgapInstallStatus mocks base method

func (*MockStore) GetAllAppLicenses

func (m *MockStore) GetAllAppLicenses() ([]*v1beta1.License, error)

GetAllAppLicenses mocks base method

func (*MockStore) GetApp

func (m *MockStore) GetApp(appID string) (*types4.App, error)

GetApp mocks base method

func (*MockStore) GetAppFromSlug

func (m *MockStore) GetAppFromSlug(slug string) (*types4.App, error)

GetAppFromSlug mocks base method

func (*MockStore) GetAppIDFromSlug

func (m *MockStore) GetAppIDFromSlug(slug string) (string, error)

GetAppIDFromSlug mocks base method

func (*MockStore) GetAppStatus

func (m *MockStore) GetAppStatus(appID string) (*types0.AppStatus, error)

GetAppStatus mocks base method

func (*MockStore) GetAppVersion

func (m *MockStore) GetAppVersion(arg0 string, arg1 int64) (*types3.AppVersion, error)

GetAppVersion mocks base method

func (*MockStore) GetAppVersionArchive

func (m *MockStore) GetAppVersionArchive(appID string, sequence int64, dstPath string) error

GetAppVersionArchive mocks base method

func (*MockStore) GetAppVersionsAfter added in v1.31.0

func (m *MockStore) GetAppVersionsAfter(arg0 string, arg1 int64) ([]*types3.AppVersion, error)

GetAppVersionsAfter mocks base method

func (*MockStore) GetClusterIDFromDeployToken

func (m *MockStore) GetClusterIDFromDeployToken(deployToken string) (string, error)

GetClusterIDFromDeployToken mocks base method

func (*MockStore) GetClusterIDFromSlug

func (m *MockStore) GetClusterIDFromSlug(slug string) (string, error)

GetClusterIDFromSlug mocks base method

func (*MockStore) GetDownstream

func (m *MockStore) GetDownstream(clusterID string) (*types1.Downstream, error)

GetDownstream mocks base method

func (*MockStore) GetLatestLicenseForApp

func (m *MockStore) GetLatestLicenseForApp(appID string) (*v1beta1.License, error)

GetLatestLicenseForApp mocks base method

func (*MockStore) GetLatestPreflightResultsForSequenceZero added in v1.31.0

func (m *MockStore) GetLatestPreflightResultsForSequenceZero() (*types7.PreflightResult, error)

GetLatestPreflightResultsForSequenceZero mocks base method

func (*MockStore) GetLicenseForAppVersion

func (m *MockStore) GetLicenseForAppVersion(appID string, sequence int64) (*v1beta1.License, error)

GetLicenseForAppVersion mocks base method

func (*MockStore) GetPendingAirgapUploadApp

func (m *MockStore) GetPendingAirgapUploadApp() (*types.PendingApp, error)

GetPendingAirgapUploadApp mocks base method

func (*MockStore) GetPendingInstallationStatus

func (m *MockStore) GetPendingInstallationStatus() (*types6.InstallStatus, error)

GetPendingInstallationStatus mocks base method

func (*MockStore) GetPreflightResults

func (m *MockStore) GetPreflightResults(appID string, sequence int64) (*types7.PreflightResult, error)

GetPreflightResults mocks base method

func (*MockStore) GetPrometheusAddress

func (m *MockStore) GetPrometheusAddress() (string, error)

GetPrometheusAddress mocks base method

func (*MockStore) GetRedactions

func (m *MockStore) GetRedactions(bundleID string) (redact.RedactionList, error)

GetRedactions mocks base method

func (*MockStore) GetRegistryDetailsForApp

func (m *MockStore) GetRegistryDetailsForApp(appID string) (*types8.RegistrySettings, error)

GetRegistryDetailsForApp mocks base method

func (*MockStore) GetReportingInfo added in v1.31.0

func (m *MockStore) GetReportingInfo(appID string) *types12.ReportingInfo

GetReportingInfo mocks base method

func (*MockStore) GetSession

func (m *MockStore) GetSession(sessionID string) (*types10.Session, error)

GetSession mocks base method

func (*MockStore) GetSupportBundle

func (m *MockStore) GetSupportBundle(bundleID string) (*types11.SupportBundle, error)

GetSupportBundle mocks base method

func (*MockStore) GetSupportBundleAnalysis

func (m *MockStore) GetSupportBundleAnalysis(bundleID string) (*types11.SupportBundleAnalysis, error)

GetSupportBundleAnalysis mocks base method

func (*MockStore) GetSupportBundleArchive

func (m *MockStore) GetSupportBundleArchive(bundleID string) (string, error)

GetSupportBundleArchive mocks base method

func (*MockStore) GetSupportBundleSpecForApp added in v1.31.0

func (m *MockStore) GetSupportBundleSpecForApp(id string) (string, error)

GetSupportBundleSpecForApp mocks base method

func (*MockStore) GetTaskStatus

func (m *MockStore) GetTaskStatus(taskID string) (string, string, error)

GetTaskStatus mocks base method

func (*MockStore) Init

func (m *MockStore) Init() error

Init mocks base method

func (*MockStore) IsGitOpsEnabledForApp

func (m *MockStore) IsGitOpsEnabledForApp(appID string) (bool, error)

IsGitOpsEnabledForApp mocks base method

func (*MockStore) IsIdentityServiceSupportedForVersion

func (m *MockStore) IsIdentityServiceSupportedForVersion(appID string, sequence int64) (bool, error)

IsIdentityServiceSupportedForVersion mocks base method

func (*MockStore) IsKotsadmIDGenerated

func (m *MockStore) IsKotsadmIDGenerated() (bool, error)

IsKotsadmIDGenerated mocks base method

func (*MockStore) IsNotFound

func (m *MockStore) IsNotFound(err error) bool

IsNotFound mocks base method

func (*MockStore) IsRollbackSupportedForVersion

func (m *MockStore) IsRollbackSupportedForVersion(appID string, sequence int64) (bool, error)

IsRollbackSupportedForVersion mocks base method

func (*MockStore) IsSnapshotsSupportedForVersion

func (m *MockStore) IsSnapshotsSupportedForVersion(a *types4.App, sequence int64, renderer types9.Renderer) (bool, error)

IsSnapshotsSupportedForVersion mocks base method

func (*MockStore) ListAppsForDownstream

func (m *MockStore) ListAppsForDownstream(clusterID string) ([]*types4.App, error)

ListAppsForDownstream mocks base method

func (*MockStore) ListClusters

func (m *MockStore) ListClusters() ([]*types1.Downstream, error)

ListClusters mocks base method

func (*MockStore) ListDownstreamsForApp

func (m *MockStore) ListDownstreamsForApp(appID string) ([]types1.Downstream, error)

ListDownstreamsForApp mocks base method

func (*MockStore) ListInstalledAppSlugs

func (m *MockStore) ListInstalledAppSlugs() ([]string, error)

ListInstalledAppSlugs mocks base method

func (*MockStore) ListInstalledApps

func (m *MockStore) ListInstalledApps() ([]*types4.App, error)

ListInstalledApps mocks base method

func (*MockStore) ListPendingScheduledInstanceSnapshots

func (m *MockStore) ListPendingScheduledInstanceSnapshots(clusterID string) ([]types2.ScheduledInstanceSnapshot, error)

ListPendingScheduledInstanceSnapshots mocks base method

func (*MockStore) ListPendingScheduledSnapshots

func (m *MockStore) ListPendingScheduledSnapshots(appID string) ([]types2.ScheduledSnapshot, error)

ListPendingScheduledSnapshots mocks base method

func (*MockStore) ListPendingSupportBundlesForApp added in v1.31.0

func (m *MockStore) ListPendingSupportBundlesForApp(appID string) ([]*types11.PendingSupportBundle, error)

ListPendingSupportBundlesForApp mocks base method

func (*MockStore) ListSupportBundles

func (m *MockStore) ListSupportBundles(appID string) ([]*types11.SupportBundle, error)

ListSupportBundles mocks base method

func (*MockStore) RemoveApp

func (m *MockStore) RemoveApp(appID string) error

RemoveApp mocks base method

func (*MockStore) ResetAirgapInstallInProgress

func (m *MockStore) ResetAirgapInstallInProgress(appID string) error

ResetAirgapInstallInProgress mocks base method

func (*MockStore) ResetPreflightResults

func (m *MockStore) ResetPreflightResults(appID string, sequence int64) error

ResetPreflightResults mocks base method

func (*MockStore) RunMigrations

func (m *MockStore) RunMigrations()

RunMigrations mocks base method

func (*MockStore) SetAppInstallState

func (m *MockStore) SetAppInstallState(appID, state string) error

SetAppInstallState mocks base method

func (*MockStore) SetAppIsAirgap

func (m *MockStore) SetAppIsAirgap(appID string, isAirgap bool) error

SetAppIsAirgap mocks base method

func (*MockStore) SetIgnorePreflightPermissionErrors

func (m *MockStore) SetIgnorePreflightPermissionErrors(appID string, sequence int64) error

SetIgnorePreflightPermissionErrors mocks base method

func (*MockStore) SetInstanceSnapshotSchedule

func (m *MockStore) SetInstanceSnapshotSchedule(clusterID, snapshotSchedule string) error

SetInstanceSnapshotSchedule mocks base method

func (*MockStore) SetInstanceSnapshotTTL

func (m *MockStore) SetInstanceSnapshotTTL(clusterID, snapshotTTL string) error

SetInstanceSnapshotTTL mocks base method

func (*MockStore) SetIsKotsadmIDGenerated

func (m *MockStore) SetIsKotsadmIDGenerated() error

SetIsKotsadmIDGenerated mocks base method

func (*MockStore) SetPreflightResults

func (m *MockStore) SetPreflightResults(appID string, sequence int64, results []byte) error

SetPreflightResults mocks base method

func (*MockStore) SetPrometheusAddress

func (m *MockStore) SetPrometheusAddress(address string) error

SetPrometheusAddress mocks base method

func (*MockStore) SetRedactions

func (m *MockStore) SetRedactions(bundleID string, redacts redact.RedactionList) error

SetRedactions mocks base method

func (*MockStore) SetSnapshotSchedule

func (m *MockStore) SetSnapshotSchedule(appID, snapshotSchedule string) error

SetSnapshotSchedule mocks base method

func (*MockStore) SetSnapshotTTL

func (m *MockStore) SetSnapshotTTL(appID, snapshotTTL string) error

SetSnapshotTTL mocks base method

func (*MockStore) SetSupportBundleAnalysis

func (m *MockStore) SetSupportBundleAnalysis(bundleID string, insights []byte) error

SetSupportBundleAnalysis mocks base method

func (*MockStore) SetTaskStatus

func (m *MockStore) SetTaskStatus(taskID, message, status string) error

SetTaskStatus mocks base method

func (*MockStore) SetUpdateCheckerSpec

func (m *MockStore) SetUpdateCheckerSpec(appID, updateCheckerSpec string) error

SetUpdateCheckerSpec mocks base method

func (*MockStore) UpdateAppLicense

func (m *MockStore) UpdateAppLicense(appID string, sequence int64, archiveDir string, newLicense *v1beta1.License, originalLicenseData string, failOnVersionCreate bool, gitops types5.DownstreamGitOps, renderer types9.Renderer) (int64, error)

UpdateAppLicense mocks base method

func (*MockStore) UpdateRegistry

func (m *MockStore) UpdateRegistry(appID, hostname, username, password, namespace string) error

UpdateRegistry mocks base method

func (*MockStore) UpdateScheduledInstanceSnapshot

func (m *MockStore) UpdateScheduledInstanceSnapshot(snapshotID, backupName string) error

UpdateScheduledInstanceSnapshot mocks base method

func (*MockStore) UpdateScheduledSnapshot

func (m *MockStore) UpdateScheduledSnapshot(snapshotID, backupName string) error

UpdateScheduledSnapshot mocks base method

func (*MockStore) UpdateTaskStatusTimestamp

func (m *MockStore) UpdateTaskStatusTimestamp(taskID string) error

UpdateTaskStatusTimestamp mocks base method

func (*MockStore) WaitForReady

func (m *MockStore) WaitForReady(ctx context.Context) error

WaitForReady mocks base method

type MockStoreMockRecorder

type MockStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockStoreMockRecorder is the mock recorder for MockStore

func (*MockStoreMockRecorder) AddAppToAllDownstreams

func (mr *MockStoreMockRecorder) AddAppToAllDownstreams(appID interface{}) *gomock.Call

AddAppToAllDownstreams indicates an expected call of AddAppToAllDownstreams

func (*MockStoreMockRecorder) ClearTaskStatus

func (mr *MockStoreMockRecorder) ClearTaskStatus(taskID interface{}) *gomock.Call

ClearTaskStatus indicates an expected call of ClearTaskStatus

func (*MockStoreMockRecorder) CreateApp

func (mr *MockStoreMockRecorder) CreateApp(name, upstreamURI, licenseData, isAirgapEnabled, skipImagePush interface{}) *gomock.Call

CreateApp indicates an expected call of CreateApp

func (*MockStoreMockRecorder) CreateAppVersion

func (mr *MockStoreMockRecorder) CreateAppVersion(appID, currentSequence, filesInDir, source, skipPreflights, gitops interface{}) *gomock.Call

CreateAppVersion indicates an expected call of CreateAppVersion

func (*MockStoreMockRecorder) CreateAppVersionArchive

func (mr *MockStoreMockRecorder) CreateAppVersionArchive(appID, sequence, archivePath interface{}) *gomock.Call

CreateAppVersionArchive indicates an expected call of CreateAppVersionArchive

func (*MockStoreMockRecorder) CreateNewCluster

func (mr *MockStoreMockRecorder) CreateNewCluster(userID, isAllUsers, title, token interface{}) *gomock.Call

CreateNewCluster indicates an expected call of CreateNewCluster

func (*MockStoreMockRecorder) CreatePendingSupportBundle added in v1.31.0

func (mr *MockStoreMockRecorder) CreatePendingSupportBundle(bundleID, appID, clusterID interface{}) *gomock.Call

CreatePendingSupportBundle indicates an expected call of CreatePendingSupportBundle

func (*MockStoreMockRecorder) CreateScheduledInstanceSnapshot

func (mr *MockStoreMockRecorder) CreateScheduledInstanceSnapshot(snapshotID, clusterID, timestamp interface{}) *gomock.Call

CreateScheduledInstanceSnapshot indicates an expected call of CreateScheduledInstanceSnapshot

func (*MockStoreMockRecorder) CreateScheduledSnapshot

func (mr *MockStoreMockRecorder) CreateScheduledSnapshot(snapshotID, appID, timestamp interface{}) *gomock.Call

CreateScheduledSnapshot indicates an expected call of CreateScheduledSnapshot

func (*MockStoreMockRecorder) CreateSession

func (mr *MockStoreMockRecorder) CreateSession(user, issuedAt, expiresAt, roles interface{}) *gomock.Call

CreateSession indicates an expected call of CreateSession

func (*MockStoreMockRecorder) CreateSupportBundle

func (mr *MockStoreMockRecorder) CreateSupportBundle(bundleID, appID, archivePath, marshalledTree interface{}) *gomock.Call

CreateSupportBundle indicates an expected call of CreateSupportBundle

func (*MockStoreMockRecorder) DeletePendingScheduledInstanceSnapshots

func (mr *MockStoreMockRecorder) DeletePendingScheduledInstanceSnapshots(clusterID interface{}) *gomock.Call

DeletePendingScheduledInstanceSnapshots indicates an expected call of DeletePendingScheduledInstanceSnapshots

func (*MockStoreMockRecorder) DeletePendingScheduledSnapshots

func (mr *MockStoreMockRecorder) DeletePendingScheduledSnapshots(appID interface{}) *gomock.Call

DeletePendingScheduledSnapshots indicates an expected call of DeletePendingScheduledSnapshots

func (*MockStoreMockRecorder) DeletePendingSupportBundle added in v1.32.0

func (mr *MockStoreMockRecorder) DeletePendingSupportBundle(id interface{}) *gomock.Call

DeletePendingSupportBundle indicates an expected call of DeletePendingSupportBundle

func (*MockStoreMockRecorder) DeleteSession

func (mr *MockStoreMockRecorder) DeleteSession(sessionID interface{}) *gomock.Call

DeleteSession indicates an expected call of DeleteSession

func (*MockStoreMockRecorder) GetAirgapInstallStatus

func (mr *MockStoreMockRecorder) GetAirgapInstallStatus(appID interface{}) *gomock.Call

GetAirgapInstallStatus indicates an expected call of GetAirgapInstallStatus

func (*MockStoreMockRecorder) GetAllAppLicenses

func (mr *MockStoreMockRecorder) GetAllAppLicenses() *gomock.Call

GetAllAppLicenses indicates an expected call of GetAllAppLicenses

func (*MockStoreMockRecorder) GetApp

func (mr *MockStoreMockRecorder) GetApp(appID interface{}) *gomock.Call

GetApp indicates an expected call of GetApp

func (*MockStoreMockRecorder) GetAppFromSlug

func (mr *MockStoreMockRecorder) GetAppFromSlug(slug interface{}) *gomock.Call

GetAppFromSlug indicates an expected call of GetAppFromSlug

func (*MockStoreMockRecorder) GetAppIDFromSlug

func (mr *MockStoreMockRecorder) GetAppIDFromSlug(slug interface{}) *gomock.Call

GetAppIDFromSlug indicates an expected call of GetAppIDFromSlug

func (*MockStoreMockRecorder) GetAppStatus

func (mr *MockStoreMockRecorder) GetAppStatus(appID interface{}) *gomock.Call

GetAppStatus indicates an expected call of GetAppStatus

func (*MockStoreMockRecorder) GetAppVersion

func (mr *MockStoreMockRecorder) GetAppVersion(arg0, arg1 interface{}) *gomock.Call

GetAppVersion indicates an expected call of GetAppVersion

func (*MockStoreMockRecorder) GetAppVersionArchive

func (mr *MockStoreMockRecorder) GetAppVersionArchive(appID, sequence, dstPath interface{}) *gomock.Call

GetAppVersionArchive indicates an expected call of GetAppVersionArchive

func (*MockStoreMockRecorder) GetAppVersionsAfter added in v1.31.0

func (mr *MockStoreMockRecorder) GetAppVersionsAfter(arg0, arg1 interface{}) *gomock.Call

GetAppVersionsAfter indicates an expected call of GetAppVersionsAfter

func (*MockStoreMockRecorder) GetClusterIDFromDeployToken

func (mr *MockStoreMockRecorder) GetClusterIDFromDeployToken(deployToken interface{}) *gomock.Call

GetClusterIDFromDeployToken indicates an expected call of GetClusterIDFromDeployToken

func (*MockStoreMockRecorder) GetClusterIDFromSlug

func (mr *MockStoreMockRecorder) GetClusterIDFromSlug(slug interface{}) *gomock.Call

GetClusterIDFromSlug indicates an expected call of GetClusterIDFromSlug

func (*MockStoreMockRecorder) GetDownstream

func (mr *MockStoreMockRecorder) GetDownstream(clusterID interface{}) *gomock.Call

GetDownstream indicates an expected call of GetDownstream

func (*MockStoreMockRecorder) GetLatestLicenseForApp

func (mr *MockStoreMockRecorder) GetLatestLicenseForApp(appID interface{}) *gomock.Call

GetLatestLicenseForApp indicates an expected call of GetLatestLicenseForApp

func (*MockStoreMockRecorder) GetLatestPreflightResultsForSequenceZero added in v1.31.0

func (mr *MockStoreMockRecorder) GetLatestPreflightResultsForSequenceZero() *gomock.Call

GetLatestPreflightResultsForSequenceZero indicates an expected call of GetLatestPreflightResultsForSequenceZero

func (*MockStoreMockRecorder) GetLicenseForAppVersion

func (mr *MockStoreMockRecorder) GetLicenseForAppVersion(appID, sequence interface{}) *gomock.Call

GetLicenseForAppVersion indicates an expected call of GetLicenseForAppVersion

func (*MockStoreMockRecorder) GetPendingAirgapUploadApp

func (mr *MockStoreMockRecorder) GetPendingAirgapUploadApp() *gomock.Call

GetPendingAirgapUploadApp indicates an expected call of GetPendingAirgapUploadApp

func (*MockStoreMockRecorder) GetPendingInstallationStatus

func (mr *MockStoreMockRecorder) GetPendingInstallationStatus() *gomock.Call

GetPendingInstallationStatus indicates an expected call of GetPendingInstallationStatus

func (*MockStoreMockRecorder) GetPreflightResults

func (mr *MockStoreMockRecorder) GetPreflightResults(appID, sequence interface{}) *gomock.Call

GetPreflightResults indicates an expected call of GetPreflightResults

func (*MockStoreMockRecorder) GetPrometheusAddress

func (mr *MockStoreMockRecorder) GetPrometheusAddress() *gomock.Call

GetPrometheusAddress indicates an expected call of GetPrometheusAddress

func (*MockStoreMockRecorder) GetRedactions

func (mr *MockStoreMockRecorder) GetRedactions(bundleID interface{}) *gomock.Call

GetRedactions indicates an expected call of GetRedactions

func (*MockStoreMockRecorder) GetRegistryDetailsForApp

func (mr *MockStoreMockRecorder) GetRegistryDetailsForApp(appID interface{}) *gomock.Call

GetRegistryDetailsForApp indicates an expected call of GetRegistryDetailsForApp

func (*MockStoreMockRecorder) GetReportingInfo added in v1.31.0

func (mr *MockStoreMockRecorder) GetReportingInfo(appID interface{}) *gomock.Call

GetReportingInfo indicates an expected call of GetReportingInfo

func (*MockStoreMockRecorder) GetSession

func (mr *MockStoreMockRecorder) GetSession(sessionID interface{}) *gomock.Call

GetSession indicates an expected call of GetSession

func (*MockStoreMockRecorder) GetSupportBundle

func (mr *MockStoreMockRecorder) GetSupportBundle(bundleID interface{}) *gomock.Call

GetSupportBundle indicates an expected call of GetSupportBundle

func (*MockStoreMockRecorder) GetSupportBundleAnalysis

func (mr *MockStoreMockRecorder) GetSupportBundleAnalysis(bundleID interface{}) *gomock.Call

GetSupportBundleAnalysis indicates an expected call of GetSupportBundleAnalysis

func (*MockStoreMockRecorder) GetSupportBundleArchive

func (mr *MockStoreMockRecorder) GetSupportBundleArchive(bundleID interface{}) *gomock.Call

GetSupportBundleArchive indicates an expected call of GetSupportBundleArchive

func (*MockStoreMockRecorder) GetSupportBundleSpecForApp added in v1.31.0

func (mr *MockStoreMockRecorder) GetSupportBundleSpecForApp(id interface{}) *gomock.Call

GetSupportBundleSpecForApp indicates an expected call of GetSupportBundleSpecForApp

func (*MockStoreMockRecorder) GetTaskStatus

func (mr *MockStoreMockRecorder) GetTaskStatus(taskID interface{}) *gomock.Call

GetTaskStatus indicates an expected call of GetTaskStatus

func (*MockStoreMockRecorder) Init

func (mr *MockStoreMockRecorder) Init() *gomock.Call

Init indicates an expected call of Init

func (*MockStoreMockRecorder) IsGitOpsEnabledForApp

func (mr *MockStoreMockRecorder) IsGitOpsEnabledForApp(appID interface{}) *gomock.Call

IsGitOpsEnabledForApp indicates an expected call of IsGitOpsEnabledForApp

func (*MockStoreMockRecorder) IsIdentityServiceSupportedForVersion

func (mr *MockStoreMockRecorder) IsIdentityServiceSupportedForVersion(appID, sequence interface{}) *gomock.Call

IsIdentityServiceSupportedForVersion indicates an expected call of IsIdentityServiceSupportedForVersion

func (*MockStoreMockRecorder) IsKotsadmIDGenerated

func (mr *MockStoreMockRecorder) IsKotsadmIDGenerated() *gomock.Call

IsKotsadmIDGenerated indicates an expected call of IsKotsadmIDGenerated

func (*MockStoreMockRecorder) IsNotFound

func (mr *MockStoreMockRecorder) IsNotFound(err interface{}) *gomock.Call

IsNotFound indicates an expected call of IsNotFound

func (*MockStoreMockRecorder) IsRollbackSupportedForVersion

func (mr *MockStoreMockRecorder) IsRollbackSupportedForVersion(appID, sequence interface{}) *gomock.Call

IsRollbackSupportedForVersion indicates an expected call of IsRollbackSupportedForVersion

func (*MockStoreMockRecorder) IsSnapshotsSupportedForVersion

func (mr *MockStoreMockRecorder) IsSnapshotsSupportedForVersion(a, sequence, renderer interface{}) *gomock.Call

IsSnapshotsSupportedForVersion indicates an expected call of IsSnapshotsSupportedForVersion

func (*MockStoreMockRecorder) ListAppsForDownstream

func (mr *MockStoreMockRecorder) ListAppsForDownstream(clusterID interface{}) *gomock.Call

ListAppsForDownstream indicates an expected call of ListAppsForDownstream

func (*MockStoreMockRecorder) ListClusters

func (mr *MockStoreMockRecorder) ListClusters() *gomock.Call

ListClusters indicates an expected call of ListClusters

func (*MockStoreMockRecorder) ListDownstreamsForApp

func (mr *MockStoreMockRecorder) ListDownstreamsForApp(appID interface{}) *gomock.Call

ListDownstreamsForApp indicates an expected call of ListDownstreamsForApp

func (*MockStoreMockRecorder) ListInstalledAppSlugs

func (mr *MockStoreMockRecorder) ListInstalledAppSlugs() *gomock.Call

ListInstalledAppSlugs indicates an expected call of ListInstalledAppSlugs

func (*MockStoreMockRecorder) ListInstalledApps

func (mr *MockStoreMockRecorder) ListInstalledApps() *gomock.Call

ListInstalledApps indicates an expected call of ListInstalledApps

func (*MockStoreMockRecorder) ListPendingScheduledInstanceSnapshots

func (mr *MockStoreMockRecorder) ListPendingScheduledInstanceSnapshots(clusterID interface{}) *gomock.Call

ListPendingScheduledInstanceSnapshots indicates an expected call of ListPendingScheduledInstanceSnapshots

func (*MockStoreMockRecorder) ListPendingScheduledSnapshots

func (mr *MockStoreMockRecorder) ListPendingScheduledSnapshots(appID interface{}) *gomock.Call

ListPendingScheduledSnapshots indicates an expected call of ListPendingScheduledSnapshots

func (*MockStoreMockRecorder) ListPendingSupportBundlesForApp added in v1.31.0

func (mr *MockStoreMockRecorder) ListPendingSupportBundlesForApp(appID interface{}) *gomock.Call

ListPendingSupportBundlesForApp indicates an expected call of ListPendingSupportBundlesForApp

func (*MockStoreMockRecorder) ListSupportBundles

func (mr *MockStoreMockRecorder) ListSupportBundles(appID interface{}) *gomock.Call

ListSupportBundles indicates an expected call of ListSupportBundles

func (*MockStoreMockRecorder) RemoveApp

func (mr *MockStoreMockRecorder) RemoveApp(appID interface{}) *gomock.Call

RemoveApp indicates an expected call of RemoveApp

func (*MockStoreMockRecorder) ResetAirgapInstallInProgress

func (mr *MockStoreMockRecorder) ResetAirgapInstallInProgress(appID interface{}) *gomock.Call

ResetAirgapInstallInProgress indicates an expected call of ResetAirgapInstallInProgress

func (*MockStoreMockRecorder) ResetPreflightResults

func (mr *MockStoreMockRecorder) ResetPreflightResults(appID, sequence interface{}) *gomock.Call

ResetPreflightResults indicates an expected call of ResetPreflightResults

func (*MockStoreMockRecorder) RunMigrations

func (mr *MockStoreMockRecorder) RunMigrations() *gomock.Call

RunMigrations indicates an expected call of RunMigrations

func (*MockStoreMockRecorder) SetAppInstallState

func (mr *MockStoreMockRecorder) SetAppInstallState(appID, state interface{}) *gomock.Call

SetAppInstallState indicates an expected call of SetAppInstallState

func (*MockStoreMockRecorder) SetAppIsAirgap

func (mr *MockStoreMockRecorder) SetAppIsAirgap(appID, isAirgap interface{}) *gomock.Call

SetAppIsAirgap indicates an expected call of SetAppIsAirgap

func (*MockStoreMockRecorder) SetIgnorePreflightPermissionErrors

func (mr *MockStoreMockRecorder) SetIgnorePreflightPermissionErrors(appID, sequence interface{}) *gomock.Call

SetIgnorePreflightPermissionErrors indicates an expected call of SetIgnorePreflightPermissionErrors

func (*MockStoreMockRecorder) SetInstanceSnapshotSchedule

func (mr *MockStoreMockRecorder) SetInstanceSnapshotSchedule(clusterID, snapshotSchedule interface{}) *gomock.Call

SetInstanceSnapshotSchedule indicates an expected call of SetInstanceSnapshotSchedule

func (*MockStoreMockRecorder) SetInstanceSnapshotTTL

func (mr *MockStoreMockRecorder) SetInstanceSnapshotTTL(clusterID, snapshotTTL interface{}) *gomock.Call

SetInstanceSnapshotTTL indicates an expected call of SetInstanceSnapshotTTL

func (*MockStoreMockRecorder) SetIsKotsadmIDGenerated

func (mr *MockStoreMockRecorder) SetIsKotsadmIDGenerated() *gomock.Call

SetIsKotsadmIDGenerated indicates an expected call of SetIsKotsadmIDGenerated

func (*MockStoreMockRecorder) SetPreflightResults

func (mr *MockStoreMockRecorder) SetPreflightResults(appID, sequence, results interface{}) *gomock.Call

SetPreflightResults indicates an expected call of SetPreflightResults

func (*MockStoreMockRecorder) SetPrometheusAddress

func (mr *MockStoreMockRecorder) SetPrometheusAddress(address interface{}) *gomock.Call

SetPrometheusAddress indicates an expected call of SetPrometheusAddress

func (*MockStoreMockRecorder) SetRedactions

func (mr *MockStoreMockRecorder) SetRedactions(bundleID, redacts interface{}) *gomock.Call

SetRedactions indicates an expected call of SetRedactions

func (*MockStoreMockRecorder) SetSnapshotSchedule

func (mr *MockStoreMockRecorder) SetSnapshotSchedule(appID, snapshotSchedule interface{}) *gomock.Call

SetSnapshotSchedule indicates an expected call of SetSnapshotSchedule

func (*MockStoreMockRecorder) SetSnapshotTTL

func (mr *MockStoreMockRecorder) SetSnapshotTTL(appID, snapshotTTL interface{}) *gomock.Call

SetSnapshotTTL indicates an expected call of SetSnapshotTTL

func (*MockStoreMockRecorder) SetSupportBundleAnalysis

func (mr *MockStoreMockRecorder) SetSupportBundleAnalysis(bundleID, insights interface{}) *gomock.Call

SetSupportBundleAnalysis indicates an expected call of SetSupportBundleAnalysis

func (*MockStoreMockRecorder) SetTaskStatus

func (mr *MockStoreMockRecorder) SetTaskStatus(taskID, message, status interface{}) *gomock.Call

SetTaskStatus indicates an expected call of SetTaskStatus

func (*MockStoreMockRecorder) SetUpdateCheckerSpec

func (mr *MockStoreMockRecorder) SetUpdateCheckerSpec(appID, updateCheckerSpec interface{}) *gomock.Call

SetUpdateCheckerSpec indicates an expected call of SetUpdateCheckerSpec

func (*MockStoreMockRecorder) UpdateAppLicense

func (mr *MockStoreMockRecorder) UpdateAppLicense(appID, sequence, archiveDir, newLicense, originalLicenseData, failOnVersionCreate, gitops, renderer interface{}) *gomock.Call

UpdateAppLicense indicates an expected call of UpdateAppLicense

func (*MockStoreMockRecorder) UpdateRegistry

func (mr *MockStoreMockRecorder) UpdateRegistry(appID, hostname, username, password, namespace interface{}) *gomock.Call

UpdateRegistry indicates an expected call of UpdateRegistry

func (*MockStoreMockRecorder) UpdateScheduledInstanceSnapshot

func (mr *MockStoreMockRecorder) UpdateScheduledInstanceSnapshot(snapshotID, backupName interface{}) *gomock.Call

UpdateScheduledInstanceSnapshot indicates an expected call of UpdateScheduledInstanceSnapshot

func (*MockStoreMockRecorder) UpdateScheduledSnapshot

func (mr *MockStoreMockRecorder) UpdateScheduledSnapshot(snapshotID, backupName interface{}) *gomock.Call

UpdateScheduledSnapshot indicates an expected call of UpdateScheduledSnapshot

func (*MockStoreMockRecorder) UpdateTaskStatusTimestamp

func (mr *MockStoreMockRecorder) UpdateTaskStatusTimestamp(taskID interface{}) *gomock.Call

UpdateTaskStatusTimestamp indicates an expected call of UpdateTaskStatusTimestamp

func (*MockStoreMockRecorder) WaitForReady

func (mr *MockStoreMockRecorder) WaitForReady(ctx interface{}) *gomock.Call

WaitForReady indicates an expected call of WaitForReady

type MockSupportBundleStore

type MockSupportBundleStore struct {
	// contains filtered or unexported fields
}

MockSupportBundleStore is a mock of SupportBundleStore interface

func NewMockSupportBundleStore

func NewMockSupportBundleStore(ctrl *gomock.Controller) *MockSupportBundleStore

NewMockSupportBundleStore creates a new mock instance

func (*MockSupportBundleStore) CreatePendingSupportBundle added in v1.31.0

func (m *MockSupportBundleStore) CreatePendingSupportBundle(bundleID, appID, clusterID string) error

CreatePendingSupportBundle mocks base method

func (*MockSupportBundleStore) CreateSupportBundle

func (m *MockSupportBundleStore) CreateSupportBundle(bundleID, appID, archivePath string, marshalledTree []byte) (*types11.SupportBundle, error)

CreateSupportBundle mocks base method

func (*MockSupportBundleStore) DeletePendingSupportBundle added in v1.32.0

func (m *MockSupportBundleStore) DeletePendingSupportBundle(id string) error

DeletePendingSupportBundle mocks base method

func (*MockSupportBundleStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSupportBundleStore) GetRedactions

func (m *MockSupportBundleStore) GetRedactions(bundleID string) (redact.RedactionList, error)

GetRedactions mocks base method

func (*MockSupportBundleStore) GetSupportBundle

func (m *MockSupportBundleStore) GetSupportBundle(bundleID string) (*types11.SupportBundle, error)

GetSupportBundle mocks base method

func (*MockSupportBundleStore) GetSupportBundleAnalysis

func (m *MockSupportBundleStore) GetSupportBundleAnalysis(bundleID string) (*types11.SupportBundleAnalysis, error)

GetSupportBundleAnalysis mocks base method

func (*MockSupportBundleStore) GetSupportBundleArchive

func (m *MockSupportBundleStore) GetSupportBundleArchive(bundleID string) (string, error)

GetSupportBundleArchive mocks base method

func (*MockSupportBundleStore) GetSupportBundleSpecForApp added in v1.31.0

func (m *MockSupportBundleStore) GetSupportBundleSpecForApp(id string) (string, error)

GetSupportBundleSpecForApp mocks base method

func (*MockSupportBundleStore) ListPendingSupportBundlesForApp added in v1.31.0

func (m *MockSupportBundleStore) ListPendingSupportBundlesForApp(appID string) ([]*types11.PendingSupportBundle, error)

ListPendingSupportBundlesForApp mocks base method

func (*MockSupportBundleStore) ListSupportBundles

func (m *MockSupportBundleStore) ListSupportBundles(appID string) ([]*types11.SupportBundle, error)

ListSupportBundles mocks base method

func (*MockSupportBundleStore) SetRedactions

func (m *MockSupportBundleStore) SetRedactions(bundleID string, redacts redact.RedactionList) error

SetRedactions mocks base method

func (*MockSupportBundleStore) SetSupportBundleAnalysis

func (m *MockSupportBundleStore) SetSupportBundleAnalysis(bundleID string, insights []byte) error

SetSupportBundleAnalysis mocks base method

type MockSupportBundleStoreMockRecorder

type MockSupportBundleStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockSupportBundleStoreMockRecorder is the mock recorder for MockSupportBundleStore

func (*MockSupportBundleStoreMockRecorder) CreatePendingSupportBundle added in v1.31.0

func (mr *MockSupportBundleStoreMockRecorder) CreatePendingSupportBundle(bundleID, appID, clusterID interface{}) *gomock.Call

CreatePendingSupportBundle indicates an expected call of CreatePendingSupportBundle

func (*MockSupportBundleStoreMockRecorder) CreateSupportBundle

func (mr *MockSupportBundleStoreMockRecorder) CreateSupportBundle(bundleID, appID, archivePath, marshalledTree interface{}) *gomock.Call

CreateSupportBundle indicates an expected call of CreateSupportBundle

func (*MockSupportBundleStoreMockRecorder) DeletePendingSupportBundle added in v1.32.0

func (mr *MockSupportBundleStoreMockRecorder) DeletePendingSupportBundle(id interface{}) *gomock.Call

DeletePendingSupportBundle indicates an expected call of DeletePendingSupportBundle

func (*MockSupportBundleStoreMockRecorder) GetRedactions

func (mr *MockSupportBundleStoreMockRecorder) GetRedactions(bundleID interface{}) *gomock.Call

GetRedactions indicates an expected call of GetRedactions

func (*MockSupportBundleStoreMockRecorder) GetSupportBundle

func (mr *MockSupportBundleStoreMockRecorder) GetSupportBundle(bundleID interface{}) *gomock.Call

GetSupportBundle indicates an expected call of GetSupportBundle

func (*MockSupportBundleStoreMockRecorder) GetSupportBundleAnalysis

func (mr *MockSupportBundleStoreMockRecorder) GetSupportBundleAnalysis(bundleID interface{}) *gomock.Call

GetSupportBundleAnalysis indicates an expected call of GetSupportBundleAnalysis

func (*MockSupportBundleStoreMockRecorder) GetSupportBundleArchive

func (mr *MockSupportBundleStoreMockRecorder) GetSupportBundleArchive(bundleID interface{}) *gomock.Call

GetSupportBundleArchive indicates an expected call of GetSupportBundleArchive

func (*MockSupportBundleStoreMockRecorder) GetSupportBundleSpecForApp added in v1.31.0

func (mr *MockSupportBundleStoreMockRecorder) GetSupportBundleSpecForApp(id interface{}) *gomock.Call

GetSupportBundleSpecForApp indicates an expected call of GetSupportBundleSpecForApp

func (*MockSupportBundleStoreMockRecorder) ListPendingSupportBundlesForApp added in v1.31.0

func (mr *MockSupportBundleStoreMockRecorder) ListPendingSupportBundlesForApp(appID interface{}) *gomock.Call

ListPendingSupportBundlesForApp indicates an expected call of ListPendingSupportBundlesForApp

func (*MockSupportBundleStoreMockRecorder) ListSupportBundles

func (mr *MockSupportBundleStoreMockRecorder) ListSupportBundles(appID interface{}) *gomock.Call

ListSupportBundles indicates an expected call of ListSupportBundles

func (*MockSupportBundleStoreMockRecorder) SetRedactions

func (mr *MockSupportBundleStoreMockRecorder) SetRedactions(bundleID, redacts interface{}) *gomock.Call

SetRedactions indicates an expected call of SetRedactions

func (*MockSupportBundleStoreMockRecorder) SetSupportBundleAnalysis

func (mr *MockSupportBundleStoreMockRecorder) SetSupportBundleAnalysis(bundleID, insights interface{}) *gomock.Call

SetSupportBundleAnalysis indicates an expected call of SetSupportBundleAnalysis

type MockTaskStore

type MockTaskStore struct {
	// contains filtered or unexported fields
}

MockTaskStore is a mock of TaskStore interface

func NewMockTaskStore

func NewMockTaskStore(ctrl *gomock.Controller) *MockTaskStore

NewMockTaskStore creates a new mock instance

func (*MockTaskStore) ClearTaskStatus

func (m *MockTaskStore) ClearTaskStatus(taskID string) error

ClearTaskStatus mocks base method

func (*MockTaskStore) EXPECT

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 types5.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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockVersionStore) GetAppVersion

func (m *MockVersionStore) GetAppVersion(arg0 string, arg1 int64) (*types3.AppVersion, error)

GetAppVersion mocks base method

func (*MockVersionStore) GetAppVersionArchive

func (m *MockVersionStore) GetAppVersionArchive(appID string, sequence int64, dstPath string) error

GetAppVersionArchive mocks base method

func (*MockVersionStore) GetAppVersionsAfter added in v1.31.0

func (m *MockVersionStore) GetAppVersionsAfter(arg0 string, arg1 int64) ([]*types3.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 *types4.App, sequence int64, renderer types9.Renderer) (bool, error)

IsSnapshotsSupportedForVersion mocks base method

type MockVersionStoreMockRecorder

type MockVersionStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockVersionStoreMockRecorder is the mock recorder for MockVersionStore

func (*MockVersionStoreMockRecorder) CreateAppVersion

func (mr *MockVersionStoreMockRecorder) CreateAppVersion(appID, currentSequence, filesInDir, source, skipPreflights, gitops interface{}) *gomock.Call

CreateAppVersion indicates an expected call of CreateAppVersion

func (*MockVersionStoreMockRecorder) CreateAppVersionArchive

func (mr *MockVersionStoreMockRecorder) CreateAppVersionArchive(appID, sequence, archivePath interface{}) *gomock.Call

CreateAppVersionArchive indicates an expected call of CreateAppVersionArchive

func (*MockVersionStoreMockRecorder) GetAppVersion

func (mr *MockVersionStoreMockRecorder) GetAppVersion(arg0, arg1 interface{}) *gomock.Call

GetAppVersion indicates an expected call of GetAppVersion

func (*MockVersionStoreMockRecorder) GetAppVersionArchive

func (mr *MockVersionStoreMockRecorder) GetAppVersionArchive(appID, sequence, dstPath interface{}) *gomock.Call

GetAppVersionArchive indicates an expected call of GetAppVersionArchive

func (*MockVersionStoreMockRecorder) GetAppVersionsAfter added in v1.31.0

func (mr *MockVersionStoreMockRecorder) GetAppVersionsAfter(arg0, arg1 interface{}) *gomock.Call

GetAppVersionsAfter indicates an expected call of GetAppVersionsAfter

func (*MockVersionStoreMockRecorder) IsIdentityServiceSupportedForVersion

func (mr *MockVersionStoreMockRecorder) IsIdentityServiceSupportedForVersion(appID, sequence interface{}) *gomock.Call

IsIdentityServiceSupportedForVersion indicates an expected call of IsIdentityServiceSupportedForVersion

func (*MockVersionStoreMockRecorder) IsRollbackSupportedForVersion

func (mr *MockVersionStoreMockRecorder) IsRollbackSupportedForVersion(appID, sequence interface{}) *gomock.Call

IsRollbackSupportedForVersion indicates an expected call of IsRollbackSupportedForVersion

func (*MockVersionStoreMockRecorder) IsSnapshotsSupportedForVersion

func (mr *MockVersionStoreMockRecorder) IsSnapshotsSupportedForVersion(a, sequence, renderer interface{}) *gomock.Call

IsSnapshotsSupportedForVersion indicates an expected call of IsSnapshotsSupportedForVersion

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL