mock_store

package
v1.115.2 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 23 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) (*types4.AppStatus, error)

GetAppStatus mocks base method.

func (*MockAppStatusStore) SetAppStatus

func (m *MockAppStatusStore) SetAppStatus(appID string, resourceStates types4.ResourceStates, updatedAt time.Time, sequence int64) error

SetAppStatus mocks base method.

type MockAppStatusStoreMockRecorder

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

MockAppStatusStoreMockRecorder is the mock recorder for MockAppStatusStore.

func (*MockAppStatusStoreMockRecorder) GetAppStatus

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

GetAppStatus indicates an expected call of GetAppStatus.

func (*MockAppStatusStoreMockRecorder) SetAppStatus

func (mr *MockAppStatusStoreMockRecorder) SetAppStatus(appID, resourceStates, updatedAt, sequence interface{}) *gomock.Call

SetAppStatus indicates an expected call of SetAppStatus.

type MockAppStore

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

MockAppStore is a mock of AppStore interface.

func NewMockAppStore

func NewMockAppStore(ctrl *gomock.Controller) *MockAppStore

NewMockAppStore creates a new mock instance.

func (*MockAppStore) AddAppToAllDownstreams

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

AddAppToAllDownstreams mocks base method.

func (*MockAppStore) CreateApp

func (m *MockAppStore) CreateApp(name, channelID, upstreamURI, licenseData string, isAirgapEnabled, skipImagePush, registryIsReadOnly bool) (*types3.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) (*types3.App, error)

GetApp mocks base method.

func (*MockAppStore) GetAppFromSlug

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

GetAppFromSlug mocks base method.

func (*MockAppStore) GetAppIDFromSlug

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

GetAppIDFromSlug mocks base method.

func (*MockAppStore) GetDownstream

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

GetDownstream mocks base method.

func (*MockAppStore) IsGitOpsEnabledForApp

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

IsGitOpsEnabledForApp mocks base method.

func (*MockAppStore) ListAppsForDownstream

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

ListAppsForDownstream mocks base method.

func (*MockAppStore) ListDownstreamsForApp

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

ListDownstreamsForApp mocks base method.

func (*MockAppStore) ListFailedApps

func (m *MockAppStore) ListFailedApps() ([]*types3.App, error)

ListFailedApps mocks base method.

func (*MockAppStore) ListInstalledAppSlugs

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

ListInstalledAppSlugs mocks base method.

func (*MockAppStore) ListInstalledApps

func (m *MockAppStore) ListInstalledApps() ([]*types3.App, error)

ListInstalledApps mocks base method.

func (*MockAppStore) RemoveApp

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

RemoveApp mocks base method.

func (*MockAppStore) SetAppChannelChanged

func (m *MockAppStore) SetAppChannelChanged(appID string, channelChanged bool) error

SetAppChannelChanged mocks base method.

func (*MockAppStore) SetAppInstallState

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

SetAppInstallState mocks base method.

func (*MockAppStore) SetAppSelectedChannelID added in v1.113.0

func (m *MockAppStore) SetAppSelectedChannelID(appID, channelID string) error

SetAppSelectedChannelID mocks base method.

func (*MockAppStore) SetAutoDeploy

func (m *MockAppStore) SetAutoDeploy(appID string, autoDeploy types3.AutoDeploy) error

SetAutoDeploy 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, channelID, upstreamURI, licenseData, isAirgapEnabled, skipImagePush, registryIsReadOnly interface{}) *gomock.Call

CreateApp indicates an expected call of CreateApp.

func (*MockAppStoreMockRecorder) GetApp

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

GetApp indicates an expected call of GetApp.

func (*MockAppStoreMockRecorder) GetAppFromSlug

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

GetAppFromSlug indicates an expected call of GetAppFromSlug.

func (*MockAppStoreMockRecorder) GetAppIDFromSlug

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

GetAppIDFromSlug indicates an expected call of GetAppIDFromSlug.

func (*MockAppStoreMockRecorder) GetDownstream

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

GetDownstream indicates an expected call of GetDownstream.

func (*MockAppStoreMockRecorder) IsGitOpsEnabledForApp

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

IsGitOpsEnabledForApp indicates an expected call of IsGitOpsEnabledForApp.

func (*MockAppStoreMockRecorder) ListAppsForDownstream

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

ListAppsForDownstream indicates an expected call of ListAppsForDownstream.

func (*MockAppStoreMockRecorder) ListDownstreamsForApp

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

ListDownstreamsForApp indicates an expected call of ListDownstreamsForApp.

func (*MockAppStoreMockRecorder) ListFailedApps

func (mr *MockAppStoreMockRecorder) ListFailedApps() *gomock.Call

ListFailedApps indicates an expected call of ListFailedApps.

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) SetAppChannelChanged

func (mr *MockAppStoreMockRecorder) SetAppChannelChanged(appID, channelChanged interface{}) *gomock.Call

SetAppChannelChanged indicates an expected call of SetAppChannelChanged.

func (*MockAppStoreMockRecorder) SetAppInstallState

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

SetAppInstallState indicates an expected call of SetAppInstallState.

func (*MockAppStoreMockRecorder) SetAppSelectedChannelID added in v1.113.0

func (mr *MockAppStoreMockRecorder) SetAppSelectedChannelID(appID, channelID interface{}) *gomock.Call

SetAppSelectedChannelID indicates an expected call of SetAppSelectedChannelID.

func (*MockAppStoreMockRecorder) SetAutoDeploy

func (mr *MockAppStoreMockRecorder) SetAutoDeploy(appID, autoDeploy interface{}) *gomock.Call

SetAutoDeploy indicates an expected call of SetAutoDeploy.

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 MockBrandingStore added in v1.86.2

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

MockBrandingStore is a mock of BrandingStore interface.

func NewMockBrandingStore added in v1.86.2

func NewMockBrandingStore(ctrl *gomock.Controller) *MockBrandingStore

NewMockBrandingStore creates a new mock instance.

func (*MockBrandingStore) CreateInitialBranding added in v1.86.2

func (m *MockBrandingStore) CreateInitialBranding(brandingArchive []byte) (string, error)

CreateInitialBranding mocks base method.

func (*MockBrandingStore) EXPECT added in v1.86.2

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

func (*MockBrandingStore) GetInitialBranding added in v1.86.2

func (m *MockBrandingStore) GetInitialBranding() ([]byte, error)

GetInitialBranding mocks base method.

func (*MockBrandingStore) GetLatestBranding added in v1.86.2

func (m *MockBrandingStore) GetLatestBranding() ([]byte, error)

GetLatestBranding mocks base method.

func (*MockBrandingStore) GetLatestBrandingForApp added in v1.86.2

func (m *MockBrandingStore) GetLatestBrandingForApp(appID string) ([]byte, error)

GetLatestBrandingForApp mocks base method.

type MockBrandingStoreMockRecorder added in v1.86.2

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

MockBrandingStoreMockRecorder is the mock recorder for MockBrandingStore.

func (*MockBrandingStoreMockRecorder) CreateInitialBranding added in v1.86.2

func (mr *MockBrandingStoreMockRecorder) CreateInitialBranding(brandingArchive interface{}) *gomock.Call

CreateInitialBranding indicates an expected call of CreateInitialBranding.

func (*MockBrandingStoreMockRecorder) GetInitialBranding added in v1.86.2

func (mr *MockBrandingStoreMockRecorder) GetInitialBranding() *gomock.Call

GetInitialBranding indicates an expected call of GetInitialBranding.

func (*MockBrandingStoreMockRecorder) GetLatestBranding added in v1.86.2

func (mr *MockBrandingStoreMockRecorder) GetLatestBranding() *gomock.Call

GetLatestBranding indicates an expected call of GetLatestBranding.

func (*MockBrandingStoreMockRecorder) GetLatestBrandingForApp added in v1.86.2

func (mr *MockBrandingStoreMockRecorder) GetLatestBrandingForApp(appID interface{}) *gomock.Call

