Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockInteractor
- func (m *MockInteractor) CreateDeploymentStatus(ctx context.Context, ds *ent.DeploymentStatus) (*ent.DeploymentStatus, error)
- func (m *MockInteractor) Deploy(ctx context.Context, u *ent.User, r *ent.Repo, d *ent.Deployment, ...) (*ent.Deployment, error)
- func (m *MockInteractor) EXPECT() *MockInteractorMockRecorder
- func (m *MockInteractor) FindDeploymentByUID(ctx context.Context, uid int64) (*ent.Deployment, error)
- func (m *MockInteractor) FindRepoByID(ctx context.Context, id int64) (*ent.Repo, error)
- func (m *MockInteractor) GetEvaluatedConfig(ctx context.Context, u *ent.User, r *ent.Repo, v *extent.EvalValues) (*extent.Config, error)
- func (m *MockInteractor) ProduceDeploymentStatisticsOfRepo(ctx context.Context, r *ent.Repo, d *ent.Deployment) (*ent.DeploymentStatistics, error)
- func (m *MockInteractor) UpdateDeployment(ctx context.Context, d *ent.Deployment) (*ent.Deployment, error)
- type MockInteractorMockRecorder
- func (mr *MockInteractorMockRecorder) CreateDeploymentStatus(ctx, ds interface{}) *gomock.Call
- func (mr *MockInteractorMockRecorder) Deploy(ctx, u, r, d, env interface{}) *gomock.Call
- func (mr *MockInteractorMockRecorder) FindDeploymentByUID(ctx, uid interface{}) *gomock.Call
- func (mr *MockInteractorMockRecorder) FindRepoByID(ctx, id interface{}) *gomock.Call
- func (mr *MockInteractorMockRecorder) GetEvaluatedConfig(ctx, u, r, v interface{}) *gomock.Call
- func (mr *MockInteractorMockRecorder) ProduceDeploymentStatisticsOfRepo(ctx, r, d interface{}) *gomock.Call
- func (mr *MockInteractorMockRecorder) UpdateDeployment(ctx, d interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInteractor ¶
type MockInteractor struct {
// contains filtered or unexported fields
}
MockInteractor is a mock of Interactor interface.
func NewMockInteractor ¶
func NewMockInteractor(ctrl *gomock.Controller) *MockInteractor
NewMockInteractor creates a new mock instance.
func (*MockInteractor) CreateDeploymentStatus ¶
func (m *MockInteractor) CreateDeploymentStatus(ctx context.Context, ds *ent.DeploymentStatus) (*ent.DeploymentStatus, error)
CreateDeploymentStatus mocks base method.
func (*MockInteractor) Deploy ¶
func (m *MockInteractor) Deploy(ctx context.Context, u *ent.User, r *ent.Repo, d *ent.Deployment, env *extent.Env) (*ent.Deployment, error)
Deploy mocks base method.
func (*MockInteractor) EXPECT ¶
func (m *MockInteractor) EXPECT() *MockInteractorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInteractor) FindDeploymentByUID ¶
func (m *MockInteractor) FindDeploymentByUID(ctx context.Context, uid int64) (*ent.Deployment, error)
FindDeploymentByUID mocks base method.
func (*MockInteractor) FindRepoByID ¶
FindRepoByID mocks base method.
func (*MockInteractor) GetEvaluatedConfig ¶
func (m *MockInteractor) GetEvaluatedConfig(ctx context.Context, u *ent.User, r *ent.Repo, v *extent.EvalValues) (*extent.Config, error)
GetEvaluatedConfig mocks base method.
func (*MockInteractor) ProduceDeploymentStatisticsOfRepo ¶
func (m *MockInteractor) ProduceDeploymentStatisticsOfRepo(ctx context.Context, r *ent.Repo, d *ent.Deployment) (*ent.DeploymentStatistics, error)
ProduceDeploymentStatisticsOfRepo mocks base method.
func (*MockInteractor) UpdateDeployment ¶
func (m *MockInteractor) UpdateDeployment(ctx context.Context, d *ent.Deployment) (*ent.Deployment, error)
UpdateDeployment mocks base method.
type MockInteractorMockRecorder ¶
type MockInteractorMockRecorder struct {
// contains filtered or unexported fields
}
MockInteractorMockRecorder is the mock recorder for MockInteractor.
func (*MockInteractorMockRecorder) CreateDeploymentStatus ¶
func (mr *MockInteractorMockRecorder) CreateDeploymentStatus(ctx, ds interface{}) *gomock.Call
CreateDeploymentStatus indicates an expected call of CreateDeploymentStatus.
func (*MockInteractorMockRecorder) Deploy ¶
func (mr *MockInteractorMockRecorder) Deploy(ctx, u, r, d, env interface{}) *gomock.Call
Deploy indicates an expected call of Deploy.
func (*MockInteractorMockRecorder) FindDeploymentByUID ¶
func (mr *MockInteractorMockRecorder) FindDeploymentByUID(ctx, uid interface{}) *gomock.Call
FindDeploymentByUID indicates an expected call of FindDeploymentByUID.
func (*MockInteractorMockRecorder) FindRepoByID ¶
func (mr *MockInteractorMockRecorder) FindRepoByID(ctx, id interface{}) *gomock.Call
FindRepoByID indicates an expected call of FindRepoByID.
func (*MockInteractorMockRecorder) GetEvaluatedConfig ¶
func (mr *MockInteractorMockRecorder) GetEvaluatedConfig(ctx, u, r, v interface{}) *gomock.Call
GetEvaluatedConfig indicates an expected call of GetEvaluatedConfig.
func (*MockInteractorMockRecorder) ProduceDeploymentStatisticsOfRepo ¶
func (mr *MockInteractorMockRecorder) ProduceDeploymentStatisticsOfRepo(ctx, r, d interface{}) *gomock.Call
ProduceDeploymentStatisticsOfRepo indicates an expected call of ProduceDeploymentStatisticsOfRepo.
func (*MockInteractorMockRecorder) UpdateDeployment ¶
func (mr *MockInteractorMockRecorder) UpdateDeployment(ctx, d interface{}) *gomock.Call
UpdateDeployment indicates an expected call of UpdateDeployment.