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) UpdatePlatformProvider(arg0 context.Context, arg1, arg2 string) 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) UpdatePlatformProvider(arg0, arg1, arg2 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) error
- func (m *MockPipedStore) UpdateMetadata(arg0 context.Context, arg1, arg2, arg3 string, ...) 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 interface{}) *gomock.Call
- func (mr *MockPipedStoreMockRecorder) UpdateMetadata(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call
- type MockProjectStore
- func (m *MockProjectStore) Add(arg0 context.Context, arg1 *model.Project) error
- func (m *MockProjectStore) AddProjectRBACRole(arg0 context.Context, arg1, arg2 string, arg3 []*model.ProjectRBACPolicy) error
- func (m *MockProjectStore) AddProjectUserGroup(arg0 context.Context, arg1, arg2, arg3 string) error
- func (m *MockProjectStore) DeleteProjectRBACRole(arg0 context.Context, arg1, arg2 string) error
- func (m *MockProjectStore) DeleteProjectUserGroup(arg0 context.Context, arg1, arg2 string) 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) GetAllProjectRBACRoles(arg0 context.Context, arg1 string) ([]*model.ProjectRBACRole, error)
- func (m *MockProjectStore) GetAllProjectUserGroups(arg0 context.Context, arg1 string) ([]*model.ProjectUserGroup, error)
- func (m *MockProjectStore) List(arg0 context.Context, arg1 datastore.ListOptions) ([]model.Project, error)
- func (m *MockProjectStore) UpdateProjectRBACConfig(arg0 context.Context, arg1 string, arg2 *model.ProjectRBACConfig) error
- func (m *MockProjectStore) UpdateProjectRBACRole(arg0 context.Context, arg1, arg2 string, arg3 []*model.ProjectRBACPolicy) 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
- type MockProjectStoreMockRecorder
- func (mr *MockProjectStoreMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) AddProjectRBACRole(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) AddProjectUserGroup(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) DeleteProjectRBACRole(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) DeleteProjectUserGroup(arg0, arg1, arg2 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) GetAllProjectRBACRoles(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) GetAllProjectUserGroups(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) UpdateProjectRBACConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) UpdateProjectRBACRole(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) UpdateProjectSSOConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) UpdateProjectStaticAdmin(arg0, arg1, arg2, arg3 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) UpdatePlatformProvider ¶ added in v0.34.0
func (m *MockApplicationStore) UpdatePlatformProvider(arg0 context.Context, arg1, arg2 string) error
UpdatePlatformProvider 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) UpdatePlatformProvider ¶ added in v0.34.0
func (mr *MockApplicationStoreMockRecorder) UpdatePlatformProvider(arg0, arg1, arg2 interface{}) *gomock.Call
UpdatePlatformProvider indicates an expected call of UpdatePlatformProvider.
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) error
UpdateInfo mocks base method.
func (*MockPipedStore) UpdateMetadata ¶
func (m *MockPipedStore) UpdateMetadata(arg0 context.Context, arg1, arg2, arg3 string, arg4 []*model.Piped_PlatformProvider, arg5 []*model.ApplicationGitRepository, arg6 *model.Piped_SecretEncryption, arg7 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 interface{}) *gomock.Call
UpdateInfo indicates an expected call of UpdateInfo.
func (*MockPipedStoreMockRecorder) UpdateMetadata ¶
func (mr *MockPipedStoreMockRecorder) UpdateMetadata(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 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) AddProjectRBACRole ¶ added in v0.28.0
func (m *MockProjectStore) AddProjectRBACRole(arg0 context.Context, arg1, arg2 string, arg3 []*model.ProjectRBACPolicy) error
AddProjectRBACRole mocks base method.
func (*MockProjectStore) AddProjectUserGroup ¶ added in v0.28.0
func (m *MockProjectStore) AddProjectUserGroup(arg0 context.Context, arg1, arg2, arg3 string) error
AddProjectUserGroup mocks base method.
func (*MockProjectStore) DeleteProjectRBACRole ¶ added in v0.28.0
func (m *MockProjectStore) DeleteProjectRBACRole(arg0 context.Context, arg1, arg2 string) error
DeleteProjectRBACRole mocks base method.
func (*MockProjectStore) DeleteProjectUserGroup ¶ added in v0.28.0
func (m *MockProjectStore) DeleteProjectUserGroup(arg0 context.Context, arg1, arg2 string) error
DeleteProjectUserGroup mocks base method.
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) GetAllProjectRBACRoles ¶ added in v0.28.0
func (m *MockProjectStore) GetAllProjectRBACRoles(arg0 context.Context, arg1 string) ([]*model.ProjectRBACRole, error)
GetAllProjectRBACRoles mocks base method.
func (*MockProjectStore) GetAllProjectUserGroups ¶ added in v0.28.0
func (m *MockProjectStore) GetAllProjectUserGroups(arg0 context.Context, arg1 string) ([]*model.ProjectUserGroup, error)
GetAllProjectUserGroups 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) UpdateProjectRBACConfig ¶
func (m *MockProjectStore) UpdateProjectRBACConfig(arg0 context.Context, arg1 string, arg2 *model.ProjectRBACConfig) error
UpdateProjectRBACConfig mocks base method.
func (*MockProjectStore) UpdateProjectRBACRole ¶ added in v0.28.0
func (m *MockProjectStore) UpdateProjectRBACRole(arg0 context.Context, arg1, arg2 string, arg3 []*model.ProjectRBACPolicy) error
UpdateProjectRBACRole 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.
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) AddProjectRBACRole ¶ added in v0.28.0
func (mr *MockProjectStoreMockRecorder) AddProjectRBACRole(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AddProjectRBACRole indicates an expected call of AddProjectRBACRole.
func (*MockProjectStoreMockRecorder) AddProjectUserGroup ¶ added in v0.28.0
func (mr *MockProjectStoreMockRecorder) AddProjectUserGroup(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AddProjectUserGroup indicates an expected call of AddProjectUserGroup.
func (*MockProjectStoreMockRecorder) DeleteProjectRBACRole ¶ added in v0.28.0
func (mr *MockProjectStoreMockRecorder) DeleteProjectRBACRole(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteProjectRBACRole indicates an expected call of DeleteProjectRBACRole.
func (*MockProjectStoreMockRecorder) DeleteProjectUserGroup ¶ added in v0.28.0
func (mr *MockProjectStoreMockRecorder) DeleteProjectUserGroup(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteProjectUserGroup indicates an expected call of DeleteProjectUserGroup.
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) GetAllProjectRBACRoles ¶ added in v0.28.0
func (mr *MockProjectStoreMockRecorder) GetAllProjectRBACRoles(arg0, arg1 interface{}) *gomock.Call
GetAllProjectRBACRoles indicates an expected call of GetAllProjectRBACRoles.
func (*MockProjectStoreMockRecorder) GetAllProjectUserGroups ¶ added in v0.28.0
func (mr *MockProjectStoreMockRecorder) GetAllProjectUserGroups(arg0, arg1 interface{}) *gomock.Call
GetAllProjectUserGroups indicates an expected call of GetAllProjectUserGroups.
func (*MockProjectStoreMockRecorder) List ¶
func (mr *MockProjectStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockProjectStoreMockRecorder) UpdateProjectRBACConfig ¶
func (mr *MockProjectStoreMockRecorder) UpdateProjectRBACConfig(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateProjectRBACConfig indicates an expected call of UpdateProjectRBACConfig.
func (*MockProjectStoreMockRecorder) UpdateProjectRBACRole ¶ added in v0.28.0
func (mr *MockProjectStoreMockRecorder) UpdateProjectRBACRole(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpdateProjectRBACRole indicates an expected call of UpdateProjectRBACRole.
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.