GetLatestBrandingForApp indicates an expected call of GetLatestBrandingForApp.

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() ([]*types0.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 MockDownstreamStore

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

MockDownstreamStore is a mock of DownstreamStore interface.

func NewMockDownstreamStore

func NewMockDownstreamStore(ctrl *gomock.Controller) *MockDownstreamStore

NewMockDownstreamStore creates a new mock instance.

func (*MockDownstreamStore) AddDownstreamVersionDetails

func (m *MockDownstreamStore) AddDownstreamVersionDetails(appID, clusterID string, version *types0.DownstreamVersion, checkIfDeployable bool) error

AddDownstreamVersionDetails mocks base method.

func (*MockDownstreamStore) AddDownstreamVersionsDetails

func (m *MockDownstreamStore) AddDownstreamVersionsDetails(appID, clusterID string, versions []*types0.DownstreamVersion, checkIfDeployable bool) error

AddDownstreamVersionsDetails mocks base method.

func (*MockDownstreamStore) DeleteDownstreamDeployStatus

func (m *MockDownstreamStore) DeleteDownstreamDeployStatus(appID, clusterID string, sequence int64) error

DeleteDownstreamDeployStatus mocks base method.

func (*MockDownstreamStore) EXPECT

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

func (*MockDownstreamStore) FindDownstreamVersions

func (m *MockDownstreamStore) FindDownstreamVersions(appID string, downloadedOnly bool) (*types0.DownstreamVersions, error)

FindDownstreamVersions mocks base method.

func (*MockDownstreamStore) GetCurrentDownstreamSequence

func (m *MockDownstreamStore) GetCurrentDownstreamSequence(appID, clusterID string) (int64, error)

GetCurrentDownstreamSequence mocks base method.

func (*MockDownstreamStore) GetCurrentDownstreamVersion

func (m *MockDownstreamStore) GetCurrentDownstreamVersion(appID, clusterID string) (*types0.DownstreamVersion, error)

GetCurrentDownstreamVersion mocks base method.

func (*MockDownstreamStore) GetCurrentParentSequence

func (m *MockDownstreamStore) GetCurrentParentSequence(appID, clusterID string) (int64, error)

GetCurrentParentSequence mocks base method.

func (*MockDownstreamStore) GetDownstreamOutput

func (m *MockDownstreamStore) GetDownstreamOutput(appID, clusterID string, sequence int64) (*types0.DownstreamOutput, error)

GetDownstreamOutput mocks base method.

func (*MockDownstreamStore) GetDownstreamVersionHistory

func (m *MockDownstreamStore) GetDownstreamVersionHistory(appID, clusterID string, currentPage, pageSize int, pinLatest, pinLatestDeployable bool) (*types0.DownstreamVersionHistory, error)

GetDownstreamVersionHistory mocks base method.

func (*MockDownstreamStore) GetDownstreamVersionSource

func (m *MockDownstreamStore) GetDownstreamVersionSource(appID string, sequence int64) (string, error)

GetDownstreamVersionSource mocks base method.

func (*MockDownstreamStore) GetDownstreamVersionStatus

func (m *MockDownstreamStore) GetDownstreamVersionStatus(appID string, sequence int64) (types11.DownstreamVersionStatus, error)

GetDownstreamVersionStatus mocks base method.

func (*MockDownstreamStore) GetDownstreamVersions

func (m *MockDownstreamStore) GetDownstreamVersions(appID, clusterID string, downloadedOnly bool) (*types0.DownstreamVersions, error)

GetDownstreamVersions mocks base method.

func (*MockDownstreamStore) GetIgnoreRBACErrors

func (m *MockDownstreamStore) GetIgnoreRBACErrors(appID string, sequence int64) (bool, error)

GetIgnoreRBACErrors mocks base method.

func (*MockDownstreamStore) GetLatestDeployableDownstreamVersion

func (m *MockDownstreamStore) GetLatestDeployableDownstreamVersion(appID, clusterID string) (*types0.DownstreamVersion, int, int, error)

GetLatestDeployableDownstreamVersion mocks base method.

func (*MockDownstreamStore) GetParentSequenceForSequence

func (m *MockDownstreamStore) GetParentSequenceForSequence(appID, clusterID string, sequence int64) (int64, error)

GetParentSequenceForSequence mocks base method.

func (*MockDownstreamStore) GetPreviouslyDeployedSequence

func (m *MockDownstreamStore) GetPreviouslyDeployedSequence(appID, clusterID string) (int64, error)

GetPreviouslyDeployedSequence mocks base method.

func (*MockDownstreamStore) GetStatusForVersion

func (m *MockDownstreamStore) GetStatusForVersion(appID, clusterID string, sequence int64) (types11.DownstreamVersionStatus, error)

GetStatusForVersion mocks base method.

func (*MockDownstreamStore) IsAppVersionDeployable

func (m *MockDownstreamStore) IsAppVersionDeployable(appID string, sequence int64) (bool, string, error)

IsAppVersionDeployable mocks base method.

func (*MockDownstreamStore) IsDownstreamDeploySuccessful

func (m *MockDownstreamStore) IsDownstreamDeploySuccessful(appID, clusterID string, sequence int64) (bool, error)

IsDownstreamDeploySuccessful mocks base method.

func (*MockDownstreamStore) MarkAsCurrentDownstreamVersion

func (m *MockDownstreamStore) MarkAsCurrentDownstreamVersion(appID string, sequence int64) error

MarkAsCurrentDownstreamVersion mocks base method.

func (*MockDownstreamStore) SetDownstreamVersionStatus

func (m *MockDownstreamStore) SetDownstreamVersionStatus(appID string, sequence int64, status types11.DownstreamVersionStatus, statusInfo string) error

SetDownstreamVersionStatus mocks base method.

func (*MockDownstreamStore) UpdateDownstreamDeployStatus

func (m *MockDownstreamStore) UpdateDownstreamDeployStatus(appID, clusterID string, sequence int64, isError bool, output types0.DownstreamOutput) error

UpdateDownstreamDeployStatus mocks base method.

type MockDownstreamStoreMockRecorder

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

MockDownstreamStoreMockRecorder is the mock recorder for MockDownstreamStore.

func (*MockDownstreamStoreMockRecorder) AddDownstreamVersionDetails

func (mr *MockDownstreamStoreMockRecorder) AddDownstreamVersionDetails(appID, clusterID, version, checkIfDeployable interface{}) *gomock.Call

AddDownstreamVersionDetails indicates an expected call of AddDownstreamVersionDetails.

func (*MockDownstreamStoreMockRecorder) AddDownstreamVersionsDetails

func (mr *MockDownstreamStoreMockRecorder) AddDownstreamVersionsDetails(appID, clusterID, versions, checkIfDeployable interface{}) *gomock.Call

AddDownstreamVersionsDetails indicates an expected call of AddDownstreamVersionsDetails.

func (*MockDownstreamStoreMockRecorder) DeleteDownstreamDeployStatus

func (mr *MockDownstreamStoreMockRecorder) DeleteDownstreamDeployStatus(appID, clusterID, sequence interface{}) *gomock.Call

DeleteDownstreamDeployStatus indicates an expected call of DeleteDownstreamDeployStatus.

func (*MockDownstreamStoreMockRecorder) FindDownstreamVersions

func (mr *MockDownstreamStoreMockRecorder) FindDownstreamVersions(appID, downloadedOnly interface{}) *gomock.Call

FindDownstreamVersions indicates an expected call of FindDownstreamVersions.

func (*MockDownstreamStoreMockRecorder) GetCurrentDownstreamSequence

func (mr *MockDownstreamStoreMockRecorder) GetCurrentDownstreamSequence(appID, clusterID interface{}) *gomock.Call

GetCurrentDownstreamSequence indicates an expected call of GetCurrentDownstreamSequence.

func (*MockDownstreamStoreMockRecorder) GetCurrentDownstreamVersion

func (mr *MockDownstreamStoreMockRecorder) GetCurrentDownstreamVersion(appID, clusterID interface{}) *gomock.Call

GetCurrentDownstreamVersion indicates an expected call of GetCurrentDownstreamVersion.

func (*MockDownstreamStoreMockRecorder) GetCurrentParentSequence

func (mr *MockDownstreamStoreMockRecorder) GetCurrentParentSequence(appID, clusterID interface{}) *gomock.Call

GetCurrentParentSequence indicates an expected call of GetCurrentParentSequence.

func (*MockDownstreamStoreMockRecorder) GetDownstreamOutput

func (mr *MockDownstreamStoreMockRecorder) GetDownstreamOutput(appID, clusterID, sequence interface{}) *gomock.Call

GetDownstreamOutput indicates an expected call of GetDownstreamOutput.

func (*MockDownstreamStoreMockRecorder) GetDownstreamVersionHistory

func (mr *MockDownstreamStoreMockRecorder) GetDownstreamVersionHistory(appID, clusterID, currentPage, pageSize, pinLatest, pinLatestDeployable interface{}) *gomock.Call

GetDownstreamVersionHistory indicates an expected call of GetDownstreamVersionHistory.

func (*MockDownstreamStoreMockRecorder) GetDownstreamVersionSource

func (mr *MockDownstreamStoreMockRecorder) GetDownstreamVersionSource(appID, sequence interface{}) *gomock.Call

GetDownstreamVersionSource indicates an expected call of GetDownstreamVersionSource.

func (*MockDownstreamStoreMockRecorder) GetDownstreamVersionStatus

func (mr *MockDownstreamStoreMockRecorder) GetDownstreamVersionStatus(appID, sequence interface{}) *gomock.Call

GetDownstreamVersionStatus indicates an expected call of GetDownstreamVersionStatus.

func (*MockDownstreamStoreMockRecorder) GetDownstreamVersions

func (mr *MockDownstreamStoreMockRecorder) GetDownstreamVersions(appID, clusterID, downloadedOnly interface{}) *gomock.Call

GetDownstreamVersions indicates an expected call of GetDownstreamVersions.

func (*MockDownstreamStoreMockRecorder) GetIgnoreRBACErrors

func (mr *MockDownstreamStoreMockRecorder) GetIgnoreRBACErrors(appID, sequence interface{}) *gomock.Call

GetIgnoreRBACErrors indicates an expected call of GetIgnoreRBACErrors.

func (*MockDownstreamStoreMockRecorder) GetLatestDeployableDownstreamVersion

func (mr *MockDownstreamStoreMockRecorder) GetLatestDeployableDownstreamVersion(appID, clusterID interface{}) *gomock.Call

GetLatestDeployableDownstreamVersion indicates an expected call of GetLatestDeployableDownstreamVersion.

func (*MockDownstreamStoreMockRecorder) GetParentSequenceForSequence

func (mr *MockDownstreamStoreMockRecorder) GetParentSequenceForSequence(appID, clusterID, sequence interface{}) *gomock.Call

GetParentSequenceForSequence indicates an expected call of GetParentSequenceForSequence.

func (*MockDownstreamStoreMockRecorder) GetPreviouslyDeployedSequence

func (mr *MockDownstreamStoreMockRecorder) GetPreviouslyDeployedSequence(appID, clusterID interface{}) *gomock.Call

GetPreviouslyDeployedSequence indicates an expected call of GetPreviouslyDeployedSequence.

func (*MockDownstreamStoreMockRecorder) GetStatusForVersion

func (mr *MockDownstreamStoreMockRecorder) GetStatusForVersion(appID, clusterID, sequence interface{}) *gomock.Call

GetStatusForVersion indicates an expected call of GetStatusForVersion.

func (*MockDownstreamStoreMockRecorder) IsAppVersionDeployable

func (mr *MockDownstreamStoreMockRecorder) IsAppVersionDeployable(appID, sequence interface{}) *gomock.Call

IsAppVersionDeployable indicates an expected call of IsAppVersionDeployable.

func (*MockDownstreamStoreMockRecorder) IsDownstreamDeploySuccessful

func (mr *MockDownstreamStoreMockRecorder) IsDownstreamDeploySuccessful(appID, clusterID, sequence interface{}) *gomock.Call

IsDownstreamDeploySuccessful indicates an expected call of IsDownstreamDeploySuccessful.

func (*MockDownstreamStoreMockRecorder) MarkAsCurrentDownstreamVersion

func (mr *MockDownstreamStoreMockRecorder) MarkAsCurrentDownstreamVersion(appID, sequence interface{}) *gomock.Call

MarkAsCurrentDownstreamVersion indicates an expected call of MarkAsCurrentDownstreamVersion.

func (*MockDownstreamStoreMockRecorder) SetDownstreamVersionStatus

func (mr *MockDownstreamStoreMockRecorder) SetDownstreamVersionStatus(appID, sequence, status, statusInfo interface{}) *gomock.Call

SetDownstreamVersionStatus indicates an expected call of SetDownstreamVersionStatus.

func (*MockDownstreamStoreMockRecorder) UpdateDownstreamDeployStatus

func (mr *MockDownstreamStoreMockRecorder) UpdateDownstreamDeployStatus(appID, clusterID, sequence, isError, output interface{}) *gomock.Call

UpdateDownstreamDeployStatus indicates an expected call of UpdateDownstreamDeployStatus.

type MockEmbeddedClusterStore added in v1.103.3

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

MockEmbeddedClusterStore is a mock of EmbeddedClusterStore interface.

func NewMockEmbeddedClusterStore added in v1.103.3

func NewMockEmbeddedClusterStore(ctrl *gomock.Controller) *MockEmbeddedClusterStore

NewMockEmbeddedClusterStore creates a new mock instance.

func (*MockEmbeddedClusterStore) EXPECT added in v1.103.3

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

func (*MockEmbeddedClusterStore) GetEmbeddedClusterInstallCommandRoles added in v1.103.3

func (m *MockEmbeddedClusterStore) GetEmbeddedClusterInstallCommandRoles(token string) ([]string, error)

GetEmbeddedClusterInstallCommandRoles mocks base method.

func (*MockEmbeddedClusterStore) SetEmbeddedClusterInstallCommandRoles added in v1.103.3

func (m *MockEmbeddedClusterStore) SetEmbeddedClusterInstallCommandRoles(roles []string) (string, error)

SetEmbeddedClusterInstallCommandRoles mocks base method.

type MockEmbeddedClusterStoreMockRecorder added in v1.103.3

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

MockEmbeddedClusterStoreMockRecorder is the mock recorder for MockEmbeddedClusterStore.

func (*MockEmbeddedClusterStoreMockRecorder) GetEmbeddedClusterInstallCommandRoles added in v1.103.3

func (mr *MockEmbeddedClusterStoreMockRecorder) GetEmbeddedClusterInstallCommandRoles(token interface{}) *gomock.Call

GetEmbeddedClusterInstallCommandRoles indicates an expected call of GetEmbeddedClusterInstallCommandRoles.

func (*MockEmbeddedClusterStoreMockRecorder) SetEmbeddedClusterInstallCommandRoles added in v1.103.3

func (mr *MockEmbeddedClusterStoreMockRecorder) SetEmbeddedClusterInstallCommandRoles(roles interface{}) *gomock.Call

SetEmbeddedClusterInstallCommandRoles indicates an expected call of SetEmbeddedClusterInstallCommandRoles.

type MockEmbeddedStore

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

MockEmbeddedStore is a mock of EmbeddedStore interface.

func NewMockEmbeddedStore

func NewMockEmbeddedStore(ctrl *gomock.Controller) *MockEmbeddedStore

NewMockEmbeddedStore creates a new mock instance.

func (*MockEmbeddedStore) EXPECT

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

func (*MockEmbeddedStore) GetEmbeddedClusterAuthToken

func (m *MockEmbeddedStore) GetEmbeddedClusterAuthToken() (string, error)

GetEmbeddedClusterAuthToken mocks base method.

func (*MockEmbeddedStore) SetEmbeddedClusterAuthToken

func (m *MockEmbeddedStore) SetEmbeddedClusterAuthToken(token string) error

SetEmbeddedClusterAuthToken mocks base method.

type MockEmbeddedStoreMockRecorder

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

MockEmbeddedStoreMockRecorder is the mock recorder for MockEmbeddedStore.

func (*MockEmbeddedStoreMockRecorder) GetEmbeddedClusterAuthToken

func (mr *MockEmbeddedStoreMockRecorder) GetEmbeddedClusterAuthToken() *gomock.Call

GetEmbeddedClusterAuthToken indicates an expected call of GetEmbeddedClusterAuthToken.

func (*MockEmbeddedStoreMockRecorder) SetEmbeddedClusterAuthToken

func (mr *MockEmbeddedStoreMockRecorder) SetEmbeddedClusterAuthToken(token interface{}) *gomock.Call

SetEmbeddedClusterAuthToken indicates an expected call of SetEmbeddedClusterAuthToken.

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() ([]*v1beta10.License, error)

GetAllAppLicenses mocks base method.

func (*MockLicenseStore) GetLatestLicenseForApp

func (m *MockLicenseStore) GetLatestLicenseForApp(appID string) (*v1beta10.License, error)

GetLatestLicenseForApp mocks base method.

func (*MockLicenseStore) GetLicenseForAppVersion

func (m *MockLicenseStore) GetLicenseForAppVersion(appID string, sequence int64) (*v1beta10.License, error)

GetLicenseForAppVersion mocks base method.

func (*MockLicenseStore) UpdateAppLicense

func (m *MockLicenseStore) UpdateAppLicense(appID string, sequence int64, archiveDir string, newLicense *v1beta10.License, originalLicenseData string, channelChanged, failOnVersionCreate bool, renderer types9.Renderer, reportingInfo *types1.ReportingInfo) (int64, error)

UpdateAppLicense mocks base method.

func (*MockLicenseStore) UpdateAppLicenseSyncNow

func (m *MockLicenseStore) UpdateAppLicenseSyncNow(appID string) error

UpdateAppLicenseSyncNow 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, channelChanged, failOnVersionCreate, renderer, reportingInfo interface{}) *gomock.Call

