Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockContexts
- func (m *MockContexts) AddOrUpdateVariable(ctx context.Context, contextID, variableName string, ...) (*circleci.ContextVariable, error)
- func (m *MockContexts) Create(ctx context.Context, options circleci.ContextCreateOptions) (*circleci.Context, error)
- func (m *MockContexts) Delete(ctx context.Context, contextID string) error
- func (m *MockContexts) EXPECT() *MockContextsMockRecorder
- func (m *MockContexts) Get(ctx context.Context, contextID string) (*circleci.Context, error)
- func (m *MockContexts) List(ctx context.Context, options circleci.ContextListOptions) (*circleci.ContextList, error)
- func (m *MockContexts) ListVariables(ctx context.Context, contextID string) (*circleci.ContextVariableList, error)
- func (m *MockContexts) RemoveVariable(ctx context.Context, contextID, variableName string) error
- type MockContextsMockRecorder
- func (mr *MockContextsMockRecorder) AddOrUpdateVariable(ctx, contextID, variableName, options interface{}) *gomock.Call
- func (mr *MockContextsMockRecorder) Create(ctx, options interface{}) *gomock.Call
- func (mr *MockContextsMockRecorder) Delete(ctx, contextID interface{}) *gomock.Call
- func (mr *MockContextsMockRecorder) Get(ctx, contextID interface{}) *gomock.Call
- func (mr *MockContextsMockRecorder) List(ctx, options interface{}) *gomock.Call
- func (mr *MockContextsMockRecorder) ListVariables(ctx, contextID interface{}) *gomock.Call
- func (mr *MockContextsMockRecorder) RemoveVariable(ctx, contextID, variableName interface{}) *gomock.Call
- type MockInsights
- func (m *MockInsights) EXPECT() *MockInsightsMockRecorder
- func (m *MockInsights) GetTestMetricsForWorkflows(ctx context.Context, projectSlug, workflowName string, ...) (*circleci.TestMetrics, error)
- func (m *MockInsights) ListSummaryMetricsForWorkflos(ctx context.Context, projectSlug string, ...) (*circleci.SummaryMetricsList, error)
- func (m *MockInsights) ListSummaryMetricsForWorkflowJobs(ctx context.Context, projectSlug, workflowName string, ...) (*circleci.SummaryMetricsList, error)
- func (m *MockInsights) ListWorkflowJobRuns(ctx context.Context, projectSlug, workflowName, jobName string, ...) (*circleci.WorkflowRunList, error)
- func (m *MockInsights) ListWorkflowRuns(ctx context.Context, projectSlug, workflowName string, ...) (*circleci.WorkflowRunList, error)
- type MockInsightsMockRecorder
- func (mr *MockInsightsMockRecorder) GetTestMetricsForWorkflows(ctx, projectSlug, workflowName, options interface{}) *gomock.Call
- func (mr *MockInsightsMockRecorder) ListSummaryMetricsForWorkflos(ctx, projectSlug, options interface{}) *gomock.Call
- func (mr *MockInsightsMockRecorder) ListSummaryMetricsForWorkflowJobs(ctx, projectSlug, workflowName, options interface{}) *gomock.Call
- func (mr *MockInsightsMockRecorder) ListWorkflowJobRuns(ctx, projectSlug, workflowName, jobName, options interface{}) *gomock.Call
- func (mr *MockInsightsMockRecorder) ListWorkflowRuns(ctx, projectSlug, workflowName, options interface{}) *gomock.Call
- type MockJobs
- func (m *MockJobs) Cancel(ctx context.Context, projectSlug, jobNumber string) error
- func (m *MockJobs) EXPECT() *MockJobsMockRecorder
- func (m *MockJobs) Get(ctx context.Context, projectSlug, jobNumber string) (*circleci.Job, error)
- func (m *MockJobs) ListArtifacts(ctx context.Context, projectSlug, jobNumber string) (*circleci.ArtifactList, error)
- func (m *MockJobs) ListTestMetadata(ctx context.Context, projectSlug, jobNumber string) (*circleci.TestMetadataList, error)
- type MockJobsMockRecorder
- func (mr *MockJobsMockRecorder) Cancel(ctx, projectSlug, jobNumber interface{}) *gomock.Call
- func (mr *MockJobsMockRecorder) Get(ctx, projectSlug, jobNumber interface{}) *gomock.Call
- func (mr *MockJobsMockRecorder) ListArtifacts(ctx, projectSlug, jobNumber interface{}) *gomock.Call
- func (mr *MockJobsMockRecorder) ListTestMetadata(ctx, projectSlug, jobNumber interface{}) *gomock.Call
- type MockPipelines
- func (m *MockPipelines) Continue(ctx context.Context, options circleci.PipelineContinueOptions) error
- func (m *MockPipelines) EXPECT() *MockPipelinesMockRecorder
- func (m *MockPipelines) Get(ctx context.Context, pipelineID string) (*circleci.Pipeline, error)
- func (m *MockPipelines) GetConfig(ctx context.Context, pipelineID string) (*circleci.PipelineConfig, error)
- func (m *MockPipelines) List(ctx context.Context, options circleci.PipelineListOptions) (*circleci.PipelineList, error)
- func (m *MockPipelines) ListWorkflows(ctx context.Context, pipelineID string, ...) (*circleci.WorkflowList, error)
- type MockPipelinesMockRecorder
- func (mr *MockPipelinesMockRecorder) Continue(ctx, options interface{}) *gomock.Call
- func (mr *MockPipelinesMockRecorder) Get(ctx, pipelineID interface{}) *gomock.Call
- func (mr *MockPipelinesMockRecorder) GetConfig(ctx, pipelineID interface{}) *gomock.Call
- func (mr *MockPipelinesMockRecorder) List(ctx, options interface{}) *gomock.Call
- func (mr *MockPipelinesMockRecorder) ListWorkflows(ctx, pipelineID, options interface{}) *gomock.Call
- type MockProjects
- func (m *MockProjects) CreateCheckoutKey(ctx context.Context, projectSlug string, ...) (*circleci.ProjectCheckoutKey, error)
- func (m *MockProjects) CreateVariable(ctx context.Context, projectSlug string, ...) (*circleci.ProjectVariable, error)
- func (m *MockProjects) DeleteCheckoutKey(ctx context.Context, projectSlug, fingerprint string) error
- func (m *MockProjects) DeleteVariable(ctx context.Context, projectSlug, name string) error
- func (m *MockProjects) EXPECT() *MockProjectsMockRecorder
- func (m *MockProjects) Get(ctx context.Context, projectSlug string) (*circleci.Project, error)
- func (m *MockProjects) GetCheckoutKey(ctx context.Context, projectSlug, fingerprint string) (*circleci.ProjectCheckoutKey, error)
- func (m *MockProjects) GetPipeline(ctx context.Context, projectSlug, pipelineNumber string) (*circleci.Pipeline, error)
- func (m *MockProjects) GetVariable(ctx context.Context, projectSlug, name string) (*circleci.ProjectVariable, error)
- func (m *MockProjects) ListCheckoutKeys(ctx context.Context, projectSlug string) (*circleci.ProjectCheckoutKeyList, error)
- func (m *MockProjects) ListMyPipelines(ctx context.Context, projectSlug string, ...) (*circleci.PipelineList, error)
- func (m *MockProjects) ListPipelines(ctx context.Context, projectSlug string, ...) (*circleci.PipelineList, error)
- func (m *MockProjects) ListVariables(ctx context.Context, projectSlug string) (*circleci.ProjectVariableList, error)
- func (m *MockProjects) TriggerPipeline(ctx context.Context, projectSlug string, ...) (*circleci.Pipeline, error)
- type MockProjectsMockRecorder
- func (mr *MockProjectsMockRecorder) CreateCheckoutKey(ctx, projectSlug, options interface{}) *gomock.Call
- func (mr *MockProjectsMockRecorder) CreateVariable(ctx, projectSlug, options interface{}) *gomock.Call
- func (mr *MockProjectsMockRecorder) DeleteCheckoutKey(ctx, projectSlug, fingerprint interface{}) *gomock.Call
- func (mr *MockProjectsMockRecorder) DeleteVariable(ctx, projectSlug, name interface{}) *gomock.Call
- func (mr *MockProjectsMockRecorder) Get(ctx, projectSlug interface{}) *gomock.Call
- func (mr *MockProjectsMockRecorder) GetCheckoutKey(ctx, projectSlug, fingerprint interface{}) *gomock.Call
- func (mr *MockProjectsMockRecorder) GetPipeline(ctx, projectSlug, pipelineNumber interface{}) *gomock.Call
- func (mr *MockProjectsMockRecorder) GetVariable(ctx, projectSlug, name interface{}) *gomock.Call
- func (mr *MockProjectsMockRecorder) ListCheckoutKeys(ctx, projectSlug interface{}) *gomock.Call
- func (mr *MockProjectsMockRecorder) ListMyPipelines(ctx, projectSlug, options interface{}) *gomock.Call
- func (mr *MockProjectsMockRecorder) ListPipelines(ctx, projectSlug, options interface{}) *gomock.Call
- func (mr *MockProjectsMockRecorder) ListVariables(ctx, projectSlug interface{}) *gomock.Call
- func (mr *MockProjectsMockRecorder) TriggerPipeline(ctx, projectSlug, options interface{}) *gomock.Call
- type MockUsers
- type MockUsersMockRecorder
- type MockWorkflows
- func (m *MockWorkflows) ApproveJob(ctx context.Context, id, approvalRequestID string) error
- func (m *MockWorkflows) Cancel(ctx context.Context, id string) error
- func (m *MockWorkflows) EXPECT() *MockWorkflowsMockRecorder
- func (m *MockWorkflows) Get(ctx context.Context, id string) (*circleci.Workflow, error)
- func (m *MockWorkflows) ListWorkflowJobs(ctx context.Context, id string) (*circleci.WorkflowJobList, error)
- func (m *MockWorkflows) Rerun(ctx context.Context, id string, options circleci.WorkflowRerunOptions) error
- type MockWorkflowsMockRecorder
- func (mr *MockWorkflowsMockRecorder) ApproveJob(ctx, id, approvalRequestID interface{}) *gomock.Call
- func (mr *MockWorkflowsMockRecorder) Cancel(ctx, id interface{}) *gomock.Call
- func (mr *MockWorkflowsMockRecorder) Get(ctx, id interface{}) *gomock.Call
- func (mr *MockWorkflowsMockRecorder) ListWorkflowJobs(ctx, id interface{}) *gomock.Call
- func (mr *MockWorkflowsMockRecorder) Rerun(ctx, id, options interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockContexts ¶
type MockContexts struct {
// contains filtered or unexported fields
}
MockContexts is a mock of Contexts interface.
func NewMockContexts ¶
func NewMockContexts(ctrl *gomock.Controller) *MockContexts
NewMockContexts creates a new mock instance.
func (*MockContexts) AddOrUpdateVariable ¶
func (m *MockContexts) AddOrUpdateVariable(ctx context.Context, contextID, variableName string, options circleci.ContextAddOrUpdateVariableOptions) (*circleci.ContextVariable, error)
AddOrUpdateVariable mocks base method.
func (*MockContexts) Create ¶
func (m *MockContexts) Create(ctx context.Context, options circleci.ContextCreateOptions) (*circleci.Context, error)
Create mocks base method.
func (*MockContexts) Delete ¶
func (m *MockContexts) Delete(ctx context.Context, contextID string) error
Delete mocks base method.
func (*MockContexts) EXPECT ¶
func (m *MockContexts) EXPECT() *MockContextsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContexts) List ¶
func (m *MockContexts) List(ctx context.Context, options circleci.ContextListOptions) (*circleci.ContextList, error)
List mocks base method.
func (*MockContexts) ListVariables ¶
func (m *MockContexts) ListVariables(ctx context.Context, contextID string) (*circleci.ContextVariableList, error)
ListVariables mocks base method.
func (*MockContexts) RemoveVariable ¶
func (m *MockContexts) RemoveVariable(ctx context.Context, contextID, variableName string) error
RemoveVariable mocks base method.
type MockContextsMockRecorder ¶
type MockContextsMockRecorder struct {
// contains filtered or unexported fields
}
MockContextsMockRecorder is the mock recorder for MockContexts.
func (*MockContextsMockRecorder) AddOrUpdateVariable ¶
func (mr *MockContextsMockRecorder) AddOrUpdateVariable(ctx, contextID, variableName, options interface{}) *gomock.Call
AddOrUpdateVariable indicates an expected call of AddOrUpdateVariable.
func (*MockContextsMockRecorder) Create ¶
func (mr *MockContextsMockRecorder) Create(ctx, options interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockContextsMockRecorder) Delete ¶
func (mr *MockContextsMockRecorder) Delete(ctx, contextID interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockContextsMockRecorder) Get ¶
func (mr *MockContextsMockRecorder) Get(ctx, contextID interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockContextsMockRecorder) List ¶
func (mr *MockContextsMockRecorder) List(ctx, options interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockContextsMockRecorder) ListVariables ¶
func (mr *MockContextsMockRecorder) ListVariables(ctx, contextID interface{}) *gomock.Call
ListVariables indicates an expected call of ListVariables.
func (*MockContextsMockRecorder) RemoveVariable ¶
func (mr *MockContextsMockRecorder) RemoveVariable(ctx, contextID, variableName interface{}) *gomock.Call
RemoveVariable indicates an expected call of RemoveVariable.
type MockInsights ¶
type MockInsights struct {
// contains filtered or unexported fields
}
MockInsights is a mock of Insights interface.
func NewMockInsights ¶
func NewMockInsights(ctrl *gomock.Controller) *MockInsights
NewMockInsights creates a new mock instance.
func (*MockInsights) EXPECT ¶
func (m *MockInsights) EXPECT() *MockInsightsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInsights) GetTestMetricsForWorkflows ¶
func (m *MockInsights) GetTestMetricsForWorkflows(ctx context.Context, projectSlug, workflowName string, options circleci.InsightsGetTestMetricsOptions) (*circleci.TestMetrics, error)
GetTestMetricsForWorkflows mocks base method.
func (*MockInsights) ListSummaryMetricsForWorkflos ¶
func (m *MockInsights) ListSummaryMetricsForWorkflos(ctx context.Context, projectSlug string, options circleci.InsightsListSummaryMetricsOptions) (*circleci.SummaryMetricsList, error)
ListSummaryMetricsForWorkflos mocks base method.
func (*MockInsights) ListSummaryMetricsForWorkflowJobs ¶
func (m *MockInsights) ListSummaryMetricsForWorkflowJobs(ctx context.Context, projectSlug, workflowName string, options circleci.InsightsListSummaryMetricsOptions) (*circleci.SummaryMetricsList, error)
ListSummaryMetricsForWorkflowJobs mocks base method.
func (*MockInsights) ListWorkflowJobRuns ¶
func (m *MockInsights) ListWorkflowJobRuns(ctx context.Context, projectSlug, workflowName, jobName string, options circleci.InsightsListWorkflowRunsOptions) (*circleci.WorkflowRunList, error)
ListWorkflowJobRuns mocks base method.
func (*MockInsights) ListWorkflowRuns ¶
func (m *MockInsights) ListWorkflowRuns(ctx context.Context, projectSlug, workflowName string, options circleci.InsightsListWorkflowRunsOptions) (*circleci.WorkflowRunList, error)
ListWorkflowRuns mocks base method.
type MockInsightsMockRecorder ¶
type MockInsightsMockRecorder struct {
// contains filtered or unexported fields
}
MockInsightsMockRecorder is the mock recorder for MockInsights.
func (*MockInsightsMockRecorder) GetTestMetricsForWorkflows ¶
func (mr *MockInsightsMockRecorder) GetTestMetricsForWorkflows(ctx, projectSlug, workflowName, options interface{}) *gomock.Call
GetTestMetricsForWorkflows indicates an expected call of GetTestMetricsForWorkflows.
func (*MockInsightsMockRecorder) ListSummaryMetricsForWorkflos ¶
func (mr *MockInsightsMockRecorder) ListSummaryMetricsForWorkflos(ctx, projectSlug, options interface{}) *gomock.Call
ListSummaryMetricsForWorkflos indicates an expected call of ListSummaryMetricsForWorkflos.
func (*MockInsightsMockRecorder) ListSummaryMetricsForWorkflowJobs ¶
func (mr *MockInsightsMockRecorder) ListSummaryMetricsForWorkflowJobs(ctx, projectSlug, workflowName, options interface{}) *gomock.Call
ListSummaryMetricsForWorkflowJobs indicates an expected call of ListSummaryMetricsForWorkflowJobs.
func (*MockInsightsMockRecorder) ListWorkflowJobRuns ¶
func (mr *MockInsightsMockRecorder) ListWorkflowJobRuns(ctx, projectSlug, workflowName, jobName, options interface{}) *gomock.Call
ListWorkflowJobRuns indicates an expected call of ListWorkflowJobRuns.
func (*MockInsightsMockRecorder) ListWorkflowRuns ¶
func (mr *MockInsightsMockRecorder) ListWorkflowRuns(ctx, projectSlug, workflowName, options interface{}) *gomock.Call
ListWorkflowRuns indicates an expected call of ListWorkflowRuns.
type MockJobs ¶
type MockJobs struct {
// contains filtered or unexported fields
}
MockJobs is a mock of Jobs interface.
func NewMockJobs ¶
func NewMockJobs(ctrl *gomock.Controller) *MockJobs
NewMockJobs creates a new mock instance.
func (*MockJobs) EXPECT ¶
func (m *MockJobs) EXPECT() *MockJobsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockJobs) ListArtifacts ¶
func (m *MockJobs) ListArtifacts(ctx context.Context, projectSlug, jobNumber string) (*circleci.ArtifactList, error)
ListArtifacts mocks base method.
func (*MockJobs) ListTestMetadata ¶
func (m *MockJobs) ListTestMetadata(ctx context.Context, projectSlug, jobNumber string) (*circleci.TestMetadataList, error)
ListTestMetadata mocks base method.
type MockJobsMockRecorder ¶
type MockJobsMockRecorder struct {
// contains filtered or unexported fields
}
MockJobsMockRecorder is the mock recorder for MockJobs.
func (*MockJobsMockRecorder) Cancel ¶
func (mr *MockJobsMockRecorder) Cancel(ctx, projectSlug, jobNumber interface{}) *gomock.Call
Cancel indicates an expected call of Cancel.
func (*MockJobsMockRecorder) Get ¶
func (mr *MockJobsMockRecorder) Get(ctx, projectSlug, jobNumber interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockJobsMockRecorder) ListArtifacts ¶
func (mr *MockJobsMockRecorder) ListArtifacts(ctx, projectSlug, jobNumber interface{}) *gomock.Call
ListArtifacts indicates an expected call of ListArtifacts.
func (*MockJobsMockRecorder) ListTestMetadata ¶
func (mr *MockJobsMockRecorder) ListTestMetadata(ctx, projectSlug, jobNumber interface{}) *gomock.Call
ListTestMetadata indicates an expected call of ListTestMetadata.
type MockPipelines ¶
type MockPipelines struct {
// contains filtered or unexported fields
}
MockPipelines is a mock of Pipelines interface.
func NewMockPipelines ¶
func NewMockPipelines(ctrl *gomock.Controller) *MockPipelines
NewMockPipelines creates a new mock instance.
func (*MockPipelines) Continue ¶
func (m *MockPipelines) Continue(ctx context.Context, options circleci.PipelineContinueOptions) error
Continue mocks base method.
func (*MockPipelines) EXPECT ¶
func (m *MockPipelines) EXPECT() *MockPipelinesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPipelines) GetConfig ¶
func (m *MockPipelines) GetConfig(ctx context.Context, pipelineID string) (*circleci.PipelineConfig, error)
GetConfig mocks base method.
func (*MockPipelines) List ¶
func (m *MockPipelines) List(ctx context.Context, options circleci.PipelineListOptions) (*circleci.PipelineList, error)
List mocks base method.
func (*MockPipelines) ListWorkflows ¶
func (m *MockPipelines) ListWorkflows(ctx context.Context, pipelineID string, options circleci.PipelineListWorkflowsOptions) (*circleci.WorkflowList, error)
ListWorkflows mocks base method.
type MockPipelinesMockRecorder ¶
type MockPipelinesMockRecorder struct {
// contains filtered or unexported fields
}
MockPipelinesMockRecorder is the mock recorder for MockPipelines.
func (*MockPipelinesMockRecorder) Continue ¶
func (mr *MockPipelinesMockRecorder) Continue(ctx, options interface{}) *gomock.Call
Continue indicates an expected call of Continue.
func (*MockPipelinesMockRecorder) Get ¶
func (mr *MockPipelinesMockRecorder) Get(ctx, pipelineID interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockPipelinesMockRecorder) GetConfig ¶
func (mr *MockPipelinesMockRecorder) GetConfig(ctx, pipelineID interface{}) *gomock.Call
GetConfig indicates an expected call of GetConfig.
func (*MockPipelinesMockRecorder) List ¶
func (mr *MockPipelinesMockRecorder) List(ctx, options interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockPipelinesMockRecorder) ListWorkflows ¶
func (mr *MockPipelinesMockRecorder) ListWorkflows(ctx, pipelineID, options interface{}) *gomock.Call
ListWorkflows indicates an expected call of ListWorkflows.
type MockProjects ¶
type MockProjects struct {
// contains filtered or unexported fields
}
MockProjects is a mock of Projects interface.
func NewMockProjects ¶
func NewMockProjects(ctrl *gomock.Controller) *MockProjects
NewMockProjects creates a new mock instance.
func (*MockProjects) CreateCheckoutKey ¶
func (m *MockProjects) CreateCheckoutKey(ctx context.Context, projectSlug string, options circleci.ProjectCreateCheckoutKeyOptions) (*circleci.ProjectCheckoutKey, error)
CreateCheckoutKey mocks base method.
func (*MockProjects) CreateVariable ¶
func (m *MockProjects) CreateVariable(ctx context.Context, projectSlug string, options circleci.ProjectCreateVariableOptions) (*circleci.ProjectVariable, error)
CreateVariable mocks base method.
func (*MockProjects) DeleteCheckoutKey ¶
func (m *MockProjects) DeleteCheckoutKey(ctx context.Context, projectSlug, fingerprint string) error
DeleteCheckoutKey mocks base method.
func (*MockProjects) DeleteVariable ¶
func (m *MockProjects) DeleteVariable(ctx context.Context, projectSlug, name string) error
DeleteVariable mocks base method.
func (*MockProjects) EXPECT ¶
func (m *MockProjects) EXPECT() *MockProjectsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProjects) GetCheckoutKey ¶
func (m *MockProjects) GetCheckoutKey(ctx context.Context, projectSlug, fingerprint string) (*circleci.ProjectCheckoutKey, error)
GetCheckoutKey mocks base method.
func (*MockProjects) GetPipeline ¶
func (m *MockProjects) GetPipeline(ctx context.Context, projectSlug, pipelineNumber string) (*circleci.Pipeline, error)
GetPipeline mocks base method.
func (*MockProjects) GetVariable ¶
func (m *MockProjects) GetVariable(ctx context.Context, projectSlug, name string) (*circleci.ProjectVariable, error)
GetVariable mocks base method.
func (*MockProjects) ListCheckoutKeys ¶
func (m *MockProjects) ListCheckoutKeys(ctx context.Context, projectSlug string) (*circleci.ProjectCheckoutKeyList, error)
ListCheckoutKeys mocks base method.
func (*MockProjects) ListMyPipelines ¶
func (m *MockProjects) ListMyPipelines(ctx context.Context, projectSlug string, options circleci.ProjectListMyPipelinesOptions) (*circleci.PipelineList, error)
ListMyPipelines mocks base method.
func (*MockProjects) ListPipelines ¶
func (m *MockProjects) ListPipelines(ctx context.Context, projectSlug string, options circleci.ProjectListPipelinesOptions) (*circleci.PipelineList, error)
ListPipelines mocks base method.
func (*MockProjects) ListVariables ¶
func (m *MockProjects) ListVariables(ctx context.Context, projectSlug string) (*circleci.ProjectVariableList, error)
ListVariables mocks base method.
func (*MockProjects) TriggerPipeline ¶
func (m *MockProjects) TriggerPipeline(ctx context.Context, projectSlug string, options circleci.ProjectTriggerPipelineOptions) (*circleci.Pipeline, error)
TriggerPipeline mocks base method.
type MockProjectsMockRecorder ¶
type MockProjectsMockRecorder struct {
// contains filtered or unexported fields
}
MockProjectsMockRecorder is the mock recorder for MockProjects.
func (*MockProjectsMockRecorder) CreateCheckoutKey ¶
func (mr *MockProjectsMockRecorder) CreateCheckoutKey(ctx, projectSlug, options interface{}) *gomock.Call
CreateCheckoutKey indicates an expected call of CreateCheckoutKey.
func (*MockProjectsMockRecorder) CreateVariable ¶
func (mr *MockProjectsMockRecorder) CreateVariable(ctx, projectSlug, options interface{}) *gomock.Call
CreateVariable indicates an expected call of CreateVariable.
func (*MockProjectsMockRecorder) DeleteCheckoutKey ¶
func (mr *MockProjectsMockRecorder) DeleteCheckoutKey(ctx, projectSlug, fingerprint interface{}) *gomock.Call
DeleteCheckoutKey indicates an expected call of DeleteCheckoutKey.
func (*MockProjectsMockRecorder) DeleteVariable ¶
func (mr *MockProjectsMockRecorder) DeleteVariable(ctx, projectSlug, name interface{}) *gomock.Call
DeleteVariable indicates an expected call of DeleteVariable.
func (*MockProjectsMockRecorder) Get ¶
func (mr *MockProjectsMockRecorder) Get(ctx, projectSlug interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockProjectsMockRecorder) GetCheckoutKey ¶
func (mr *MockProjectsMockRecorder) GetCheckoutKey(ctx, projectSlug, fingerprint interface{}) *gomock.Call
GetCheckoutKey indicates an expected call of GetCheckoutKey.
func (*MockProjectsMockRecorder) GetPipeline ¶
func (mr *MockProjectsMockRecorder) GetPipeline(ctx, projectSlug, pipelineNumber interface{}) *gomock.Call
GetPipeline indicates an expected call of GetPipeline.
func (*MockProjectsMockRecorder) GetVariable ¶
func (mr *MockProjectsMockRecorder) GetVariable(ctx, projectSlug, name interface{}) *gomock.Call
GetVariable indicates an expected call of GetVariable.
func (*MockProjectsMockRecorder) ListCheckoutKeys ¶
func (mr *MockProjectsMockRecorder) ListCheckoutKeys(ctx, projectSlug interface{}) *gomock.Call
ListCheckoutKeys indicates an expected call of ListCheckoutKeys.
func (*MockProjectsMockRecorder) ListMyPipelines ¶
func (mr *MockProjectsMockRecorder) ListMyPipelines(ctx, projectSlug, options interface{}) *gomock.Call
ListMyPipelines indicates an expected call of ListMyPipelines.
func (*MockProjectsMockRecorder) ListPipelines ¶
func (mr *MockProjectsMockRecorder) ListPipelines(ctx, projectSlug, options interface{}) *gomock.Call
ListPipelines indicates an expected call of ListPipelines.
func (*MockProjectsMockRecorder) ListVariables ¶
func (mr *MockProjectsMockRecorder) ListVariables(ctx, projectSlug interface{}) *gomock.Call
ListVariables indicates an expected call of ListVariables.
func (*MockProjectsMockRecorder) TriggerPipeline ¶
func (mr *MockProjectsMockRecorder) TriggerPipeline(ctx, projectSlug, options interface{}) *gomock.Call
TriggerPipeline indicates an expected call of TriggerPipeline.
type MockUsers ¶
type MockUsers struct {
// contains filtered or unexported fields
}
MockUsers is a mock of Users interface.
func NewMockUsers ¶
func NewMockUsers(ctrl *gomock.Controller) *MockUsers
NewMockUsers creates a new mock instance.
func (*MockUsers) Collaborations ¶
Collaborations mocks base method.
func (*MockUsers) EXPECT ¶
func (m *MockUsers) EXPECT() *MockUsersMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUsersMockRecorder ¶
type MockUsersMockRecorder struct {
// contains filtered or unexported fields
}
MockUsersMockRecorder is the mock recorder for MockUsers.
func (*MockUsersMockRecorder) Collaborations ¶
func (mr *MockUsersMockRecorder) Collaborations(ctx interface{}) *gomock.Call
Collaborations indicates an expected call of Collaborations.
func (*MockUsersMockRecorder) GetUser ¶
func (mr *MockUsersMockRecorder) GetUser(ctx, id interface{}) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockUsersMockRecorder) Me ¶
func (mr *MockUsersMockRecorder) Me(ctx interface{}) *gomock.Call
Me indicates an expected call of Me.
type MockWorkflows ¶
type MockWorkflows struct {
// contains filtered or unexported fields
}
MockWorkflows is a mock of Workflows interface.
func NewMockWorkflows ¶
func NewMockWorkflows(ctrl *gomock.Controller) *MockWorkflows
NewMockWorkflows creates a new mock instance.
func (*MockWorkflows) ApproveJob ¶
func (m *MockWorkflows) ApproveJob(ctx context.Context, id, approvalRequestID string) error
ApproveJob mocks base method.
func (*MockWorkflows) Cancel ¶
func (m *MockWorkflows) Cancel(ctx context.Context, id string) error
Cancel mocks base method.
func (*MockWorkflows) EXPECT ¶
func (m *MockWorkflows) EXPECT() *MockWorkflowsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWorkflows) ListWorkflowJobs ¶
func (m *MockWorkflows) ListWorkflowJobs(ctx context.Context, id string) (*circleci.WorkflowJobList, error)
ListWorkflowJobs mocks base method.
func (*MockWorkflows) Rerun ¶
func (m *MockWorkflows) Rerun(ctx context.Context, id string, options circleci.WorkflowRerunOptions) error
Rerun mocks base method.
type MockWorkflowsMockRecorder ¶
type MockWorkflowsMockRecorder struct {
// contains filtered or unexported fields
}
MockWorkflowsMockRecorder is the mock recorder for MockWorkflows.
func (*MockWorkflowsMockRecorder) ApproveJob ¶
func (mr *MockWorkflowsMockRecorder) ApproveJob(ctx, id, approvalRequestID interface{}) *gomock.Call
ApproveJob indicates an expected call of ApproveJob.
func (*MockWorkflowsMockRecorder) Cancel ¶
func (mr *MockWorkflowsMockRecorder) Cancel(ctx, id interface{}) *gomock.Call
Cancel indicates an expected call of Cancel.
func (*MockWorkflowsMockRecorder) Get ¶
func (mr *MockWorkflowsMockRecorder) Get(ctx, id interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockWorkflowsMockRecorder) ListWorkflowJobs ¶
func (mr *MockWorkflowsMockRecorder) ListWorkflowJobs(ctx, id interface{}) *gomock.Call
ListWorkflowJobs indicates an expected call of ListWorkflowJobs.
func (*MockWorkflowsMockRecorder) Rerun ¶
func (mr *MockWorkflowsMockRecorder) Rerun(ctx, id, options interface{}) *gomock.Call
Rerun indicates an expected call of Rerun.