Documentation ¶
Overview ¶
Package datastoretest is a generated GoMock package.
Index ¶
- type MockApplicationStore
- func (m *MockApplicationStore) Add(arg0 context.Context, arg1 *model.Application) error
- func (m *MockApplicationStore) Delete(arg0 context.Context, arg1 string) error
- func (m *MockApplicationStore) Disable(arg0 context.Context, arg1 string) error
- func (m *MockApplicationStore) EXPECT() *MockApplicationStoreMockRecorder
- func (m *MockApplicationStore) Enable(arg0 context.Context, arg1 string) error
- func (m *MockApplicationStore) Get(arg0 context.Context, arg1 string) (*model.Application, error)
- func (m *MockApplicationStore) List(arg0 context.Context, arg1 datastore.ListOptions) ([]*model.Application, string, error)
- func (m *MockApplicationStore) UpdateBasicInfo(arg0 context.Context, arg1, arg2, arg3 string, arg4 map[string]string) error
- func (m *MockApplicationStore) UpdateConfigFilename(arg0 context.Context, arg1, arg2 string) error
- func (m *MockApplicationStore) UpdateConfiguration(arg0 context.Context, arg1, arg2, arg3, arg4 string) error
- func (m *MockApplicationStore) UpdateDeployingStatus(arg0 context.Context, arg1 string, arg2 bool) error
- func (m *MockApplicationStore) UpdateMostRecentDeployment(arg0 context.Context, arg1 string, arg2 model.DeploymentStatus, ...) error
- func (m *MockApplicationStore) UpdateSyncState(arg0 context.Context, arg1 string, arg2 *model.ApplicationSyncState) error
- type MockApplicationStoreMockRecorder
- func (mr *MockApplicationStoreMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplicationStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplicationStoreMockRecorder) Disable(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplicationStoreMockRecorder) Enable(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplicationStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplicationStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplicationStoreMockRecorder) UpdateBasicInfo(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockApplicationStoreMockRecorder) UpdateConfigFilename(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockApplicationStoreMockRecorder) UpdateConfiguration(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockApplicationStoreMockRecorder) UpdateDeployingStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockApplicationStoreMockRecorder) UpdateMostRecentDeployment(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockApplicationStoreMockRecorder) UpdateSyncState(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockCommandStore
- func (m *MockCommandStore) Add(arg0 context.Context, arg1 *model.Command) error
- func (m *MockCommandStore) EXPECT() *MockCommandStoreMockRecorder
- func (m *MockCommandStore) Get(arg0 context.Context, arg1 string) (*model.Command, error)
- func (m *MockCommandStore) List(arg0 context.Context, arg1 datastore.ListOptions) ([]*model.Command, error)
- func (m *MockCommandStore) UpdateStatus(arg0 context.Context, arg1 string, arg2 model.CommandStatus, ...) error
- type MockCommandStoreMockRecorder
- func (mr *MockCommandStoreMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCommandStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCommandStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCommandStoreMockRecorder) UpdateStatus(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- type MockDeploymentStore
- func (m *MockDeploymentStore) Add(arg0 context.Context, arg1 *model.Deployment) error
- func (m *MockDeploymentStore) EXPECT() *MockDeploymentStoreMockRecorder
- func (m *MockDeploymentStore) Get(arg0 context.Context, arg1 string) (*model.Deployment, error)
- func (m *MockDeploymentStore) List(arg0 context.Context, arg1 datastore.ListOptions) ([]*model.Deployment, string, error)
- func (m *MockDeploymentStore) UpdateMetadata(arg0 context.Context, arg1 string, arg2 map[string]string) error
- func (m *MockDeploymentStore) UpdateStageMetadata(arg0 context.Context, arg1, arg2 string, arg3 map[string]string) error
- func (m *MockDeploymentStore) UpdateStageStatus(arg0 context.Context, arg1, arg2 string, arg3 model.StageStatus, arg4 string, ...) error
- func (m *MockDeploymentStore) UpdateStatus(arg0 context.Context, arg1 string, arg2 model.DeploymentStatus, arg3 string) error
- func (m *MockDeploymentStore) UpdateToCompleted(arg0 context.Context, arg1 string, arg2 model.DeploymentStatus, ...) error
- func (m *MockDeploymentStore) UpdateToPlanned(arg0 context.Context, arg1, arg2, arg3, arg4, arg5, arg6 string, ...) error
- type MockDeploymentStoreMockRecorder
- func (mr *MockDeploymentStoreMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDeploymentStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDeploymentStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDeploymentStoreMockRecorder) UpdateMetadata(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDeploymentStoreMockRecorder) UpdateStageMetadata(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDeploymentStoreMockRecorder) UpdateStageStatus(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 interface{}) *gomock.Call
- func (mr *MockDeploymentStoreMockRecorder) UpdateStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDeploymentStoreMockRecorder) UpdateToCompleted(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockDeploymentStoreMockRecorder) UpdateToPlanned(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 interface{}) *gomock.Call
- type MockPipedStore
- func (m *MockPipedStore) Add(arg0 context.Context, arg1 *model.Piped) error
- func (m *MockPipedStore) AddKey(arg0 context.Context, arg1, arg2, arg3 string, arg4 time.Time) error
- func (m *MockPipedStore) DeleteOldKeys(arg0 context.Context, arg1 string) error
- func (m *MockPipedStore) DisablePiped(arg0 context.Context, arg1 string) error
- func (m *MockPipedStore) EXPECT() *MockPipedStoreMockRecorder
- func (m *MockPipedStore) EnablePiped(arg0 context.Context, arg1 string) error
- func (m *MockPipedStore) Get(arg0 context.Context, arg1 string) (*model.Piped, error)
- func (m *MockPipedStore) List(arg0 context.Context, arg1 datastore.ListOptions) ([]*model.Piped, error)
- func (m *MockPipedStore) UpdateDesiredVersion(arg0 context.Context, arg1, arg2 string) error
- func (m *MockPipedStore) UpdateInfo(arg0 context.Context, arg1, arg2, arg3 string, arg4 []string) error
- func (m *MockPipedStore) UpdateMetadata(arg0 context.Context, arg1, arg2 string, arg3 []*model.Piped_CloudProvider, ...) error
- type MockPipedStoreMockRecorder
- func (mr *MockPipedStoreMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipedStoreMockRecorder) AddKey(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockPipedStoreMockRecorder) DeleteOldKeys(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipedStoreMockRecorder) DisablePiped(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipedStoreMockRecorder) EnablePiped(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipedStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipedStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipedStoreMockRecorder) UpdateDesiredVersion(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPipedStoreMockRecorder) UpdateInfo(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockPipedStoreMockRecorder) UpdateMetadata(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- type MockProjectStore
- func (m *MockProjectStore) Add(arg0 context.Context, arg1 *model.Project) error
- func (m *MockProjectStore) DisableStaticAdmin(arg0 context.Context, arg1 string) error
- func (m *MockProjectStore) EXPECT() *MockProjectStoreMockRecorder
- func (m *MockProjectStore) EnableStaticAdmin(arg0 context.Context, arg1 string) error
- func (m *MockProjectStore) Get(arg0 context.Context, arg1 string) (*model.Project, error)
- func (m *MockProjectStore) List(arg0 context.Context, arg1 datastore.ListOptions) ([]model.Project, error)
- func (m *MockProjectStore) MigrateFromProjectRBACConfig(arg0 context.Context, arg1 string) error
- func (m *MockProjectStore) UpdateProjectRBACConfig(arg0 context.Context, arg1 string, arg2 *model.ProjectRBACConfig) error
- func (m *MockProjectStore) UpdateProjectRBACRoles(arg0 context.Context, arg1 string, arg2 []*model.ProjectRBACRole) error
- func (m *MockProjectStore) UpdateProjectSSOConfig(arg0 context.Context, arg1 string, arg2 *model.ProjectSSOConfig) error
- func (m *MockProjectStore) UpdateProjectStaticAdmin(arg0 context.Context, arg1, arg2, arg3 string) error
- func (m *MockProjectStore) UpdateProjectUserGroups(arg0 context.Context, arg1 string, arg2 []*model.ProjectUserGroup) error
- type MockProjectStoreMockRecorder
- func (mr *MockProjectStoreMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) DisableStaticAdmin(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) EnableStaticAdmin(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) MigrateFromProjectRBACConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) UpdateProjectRBACConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) UpdateProjectRBACRoles(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) UpdateProjectSSOConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) UpdateProjectStaticAdmin(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) UpdateProjectUserGroups(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApplicationStore ¶
type MockApplicationStore struct {
// contains filtered or unexported fields
}
MockApplicationStore is a mock of ApplicationStore interface.
func NewMockApplicationStore ¶
func NewMockApplicationStore(ctrl *gomock.Controller) *MockApplicationStore
NewMockApplicationStore creates a new mock instance.
func (*MockApplicationStore) Add ¶
func (m *MockApplicationStore) Add(arg0 context.Context, arg1 *model.Application) error
Add mocks base method.
func (*MockApplicationStore) Delete ¶
func (m *MockApplicationStore) Delete(arg0 context.Context, arg1 string) error
Delete mocks base method.
func (*MockApplicationStore) Disable ¶
func (m *MockApplicationStore) Disable(arg0 context.Context, arg1 string) error
Disable mocks base method.
func (*MockApplicationStore) EXPECT ¶
func (m *MockApplicationStore) EXPECT() *MockApplicationStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockApplicationStore) Enable ¶
func (m *MockApplicationStore) Enable(arg0 context.Context, arg1 string) error
Enable mocks base method.
func (*MockApplicationStore) Get ¶
func (m *MockApplicationStore) Get(arg0 context.Context, arg1 string) (*model.Application, error)
Get mocks base method.
func (*MockApplicationStore) List ¶
func (m *MockApplicationStore) List(arg0 context.Context, arg1 datastore.ListOptions) ([]*model.Application, string, error)
List mocks base method.
func (*MockApplicationStore) UpdateBasicInfo ¶
func (m *MockApplicationStore) UpdateBasicInfo(arg0 context.Context, arg1, arg2, arg3 string, arg4 map[string]string) error
UpdateBasicInfo mocks base method.
func (*MockApplicationStore) UpdateConfigFilename ¶
func (m *MockApplicationStore) UpdateConfigFilename(arg0 context.Context, arg1, arg2 string) error
UpdateConfigFilename mocks base method.
func (*MockApplicationStore) UpdateConfiguration ¶
func (m *MockApplicationStore) UpdateConfiguration(arg0 context.Context, arg1, arg2, arg3, arg4 string) error
UpdateConfiguration mocks base method.
func (*MockApplicationStore) UpdateDeployingStatus ¶
func (m *MockApplicationStore) UpdateDeployingStatus(arg0 context.Context, arg1 string, arg2 bool) error
UpdateDeployingStatus mocks base method.
func (*MockApplicationStore) UpdateMostRecentDeployment ¶
func (m *MockApplicationStore) UpdateMostRecentDeployment(arg0 context.Context, arg1 string, arg2 model.DeploymentStatus, arg3 *model.ApplicationDeploymentReference) error
UpdateMostRecentDeployment mocks base method.
func (*MockApplicationStore) UpdateSyncState ¶
func (m *MockApplicationStore) UpdateSyncState(arg0 context.Context, arg1 string, arg2 *model.ApplicationSyncState) error
UpdateSyncState mocks base method.
type MockApplicationStoreMockRecorder ¶
type MockApplicationStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockApplicationStoreMockRecorder is the mock recorder for MockApplicationStore.
func (*MockApplicationStoreMockRecorder) Add ¶
func (mr *MockApplicationStoreMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockApplicationStoreMockRecorder) Delete ¶
func (mr *MockApplicationStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockApplicationStoreMockRecorder) Disable ¶
func (mr *MockApplicationStoreMockRecorder) Disable(arg0, arg1 interface{}) *gomock.Call
Disable indicates an expected call of Disable.
func (*MockApplicationStoreMockRecorder) Enable ¶
func (mr *MockApplicationStoreMockRecorder) Enable(arg0, arg1 interface{}) *gomock.Call
Enable indicates an expected call of Enable.
func (*MockApplicationStoreMockRecorder) Get ¶
func (mr *MockApplicationStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockApplicationStoreMockRecorder) List ¶
func (mr *MockApplicationStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockApplicationStoreMockRecorder) UpdateBasicInfo ¶
func (mr *MockApplicationStoreMockRecorder) UpdateBasicInfo(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
UpdateBasicInfo indicates an expected call of UpdateBasicInfo.
func (*MockApplicationStoreMockRecorder) UpdateConfigFilename ¶
func (mr *MockApplicationStoreMockRecorder) UpdateConfigFilename(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateConfigFilename indicates an expected call of UpdateConfigFilename.
func (*MockApplicationStoreMockRecorder) UpdateConfiguration ¶
func (mr *MockApplicationStoreMockRecorder) UpdateConfiguration(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
UpdateConfiguration indicates an expected call of UpdateConfiguration.
func (*MockApplicationStoreMockRecorder) UpdateDeployingStatus ¶
func (mr *MockApplicationStoreMockRecorder) UpdateDeployingStatus(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateDeployingStatus indicates an expected call of UpdateDeployingStatus.
func (*MockApplicationStoreMockRecorder) UpdateMostRecentDeployment ¶
func (mr *MockApplicationStoreMockRecorder) UpdateMostRecentDeployment(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpdateMostRecentDeployment indicates an expected call of UpdateMostRecentDeployment.
func (*MockApplicationStoreMockRecorder) UpdateSyncState ¶
func (mr *MockApplicationStoreMockRecorder) UpdateSyncState(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateSyncState indicates an expected call of UpdateSyncState.
type MockCommandStore ¶
type MockCommandStore struct {
// contains filtered or unexported fields
}
MockCommandStore is a mock of CommandStore interface.
func NewMockCommandStore ¶
func NewMockCommandStore(ctrl *gomock.Controller) *MockCommandStore
NewMockCommandStore creates a new mock instance.
func (*MockCommandStore) EXPECT ¶
func (m *MockCommandStore) EXPECT() *MockCommandStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCommandStore) List ¶
func (m *MockCommandStore) List(arg0 context.Context, arg1 datastore.ListOptions) ([]*model.Command, error)
List mocks base method.
func (*MockCommandStore) UpdateStatus ¶
func (m *MockCommandStore) UpdateStatus(arg0 context.Context, arg1 string, arg2 model.CommandStatus, arg3 map[string]string, arg4 int64) error
UpdateStatus mocks base method.
type MockCommandStoreMockRecorder ¶
type MockCommandStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockCommandStoreMockRecorder is the mock recorder for MockCommandStore.
func (*MockCommandStoreMockRecorder) Add ¶
func (mr *MockCommandStoreMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockCommandStoreMockRecorder) Get ¶
func (mr *MockCommandStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockCommandStoreMockRecorder) List ¶
func (mr *MockCommandStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockCommandStoreMockRecorder) UpdateStatus ¶
func (mr *MockCommandStoreMockRecorder) UpdateStatus(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus.
type MockDeploymentStore ¶
type MockDeploymentStore struct {
// contains filtered or unexported fields
}
MockDeploymentStore is a mock of DeploymentStore interface.
func NewMockDeploymentStore ¶
func NewMockDeploymentStore(ctrl *gomock.Controller) *MockDeploymentStore
NewMockDeploymentStore creates a new mock instance.
func (*MockDeploymentStore) Add ¶
func (m *MockDeploymentStore) Add(arg0 context.Context, arg1 *model.Deployment) error
Add mocks base method.
func (*MockDeploymentStore) EXPECT ¶
func (m *MockDeploymentStore) EXPECT() *MockDeploymentStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDeploymentStore) Get ¶
func (m *MockDeploymentStore) Get(arg0 context.Context, arg1 string) (*model.Deployment, error)
Get mocks base method.
func (*MockDeploymentStore) List ¶
func (m *MockDeploymentStore) List(arg0 context.Context, arg1 datastore.ListOptions) ([]*model.Deployment, string, error)
List mocks base method.
func (*MockDeploymentStore) UpdateMetadata ¶
func (m *MockDeploymentStore) UpdateMetadata(arg0 context.Context, arg1 string, arg2 map[string]string) error
UpdateMetadata mocks base method.
func (*MockDeploymentStore) UpdateStageMetadata ¶
func (m *MockDeploymentStore) UpdateStageMetadata(arg0 context.Context, arg1, arg2 string, arg3 map[string]string) error
UpdateStageMetadata mocks base method.
func (*MockDeploymentStore) UpdateStageStatus ¶
func (m *MockDeploymentStore) UpdateStageStatus(arg0 context.Context, arg1, arg2 string, arg3 model.StageStatus, arg4 string, arg5 []string, arg6 bool, arg7 int32, arg8 int64) error
UpdateStageStatus mocks base method.
func (*MockDeploymentStore) UpdateStatus ¶
func (m *MockDeploymentStore) UpdateStatus(arg0 context.Context, arg1 string, arg2 model.DeploymentStatus, arg3 string) error
UpdateStatus mocks base method.
func (*MockDeploymentStore) UpdateToCompleted ¶
func (m *MockDeploymentStore) UpdateToCompleted(arg0 context.Context, arg1 string, arg2 model.DeploymentStatus, arg3 map[string]model.StageStatus, arg4 string, arg5 int64) error
UpdateToCompleted mocks base method.
func (*MockDeploymentStore) UpdateToPlanned ¶
func (m *MockDeploymentStore) UpdateToPlanned(arg0 context.Context, arg1, arg2, arg3, arg4, arg5, arg6 string, arg7 []*model.ArtifactVersion, arg8 []*model.PipelineStage) error
UpdateToPlanned mocks base method.
type MockDeploymentStoreMockRecorder ¶
type MockDeploymentStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockDeploymentStoreMockRecorder is the mock recorder for MockDeploymentStore.
func (*MockDeploymentStoreMockRecorder) Add ¶
func (mr *MockDeploymentStoreMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockDeploymentStoreMockRecorder) Get ¶
func (mr *MockDeploymentStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockDeploymentStoreMockRecorder) List ¶
func (mr *MockDeploymentStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockDeploymentStoreMockRecorder) UpdateMetadata ¶
func (mr *MockDeploymentStoreMockRecorder) UpdateMetadata(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateMetadata indicates an expected call of UpdateMetadata.
func (*MockDeploymentStoreMockRecorder) UpdateStageMetadata ¶
func (mr *MockDeploymentStoreMockRecorder) UpdateStageMetadata(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpdateStageMetadata indicates an expected call of UpdateStageMetadata.
func (*MockDeploymentStoreMockRecorder) UpdateStageStatus ¶
func (mr *MockDeploymentStoreMockRecorder) UpdateStageStatus(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 interface{}) *gomock.Call
UpdateStageStatus indicates an expected call of UpdateStageStatus.
func (*MockDeploymentStoreMockRecorder) UpdateStatus ¶
func (mr *MockDeploymentStoreMockRecorder) UpdateStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus.
func (*MockDeploymentStoreMockRecorder) UpdateToCompleted ¶
func (mr *MockDeploymentStoreMockRecorder) UpdateToCompleted(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
UpdateToCompleted indicates an expected call of UpdateToCompleted.
func (*MockDeploymentStoreMockRecorder) UpdateToPlanned ¶
func (mr *MockDeploymentStoreMockRecorder) UpdateToPlanned(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 interface{}) *gomock.Call
UpdateToPlanned indicates an expected call of UpdateToPlanned.
type MockPipedStore ¶
type MockPipedStore struct {
// contains filtered or unexported fields
}
MockPipedStore is a mock of PipedStore interface.
func NewMockPipedStore ¶
func NewMockPipedStore(ctrl *gomock.Controller) *MockPipedStore
NewMockPipedStore creates a new mock instance.
func (*MockPipedStore) AddKey ¶
func (m *MockPipedStore) AddKey(arg0 context.Context, arg1, arg2, arg3 string, arg4 time.Time) error
AddKey mocks base method.
func (*MockPipedStore) DeleteOldKeys ¶
func (m *MockPipedStore) DeleteOldKeys(arg0 context.Context, arg1 string) error
DeleteOldKeys mocks base method.
func (*MockPipedStore) DisablePiped ¶
func (m *MockPipedStore) DisablePiped(arg0 context.Context, arg1 string) error
DisablePiped mocks base method.
func (*MockPipedStore) EXPECT ¶
func (m *MockPipedStore) EXPECT() *MockPipedStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPipedStore) EnablePiped ¶
func (m *MockPipedStore) EnablePiped(arg0 context.Context, arg1 string) error
EnablePiped mocks base method.
func (*MockPipedStore) List ¶
func (m *MockPipedStore) List(arg0 context.Context, arg1 datastore.ListOptions) ([]*model.Piped, error)
List mocks base method.
func (*MockPipedStore) UpdateDesiredVersion ¶
func (m *MockPipedStore) UpdateDesiredVersion(arg0 context.Context, arg1, arg2 string) error
UpdateDesiredVersion mocks base method.
func (*MockPipedStore) UpdateInfo ¶
func (m *MockPipedStore) UpdateInfo(arg0 context.Context, arg1, arg2, arg3 string, arg4 []string) error
UpdateInfo mocks base method.
func (*MockPipedStore) UpdateMetadata ¶
func (m *MockPipedStore) UpdateMetadata(arg0 context.Context, arg1, arg2 string, arg3 []*model.Piped_CloudProvider, arg4 []*model.ApplicationGitRepository, arg5 *model.Piped_SecretEncryption, arg6 int64) error
UpdateMetadata mocks base method.
type MockPipedStoreMockRecorder ¶
type MockPipedStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockPipedStoreMockRecorder is the mock recorder for MockPipedStore.
func (*MockPipedStoreMockRecorder) Add ¶
func (mr *MockPipedStoreMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockPipedStoreMockRecorder) AddKey ¶
func (mr *MockPipedStoreMockRecorder) AddKey(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AddKey indicates an expected call of AddKey.
func (*MockPipedStoreMockRecorder) DeleteOldKeys ¶
func (mr *MockPipedStoreMockRecorder) DeleteOldKeys(arg0, arg1 interface{}) *gomock.Call
DeleteOldKeys indicates an expected call of DeleteOldKeys.
func (*MockPipedStoreMockRecorder) DisablePiped ¶
func (mr *MockPipedStoreMockRecorder) DisablePiped(arg0, arg1 interface{}) *gomock.Call
DisablePiped indicates an expected call of DisablePiped.
func (*MockPipedStoreMockRecorder) EnablePiped ¶
func (mr *MockPipedStoreMockRecorder) EnablePiped(arg0, arg1 interface{}) *gomock.Call
EnablePiped indicates an expected call of EnablePiped.
func (*MockPipedStoreMockRecorder) Get ¶
func (mr *MockPipedStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockPipedStoreMockRecorder) List ¶
func (mr *MockPipedStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockPipedStoreMockRecorder) UpdateDesiredVersion ¶
func (mr *MockPipedStoreMockRecorder) UpdateDesiredVersion(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateDesiredVersion indicates an expected call of UpdateDesiredVersion.
func (*MockPipedStoreMockRecorder) UpdateInfo ¶
func (mr *MockPipedStoreMockRecorder) UpdateInfo(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
UpdateInfo indicates an expected call of UpdateInfo.
func (*MockPipedStoreMockRecorder) UpdateMetadata ¶
func (mr *MockPipedStoreMockRecorder) UpdateMetadata(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
UpdateMetadata indicates an expected call of UpdateMetadata.
type MockProjectStore ¶
type MockProjectStore struct {
// contains filtered or unexported fields
}
MockProjectStore is a mock of ProjectStore interface.
func NewMockProjectStore ¶
func NewMockProjectStore(ctrl *gomock.Controller) *MockProjectStore
NewMockProjectStore creates a new mock instance.
func (*MockProjectStore) DisableStaticAdmin ¶
func (m *MockProjectStore) DisableStaticAdmin(arg0 context.Context, arg1 string) error
DisableStaticAdmin mocks base method.
func (*MockProjectStore) EXPECT ¶
func (m *MockProjectStore) EXPECT() *MockProjectStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProjectStore) EnableStaticAdmin ¶
func (m *MockProjectStore) EnableStaticAdmin(arg0 context.Context, arg1 string) error
EnableStaticAdmin mocks base method.
func (*MockProjectStore) List ¶
func (m *MockProjectStore) List(arg0 context.Context, arg1 datastore.ListOptions) ([]model.Project, error)
List mocks base method.
func (*MockProjectStore) MigrateFromProjectRBACConfig ¶ added in v0.27.2
func (m *MockProjectStore) MigrateFromProjectRBACConfig(arg0 context.Context, arg1 string) error
MigrateFromProjectRBACConfig mocks base method.
func (*MockProjectStore) UpdateProjectRBACConfig ¶
func (m *MockProjectStore) UpdateProjectRBACConfig(arg0 context.Context, arg1 string, arg2 *model.ProjectRBACConfig) error
UpdateProjectRBACConfig mocks base method.
func (*MockProjectStore) UpdateProjectRBACRoles ¶ added in v0.27.2
func (m *MockProjectStore) UpdateProjectRBACRoles(arg0 context.Context, arg1 string, arg2 []*model.ProjectRBACRole) error
UpdateProjectRBACRoles mocks base method.
func (*MockProjectStore) UpdateProjectSSOConfig ¶
func (m *MockProjectStore) UpdateProjectSSOConfig(arg0 context.Context, arg1 string, arg2 *model.ProjectSSOConfig) error
UpdateProjectSSOConfig mocks base method.
func (*MockProjectStore) UpdateProjectStaticAdmin ¶
func (m *MockProjectStore) UpdateProjectStaticAdmin(arg0 context.Context, arg1, arg2, arg3 string) error
UpdateProjectStaticAdmin mocks base method.
func (*MockProjectStore) UpdateProjectUserGroups ¶ added in v0.27.2
func (m *MockProjectStore) UpdateProjectUserGroups(arg0 context.Context, arg1 string, arg2 []*model.ProjectUserGroup) error
UpdateProjectUserGroups mocks base method.
type MockProjectStoreMockRecorder ¶
type MockProjectStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockProjectStoreMockRecorder is the mock recorder for MockProjectStore.
func (*MockProjectStoreMockRecorder) Add ¶
func (mr *MockProjectStoreMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockProjectStoreMockRecorder) DisableStaticAdmin ¶
func (mr *MockProjectStoreMockRecorder) DisableStaticAdmin(arg0, arg1 interface{}) *gomock.Call
DisableStaticAdmin indicates an expected call of DisableStaticAdmin.
func (*MockProjectStoreMockRecorder) EnableStaticAdmin ¶
func (mr *MockProjectStoreMockRecorder) EnableStaticAdmin(arg0, arg1 interface{}) *gomock.Call
EnableStaticAdmin indicates an expected call of EnableStaticAdmin.
func (*MockProjectStoreMockRecorder) Get ¶
func (mr *MockProjectStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockProjectStoreMockRecorder) List ¶
func (mr *MockProjectStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockProjectStoreMockRecorder) MigrateFromProjectRBACConfig ¶ added in v0.27.2
func (mr *MockProjectStoreMockRecorder) MigrateFromProjectRBACConfig(arg0, arg1 interface{}) *gomock.Call
MigrateFromProjectRBACConfig indicates an expected call of MigrateFromProjectRBACConfig.
func (*MockProjectStoreMockRecorder) UpdateProjectRBACConfig ¶
func (mr *MockProjectStoreMockRecorder) UpdateProjectRBACConfig(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateProjectRBACConfig indicates an expected call of UpdateProjectRBACConfig.
func (*MockProjectStoreMockRecorder) UpdateProjectRBACRoles ¶ added in v0.27.2
func (mr *MockProjectStoreMockRecorder) UpdateProjectRBACRoles(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateProjectRBACRoles indicates an expected call of UpdateProjectRBACRoles.
func (*MockProjectStoreMockRecorder) UpdateProjectSSOConfig ¶
func (mr *MockProjectStoreMockRecorder) UpdateProjectSSOConfig(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateProjectSSOConfig indicates an expected call of UpdateProjectSSOConfig.
func (*MockProjectStoreMockRecorder) UpdateProjectStaticAdmin ¶
func (mr *MockProjectStoreMockRecorder) UpdateProjectStaticAdmin(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpdateProjectStaticAdmin indicates an expected call of UpdateProjectStaticAdmin.
func (*MockProjectStoreMockRecorder) UpdateProjectUserGroups ¶ added in v0.27.2
func (mr *MockProjectStoreMockRecorder) UpdateProjectUserGroups(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateProjectUserGroups indicates an expected call of UpdateProjectUserGroups.