UpdateAppLicense indicates an expected call of UpdateAppLicense.

func (*MockLicenseStoreMockRecorder) UpdateAppLicenseSyncNow

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

UpdateAppLicenseSyncNow indicates an expected call of UpdateAppLicenseSyncNow.

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) GetPreflightProgress

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

GetPreflightProgress mocks base method.

func (*MockPreflightStore) GetPreflightResults

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

GetPreflightResults mocks base method.

func (*MockPreflightStore) ResetPreflightResults

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

ResetPreflightResults mocks base method.

func (*MockPreflightStore) SetIgnorePreflightPermissionErrors

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

SetIgnorePreflightPermissionErrors mocks base method.

func (*MockPreflightStore) SetPreflightProgress

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

SetPreflightProgress mocks base method.

func (*MockPreflightStore) SetPreflightResults

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

SetPreflightResults mocks base method.

type MockPreflightStoreMockRecorder

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

MockPreflightStoreMockRecorder is the mock recorder for MockPreflightStore.

func (*MockPreflightStoreMockRecorder) GetPreflightProgress

func (mr *MockPreflightStoreMockRecorder) GetPreflightProgress(appID, sequence interface{}) *gomock.Call

GetPreflightProgress indicates an expected call of GetPreflightProgress.

func (*MockPreflightStoreMockRecorder) GetPreflightResults

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

GetPreflightResults indicates an expected call of GetPreflightResults.

func (*MockPreflightStoreMockRecorder) ResetPreflightResults

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

ResetPreflightResults indicates an expected call of ResetPreflightResults.

func (*MockPreflightStoreMockRecorder) SetIgnorePreflightPermissionErrors

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

SetIgnorePreflightPermissionErrors indicates an expected call of SetIgnorePreflightPermissionErrors.

func (*MockPreflightStoreMockRecorder) SetPreflightProgress

func (mr *MockPreflightStoreMockRecorder) SetPreflightProgress(appID, sequence, progress interface{}) *gomock.Call

SetPreflightProgress indicates an expected call of SetPreflightProgress.

func (*MockPreflightStoreMockRecorder) SetPreflightResults

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

SetPreflightResults indicates an expected call of SetPreflightResults.

type MockPrometheusStore

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

MockPrometheusStore is a mock of PrometheusStore interface.

func NewMockPrometheusStore

func NewMockPrometheusStore(ctrl *gomock.Controller) *MockPrometheusStore

NewMockPrometheusStore creates a new mock instance.

func (*MockPrometheusStore) EXPECT

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) GetAppIDsFromRegistry

func (m *MockRegistryStore) GetAppIDsFromRegistry(hostname string) ([]string, error)

GetAppIDsFromRegistry mocks base method.

func (*MockRegistryStore) GetRegistryDetailsForApp

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

GetRegistryDetailsForApp mocks base method.

func (*MockRegistryStore) UpdateRegistry

func (m *MockRegistryStore) UpdateRegistry(appID, hostname, username, password, namespace string, isReadOnly bool) error

UpdateRegistry mocks base method.

type MockRegistryStoreMockRecorder

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

MockRegistryStoreMockRecorder is the mock recorder for MockRegistryStore.

func (*MockRegistryStoreMockRecorder) GetAppIDsFromRegistry

func (mr *MockRegistryStoreMockRecorder) GetAppIDsFromRegistry(hostname interface{}) *gomock.Call

GetAppIDsFromRegistry indicates an expected call of GetAppIDsFromRegistry.

func (*MockRegistryStoreMockRecorder) GetRegistryDetailsForApp

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

GetRegistryDetailsForApp indicates an expected call of GetRegistryDetailsForApp.

func (*MockRegistryStoreMockRecorder) UpdateRegistry

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

UpdateRegistry indicates an expected call of UpdateRegistry.

type MockSessionStore

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

MockSessionStore is a mock of SessionStore interface.

func NewMockSessionStore

func NewMockSessionStore(ctrl *gomock.Controller) *MockSessionStore

NewMockSessionStore creates a new mock instance.

func (*MockSessionStore) CreateSession

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

CreateSession mocks base method.

func (*MockSessionStore) DeleteExpiredSessions

func (m *MockSessionStore) DeleteExpiredSessions() error

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

func (*MockSessionStore) UpdateSessionExpiresAt

func (m *MockSessionStore) UpdateSessionExpiresAt(sessionID string, expiresAt time.Time) error

UpdateSessionExpiresAt 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) DeleteExpiredSessions

func (mr *MockSessionStoreMockRecorder) DeleteExpiredSessions() *gomock.Call

DeleteExpiredSessions indicates an expected call of DeleteExpiredSessions.

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.

func (*MockSessionStoreMockRecorder) UpdateSessionExpiresAt

func (mr *MockSessionStoreMockRecorder) UpdateSessionExpiresAt(sessionID, expiresAt interface{}) *gomock.Call

UpdateSessionExpiresAt indicates an expected call of UpdateSessionExpiresAt.

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) ([]types5.ScheduledInstanceSnapshot, error)

ListPendingScheduledInstanceSnapshots mocks base method.

func (*MockSnapshotStore) ListPendingScheduledSnapshots

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

ListPendingScheduledSnapshots mocks base method.

func (*MockSnapshotStore) UpdateScheduledInstanceSnapshot

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

UpdateScheduledInstanceSnapshot mocks base method.

func (*MockSnapshotStore) UpdateScheduledSnapshot

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

UpdateScheduledSnapshot mocks base method.

type MockSnapshotStoreMockRecorder

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

MockSnapshotStoreMockRecorder is the mock recorder for MockSnapshotStore.

func (*MockSnapshotStoreMockRecorder) CreateScheduledInstanceSnapshot

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

CreateScheduledInstanceSnapshot indicates an expected call of CreateScheduledInstanceSnapshot.

func (*MockSnapshotStoreMockRecorder) CreateScheduledSnapshot

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

CreateScheduledSnapshot indicates an expected call of CreateScheduledSnapshot.

func (*MockSnapshotStoreMockRecorder) DeletePendingScheduledInstanceSnapshots

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

DeletePendingScheduledInstanceSnapshots indicates an expected call of DeletePendingScheduledInstanceSnapshots.

func (*MockSnapshotStoreMockRecorder) DeletePendingScheduledSnapshots

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

DeletePendingScheduledSnapshots indicates an expected call of DeletePendingScheduledSnapshots.

func (*MockSnapshotStoreMockRecorder) ListPendingScheduledInstanceSnapshots

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

ListPendingScheduledInstanceSnapshots indicates an expected call of ListPendingScheduledInstanceSnapshots.

func (*MockSnapshotStoreMockRecorder) ListPendingScheduledSnapshots

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

ListPendingScheduledSnapshots indicates an expected call of ListPendingScheduledSnapshots.

func (*MockSnapshotStoreMockRecorder) UpdateScheduledInstanceSnapshot

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

UpdateScheduledInstanceSnapshot indicates an expected call of UpdateScheduledInstanceSnapshot.

func (*MockSnapshotStoreMockRecorder) UpdateScheduledSnapshot

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

UpdateScheduledSnapshot indicates an expected call of UpdateScheduledSnapshot.

type MockStore

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

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) AddAppToAllDownstreams

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

AddAppToAllDownstreams mocks base method.

func (*MockStore) AddDownstreamVersionDetails

func (m *MockStore) AddDownstreamVersionDetails(appID, clusterID string, version *types0.DownstreamVersion, checkIfDeployable bool) error

AddDownstreamVersionDetails mocks base method.

func (*MockStore) AddDownstreamVersionsDetails

func (m *MockStore) AddDownstreamVersionsDetails(appID, clusterID string, versions []*types0.DownstreamVersion, checkIfDeployable bool) error

AddDownstreamVersionsDetails mocks base method.

func (*MockStore) CreateApp

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

CreateApp mocks base method.

func (*MockStore) CreateAppVersion

func (m *MockStore) CreateAppVersion(appID string, baseSequence *int64, filesInDir, source string, skipPreflights bool, renderer types9.Renderer) (int64, error)

CreateAppVersion mocks base method.

func (*MockStore) CreateInProgressSupportBundle

func (m *MockStore) CreateInProgressSupportBundle(supportBundle *types12.SupportBundle) error

CreateInProgressSupportBundle mocks base method.

func (*MockStore) CreateInitialBranding added in v1.86.2

func (m *MockStore) CreateInitialBranding(brandingArchive []byte) (string, error)

CreateInitialBranding 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) CreatePendingDownloadAppVersion

func (m *MockStore) CreatePendingDownloadAppVersion(appID string, update types13.Update, kotsApplication *v1beta10.Application, license *v1beta10.License) (int64, error)

CreatePendingDownloadAppVersion 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 *types14.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) (*types12.SupportBundle, error)

CreateSupportBundle mocks base method.

func (*MockStore) DeleteDownstreamDeployStatus

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

DeleteDownstreamDeployStatus mocks base method.

func (*MockStore) DeleteExpiredSessions

func (m *MockStore) DeleteExpiredSessions() error

DeleteExpiredSessions 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) DeleteSession

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

DeleteSession mocks base method.

func (*MockStore) DeleteSupportBundle added in v1.93.0

func (m *MockStore) DeleteSupportBundle(bundleID, appID string) error

DeleteSupportBundle 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) FindDownstreamVersions

func (m *MockStore) FindDownstreamVersions(appID string, downloadedOnly bool) (*types0.DownstreamVersions, error)

FindDownstreamVersions mocks base method.

func (*MockStore) FlagInvalidPassword

func (m *MockStore) FlagInvalidPassword() error

FlagInvalidPassword mocks base method.

func (*MockStore) FlagSuccessfulLogin

func (m *MockStore) FlagSuccessfulLogin() error

FlagSuccessfulLogin mocks base method.

func (*MockStore) GetAirgapInstallStatus

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

GetAirgapInstallStatus mocks base method.

func (*MockStore) GetAllAppLicenses

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

GetAllAppLicenses mocks base method.

func (*MockStore) GetApp

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

GetApp mocks base method.

func (*MockStore) GetAppFromSlug

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

GetAppFromSlug mocks base method.

func (*MockStore) GetAppIDFromSlug

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

GetAppIDFromSlug mocks base method.

func (*MockStore) GetAppIDsFromRegistry

func (m *MockStore) GetAppIDsFromRegistry(hostname string) ([]string, error)

GetAppIDsFromRegistry mocks base method.

func (*MockStore) GetAppStatus

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

GetAppStatus mocks base method.

func (*MockStore) GetAppVersion

func (m *MockStore) GetAppVersion(appID string, sequence int64) (*types2.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) GetAppVersionBaseArchive

func (m *MockStore) GetAppVersionBaseArchive(appID, versionLabel string) (string, int64, error)

GetAppVersionBaseArchive mocks base method.

func (*MockStore) GetAppVersionBaseSequence

func (m *MockStore) GetAppVersionBaseSequence(appID, versionLabel string) (int64, error)

GetAppVersionBaseSequence 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) GetCurrentDownstreamSequence

func (m *MockStore) GetCurrentDownstreamSequence(appID, clusterID string) (int64, error)

GetCurrentDownstreamSequence mocks base method.

func (*MockStore) GetCurrentDownstreamVersion

func (m *MockStore) GetCurrentDownstreamVersion(appID, clusterID string) (*types0.DownstreamVersion, error)

GetCurrentDownstreamVersion mocks base method.

func (*MockStore) GetCurrentParentSequence

func (m *MockStore) GetCurrentParentSequence(appID, clusterID string) (int64, error)

GetCurrentParentSequence mocks base method.

func (*MockStore) GetCurrentUpdateCursor

func (m *MockStore) GetCurrentUpdateCursor(appID, channelID string) (string, error)

GetCurrentUpdateCursor mocks base method.

func (*MockStore) GetDownstream

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

GetDownstream mocks base method.

func (*MockStore) GetDownstreamOutput

func (m *MockStore) GetDownstreamOutput(appID, clusterID string, sequence int64) (*types0.DownstreamOutput, error)

GetDownstreamOutput mocks base method.

func (*MockStore) GetDownstreamVersionHistory

func (m *MockStore) GetDownstreamVersionHistory(appID, clusterID string, currentPage, pageSize int, pinLatest, pinLatestDeployable bool) (*types0.DownstreamVersionHistory, error)

GetDownstreamVersionHistory mocks base method.

func (*MockStore) GetDownstreamVersionSource

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

GetDownstreamVersionSource mocks base method.

func (*MockStore) GetDownstreamVersionStatus

func (m *MockStore) GetDownstreamVersionStatus(appID string, sequence int64) (types11.DownstreamVersionStatus, error)

GetDownstreamVersionStatus mocks base method.

func (*MockStore) GetDownstreamVersions

func (m *MockStore) GetDownstreamVersions(appID, clusterID string, downloadedOnly bool) (*types0.DownstreamVersions, error)

GetDownstreamVersions mocks base method.

func (*MockStore) GetEmbeddedClusterAuthToken

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

GetEmbeddedClusterAuthToken mocks base method.

func (*MockStore) GetEmbeddedClusterConfigForVersion added in v1.107.0

func (m *MockStore) GetEmbeddedClusterConfigForVersion(appID string, sequence int64) (*v1beta1.Config, error)

GetEmbeddedClusterConfigForVersion mocks base method.

func (*MockStore) GetEmbeddedClusterInstallCommandRoles added in v1.103.3

func (m *MockStore) GetEmbeddedClusterInstallCommandRoles(token string) ([]string, error)

GetEmbeddedClusterInstallCommandRoles mocks base method.

func (*MockStore) GetIgnoreRBACErrors

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

GetIgnoreRBACErrors mocks base method.

func (*MockStore) GetInitialBranding added in v1.86.2

func (m *MockStore) GetInitialBranding() ([]byte, error)

GetInitialBranding mocks base method.

func (*MockStore) GetLatestAppSequence

func (m *MockStore) GetLatestAppSequence(appID string, downloadedOnly bool) (int64, error)

GetLatestAppSequence mocks base method.

func (*MockStore) GetLatestBranding added in v1.86.2

func (m *MockStore) GetLatestBranding() ([]byte, error)

GetLatestBranding mocks base method.

func (*MockStore) GetLatestBrandingForApp added in v1.86.2

func (m *MockStore) GetLatestBrandingForApp(appID string) ([]byte, error)

GetLatestBrandingForApp mocks base method.

func (*MockStore) GetLatestDeployableDownstreamVersion

func (m *MockStore) GetLatestDeployableDownstreamVersion(appID, clusterID string) (*types0.DownstreamVersion, int, int, error)

GetLatestDeployableDownstreamVersion mocks base method.

func (*MockStore) GetLatestLicenseForApp

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

GetLatestLicenseForApp mocks base method.

func (*MockStore) GetLicenseForAppVersion

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

GetLicenseForAppVersion mocks base method.

func (*MockStore) GetNextAppSequence

func (m *MockStore) GetNextAppSequence(appID string) (int64, error)

GetNextAppSequence mocks base method.

func (*MockStore) GetParentSequenceForSequence

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

GetParentSequenceForSequence mocks base method.

func (*MockStore) GetPasswordUpdatedAt

func (m *MockStore) GetPasswordUpdatedAt() (*time.Time, error)

GetPasswordUpdatedAt mocks base method.

func (*MockStore) GetPendingAirgapUploadApp

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

GetPendingAirgapUploadApp mocks base method.

func (*MockStore) GetPendingInstallationStatus

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

GetPendingInstallationStatus mocks base method.

func (*MockStore) GetPreflightProgress

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

GetPreflightProgress mocks base method.

func (*MockStore) GetPreflightResults

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

GetPreflightResults mocks base method.

func (*MockStore) GetPreviouslyDeployedSequence

func (m *MockStore) GetPreviouslyDeployedSequence(appID, clusterID string) (int64, error)

GetPreviouslyDeployedSequence 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) GetSession

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

GetSession mocks base method.

func (*MockStore) GetSharedPasswordBcrypt

func (m *MockStore) GetSharedPasswordBcrypt() ([]byte, error)

GetSharedPasswordBcrypt mocks base method.

func (*MockStore) GetStatusForVersion

func (m *MockStore) GetStatusForVersion(appID, clusterID string, sequence int64) (types11.DownstreamVersionStatus, error)

GetStatusForVersion mocks base method.

func (*MockStore) GetSupportBundle

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

GetSupportBundle mocks base method.

func (*MockStore) GetSupportBundleAnalysis

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

GetSupportBundleAnalysis mocks base method.

func (*MockStore) GetSupportBundleArchive

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

GetSupportBundleArchive mocks base method.

func (*MockStore) GetTargetKotsVersionForVersion

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

GetTargetKotsVersionForVersion mocks base method.

func (*MockStore) HasStrictPreflights

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

HasStrictPreflights mocks base method.

func (*MockStore) Init

func (m *MockStore) Init() error

Init mocks base method.

func (*MockStore) IsAppVersionDeployable

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

IsAppVersionDeployable mocks base method.

func (*MockStore) IsDownstreamDeploySuccessful

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

IsDownstreamDeploySuccessful 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 *types3.App, sequence int64, renderer types9.Renderer) (bool, error)

IsSnapshotsSupportedForVersion mocks base method.

func (*MockStore) ListAppsForDownstream

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

ListAppsForDownstream mocks base method.

func (*MockStore) ListClusters

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

ListClusters mocks base method.

func (*MockStore) ListDownstreamsForApp

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

ListDownstreamsForApp mocks base method.

func (*MockStore) ListFailedApps

func (m *MockStore) ListFailedApps() ([]*types3.App, error)

ListFailedApps mocks base method.

func (*MockStore) ListInstalledAppSlugs

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

ListInstalledAppSlugs mocks base method.

func (*MockStore) ListInstalledApps

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

ListInstalledApps mocks base method.

func (*MockStore) ListPendingScheduledInstanceSnapshots

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

ListPendingScheduledInstanceSnapshots mocks base method.

func (*MockStore) ListPendingScheduledSnapshots

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

ListPendingScheduledSnapshots mocks base method.

func (*MockStore) ListSupportBundles

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

ListSupportBundles mocks base method.

func (*MockStore) MarkAsCurrentDownstreamVersion

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

MarkAsCurrentDownstreamVersion 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) SetAppChannelChanged

func (m *MockStore) SetAppChannelChanged(appID string, channelChanged bool) error

SetAppChannelChanged 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) SetAppSelectedChannelID added in v1.113.0

func (m *MockStore) SetAppSelectedChannelID(appID, channelID string) error

SetAppSelectedChannelID mocks base method.

func (*MockStore) SetAppStatus

func (m *MockStore) SetAppStatus(appID string, resourceStates types4.ResourceStates, updatedAt time.Time, sequence int64) error

SetAppStatus mocks base method.

func (*MockStore) SetAutoDeploy

func (m *MockStore) SetAutoDeploy(appID string, autoDeploy types3.AutoDeploy) error

SetAutoDeploy mocks base method.

func (*MockStore) SetDownstreamVersionStatus

func (m *MockStore) SetDownstreamVersionStatus(appID string, sequence int64, status types11.DownstreamVersionStatus, statusInfo string) error

SetDownstreamVersionStatus mocks base method.

func (*MockStore) SetEmbeddedClusterAuthToken

func (m *MockStore) SetEmbeddedClusterAuthToken(token string) error

SetEmbeddedClusterAuthToken mocks base method.

func (*MockStore) SetEmbeddedClusterInstallCommandRoles added in v1.103.3

func (m *MockStore) SetEmbeddedClusterInstallCommandRoles(roles []string) (string, error)

SetEmbeddedClusterInstallCommandRoles 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) SetPreflightProgress

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

SetPreflightProgress 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) 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 *v1beta10.License, originalLicenseData string, channelChanged, failOnVersionCreate bool, renderer types9.Renderer, reportingInfo *types1.ReportingInfo) (int64, error)

UpdateAppLicense mocks base method.

func (*MockStore) UpdateAppLicenseSyncNow

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

UpdateAppLicenseSyncNow mocks base method.

func (*MockStore) UpdateAppVersion

func (m *MockStore) UpdateAppVersion(appID string, sequence int64, baseSequence *int64, filesInDir, source string, skipPreflights bool, renderer types9.Renderer) error

UpdateAppVersion mocks base method.

func (*MockStore) UpdateDownstreamDeployStatus

func (m *MockStore) UpdateDownstreamDeployStatus(appID, clusterID string, sequence int64, isError bool, output types0.DownstreamOutput) error

UpdateDownstreamDeployStatus mocks base method.

func (*MockStore) UpdateNextAppVersionDiffSummary

func (m *MockStore) UpdateNextAppVersionDiffSummary(appID string, baseSequence int64) error

UpdateNextAppVersionDiffSummary mocks base method.

func (*MockStore) UpdateRegistry

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

UpdateRegistry mocks base method.

func (*MockStore) UpdateScheduledInstanceSnapshot

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) UpdateSessionExpiresAt

func (m *MockStore) UpdateSessionExpiresAt(sessionID string, expiresAt time.Time) error

UpdateSessionExpiresAt mocks base method.

func (*MockStore) UpdateSupportBundle

func (m *MockStore) UpdateSupportBundle(bundle *types12.SupportBundle) error

UpdateSupportBundle mocks base method.

func (*MockStore) UploadSupportBundle

func (m *MockStore) UploadSupportBundle(bundleID, archivePath string, marshalledTree []byte) error

UploadSupportBundle 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) AddDownstreamVersionDetails

func (mr *MockStoreMockRecorder) AddDownstreamVersionDetails(appID, clusterID, version, checkIfDeployable interface{}) *gomock.Call

AddDownstreamVersionDetails indicates an expected call of AddDownstreamVersionDetails.

func (*MockStoreMockRecorder) AddDownstreamVersionsDetails

func (mr *MockStoreMockRecorder) AddDownstreamVersionsDetails(appID, clusterID, versions, checkIfDeployable interface{}) *gomock.Call

AddDownstreamVersionsDetails indicates an expected call of AddDownstreamVersionsDetails.

func (*MockStoreMockRecorder) CreateApp

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

CreateApp indicates an expected call of CreateApp.

func (*MockStoreMockRecorder) CreateAppVersion

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

CreateAppVersion indicates an expected call of CreateAppVersion.

func (*MockStoreMockRecorder) CreateInProgressSupportBundle

func (mr *MockStoreMockRecorder) CreateInProgressSupportBundle(supportBundle interface{}) *gomock.Call

CreateInProgressSupportBundle indicates an expected call of CreateInProgressSupportBundle.

func (*MockStoreMockRecorder) CreateInitialBranding added in v1.86.2

func (mr *MockStoreMockRecorder) CreateInitialBranding(brandingArchive interface{}) *gomock.Call

CreateInitialBranding indicates an expected call of CreateInitialBranding.

func (*MockStoreMockRecorder) CreateNewCluster

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

CreateNewCluster indicates an expected call of CreateNewCluster.

func (*MockStoreMockRecorder) CreatePendingDownloadAppVersion

func (mr *MockStoreMockRecorder) CreatePendingDownloadAppVersion(appID, update, kotsApplication, license interface{}) *gomock.Call

CreatePendingDownloadAppVersion indicates an expected call of CreatePendingDownloadAppVersion.

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) DeleteDownstreamDeployStatus

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

DeleteDownstreamDeployStatus indicates an expected call of DeleteDownstreamDeployStatus.

func (*MockStoreMockRecorder) DeleteExpiredSessions

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

DeleteExpiredSessions indicates an expected call of DeleteExpiredSessions.

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) DeleteSession

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

DeleteSession indicates an expected call of DeleteSession.

func (*MockStoreMockRecorder) DeleteSupportBundle added in v1.93.0

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

DeleteSupportBundle indicates an expected call of DeleteSupportBundle.

func (*MockStoreMockRecorder) FindDownstreamVersions

func (mr *MockStoreMockRecorder) FindDownstreamVersions(appID, downloadedOnly interface{}) *gomock.Call

FindDownstreamVersions indicates an expected call of FindDownstreamVersions.

func (*MockStoreMockRecorder) FlagInvalidPassword

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

FlagInvalidPassword indicates an expected call of FlagInvalidPassword.

func (*MockStoreMockRecorder) FlagSuccessfulLogin

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

FlagSuccessfulLogin indicates an expected call of FlagSuccessfulLogin.

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) GetAppIDsFromRegistry

func (mr *MockStoreMockRecorder) GetAppIDsFromRegistry(hostname interface{}) *gomock.Call

GetAppIDsFromRegistry indicates an expected call of GetAppIDsFromRegistry.

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(appID, sequence 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) GetAppVersionBaseArchive

func (mr *MockStoreMockRecorder) GetAppVersionBaseArchive(appID, versionLabel interface{}) *gomock.Call

GetAppVersionBaseArchive indicates an expected call of GetAppVersionBaseArchive.

func (*MockStoreMockRecorder) GetAppVersionBaseSequence

func (mr *MockStoreMockRecorder) GetAppVersionBaseSequence(appID, versionLabel interface{}) *gomock.Call

GetAppVersionBaseSequence indicates an expected call of GetAppVersionBaseSequence.

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) GetCurrentDownstreamSequence

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

GetCurrentDownstreamSequence indicates an expected call of GetCurrentDownstreamSequence.

func (*MockStoreMockRecorder) GetCurrentDownstreamVersion

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

GetCurrentDownstreamVersion indicates an expected call of GetCurrentDownstreamVersion.

func (*MockStoreMockRecorder) GetCurrentParentSequence

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

GetCurrentParentSequence indicates an expected call of GetCurrentParentSequence.

func (*MockStoreMockRecorder) GetCurrentUpdateCursor

func (mr *MockStoreMockRecorder) GetCurrentUpdateCursor(appID, channelID interface{}) *gomock.Call

GetCurrentUpdateCursor indicates an expected call of GetCurrentUpdateCursor.

func (*MockStoreMockRecorder) GetDownstream

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

GetDownstream indicates an expected call of GetDownstream.

func (*MockStoreMockRecorder) GetDownstreamOutput

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

GetDownstreamOutput indicates an expected call of GetDownstreamOutput.

func (*MockStoreMockRecorder) GetDownstreamVersionHistory

func (mr *MockStoreMockRecorder) GetDownstreamVersionHistory(appID, clusterID, currentPage, pageSize, pinLatest, pinLatestDeployable interface{}) *gomock.Call

GetDownstreamVersionHistory indicates an expected call of GetDownstreamVersionHistory.

func (*MockStoreMockRecorder) GetDownstreamVersionSource

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

GetDownstreamVersionSource indicates an expected call of GetDownstreamVersionSource.

func (*MockStoreMockRecorder) GetDownstreamVersionStatus

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

GetDownstreamVersionStatus indicates an expected call of GetDownstreamVersionStatus.

func (*MockStoreMockRecorder) GetDownstreamVersions

func (mr *MockStoreMockRecorder) GetDownstreamVersions(appID, clusterID, downloadedOnly interface{}) *gomock.Call

GetDownstreamVersions indicates an expected call of GetDownstreamVersions.

func (*MockStoreMockRecorder) GetEmbeddedClusterAuthToken

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

GetEmbeddedClusterAuthToken indicates an expected call of GetEmbeddedClusterAuthToken.

func (*MockStoreMockRecorder) GetEmbeddedClusterConfigForVersion added in v1.107.0

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

GetEmbeddedClusterConfigForVersion indicates an expected call of GetEmbeddedClusterConfigForVersion.

func (*MockStoreMockRecorder) GetEmbeddedClusterInstallCommandRoles added in v1.103.3

func (mr *MockStoreMockRecorder) GetEmbeddedClusterInstallCommandRoles(token interface{}) *gomock.Call

GetEmbeddedClusterInstallCommandRoles indicates an expected call of GetEmbeddedClusterInstallCommandRoles.

func (*MockStoreMockRecorder) GetIgnoreRBACErrors

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

GetIgnoreRBACErrors indicates an expected call of GetIgnoreRBACErrors.

func (*MockStoreMockRecorder) GetInitialBranding added in v1.86.2

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

GetInitialBranding indicates an expected call of GetInitialBranding.

func (*MockStoreMockRecorder) GetLatestAppSequence

func (mr *MockStoreMockRecorder) GetLatestAppSequence(appID, downloadedOnly interface{}) *gomock.Call

GetLatestAppSequence indicates an expected call of GetLatestAppSequence.

func (*MockStoreMockRecorder) GetLatestBranding added in v1.86.2

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

GetLatestBranding indicates an expected call of GetLatestBranding.

func (*MockStoreMockRecorder) GetLatestBrandingForApp added in v1.86.2

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

GetLatestBrandingForApp indicates an expected call of GetLatestBrandingForApp.

func (*MockStoreMockRecorder) GetLatestDeployableDownstreamVersion

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

GetLatestDeployableDownstreamVersion indicates an expected call of GetLatestDeployableDownstreamVersion.

func (*MockStoreMockRecorder) GetLatestLicenseForApp

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

GetLatestLicenseForApp indicates an expected call of GetLatestLicenseForApp.

func (*MockStoreMockRecorder) GetLicenseForAppVersion

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

GetLicenseForAppVersion indicates an expected call of GetLicenseForAppVersion.

func (*MockStoreMockRecorder) GetNextAppSequence

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

GetNextAppSequence indicates an expected call of GetNextAppSequence.

func (*MockStoreMockRecorder) GetParentSequenceForSequence

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

GetParentSequenceForSequence indicates an expected call of GetParentSequenceForSequence.

func (*MockStoreMockRecorder) GetPasswordUpdatedAt

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

GetPasswordUpdatedAt indicates an expected call of GetPasswordUpdatedAt.

func (*MockStoreMockRecorder) GetPendingAirgapUploadApp

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

GetPendingAirgapUploadApp indicates an expected call of GetPendingAirgapUploadApp.

func (*MockStoreMockRecorder) GetPendingInstallationStatus

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

GetPendingInstallationStatus indicates an expected call of GetPendingInstallationStatus.

func (*MockStoreMockRecorder) GetPreflightProgress

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

GetPreflightProgress indicates an expected call of GetPreflightProgress.

func (*MockStoreMockRecorder) GetPreflightResults

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

GetPreflightResults indicates an expected call of GetPreflightResults.

func (*MockStoreMockRecorder) GetPreviouslyDeployedSequence

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

GetPreviouslyDeployedSequence indicates an expected call of GetPreviouslyDeployedSequence.

func (*MockStoreMockRecorder) GetPrometheusAddress

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

GetPrometheusAddress indicates an expected call of GetPrometheusAddress.

func (*MockStoreMockRecorder) GetRedactions

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

GetRedactions indicates an expected call of GetRedactions.

func (*MockStoreMockRecorder) GetRegistryDetailsForApp

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

GetRegistryDetailsForApp indicates an expected call of GetRegistryDetailsForApp.

func (*MockStoreMockRecorder) GetSession

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

GetSession indicates an expected call of GetSession.

func (*MockStoreMockRecorder) GetSharedPasswordBcrypt

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

GetSharedPasswordBcrypt indicates an expected call of GetSharedPasswordBcrypt.

func (*MockStoreMockRecorder) GetStatusForVersion

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

GetStatusForVersion indicates an expected call of GetStatusForVersion.

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) GetTargetKotsVersionForVersion

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

GetTargetKotsVersionForVersion indicates an expected call of GetTargetKotsVersionForVersion.

func (*MockStoreMockRecorder) HasStrictPreflights

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

HasStrictPreflights indicates an expected call of HasStrictPreflights.

func (*MockStoreMockRecorder) Init

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

Init indicates an expected call of Init.

func (*MockStoreMockRecorder) IsAppVersionDeployable

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

IsAppVersionDeployable indicates an expected call of IsAppVersionDeployable.

func (*MockStoreMockRecorder) IsDownstreamDeploySuccessful

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

IsDownstreamDeploySuccessful indicates an expected call of IsDownstreamDeploySuccessful.

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) ListFailedApps

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

ListFailedApps indicates an expected call of ListFailedApps.

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) ListSupportBundles

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

ListSupportBundles indicates an expected call of ListSupportBundles.

func (*MockStoreMockRecorder) MarkAsCurrentDownstreamVersion

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

MarkAsCurrentDownstreamVersion indicates an expected call of MarkAsCurrentDownstreamVersion.

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) SetAppChannelChanged

func (mr *MockStoreMockRecorder) SetAppChannelChanged(appID, channelChanged interface{}) *gomock.Call

SetAppChannelChanged indicates an expected call of SetAppChannelChanged.

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) SetAppSelectedChannelID added in v1.113.0

func (mr *MockStoreMockRecorder) SetAppSelectedChannelID(appID, channelID interface{}) *gomock.Call

SetAppSelectedChannelID indicates an expected call of SetAppSelectedChannelID.

func (*MockStoreMockRecorder) SetAppStatus

func (mr *MockStoreMockRecorder) SetAppStatus(appID, resourceStates, updatedAt, sequence interface{}) *gomock.Call

SetAppStatus indicates an expected call of SetAppStatus.

func (*MockStoreMockRecorder) SetAutoDeploy

func (mr *MockStoreMockRecorder) SetAutoDeploy(appID, autoDeploy interface{}) *gomock.Call

SetAutoDeploy indicates an expected call of SetAutoDeploy.

func (*MockStoreMockRecorder) SetDownstreamVersionStatus

func (mr *MockStoreMockRecorder) SetDownstreamVersionStatus(appID, sequence, status, statusInfo interface{}) *gomock.Call

SetDownstreamVersionStatus indicates an expected call of SetDownstreamVersionStatus.

func (*MockStoreMockRecorder) SetEmbeddedClusterAuthToken

func (mr *MockStoreMockRecorder) SetEmbeddedClusterAuthToken(token interface{}) *gomock.Call

SetEmbeddedClusterAuthToken indicates an expected call of SetEmbeddedClusterAuthToken.

func (*MockStoreMockRecorder) SetEmbeddedClusterInstallCommandRoles added in v1.103.3

func (mr *MockStoreMockRecorder) SetEmbeddedClusterInstallCommandRoles(roles interface{}) *gomock.Call

SetEmbeddedClusterInstallCommandRoles indicates an expected call of SetEmbeddedClusterInstallCommandRoles.

func (*MockStoreMockRecorder) SetIgnorePreflightPermissionErrors

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

SetIgnorePreflightPermissionErrors indicates an expected call of SetIgnorePreflightPermissionErrors.

func (*MockStoreMockRecorder) SetInstanceSnapshotSchedule

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

SetInstanceSnapshotSchedule indicates an expected call of SetInstanceSnapshotSchedule.

func (*MockStoreMockRecorder) SetInstanceSnapshotTTL

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

SetInstanceSnapshotTTL indicates an expected call of SetInstanceSnapshotTTL.

func (*MockStoreMockRecorder) SetIsKotsadmIDGenerated

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

SetIsKotsadmIDGenerated indicates an expected call of SetIsKotsadmIDGenerated.

func (*MockStoreMockRecorder) SetPreflightProgress

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

SetPreflightProgress indicates an expected call of SetPreflightProgress.

func (*MockStoreMockRecorder) SetPreflightResults

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

SetPreflightResults indicates an expected call of SetPreflightResults.

func (*MockStoreMockRecorder) SetPrometheusAddress

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

SetPrometheusAddress indicates an expected call of SetPrometheusAddress.

func (*MockStoreMockRecorder) SetRedactions

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

SetRedactions indicates an expected call of SetRedactions.

func (*MockStoreMockRecorder) SetSnapshotSchedule

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

SetSnapshotSchedule indicates an expected call of SetSnapshotSchedule.

func (*MockStoreMockRecorder) SetSnapshotTTL

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

SetSnapshotTTL indicates an expected call of SetSnapshotTTL.

func (*MockStoreMockRecorder) SetSupportBundleAnalysis

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

SetSupportBundleAnalysis indicates an expected call of SetSupportBundleAnalysis.

func (*MockStoreMockRecorder) 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, channelChanged, failOnVersionCreate, renderer, reportingInfo interface{}) *gomock.Call

UpdateAppLicense indicates an expected call of UpdateAppLicense.

func (*MockStoreMockRecorder) UpdateAppLicenseSyncNow

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

UpdateAppLicenseSyncNow indicates an expected call of UpdateAppLicenseSyncNow.

func (*MockStoreMockRecorder) UpdateAppVersion

func (mr *MockStoreMockRecorder) UpdateAppVersion(appID, sequence, baseSequence, filesInDir, source, skipPreflights, renderer interface{}) *gomock.Call

UpdateAppVersion indicates an expected call of UpdateAppVersion.

func (*MockStoreMockRecorder) UpdateDownstreamDeployStatus

func (mr *MockStoreMockRecorder) UpdateDownstreamDeployStatus(appID, clusterID, sequence, isError, output interface{}) *gomock.Call

UpdateDownstreamDeployStatus indicates an expected call of UpdateDownstreamDeployStatus.

func (*MockStoreMockRecorder) UpdateNextAppVersionDiffSummary

func (mr *MockStoreMockRecorder) UpdateNextAppVersionDiffSummary(appID, baseSequence interface{}) *gomock.Call

UpdateNextAppVersionDiffSummary indicates an expected call of UpdateNextAppVersionDiffSummary.

func (*MockStoreMockRecorder) UpdateRegistry

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

UpdateRegistry indicates an expected call of UpdateRegistry.

func (*MockStoreMockRecorder) UpdateScheduledInstanceSnapshot

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

UpdateScheduledInstanceSnapshot indicates an expected call of UpdateScheduledInstanceSnapshot.

func (*MockStoreMockRecorder) UpdateScheduledSnapshot

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

UpdateScheduledSnapshot indicates an expected call of UpdateScheduledSnapshot.

func (*MockStoreMockRecorder) UpdateSessionExpiresAt

func (mr *MockStoreMockRecorder) UpdateSessionExpiresAt(sessionID, expiresAt interface{}) *gomock.Call

UpdateSessionExpiresAt indicates an expected call of UpdateSessionExpiresAt.

func (*MockStoreMockRecorder) UpdateSupportBundle

func (mr *MockStoreMockRecorder) UpdateSupportBundle(bundle interface{}) *gomock.Call

UpdateSupportBundle indicates an expected call of UpdateSupportBundle.

func (*MockStoreMockRecorder) UploadSupportBundle

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

UploadSupportBundle indicates an expected call of UploadSupportBundle.

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) CreateInProgressSupportBundle

func (m *MockSupportBundleStore) CreateInProgressSupportBundle(supportBundle *types12.SupportBundle) error

CreateInProgressSupportBundle mocks base method.

func (*MockSupportBundleStore) CreateSupportBundle

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

CreateSupportBundle mocks base method.

func (*MockSupportBundleStore) DeleteSupportBundle added in v1.93.0

func (m *MockSupportBundleStore) DeleteSupportBundle(bundleID, appID string) error

DeleteSupportBundle 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) (*types12.SupportBundle, error)

GetSupportBundle mocks base method.

func (*MockSupportBundleStore) GetSupportBundleAnalysis

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

GetSupportBundleAnalysis mocks base method.

func (*MockSupportBundleStore) GetSupportBundleArchive

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

GetSupportBundleArchive mocks base method.

func (*MockSupportBundleStore) ListSupportBundles

func (m *MockSupportBundleStore) ListSupportBundles(appID string) ([]*types12.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.

func (*MockSupportBundleStore) UpdateSupportBundle

func (m *MockSupportBundleStore) UpdateSupportBundle(bundle *types12.SupportBundle) error

UpdateSupportBundle mocks base method.

func (*MockSupportBundleStore) UploadSupportBundle

func (m *MockSupportBundleStore) UploadSupportBundle(bundleID, archivePath string, marshalledTree []byte) error

UploadSupportBundle mocks base method.

type MockSupportBundleStoreMockRecorder

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

MockSupportBundleStoreMockRecorder is the mock recorder for MockSupportBundleStore.

func (*MockSupportBundleStoreMockRecorder) CreateInProgressSupportBundle

func (mr *MockSupportBundleStoreMockRecorder) CreateInProgressSupportBundle(supportBundle interface{}) *gomock.Call

CreateInProgressSupportBundle indicates an expected call of CreateInProgressSupportBundle.

func (*MockSupportBundleStoreMockRecorder) CreateSupportBundle

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

CreateSupportBundle indicates an expected call of CreateSupportBundle.

func (*MockSupportBundleStoreMockRecorder) DeleteSupportBundle added in v1.93.0

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

DeleteSupportBundle indicates an expected call of DeleteSupportBundle.

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

func (*MockSupportBundleStoreMockRecorder) UpdateSupportBundle

func (mr *MockSupportBundleStoreMockRecorder) UpdateSupportBundle(bundle interface{}) *gomock.Call

UpdateSupportBundle indicates an expected call of UpdateSupportBundle.

func (*MockSupportBundleStoreMockRecorder) UploadSupportBundle

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

UploadSupportBundle indicates an expected call of UploadSupportBundle.

type MockUserStore

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

MockUserStore is a mock of UserStore interface.

func NewMockUserStore

func NewMockUserStore(ctrl *gomock.Controller) *MockUserStore

NewMockUserStore creates a new mock instance.

func (*MockUserStore) EXPECT

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

func (*MockUserStore) FlagInvalidPassword

func (m *MockUserStore) FlagInvalidPassword() error

FlagInvalidPassword mocks base method.

func (*MockUserStore) FlagSuccessfulLogin

func (m *MockUserStore) FlagSuccessfulLogin() error

FlagSuccessfulLogin mocks base method.

func (*MockUserStore) GetPasswordUpdatedAt

func (m *MockUserStore) GetPasswordUpdatedAt() (*time.Time, error)

GetPasswordUpdatedAt mocks base method.

func (*MockUserStore) GetSharedPasswordBcrypt

func (m *MockUserStore) GetSharedPasswordBcrypt() ([]byte, error)

GetSharedPasswordBcrypt mocks base method.

type MockUserStoreMockRecorder

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

MockUserStoreMockRecorder is the mock recorder for MockUserStore.

func (*MockUserStoreMockRecorder) FlagInvalidPassword

func (mr *MockUserStoreMockRecorder) FlagInvalidPassword() *gomock.Call

FlagInvalidPassword indicates an expected call of FlagInvalidPassword.

func (*MockUserStoreMockRecorder) FlagSuccessfulLogin

func (mr *MockUserStoreMockRecorder) FlagSuccessfulLogin() *gomock.Call

FlagSuccessfulLogin indicates an expected call of FlagSuccessfulLogin.

func (*MockUserStoreMockRecorder) GetPasswordUpdatedAt

func (mr *MockUserStoreMockRecorder) GetPasswordUpdatedAt() *gomock.Call

GetPasswordUpdatedAt indicates an expected call of GetPasswordUpdatedAt.

func (*MockUserStoreMockRecorder) GetSharedPasswordBcrypt

func (mr *MockUserStoreMockRecorder) GetSharedPasswordBcrypt() *gomock.Call

GetSharedPasswordBcrypt indicates an expected call of GetSharedPasswordBcrypt.

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, baseSequence *int64, filesInDir, source string, skipPreflights bool, renderer types9.Renderer) (int64, error)

CreateAppVersion mocks base method.

func (*MockVersionStore) CreatePendingDownloadAppVersion

func (m *MockVersionStore) CreatePendingDownloadAppVersion(appID string, update types13.Update, kotsApplication *v1beta10.Application, license *v1beta10.License) (int64, error)

CreatePendingDownloadAppVersion 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(appID string, sequence int64) (*types2.AppVersion, error)

GetAppVersion mocks base method.

func (*MockVersionStore) GetAppVersionArchive

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

GetAppVersionArchive mocks base method.

func (*MockVersionStore) GetAppVersionBaseArchive

func (m *MockVersionStore) GetAppVersionBaseArchive(appID, versionLabel string) (string, int64, error)

GetAppVersionBaseArchive mocks base method.

func (*MockVersionStore) GetAppVersionBaseSequence

func (m *MockVersionStore) GetAppVersionBaseSequence(appID, versionLabel string) (int64, error)

GetAppVersionBaseSequence mocks base method.

func (*MockVersionStore) GetCurrentUpdateCursor

func (m *MockVersionStore) GetCurrentUpdateCursor(appID, channelID string) (string, error)

GetCurrentUpdateCursor mocks base method.

func (*MockVersionStore) GetEmbeddedClusterConfigForVersion added in v1.107.0

func (m *MockVersionStore) GetEmbeddedClusterConfigForVersion(appID string, sequence int64) (*v1beta1.Config, error)

GetEmbeddedClusterConfigForVersion mocks base method.

func (*MockVersionStore) GetLatestAppSequence

func (m *MockVersionStore) GetLatestAppSequence(appID string, downloadedOnly bool) (int64, error)

GetLatestAppSequence mocks base method.

func (*MockVersionStore) GetNextAppSequence

func (m *MockVersionStore) GetNextAppSequence(appID string) (int64, error)

GetNextAppSequence mocks base method.

func (*MockVersionStore) GetTargetKotsVersionForVersion

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

GetTargetKotsVersionForVersion mocks base method.

func (*MockVersionStore) HasStrictPreflights

func (m *MockVersionStore) HasStrictPreflights(appID string, sequence int64) (bool, error)

HasStrictPreflights mocks base method.

func (*MockVersionStore) IsIdentityServiceSupportedForVersion

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

IsIdentityServiceSupportedForVersion mocks base method.

func (*MockVersionStore) IsRollbackSupportedForVersion

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

IsRollbackSupportedForVersion mocks base method.

func (*MockVersionStore) IsSnapshotsSupportedForVersion

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

IsSnapshotsSupportedForVersion mocks base method.

func (*MockVersionStore) UpdateAppVersion

func (m *MockVersionStore) UpdateAppVersion(appID string, sequence int64, baseSequence *int64, filesInDir, source string, skipPreflights bool, renderer types9.Renderer) error

UpdateAppVersion mocks base method.

func (*MockVersionStore) UpdateNextAppVersionDiffSummary

func (m *MockVersionStore) UpdateNextAppVersionDiffSummary(appID string, baseSequence int64) error

UpdateNextAppVersionDiffSummary 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, baseSequence, filesInDir, source, skipPreflights, renderer interface{}) *gomock.Call

CreateAppVersion indicates an expected call of CreateAppVersion.

func (*MockVersionStoreMockRecorder) CreatePendingDownloadAppVersion

func (mr *MockVersionStoreMockRecorder) CreatePendingDownloadAppVersion(appID, update, kotsApplication, license interface{}) *gomock.Call

CreatePendingDownloadAppVersion indicates an expected call of CreatePendingDownloadAppVersion.

func (*MockVersionStoreMockRecorder) GetAppVersion

func (mr *MockVersionStoreMockRecorder) GetAppVersion(appID, sequence 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) GetAppVersionBaseArchive

func (mr *MockVersionStoreMockRecorder) GetAppVersionBaseArchive(appID, versionLabel interface{}) *gomock.Call

GetAppVersionBaseArchive indicates an expected call of GetAppVersionBaseArchive.

func (*MockVersionStoreMockRecorder) GetAppVersionBaseSequence

func (mr *MockVersionStoreMockRecorder) GetAppVersionBaseSequence(appID, versionLabel interface{}) *gomock.Call

GetAppVersionBaseSequence indicates an expected call of GetAppVersionBaseSequence.

func (*MockVersionStoreMockRecorder) GetCurrentUpdateCursor

func (mr *MockVersionStoreMockRecorder) GetCurrentUpdateCursor(appID, channelID interface{}) *gomock.Call

GetCurrentUpdateCursor indicates an expected call of GetCurrentUpdateCursor.

func (*MockVersionStoreMockRecorder) GetEmbeddedClusterConfigForVersion added in v1.107.0

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

GetEmbeddedClusterConfigForVersion indicates an expected call of GetEmbeddedClusterConfigForVersion.

func (*MockVersionStoreMockRecorder) GetLatestAppSequence

func (mr *MockVersionStoreMockRecorder) GetLatestAppSequence(appID, downloadedOnly interface{}) *gomock.Call

GetLatestAppSequence indicates an expected call of GetLatestAppSequence.

func (*MockVersionStoreMockRecorder) GetNextAppSequence

func (mr *MockVersionStoreMockRecorder) GetNextAppSequence(appID interface{}) *gomock.Call

GetNextAppSequence indicates an expected call of GetNextAppSequence.

func (*MockVersionStoreMockRecorder) GetTargetKotsVersionForVersion

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

GetTargetKotsVersionForVersion indicates an expected call of GetTargetKotsVersionForVersion.

func (*MockVersionStoreMockRecorder) HasStrictPreflights

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

HasStrictPreflights indicates an expected call of HasStrictPreflights.

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.

func (*MockVersionStoreMockRecorder) UpdateAppVersion

func (mr *MockVersionStoreMockRecorder) UpdateAppVersion(appID, sequence, baseSequence, filesInDir, source, skipPreflights, renderer interface{}) *gomock.Call

UpdateAppVersion indicates an expected call of UpdateAppVersion.

func (*MockVersionStoreMockRecorder) UpdateNextAppVersionDiffSummary

func (mr *MockVersionStoreMockRecorder) UpdateNextAppVersionDiffSummary(appID, baseSequence interface{}) *gomock.Call

UpdateNextAppVersionDiffSummary indicates an expected call of UpdateNextAppVersionDiffSummary.

Jump to

Keyboard shortcuts

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