Documentation ¶
Overview ¶
Package cockroachdb is a generated GoMock package.
Index ¶
- Variables
- type BuildVersionDetail
- type Client
- type JobResources
- type MockClient
- func (m *MockClient) ArchiveComputedPipeline(ctx context.Context, repoSource, repoOwner, repoName string) error
- func (m *MockClient) Connect(ctx context.Context) error
- func (m *MockClient) ConnectWithDriverAndSource(ctx context.Context, driverName, dataSourceName string) error
- func (m *MockClient) DeleteCatalogEntity(ctx context.Context, id string) error
- func (m *MockClient) DeleteClient(ctx context.Context, client estafette_ci_contracts.Client) error
- func (m *MockClient) DeleteGroup(ctx context.Context, group estafette_ci_contracts.Group) error
- func (m *MockClient) DeleteOrganization(ctx context.Context, organization estafette_ci_contracts.Organization) error
- func (m *MockClient) DeleteUser(ctx context.Context, user estafette_ci_contracts.User) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetAllNotifications(ctx context.Context, pageNumber, pageSize int, ...) ([]*estafette_ci_contracts.NotificationRecord, error)
- func (m *MockClient) GetAllNotificationsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetAllPipelineBots(ctx context.Context, pageNumber, pageSize int, ...) ([]*estafette_ci_contracts.Bot, error)
- func (m *MockClient) GetAllPipelineBotsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetAllPipelineBuilds(ctx context.Context, pageNumber, pageSize int, ...) ([]*estafette_ci_contracts.Build, error)
- func (m *MockClient) GetAllPipelineBuildsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetAllPipelineReleases(ctx context.Context, pageNumber, pageSize int, ...) ([]*estafette_ci_contracts.Release, error)
- func (m *MockClient) GetAllPipelineReleasesCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetAllPipelinesReleaseTargets(ctx context.Context, pageNumber, pageSize int, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetAllPipelinesReleaseTargetsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetAllReleasesReleaseTargets(ctx context.Context, pageNumber, pageSize int, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetAllReleasesReleaseTargetsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetAutoIncrement(ctx context.Context, shortRepoSource, repoOwner, repoName string) (int, error)
- func (m *MockClient) GetBitbucketTriggers(ctx context.Context, ...) ([]*estafette_ci_contracts.Pipeline, error)
- func (m *MockClient) GetBotsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetBuildsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetBuildsDuration(ctx context.Context, filters map[api.FilterType][]string) (time.Duration, error)
- func (m *MockClient) GetCatalogEntities(ctx context.Context, pageNumber, pageSize int, ...) ([]*estafette_ci_contracts.CatalogEntity, error)
- func (m *MockClient) GetCatalogEntitiesCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetCatalogEntityByID(ctx context.Context, id string) (*estafette_ci_contracts.CatalogEntity, error)
- func (m *MockClient) GetCatalogEntityKeys(ctx context.Context, pageNumber, pageSize int, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetCatalogEntityKeysCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetCatalogEntityLabels(ctx context.Context, pageNumber, pageSize int, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetCatalogEntityLabelsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetCatalogEntityParentKeys(ctx context.Context, pageNumber, pageSize int, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetCatalogEntityParentKeysCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetCatalogEntityParentValues(ctx context.Context, pageNumber, pageSize int, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetCatalogEntityParentValuesCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetCatalogEntityValues(ctx context.Context, pageNumber, pageSize int, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetCatalogEntityValuesCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetClientByClientID(ctx context.Context, clientID string) (*estafette_ci_contracts.Client, error)
- func (m *MockClient) GetClientByID(ctx context.Context, id string) (*estafette_ci_contracts.Client, error)
- func (m *MockClient) GetClients(ctx context.Context, pageNumber, pageSize int, ...) ([]*estafette_ci_contracts.Client, error)
- func (m *MockClient) GetClientsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetCronTriggers(ctx context.Context) ([]*estafette_ci_contracts.Pipeline, error)
- func (m *MockClient) GetFirstBotTimes(ctx context.Context) ([]time.Time, error)
- func (m *MockClient) GetFirstBuildTimes(ctx context.Context) ([]time.Time, error)
- func (m *MockClient) GetFirstPipelineBuild(ctx context.Context, repoSource, repoOwner, repoName string, optimized bool) (*estafette_ci_contracts.Build, error)
- func (m *MockClient) GetFirstPipelineRelease(ctx context.Context, ...) (*estafette_ci_contracts.Release, error)
- func (m *MockClient) GetFirstReleaseTimes(ctx context.Context) ([]time.Time, error)
- func (m *MockClient) GetFrequentLabels(ctx context.Context, pageNumber, pageSize int, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetFrequentLabelsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetGitTriggers(ctx context.Context, gitEvent estafette_ci_manifest.EstafetteGitEvent) ([]*estafette_ci_contracts.Pipeline, error)
- func (m *MockClient) GetGithubTriggers(ctx context.Context, githubEvent estafette_ci_manifest.EstafetteGithubEvent) ([]*estafette_ci_contracts.Pipeline, error)
- func (m *MockClient) GetGroupByID(ctx context.Context, id string, filters map[api.FilterType][]string) (*estafette_ci_contracts.Group, error)
- func (m *MockClient) GetGroupByIdentity(ctx context.Context, identity estafette_ci_contracts.GroupIdentity) (*estafette_ci_contracts.Group, error)
- func (m *MockClient) GetGroups(ctx context.Context, pageNumber, pageSize int, ...) ([]*estafette_ci_contracts.Group, error)
- func (m *MockClient) GetGroupsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetLabelValues(ctx context.Context, labelKey string) ([]map[string]interface{}, error)
- func (m *MockClient) GetLastPipelineBuild(ctx context.Context, repoSource, repoOwner, repoName string, optimized bool) (*estafette_ci_contracts.Build, error)
- func (m *MockClient) GetLastPipelineBuildForBranch(ctx context.Context, repoSource, repoOwner, repoName, branch string) (*estafette_ci_contracts.Build, error)
- func (m *MockClient) GetLastPipelineReleases(ctx context.Context, ...) ([]*estafette_ci_contracts.Release, error)
- func (m *MockClient) GetOrganizationByID(ctx context.Context, id string) (*estafette_ci_contracts.Organization, error)
- func (m *MockClient) GetOrganizationByIdentity(ctx context.Context, identity estafette_ci_contracts.OrganizationIdentity) (*estafette_ci_contracts.Organization, error)
- func (m *MockClient) GetOrganizationByName(ctx context.Context, name string) (*estafette_ci_contracts.Organization, error)
- func (m *MockClient) GetOrganizations(ctx context.Context, pageNumber, pageSize int, ...) ([]*estafette_ci_contracts.Organization, error)
- func (m *MockClient) GetOrganizationsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetPipeline(ctx context.Context, repoSource, repoOwner, repoName string, ...) (*estafette_ci_contracts.Pipeline, error)
- func (m *MockClient) GetPipelineBot(ctx context.Context, repoSource, repoOwner, repoName, botID string) (*estafette_ci_contracts.Bot, error)
- func (m *MockClient) GetPipelineBotLogs(ctx context.Context, repoSource, repoOwner, repoName, botID string, ...) (*estafette_ci_contracts.BotLog, error)
- func (m *MockClient) GetPipelineBotLogsByID(ctx context.Context, repoSource, repoOwner, repoName, botID, id string, ...) (*estafette_ci_contracts.BotLog, error)
- func (m *MockClient) GetPipelineBotLogsCount(ctx context.Context, repoSource, repoOwner, repoName, botID string) (int, error)
- func (m *MockClient) GetPipelineBotLogsPerPage(ctx context.Context, repoSource, repoOwner, repoName, botID string, ...) ([]*estafette_ci_contracts.BotLog, error)
- func (m *MockClient) GetPipelineBotMaxResourceUtilization(ctx context.Context, repoSource, repoOwner, repoName, targetName string, ...) (JobResources, int, error)
- func (m *MockClient) GetPipelineBotNames(ctx context.Context, repoSource, repoOwner, repoName string, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetPipelineBotNamesCount(ctx context.Context, repoSource, repoOwner, repoName string, ...) (int, error)
- func (m *MockClient) GetPipelineBots(ctx context.Context, repoSource, repoOwner, repoName string, ...) ([]*estafette_ci_contracts.Bot, error)
- func (m *MockClient) GetPipelineBotsCPUUsageMeasurements(ctx context.Context, repoSource, repoOwner, repoName string, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetPipelineBotsCount(ctx context.Context, repoSource, repoOwner, repoName string, ...) (int, error)
- func (m *MockClient) GetPipelineBotsDurations(ctx context.Context, repoSource, repoOwner, repoName string, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetPipelineBotsMemoryUsageMeasurements(ctx context.Context, repoSource, repoOwner, repoName string, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetPipelineBuild(ctx context.Context, repoSource, repoOwner, repoName, repoRevision string, ...) (*estafette_ci_contracts.Build, error)
- func (m *MockClient) GetPipelineBuildBranches(ctx context.Context, repoSource, repoOwner, repoName string, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetPipelineBuildBranchesCount(ctx context.Context, repoSource, repoOwner, repoName string, ...) (int, error)
- func (m *MockClient) GetPipelineBuildByID(ctx context.Context, repoSource, repoOwner, repoName, buildID string, ...) (*estafette_ci_contracts.Build, error)
- func (m *MockClient) GetPipelineBuildLogs(ctx context.Context, ...) (*estafette_ci_contracts.BuildLog, error)
- func (m *MockClient) GetPipelineBuildLogsByID(ctx context.Context, ...) (*estafette_ci_contracts.BuildLog, error)
- func (m *MockClient) GetPipelineBuildLogsCount(ctx context.Context, ...) (int, error)
- func (m *MockClient) GetPipelineBuildLogsPerPage(ctx context.Context, ...) ([]*estafette_ci_contracts.BuildLog, error)
- func (m *MockClient) GetPipelineBuildMaxResourceUtilization(ctx context.Context, repoSource, repoOwner, repoName string, lastNRecords int) (JobResources, int, error)
- func (m *MockClient) GetPipelineBuilds(ctx context.Context, repoSource, repoOwner, repoName string, ...) ([]*estafette_ci_contracts.Build, error)
- func (m *MockClient) GetPipelineBuildsByVersion(ctx context.Context, repoSource, repoOwner, repoName, buildVersion string, ...) ([]*estafette_ci_contracts.Build, error)
- func (m *MockClient) GetPipelineBuildsCPUUsageMeasurements(ctx context.Context, repoSource, repoOwner, repoName string, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetPipelineBuildsCount(ctx context.Context, repoSource, repoOwner, repoName string, ...) (int, error)
- func (m *MockClient) GetPipelineBuildsDurations(ctx context.Context, repoSource, repoOwner, repoName string, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetPipelineBuildsMemoryUsageMeasurements(ctx context.Context, repoSource, repoOwner, repoName string, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetPipelineLastReleasesByName(ctx context.Context, repoSource, repoOwner, repoName, releaseName string, ...) ([]estafette_ci_contracts.Release, error)
- func (m *MockClient) GetPipelineRecentBuilds(ctx context.Context, repoSource, repoOwner, repoName string, optimized bool) ([]*estafette_ci_contracts.Build, error)
- func (m *MockClient) GetPipelineRelease(ctx context.Context, repoSource, repoOwner, repoName, releaseID string) (*estafette_ci_contracts.Release, error)
- func (m *MockClient) GetPipelineReleaseLogs(ctx context.Context, repoSource, repoOwner, repoName, releaseID string, ...) (*estafette_ci_contracts.ReleaseLog, error)
- func (m *MockClient) GetPipelineReleaseLogsByID(ctx context.Context, repoSource, repoOwner, repoName, releaseID, id string, ...) (*estafette_ci_contracts.ReleaseLog, error)
- func (m *MockClient) GetPipelineReleaseLogsCount(ctx context.Context, repoSource, repoOwner, repoName, releaseID string) (int, error)
- func (m *MockClient) GetPipelineReleaseLogsPerPage(ctx context.Context, repoSource, repoOwner, repoName, releaseID string, ...) ([]*estafette_ci_contracts.ReleaseLog, error)
- func (m *MockClient) GetPipelineReleaseMaxResourceUtilization(ctx context.Context, repoSource, repoOwner, repoName, targetName string, ...) (JobResources, int, error)
- func (m *MockClient) GetPipelineReleases(ctx context.Context, repoSource, repoOwner, repoName string, ...) ([]*estafette_ci_contracts.Release, error)
- func (m *MockClient) GetPipelineReleasesCPUUsageMeasurements(ctx context.Context, repoSource, repoOwner, repoName string, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetPipelineReleasesCount(ctx context.Context, repoSource, repoOwner, repoName string, ...) (int, error)
- func (m *MockClient) GetPipelineReleasesDurations(ctx context.Context, repoSource, repoOwner, repoName string, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetPipelineReleasesMemoryUsageMeasurements(ctx context.Context, repoSource, repoOwner, repoName string, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetPipelineTriggers(ctx context.Context, build estafette_ci_contracts.Build, event string) ([]*estafette_ci_contracts.Pipeline, error)
- func (m *MockClient) GetPipelines(ctx context.Context, pageNumber, pageSize int, ...) ([]*estafette_ci_contracts.Pipeline, error)
- func (m *MockClient) GetPipelinesByRepoName(ctx context.Context, repoName string, optimized bool) ([]*estafette_ci_contracts.Pipeline, error)
- func (m *MockClient) GetPipelinesCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetPipelinesWithMostBots(ctx context.Context, pageNumber, pageSize int, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetPipelinesWithMostBotsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetPipelinesWithMostBuilds(ctx context.Context, pageNumber, pageSize int, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetPipelinesWithMostBuildsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetPipelinesWithMostReleases(ctx context.Context, pageNumber, pageSize int, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetPipelinesWithMostReleasesCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetPubSubTriggers(ctx context.Context, pubsubEvent estafette_ci_manifest.EstafettePubSubEvent) ([]*estafette_ci_contracts.Pipeline, error)
- func (m *MockClient) GetReleaseTargets(ctx context.Context, pageNumber, pageSize int, ...) ([]map[string]interface{}, error)
- func (m *MockClient) GetReleaseTargetsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetReleaseTriggers(ctx context.Context, release estafette_ci_contracts.Release, event string) ([]*estafette_ci_contracts.Pipeline, error)
- func (m *MockClient) GetReleasesCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) GetTriggers(ctx context.Context, triggerType, identifier, event string) ([]*estafette_ci_contracts.Pipeline, error)
- func (m *MockClient) GetUserByID(ctx context.Context, id string, filters map[api.FilterType][]string) (*estafette_ci_contracts.User, error)
- func (m *MockClient) GetUserByIdentity(ctx context.Context, identity estafette_ci_contracts.UserIdentity) (*estafette_ci_contracts.User, error)
- func (m *MockClient) GetUsers(ctx context.Context, pageNumber, pageSize int, ...) ([]*estafette_ci_contracts.User, error)
- func (m *MockClient) GetUsersCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
- func (m *MockClient) InsertBot(ctx context.Context, bot estafette_ci_contracts.Bot, jobResources JobResources) (*estafette_ci_contracts.Bot, error)
- func (m *MockClient) InsertBotLog(ctx context.Context, botLog estafette_ci_contracts.BotLog, ...) (estafette_ci_contracts.BotLog, error)
- func (m *MockClient) InsertBuild(ctx context.Context, build estafette_ci_contracts.Build, ...) (*estafette_ci_contracts.Build, error)
- func (m *MockClient) InsertBuildLog(ctx context.Context, buildLog estafette_ci_contracts.BuildLog, ...) (estafette_ci_contracts.BuildLog, error)
- func (m *MockClient) InsertCatalogEntity(ctx context.Context, catalogEntity estafette_ci_contracts.CatalogEntity) (*estafette_ci_contracts.CatalogEntity, error)
- func (m *MockClient) InsertClient(ctx context.Context, client estafette_ci_contracts.Client) (*estafette_ci_contracts.Client, error)
- func (m *MockClient) InsertGroup(ctx context.Context, group estafette_ci_contracts.Group) (*estafette_ci_contracts.Group, error)
- func (m *MockClient) InsertNotification(ctx context.Context, ...) (*estafette_ci_contracts.NotificationRecord, error)
- func (m *MockClient) InsertOrganization(ctx context.Context, organization estafette_ci_contracts.Organization) (*estafette_ci_contracts.Organization, error)
- func (m *MockClient) InsertRelease(ctx context.Context, release estafette_ci_contracts.Release, ...) (*estafette_ci_contracts.Release, error)
- func (m *MockClient) InsertReleaseLog(ctx context.Context, releaseLog estafette_ci_contracts.ReleaseLog, ...) (estafette_ci_contracts.ReleaseLog, error)
- func (m *MockClient) InsertUser(ctx context.Context, user estafette_ci_contracts.User) (*estafette_ci_contracts.User, error)
- func (m *MockClient) Rename(ctx context.Context, ...) error
- func (m *MockClient) RenameBuildLogs(ctx context.Context, ...) error
- func (m *MockClient) RenameBuildVersion(ctx context.Context, ...) error
- func (m *MockClient) RenameBuilds(ctx context.Context, ...) error
- func (m *MockClient) RenameComputedPipelines(ctx context.Context, ...) error
- func (m *MockClient) RenameComputedReleases(ctx context.Context, ...) error
- func (m *MockClient) RenameReleaseLogs(ctx context.Context, ...) error
- func (m *MockClient) RenameReleases(ctx context.Context, ...) error
- func (m *MockClient) UnarchiveComputedPipeline(ctx context.Context, repoSource, repoOwner, repoName string) error
- func (m *MockClient) UpdateBotResourceUtilization(ctx context.Context, repoSource, repoOwner, repoName, botID string, ...) error
- func (m *MockClient) UpdateBotStatus(ctx context.Context, repoSource, repoOwner, repoName, botID string, ...) error
- func (m *MockClient) UpdateBuildResourceUtilization(ctx context.Context, repoSource, repoOwner, repoName, buildID string, ...) error
- func (m *MockClient) UpdateBuildStatus(ctx context.Context, repoSource, repoOwner, repoName, buildID string, ...) error
- func (m *MockClient) UpdateCatalogEntity(ctx context.Context, catalogEntity estafette_ci_contracts.CatalogEntity) error
- func (m *MockClient) UpdateClient(ctx context.Context, client estafette_ci_contracts.Client) error
- func (m *MockClient) UpdateComputedPipelineFirstInsertedAt(ctx context.Context, repoSource, repoOwner, repoName string) error
- func (m *MockClient) UpdateComputedPipelinePermissions(ctx context.Context, pipeline estafette_ci_contracts.Pipeline) error
- func (m *MockClient) UpdateComputedReleaseFirstInsertedAt(ctx context.Context, ...) error
- func (m *MockClient) UpdateComputedTables(ctx context.Context, repoSource, repoOwner, repoName string) error
- func (m *MockClient) UpdateGroup(ctx context.Context, group estafette_ci_contracts.Group) error
- func (m *MockClient) UpdateOrganization(ctx context.Context, organization estafette_ci_contracts.Organization) error
- func (m *MockClient) UpdateReleaseResourceUtilization(ctx context.Context, repoSource, repoOwner, repoName, releaseID string, ...) error
- func (m *MockClient) UpdateReleaseStatus(ctx context.Context, repoSource, repoOwner, repoName, releaseID string, ...) error
- func (m *MockClient) UpdateUser(ctx context.Context, user estafette_ci_contracts.User) error
- func (m *MockClient) UpsertComputedPipeline(ctx context.Context, repoSource, repoOwner, repoName string) error
- func (m *MockClient) UpsertComputedRelease(ctx context.Context, ...) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) ArchiveComputedPipeline(ctx, repoSource, repoOwner, repoName interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Connect(ctx interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ConnectWithDriverAndSource(ctx, driverName, dataSourceName interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteCatalogEntity(ctx, id interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteClient(ctx, client interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteGroup(ctx, group interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteOrganization(ctx, organization interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteUser(ctx, user interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAllNotifications(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAllNotificationsCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAllPipelineBots(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAllPipelineBotsCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAllPipelineBuilds(ctx, pageNumber, pageSize, filters, sortings, optimized interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAllPipelineBuildsCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAllPipelineReleases(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAllPipelineReleasesCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAllPipelinesReleaseTargets(ctx, pageNumber, pageSize, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAllPipelinesReleaseTargetsCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAllReleasesReleaseTargets(ctx, pageNumber, pageSize, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAllReleasesReleaseTargetsCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAutoIncrement(ctx, shortRepoSource, repoOwner, repoName interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetBitbucketTriggers(ctx, bitbucketEvent interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetBotsCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetBuildsCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetBuildsDuration(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCatalogEntities(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCatalogEntitiesCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCatalogEntityByID(ctx, id interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCatalogEntityKeys(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCatalogEntityKeysCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCatalogEntityLabels(ctx, pageNumber, pageSize, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCatalogEntityLabelsCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCatalogEntityParentKeys(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCatalogEntityParentKeysCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCatalogEntityParentValues(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCatalogEntityParentValuesCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCatalogEntityValues(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCatalogEntityValuesCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetClientByClientID(ctx, clientID interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetClientByID(ctx, id interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetClients(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetClientsCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCronTriggers(ctx interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetFirstBotTimes(ctx interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetFirstBuildTimes(ctx interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetFirstPipelineBuild(ctx, repoSource, repoOwner, repoName, optimized interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetFirstPipelineRelease(ctx, repoSource, repoOwner, repoName, releaseName, releaseAction interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetFirstReleaseTimes(ctx interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetFrequentLabels(ctx, pageNumber, pageSize, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetFrequentLabelsCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetGitTriggers(ctx, gitEvent interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetGithubTriggers(ctx, githubEvent interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetGroupByID(ctx, id, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetGroupByIdentity(ctx, identity interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetGroups(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetGroupsCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetLabelValues(ctx, labelKey interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetLastPipelineBuild(ctx, repoSource, repoOwner, repoName, optimized interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetLastPipelineBuildForBranch(ctx, repoSource, repoOwner, repoName, branch interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetLastPipelineReleases(...) *gomock.Call
- func (mr *MockClientMockRecorder) GetOrganizationByID(ctx, id interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetOrganizationByIdentity(ctx, identity interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetOrganizationByName(ctx, name interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetOrganizations(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetOrganizationsCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipeline(ctx, repoSource, repoOwner, repoName, filters, optimized interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBot(ctx, repoSource, repoOwner, repoName, botID interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBotLogs(ctx, repoSource, repoOwner, repoName, botID, readLogFromDatabase interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBotLogsByID(...) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBotLogsCount(ctx, repoSource, repoOwner, repoName, botID interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBotLogsPerPage(ctx, repoSource, repoOwner, repoName, botID, pageNumber, pageSize interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBotMaxResourceUtilization(ctx, repoSource, repoOwner, repoName, targetName, lastNRecords interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBotNames(...) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBotNamesCount(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBots(...) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBotsCPUUsageMeasurements(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBotsCount(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBotsDurations(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBotsMemoryUsageMeasurements(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBuild(ctx, repoSource, repoOwner, repoName, repoRevision, optimized interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBuildBranches(...) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBuildBranchesCount(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBuildByID(ctx, repoSource, repoOwner, repoName, buildID, optimized interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBuildLogs(...) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBuildLogsByID(...) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBuildLogsCount(...) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBuildLogsPerPage(...) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBuildMaxResourceUtilization(ctx, repoSource, repoOwner, repoName, lastNRecords interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBuilds(...) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBuildsByVersion(...) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBuildsCPUUsageMeasurements(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBuildsCount(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBuildsDurations(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineBuildsMemoryUsageMeasurements(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineLastReleasesByName(ctx, repoSource, repoOwner, repoName, releaseName, actions interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineRecentBuilds(ctx, repoSource, repoOwner, repoName, optimized interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineRelease(ctx, repoSource, repoOwner, repoName, releaseID interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineReleaseLogs(...) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineReleaseLogsByID(...) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineReleaseLogsCount(ctx, repoSource, repoOwner, repoName, releaseID interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineReleaseLogsPerPage(...) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineReleaseMaxResourceUtilization(ctx, repoSource, repoOwner, repoName, targetName, lastNRecords interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineReleases(...) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineReleasesCPUUsageMeasurements(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineReleasesCount(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineReleasesDurations(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineReleasesMemoryUsageMeasurements(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelineTriggers(ctx, build, event interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelines(ctx, pageNumber, pageSize, filters, sortings, optimized interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelinesByRepoName(ctx, repoName, optimized interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelinesCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelinesWithMostBots(ctx, pageNumber, pageSize, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelinesWithMostBotsCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelinesWithMostBuilds(ctx, pageNumber, pageSize, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelinesWithMostBuildsCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelinesWithMostReleases(ctx, pageNumber, pageSize, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPipelinesWithMostReleasesCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPubSubTriggers(ctx, pubsubEvent interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetReleaseTargets(ctx, pageNumber, pageSize, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetReleaseTargetsCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetReleaseTriggers(ctx, release, event interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetReleasesCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetTriggers(ctx, triggerType, identifier, event interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetUserByID(ctx, id, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetUserByIdentity(ctx, identity interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetUsers(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetUsersCount(ctx, filters interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InsertBot(ctx, bot, jobResources interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InsertBotLog(ctx, botLog, writeLogToDatabase interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InsertBuild(ctx, build, jobResources interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InsertBuildLog(ctx, buildLog, writeLogToDatabase interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InsertCatalogEntity(ctx, catalogEntity interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InsertClient(ctx, client interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InsertGroup(ctx, group interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InsertNotification(ctx, notificationRecord interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InsertOrganization(ctx, organization interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InsertRelease(ctx, release, jobResources interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InsertReleaseLog(ctx, releaseLog, writeLogToDatabase interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InsertUser(ctx, user interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Rename(...) *gomock.Call
- func (mr *MockClientMockRecorder) RenameBuildLogs(...) *gomock.Call
- func (mr *MockClientMockRecorder) RenameBuildVersion(...) *gomock.Call
- func (mr *MockClientMockRecorder) RenameBuilds(...) *gomock.Call
- func (mr *MockClientMockRecorder) RenameComputedPipelines(...) *gomock.Call
- func (mr *MockClientMockRecorder) RenameComputedReleases(...) *gomock.Call
- func (mr *MockClientMockRecorder) RenameReleaseLogs(...) *gomock.Call
- func (mr *MockClientMockRecorder) RenameReleases(...) *gomock.Call
- func (mr *MockClientMockRecorder) UnarchiveComputedPipeline(ctx, repoSource, repoOwner, repoName interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateBotResourceUtilization(ctx, repoSource, repoOwner, repoName, botID, jobResources interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateBotStatus(ctx, repoSource, repoOwner, repoName, botID, botStatus interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateBuildResourceUtilization(ctx, repoSource, repoOwner, repoName, buildID, jobResources interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateBuildStatus(ctx, repoSource, repoOwner, repoName, buildID, buildStatus interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateCatalogEntity(ctx, catalogEntity interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateClient(ctx, client interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateComputedPipelineFirstInsertedAt(ctx, repoSource, repoOwner, repoName interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateComputedPipelinePermissions(ctx, pipeline interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateComputedReleaseFirstInsertedAt(ctx, repoSource, repoOwner, repoName, releaseName, releaseAction interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateComputedTables(ctx, repoSource, repoOwner, repoName interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateGroup(ctx, group interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateOrganization(ctx, organization interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateReleaseResourceUtilization(ctx, repoSource, repoOwner, repoName, releaseID, jobResources interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateReleaseStatus(ctx, repoSource, repoOwner, repoName, releaseID, releaseStatus interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateUser(ctx, user interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpsertComputedPipeline(ctx, repoSource, repoOwner, repoName interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpsertComputedRelease(ctx, repoSource, repoOwner, repoName, releaseName, releaseAction interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
var ( // ErrUserNotFound is returned if a query for a user returns no results ErrUserNotFound = errors.New("the user can't be found") // ErrGroupNotFound is returned if a query for a group returns no results ErrGroupNotFound = errors.New("the group can't be found") // ErrOrganizationNotFound is returned if a query for a organization returns no results ErrOrganizationNotFound = errors.New("the organization can't be found") // ErrClientNotFound is returned if a query for a client returns no results ErrClientNotFound = errors.New("the client can't be found") // ErrCatalogEntityNotFound is returned if a query for a catalog entity returns no results ErrCatalogEntityNotFound = errors.New("the catalog entity can't be found") )
Functions ¶
This section is empty.
Types ¶
type BuildVersionDetail ¶
type BuildVersionDetail struct { ID int BuildVersion string RepoSource string RepoFullName string RepoBranch string RepoRevision string Manifest string InsertedAt time.Time }
BuildVersionDetail represents a specific build, including version number, repo, branch, revision and manifest
type Client ¶
type Client interface { Connect(ctx context.Context) (err error) ConnectWithDriverAndSource(ctx context.Context, driverName, dataSourceName string) (err error) GetAutoIncrement(ctx context.Context, shortRepoSource, repoOwner, repoName string) (autoincrement int, err error) InsertBuild(ctx context.Context, build contracts.Build, jobResources JobResources) (b *contracts.Build, err error) UpdateBuildStatus(ctx context.Context, repoSource, repoOwner, repoName string, buildID string, buildStatus contracts.Status) (err error) UpdateBuildResourceUtilization(ctx context.Context, repoSource, repoOwner, repoName string, buildID string, jobResources JobResources) (err error) InsertRelease(ctx context.Context, release contracts.Release, jobResources JobResources) (r *contracts.Release, err error) UpdateReleaseStatus(ctx context.Context, repoSource, repoOwner, repoName string, releaseID string, releaseStatus contracts.Status) (err error) UpdateReleaseResourceUtilization(ctx context.Context, repoSource, repoOwner, repoName string, releaseID string, jobResources JobResources) (err error) InsertBot(ctx context.Context, bot contracts.Bot, jobResources JobResources) (r *contracts.Bot, err error) UpdateBotStatus(ctx context.Context, repoSource, repoOwner, repoName string, botID string, botStatus contracts.Status) (err error) UpdateBotResourceUtilization(ctx context.Context, repoSource, repoOwner, repoName string, botID string, jobResources JobResources) (err error) InsertBuildLog(ctx context.Context, buildLog contracts.BuildLog, writeLogToDatabase bool) (log contracts.BuildLog, err error) InsertReleaseLog(ctx context.Context, releaseLog contracts.ReleaseLog, writeLogToDatabase bool) (log contracts.ReleaseLog, err error) InsertBotLog(ctx context.Context, botLog contracts.BotLog, writeLogToDatabase bool) (log contracts.BotLog, err error) UpdateComputedTables(ctx context.Context, repoSource, repoOwner, repoName string) (err error) UpsertComputedPipeline(ctx context.Context, repoSource, repoOwner, repoName string) (err error) UpdateComputedPipelinePermissions(ctx context.Context, pipeline contracts.Pipeline) (err error) UpdateComputedPipelineFirstInsertedAt(ctx context.Context, repoSource, repoOwner, repoName string) (err error) UpsertComputedRelease(ctx context.Context, repoSource, repoOwner, repoName, releaseName, releaseAction string) (err error) UpdateComputedReleaseFirstInsertedAt(ctx context.Context, repoSource, repoOwner, repoName, releaseName, releaseAction string) (err error) ArchiveComputedPipeline(ctx context.Context, repoSource, repoOwner, repoName string) (err error) UnarchiveComputedPipeline(ctx context.Context, repoSource, repoOwner, repoName string) (err error) GetPipelines(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField, optimized bool) (pipelines []*contracts.Pipeline, err error) GetPipelinesByRepoName(ctx context.Context, repoName string, optimized bool) (pipelines []*contracts.Pipeline, err error) GetPipelinesCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) GetPipeline(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string, optimized bool) (pipeline *contracts.Pipeline, err error) GetPipelineRecentBuilds(ctx context.Context, repoSource, repoOwner, repoName string, optimized bool) (builds []*contracts.Build, err error) GetPipelineBuilds(ctx context.Context, repoSource, repoOwner, repoName string, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField, optimized bool) (builds []*contracts.Build, err error) GetPipelineBuildsCount(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) (count int, err error) GetPipelineBuild(ctx context.Context, repoSource, repoOwner, repoName, repoRevision string, optimized bool) (build *contracts.Build, err error) GetPipelineBuildByID(ctx context.Context, repoSource, repoOwner, repoName string, buildID string, optimized bool) (build *contracts.Build, err error) GetLastPipelineBuild(ctx context.Context, repoSource, repoOwner, repoName string, optimized bool) (build *contracts.Build, err error) GetFirstPipelineBuild(ctx context.Context, repoSource, repoOwner, repoName string, optimized bool) (build *contracts.Build, err error) GetLastPipelineBuildForBranch(ctx context.Context, repoSource, repoOwner, repoName, branch string) (build *contracts.Build, err error) GetLastPipelineReleases(ctx context.Context, repoSource, repoOwner, repoName, releaseName, releaseAction string, pageSize int) (releases []*contracts.Release, err error) GetFirstPipelineRelease(ctx context.Context, repoSource, repoOwner, repoName, releaseName, releaseAction string) (release *contracts.Release, err error) GetPipelineBuildsByVersion(ctx context.Context, repoSource, repoOwner, repoName, buildVersion string, statuses []contracts.Status, limit uint64, optimized bool) (builds []*contracts.Build, err error) GetPipelineBuildLogs(ctx context.Context, repoSource, repoOwner, repoName, repoBranch, repoRevision, buildID string, readLogFromDatabase bool) (buildlog *contracts.BuildLog, err error) GetPipelineBuildLogsByID(ctx context.Context, repoSource, repoOwner, repoName, repoBranch, repoRevision, buildID, id string, readLogFromDatabase bool) (buildlog *contracts.BuildLog, err error) GetPipelineBuildLogsPerPage(ctx context.Context, repoSource, repoOwner, repoName, repoBranch, repoRevision, buildID string, pageNumber int, pageSize int) (buildLogs []*contracts.BuildLog, err error) GetPipelineBuildLogsCount(ctx context.Context, repoSource, repoOwner, repoName, repoBranch, repoRevision, buildID string) (count int, err error) GetPipelineBuildMaxResourceUtilization(ctx context.Context, repoSource, repoOwner, repoName string, lastNRecords int) (jobresources JobResources, count int, err error) GetPipelineReleases(ctx context.Context, repoSource, repoOwner, repoName string, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) (releases []*contracts.Release, err error) GetPipelineReleasesCount(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) (count int, err error) GetPipelineRelease(ctx context.Context, repoSource, repoOwner, repoName string, releaseID string) (release *contracts.Release, err error) GetPipelineLastReleasesByName(ctx context.Context, repoSource, repoOwner, repoName, releaseName string, actions []string) (releases []contracts.Release, err error) GetPipelineReleaseLogs(ctx context.Context, repoSource, repoOwner, repoName string, releaseID string, readLogFromDatabase bool) (releaselog *contracts.ReleaseLog, err error) GetPipelineReleaseLogsByID(ctx context.Context, repoSource, repoOwner, repoName string, releaseID string, id string, readLogFromDatabase bool) (releaselog *contracts.ReleaseLog, err error) GetPipelineReleaseLogsPerPage(ctx context.Context, repoSource, repoOwner, repoName string, releaseID string, pageNumber int, pageSize int) (releaselogs []*contracts.ReleaseLog, err error) GetPipelineReleaseLogsCount(ctx context.Context, repoSource, repoOwner, repoName string, releaseID string) (count int, err error) GetPipelineReleaseMaxResourceUtilization(ctx context.Context, repoSource, repoOwner, repoName, targetName string, lastNRecords int) (jobresources JobResources, count int, err error) GetPipelineBots(ctx context.Context, repoSource, repoOwner, repoName string, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) (bots []*contracts.Bot, err error) GetPipelineBotsCount(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) (count int, err error) GetPipelineBot(ctx context.Context, repoSource, repoOwner, repoName string, botID string) (bot *contracts.Bot, err error) GetPipelineBotLogs(ctx context.Context, repoSource, repoOwner, repoName string, botID string, readLogFromDatabase bool) (releaselog *contracts.BotLog, err error) GetPipelineBotLogsByID(ctx context.Context, repoSource, repoOwner, repoName string, botID string, id string, readLogFromDatabase bool) (releaselog *contracts.BotLog, err error) GetPipelineBotLogsPerPage(ctx context.Context, repoSource, repoOwner, repoName string, botID string, pageNumber int, pageSize int) (releaselogs []*contracts.BotLog, err error) GetPipelineBotLogsCount(ctx context.Context, repoSource, repoOwner, repoName string, botID string) (count int, err error) GetPipelineBotMaxResourceUtilization(ctx context.Context, repoSource, repoOwner, repoName, targetName string, lastNRecords int) (jobresources JobResources, count int, err error) GetBuildsCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) GetReleasesCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) GetBotsCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) GetBuildsDuration(ctx context.Context, filters map[api.FilterType][]string) (duration time.Duration, err error) GetFirstBuildTimes(ctx context.Context) (times []time.Time, err error) GetFirstReleaseTimes(ctx context.Context) (times []time.Time, err error) GetFirstBotTimes(ctx context.Context) (times []time.Time, err error) GetPipelineBuildsDurations(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) (durations []map[string]interface{}, err error) GetPipelineReleasesDurations(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) (durations []map[string]interface{}, err error) GetPipelineBotsDurations(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) (durations []map[string]interface{}, err error) GetPipelineBuildsCPUUsageMeasurements(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) (measurements []map[string]interface{}, err error) GetPipelineReleasesCPUUsageMeasurements(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) (measurements []map[string]interface{}, err error) GetPipelineBotsCPUUsageMeasurements(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) (measurements []map[string]interface{}, err error) GetPipelineBuildsMemoryUsageMeasurements(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) (measurements []map[string]interface{}, err error) GetPipelineReleasesMemoryUsageMeasurements(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) (measurements []map[string]interface{}, err error) GetPipelineBotsMemoryUsageMeasurements(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) (measurements []map[string]interface{}, err error) GetAllPipelineBuilds(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField, optimized bool) (builds []*contracts.Build, err error) GetAllPipelineBuildsCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) GetAllPipelineReleases(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) (releases []*contracts.Release, err error) GetAllPipelineReleasesCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) GetAllPipelineBots(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) (bots []*contracts.Bot, err error) GetAllPipelineBotsCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) GetAllNotifications(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) (notifications []*contracts.NotificationRecord, err error) GetAllNotificationsCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) InsertNotification(ctx context.Context, notificationRecord contracts.NotificationRecord) (n *contracts.NotificationRecord, err error) GetLabelValues(ctx context.Context, labelKey string) (labels []map[string]interface{}, err error) GetFrequentLabels(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string) (labels []map[string]interface{}, err error) GetFrequentLabelsCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) GetReleaseTargets(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string) (releaseTargets []map[string]interface{}, err error) GetReleaseTargetsCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) GetAllPipelinesReleaseTargets(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string) (releaseTargets []map[string]interface{}, err error) GetAllPipelinesReleaseTargetsCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) GetAllReleasesReleaseTargets(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string) (releaseTargets []map[string]interface{}, err error) GetAllReleasesReleaseTargetsCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) GetPipelineBuildBranches(ctx context.Context, repoSource, repoOwner, repoName string, pageNumber, pageSize int, filters map[api.FilterType][]string) (buildBranches []map[string]interface{}, err error) GetPipelineBuildBranchesCount(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) (count int, err error) GetPipelineBotNames(ctx context.Context, repoSource, repoOwner, repoName string, pageNumber, pageSize int, filters map[api.FilterType][]string) (botNames []map[string]interface{}, err error) GetPipelineBotNamesCount(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) (count int, err error) GetPipelinesWithMostBuilds(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string) (pipelines []map[string]interface{}, err error) GetPipelinesWithMostBuildsCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) GetPipelinesWithMostReleases(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string) (pipelines []map[string]interface{}, err error) GetPipelinesWithMostReleasesCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) GetPipelinesWithMostBots(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string) (pipelines []map[string]interface{}, err error) GetPipelinesWithMostBotsCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) GetTriggers(ctx context.Context, triggerType, identifier, event string) (pipelines []*contracts.Pipeline, err error) GetGitTriggers(ctx context.Context, gitEvent manifest.EstafetteGitEvent) (pipelines []*contracts.Pipeline, err error) GetPipelineTriggers(ctx context.Context, build contracts.Build, event string) (pipelines []*contracts.Pipeline, err error) GetReleaseTriggers(ctx context.Context, release contracts.Release, event string) (pipelines []*contracts.Pipeline, err error) GetPubSubTriggers(ctx context.Context, pubsubEvent manifest.EstafettePubSubEvent) (pipelines []*contracts.Pipeline, err error) GetCronTriggers(ctx context.Context) (pipelines []*contracts.Pipeline, err error) GetGithubTriggers(ctx context.Context, githubEvent manifest.EstafetteGithubEvent) (pipelines []*contracts.Pipeline, err error) GetBitbucketTriggers(ctx context.Context, bitbucketEvent manifest.EstafetteBitbucketEvent) (pipelines []*contracts.Pipeline, err error) Rename(ctx context.Context, shortFromRepoSource, fromRepoSource, fromRepoOwner, fromRepoName, shortToRepoSource, toRepoSource, toRepoOwner, toRepoName string) (err error) RenameBuildVersion(ctx context.Context, shortFromRepoSource, fromRepoOwner, fromRepoName, shortToRepoSource, toRepoOwner, toRepoName string) (err error) RenameBuilds(ctx context.Context, fromRepoSource, fromRepoOwner, fromRepoName, toRepoSource, toRepoOwner, toRepoName string) (err error) RenameBuildLogs(ctx context.Context, fromRepoSource, fromRepoOwner, fromRepoName, toRepoSource, toRepoOwner, toRepoName string) (err error) RenameReleases(ctx context.Context, fromRepoSource, fromRepoOwner, fromRepoName, toRepoSource, toRepoOwner, toRepoName string) (err error) RenameReleaseLogs(ctx context.Context, fromRepoSource, fromRepoOwner, fromRepoName, toRepoSource, toRepoOwner, toRepoName string) (err error) RenameComputedPipelines(ctx context.Context, fromRepoSource, fromRepoOwner, fromRepoName, toRepoSource, toRepoOwner, toRepoName string) (err error) RenameComputedReleases(ctx context.Context, fromRepoSource, fromRepoOwner, fromRepoName, toRepoSource, toRepoOwner, toRepoName string) (err error) InsertUser(ctx context.Context, user contracts.User) (u *contracts.User, err error) UpdateUser(ctx context.Context, user contracts.User) (err error) DeleteUser(ctx context.Context, user contracts.User) (err error) GetUserByIdentity(ctx context.Context, identity contracts.UserIdentity) (user *contracts.User, err error) GetUserByID(ctx context.Context, id string, filters map[api.FilterType][]string) (user *contracts.User, err error) GetUsers(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) (users []*contracts.User, err error) GetUsersCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) InsertGroup(ctx context.Context, group contracts.Group) (g *contracts.Group, err error) UpdateGroup(ctx context.Context, group contracts.Group) (err error) DeleteGroup(ctx context.Context, group contracts.Group) (err error) GetGroupByIdentity(ctx context.Context, identity contracts.GroupIdentity) (group *contracts.Group, err error) GetGroupByID(ctx context.Context, id string, filters map[api.FilterType][]string) (group *contracts.Group, err error) GetGroups(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) (groups []*contracts.Group, err error) GetGroupsCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) InsertOrganization(ctx context.Context, organization contracts.Organization) (o *contracts.Organization, err error) UpdateOrganization(ctx context.Context, organization contracts.Organization) (err error) DeleteOrganization(ctx context.Context, organization contracts.Organization) (err error) GetOrganizationByIdentity(ctx context.Context, identity contracts.OrganizationIdentity) (organization *contracts.Organization, err error) GetOrganizationByID(ctx context.Context, id string) (organization *contracts.Organization, err error) GetOrganizationByName(ctx context.Context, name string) (organization *contracts.Organization, err error) GetOrganizations(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) (organizations []*contracts.Organization, err error) GetOrganizationsCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) InsertClient(ctx context.Context, client contracts.Client) (cl *contracts.Client, err error) UpdateClient(ctx context.Context, client contracts.Client) (err error) DeleteClient(ctx context.Context, client contracts.Client) (err error) GetClientByClientID(ctx context.Context, clientID string) (client *contracts.Client, err error) GetClientByID(ctx context.Context, id string) (client *contracts.Client, err error) GetClients(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) (clients []*contracts.Client, err error) GetClientsCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) InsertCatalogEntity(ctx context.Context, catalogEntity contracts.CatalogEntity) (insertedCatalogEntity *contracts.CatalogEntity, err error) UpdateCatalogEntity(ctx context.Context, catalogEntity contracts.CatalogEntity) (err error) DeleteCatalogEntity(ctx context.Context, id string) (err error) GetCatalogEntityByID(ctx context.Context, id string) (catalogEntity *contracts.CatalogEntity, err error) GetCatalogEntities(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) (catalogEntities []*contracts.CatalogEntity, err error) GetCatalogEntitiesCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) GetCatalogEntityParentKeys(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) (keys []map[string]interface{}, err error) GetCatalogEntityParentKeysCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) GetCatalogEntityParentValues(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) (values []map[string]interface{}, err error) GetCatalogEntityParentValuesCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) GetCatalogEntityKeys(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) (keys []map[string]interface{}, err error) GetCatalogEntityKeysCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) GetCatalogEntityValues(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) (values []map[string]interface{}, err error) GetCatalogEntityValuesCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) GetCatalogEntityLabels(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string) (labels []map[string]interface{}, err error) GetCatalogEntityLabelsCount(ctx context.Context, filters map[api.FilterType][]string) (count int, err error) }
Client is the interface for communicating with CockroachDB
func NewLoggingClient ¶
NewLoggingClient returns a new instance of a logging Client.
func NewMetricsClient ¶
func NewMetricsClient(c Client, requestCount metrics.Counter, requestLatency metrics.Histogram) Client
NewMetricsClient returns a new instance of a metrics Client.
func NewTracingClient ¶
NewTracingClient returns a new instance of a tracing Client.
type JobResources ¶
type JobResources struct { CPURequest float64 CPULimit float64 CPUMaxUsage float64 MemoryRequest float64 MemoryLimit float64 MemoryMaxUsage float64 }
JobResources represents the used cpu and memory resources for a job and the measured maximum once it's done
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) ArchiveComputedPipeline ¶
func (m *MockClient) ArchiveComputedPipeline(ctx context.Context, repoSource, repoOwner, repoName string) error
ArchiveComputedPipeline mocks base method.
func (*MockClient) Connect ¶
func (m *MockClient) Connect(ctx context.Context) error
Connect mocks base method.
func (*MockClient) ConnectWithDriverAndSource ¶
func (m *MockClient) ConnectWithDriverAndSource(ctx context.Context, driverName, dataSourceName string) error
ConnectWithDriverAndSource mocks base method.
func (*MockClient) DeleteCatalogEntity ¶
func (m *MockClient) DeleteCatalogEntity(ctx context.Context, id string) error
DeleteCatalogEntity mocks base method.
func (*MockClient) DeleteClient ¶
func (m *MockClient) DeleteClient(ctx context.Context, client estafette_ci_contracts.Client) error
DeleteClient mocks base method.
func (*MockClient) DeleteGroup ¶
func (m *MockClient) DeleteGroup(ctx context.Context, group estafette_ci_contracts.Group) error
DeleteGroup mocks base method.
func (*MockClient) DeleteOrganization ¶
func (m *MockClient) DeleteOrganization(ctx context.Context, organization estafette_ci_contracts.Organization) error
DeleteOrganization mocks base method.
func (*MockClient) DeleteUser ¶
func (m *MockClient) DeleteUser(ctx context.Context, user estafette_ci_contracts.User) error
DeleteUser mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) GetAllNotifications ¶
func (m *MockClient) GetAllNotifications(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) ([]*estafette_ci_contracts.NotificationRecord, error)
GetAllNotifications mocks base method.
func (*MockClient) GetAllNotificationsCount ¶
func (m *MockClient) GetAllNotificationsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetAllNotificationsCount mocks base method.
func (*MockClient) GetAllPipelineBots ¶
func (m *MockClient) GetAllPipelineBots(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) ([]*estafette_ci_contracts.Bot, error)
GetAllPipelineBots mocks base method.
func (*MockClient) GetAllPipelineBotsCount ¶
func (m *MockClient) GetAllPipelineBotsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetAllPipelineBotsCount mocks base method.
func (*MockClient) GetAllPipelineBuilds ¶
func (m *MockClient) GetAllPipelineBuilds(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField, optimized bool) ([]*estafette_ci_contracts.Build, error)
GetAllPipelineBuilds mocks base method.
func (*MockClient) GetAllPipelineBuildsCount ¶
func (m *MockClient) GetAllPipelineBuildsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetAllPipelineBuildsCount mocks base method.
func (*MockClient) GetAllPipelineReleases ¶
func (m *MockClient) GetAllPipelineReleases(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) ([]*estafette_ci_contracts.Release, error)
GetAllPipelineReleases mocks base method.
func (*MockClient) GetAllPipelineReleasesCount ¶
func (m *MockClient) GetAllPipelineReleasesCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetAllPipelineReleasesCount mocks base method.
func (*MockClient) GetAllPipelinesReleaseTargets ¶
func (m *MockClient) GetAllPipelinesReleaseTargets(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string) ([]map[string]interface{}, error)
GetAllPipelinesReleaseTargets mocks base method.
func (*MockClient) GetAllPipelinesReleaseTargetsCount ¶
func (m *MockClient) GetAllPipelinesReleaseTargetsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetAllPipelinesReleaseTargetsCount mocks base method.
func (*MockClient) GetAllReleasesReleaseTargets ¶
func (m *MockClient) GetAllReleasesReleaseTargets(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string) ([]map[string]interface{}, error)
GetAllReleasesReleaseTargets mocks base method.
func (*MockClient) GetAllReleasesReleaseTargetsCount ¶
func (m *MockClient) GetAllReleasesReleaseTargetsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetAllReleasesReleaseTargetsCount mocks base method.
func (*MockClient) GetAutoIncrement ¶
func (m *MockClient) GetAutoIncrement(ctx context.Context, shortRepoSource, repoOwner, repoName string) (int, error)
GetAutoIncrement mocks base method.
func (*MockClient) GetBitbucketTriggers ¶
func (m *MockClient) GetBitbucketTriggers(ctx context.Context, bitbucketEvent estafette_ci_manifest.EstafetteBitbucketEvent) ([]*estafette_ci_contracts.Pipeline, error)
GetBitbucketTriggers mocks base method.
func (*MockClient) GetBotsCount ¶
func (m *MockClient) GetBotsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetBotsCount mocks base method.
func (*MockClient) GetBuildsCount ¶
func (m *MockClient) GetBuildsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetBuildsCount mocks base method.
func (*MockClient) GetBuildsDuration ¶
func (m *MockClient) GetBuildsDuration(ctx context.Context, filters map[api.FilterType][]string) (time.Duration, error)
GetBuildsDuration mocks base method.
func (*MockClient) GetCatalogEntities ¶
func (m *MockClient) GetCatalogEntities(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) ([]*estafette_ci_contracts.CatalogEntity, error)
GetCatalogEntities mocks base method.
func (*MockClient) GetCatalogEntitiesCount ¶
func (m *MockClient) GetCatalogEntitiesCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetCatalogEntitiesCount mocks base method.
func (*MockClient) GetCatalogEntityByID ¶
func (m *MockClient) GetCatalogEntityByID(ctx context.Context, id string) (*estafette_ci_contracts.CatalogEntity, error)
GetCatalogEntityByID mocks base method.
func (*MockClient) GetCatalogEntityKeys ¶
func (m *MockClient) GetCatalogEntityKeys(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) ([]map[string]interface{}, error)
GetCatalogEntityKeys mocks base method.
func (*MockClient) GetCatalogEntityKeysCount ¶
func (m *MockClient) GetCatalogEntityKeysCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetCatalogEntityKeysCount mocks base method.
func (*MockClient) GetCatalogEntityLabels ¶
func (m *MockClient) GetCatalogEntityLabels(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string) ([]map[string]interface{}, error)
GetCatalogEntityLabels mocks base method.
func (*MockClient) GetCatalogEntityLabelsCount ¶
func (m *MockClient) GetCatalogEntityLabelsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetCatalogEntityLabelsCount mocks base method.
func (*MockClient) GetCatalogEntityParentKeys ¶
func (m *MockClient) GetCatalogEntityParentKeys(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) ([]map[string]interface{}, error)
GetCatalogEntityParentKeys mocks base method.
func (*MockClient) GetCatalogEntityParentKeysCount ¶
func (m *MockClient) GetCatalogEntityParentKeysCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetCatalogEntityParentKeysCount mocks base method.
func (*MockClient) GetCatalogEntityParentValues ¶
func (m *MockClient) GetCatalogEntityParentValues(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) ([]map[string]interface{}, error)
GetCatalogEntityParentValues mocks base method.
func (*MockClient) GetCatalogEntityParentValuesCount ¶
func (m *MockClient) GetCatalogEntityParentValuesCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetCatalogEntityParentValuesCount mocks base method.
func (*MockClient) GetCatalogEntityValues ¶
func (m *MockClient) GetCatalogEntityValues(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) ([]map[string]interface{}, error)
GetCatalogEntityValues mocks base method.
func (*MockClient) GetCatalogEntityValuesCount ¶
func (m *MockClient) GetCatalogEntityValuesCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetCatalogEntityValuesCount mocks base method.
func (*MockClient) GetClientByClientID ¶
func (m *MockClient) GetClientByClientID(ctx context.Context, clientID string) (*estafette_ci_contracts.Client, error)
GetClientByClientID mocks base method.
func (*MockClient) GetClientByID ¶
func (m *MockClient) GetClientByID(ctx context.Context, id string) (*estafette_ci_contracts.Client, error)
GetClientByID mocks base method.
func (*MockClient) GetClients ¶
func (m *MockClient) GetClients(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) ([]*estafette_ci_contracts.Client, error)
GetClients mocks base method.
func (*MockClient) GetClientsCount ¶
func (m *MockClient) GetClientsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetClientsCount mocks base method.
func (*MockClient) GetCronTriggers ¶
func (m *MockClient) GetCronTriggers(ctx context.Context) ([]*estafette_ci_contracts.Pipeline, error)
GetCronTriggers mocks base method.
func (*MockClient) GetFirstBotTimes ¶
GetFirstBotTimes mocks base method.
func (*MockClient) GetFirstBuildTimes ¶
GetFirstBuildTimes mocks base method.
func (*MockClient) GetFirstPipelineBuild ¶
func (m *MockClient) GetFirstPipelineBuild(ctx context.Context, repoSource, repoOwner, repoName string, optimized bool) (*estafette_ci_contracts.Build, error)
GetFirstPipelineBuild mocks base method.
func (*MockClient) GetFirstPipelineRelease ¶
func (m *MockClient) GetFirstPipelineRelease(ctx context.Context, repoSource, repoOwner, repoName, releaseName, releaseAction string) (*estafette_ci_contracts.Release, error)
GetFirstPipelineRelease mocks base method.
func (*MockClient) GetFirstReleaseTimes ¶
GetFirstReleaseTimes mocks base method.
func (*MockClient) GetFrequentLabels ¶
func (m *MockClient) GetFrequentLabels(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string) ([]map[string]interface{}, error)
GetFrequentLabels mocks base method.
func (*MockClient) GetFrequentLabelsCount ¶
func (m *MockClient) GetFrequentLabelsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetFrequentLabelsCount mocks base method.
func (*MockClient) GetGitTriggers ¶
func (m *MockClient) GetGitTriggers(ctx context.Context, gitEvent estafette_ci_manifest.EstafetteGitEvent) ([]*estafette_ci_contracts.Pipeline, error)
GetGitTriggers mocks base method.
func (*MockClient) GetGithubTriggers ¶
func (m *MockClient) GetGithubTriggers(ctx context.Context, githubEvent estafette_ci_manifest.EstafetteGithubEvent) ([]*estafette_ci_contracts.Pipeline, error)
GetGithubTriggers mocks base method.
func (*MockClient) GetGroupByID ¶
func (m *MockClient) GetGroupByID(ctx context.Context, id string, filters map[api.FilterType][]string) (*estafette_ci_contracts.Group, error)
GetGroupByID mocks base method.
func (*MockClient) GetGroupByIdentity ¶
func (m *MockClient) GetGroupByIdentity(ctx context.Context, identity estafette_ci_contracts.GroupIdentity) (*estafette_ci_contracts.Group, error)
GetGroupByIdentity mocks base method.
func (*MockClient) GetGroups ¶
func (m *MockClient) GetGroups(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) ([]*estafette_ci_contracts.Group, error)
GetGroups mocks base method.
func (*MockClient) GetGroupsCount ¶
func (m *MockClient) GetGroupsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetGroupsCount mocks base method.
func (*MockClient) GetLabelValues ¶
func (m *MockClient) GetLabelValues(ctx context.Context, labelKey string) ([]map[string]interface{}, error)
GetLabelValues mocks base method.
func (*MockClient) GetLastPipelineBuild ¶
func (m *MockClient) GetLastPipelineBuild(ctx context.Context, repoSource, repoOwner, repoName string, optimized bool) (*estafette_ci_contracts.Build, error)
GetLastPipelineBuild mocks base method.
func (*MockClient) GetLastPipelineBuildForBranch ¶
func (m *MockClient) GetLastPipelineBuildForBranch(ctx context.Context, repoSource, repoOwner, repoName, branch string) (*estafette_ci_contracts.Build, error)
GetLastPipelineBuildForBranch mocks base method.
func (*MockClient) GetLastPipelineReleases ¶
func (m *MockClient) GetLastPipelineReleases(ctx context.Context, repoSource, repoOwner, repoName, releaseName, releaseAction string, pageSize int) ([]*estafette_ci_contracts.Release, error)
GetLastPipelineReleases mocks base method.
func (*MockClient) GetOrganizationByID ¶
func (m *MockClient) GetOrganizationByID(ctx context.Context, id string) (*estafette_ci_contracts.Organization, error)
GetOrganizationByID mocks base method.
func (*MockClient) GetOrganizationByIdentity ¶
func (m *MockClient) GetOrganizationByIdentity(ctx context.Context, identity estafette_ci_contracts.OrganizationIdentity) (*estafette_ci_contracts.Organization, error)
GetOrganizationByIdentity mocks base method.
func (*MockClient) GetOrganizationByName ¶
func (m *MockClient) GetOrganizationByName(ctx context.Context, name string) (*estafette_ci_contracts.Organization, error)
GetOrganizationByName mocks base method.
func (*MockClient) GetOrganizations ¶
func (m *MockClient) GetOrganizations(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) ([]*estafette_ci_contracts.Organization, error)
GetOrganizations mocks base method.
func (*MockClient) GetOrganizationsCount ¶
func (m *MockClient) GetOrganizationsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetOrganizationsCount mocks base method.
func (*MockClient) GetPipeline ¶
func (m *MockClient) GetPipeline(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string, optimized bool) (*estafette_ci_contracts.Pipeline, error)
GetPipeline mocks base method.
func (*MockClient) GetPipelineBot ¶
func (m *MockClient) GetPipelineBot(ctx context.Context, repoSource, repoOwner, repoName, botID string) (*estafette_ci_contracts.Bot, error)
GetPipelineBot mocks base method.
func (*MockClient) GetPipelineBotLogs ¶
func (m *MockClient) GetPipelineBotLogs(ctx context.Context, repoSource, repoOwner, repoName, botID string, readLogFromDatabase bool) (*estafette_ci_contracts.BotLog, error)
GetPipelineBotLogs mocks base method.
func (*MockClient) GetPipelineBotLogsByID ¶
func (m *MockClient) GetPipelineBotLogsByID(ctx context.Context, repoSource, repoOwner, repoName, botID, id string, readLogFromDatabase bool) (*estafette_ci_contracts.BotLog, error)
GetPipelineBotLogsByID mocks base method.
func (*MockClient) GetPipelineBotLogsCount ¶
func (m *MockClient) GetPipelineBotLogsCount(ctx context.Context, repoSource, repoOwner, repoName, botID string) (int, error)
GetPipelineBotLogsCount mocks base method.
func (*MockClient) GetPipelineBotLogsPerPage ¶
func (m *MockClient) GetPipelineBotLogsPerPage(ctx context.Context, repoSource, repoOwner, repoName, botID string, pageNumber, pageSize int) ([]*estafette_ci_contracts.BotLog, error)
GetPipelineBotLogsPerPage mocks base method.
func (*MockClient) GetPipelineBotMaxResourceUtilization ¶
func (m *MockClient) GetPipelineBotMaxResourceUtilization(ctx context.Context, repoSource, repoOwner, repoName, targetName string, lastNRecords int) (JobResources, int, error)
GetPipelineBotMaxResourceUtilization mocks base method.
func (*MockClient) GetPipelineBotNames ¶
func (m *MockClient) GetPipelineBotNames(ctx context.Context, repoSource, repoOwner, repoName string, pageNumber, pageSize int, filters map[api.FilterType][]string) ([]map[string]interface{}, error)
GetPipelineBotNames mocks base method.
func (*MockClient) GetPipelineBotNamesCount ¶
func (m *MockClient) GetPipelineBotNamesCount(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) (int, error)
GetPipelineBotNamesCount mocks base method.
func (*MockClient) GetPipelineBots ¶
func (m *MockClient) GetPipelineBots(ctx context.Context, repoSource, repoOwner, repoName string, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) ([]*estafette_ci_contracts.Bot, error)
GetPipelineBots mocks base method.
func (*MockClient) GetPipelineBotsCPUUsageMeasurements ¶
func (m *MockClient) GetPipelineBotsCPUUsageMeasurements(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) ([]map[string]interface{}, error)
GetPipelineBotsCPUUsageMeasurements mocks base method.
func (*MockClient) GetPipelineBotsCount ¶
func (m *MockClient) GetPipelineBotsCount(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) (int, error)
GetPipelineBotsCount mocks base method.
func (*MockClient) GetPipelineBotsDurations ¶
func (m *MockClient) GetPipelineBotsDurations(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) ([]map[string]interface{}, error)
GetPipelineBotsDurations mocks base method.
func (*MockClient) GetPipelineBotsMemoryUsageMeasurements ¶
func (m *MockClient) GetPipelineBotsMemoryUsageMeasurements(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) ([]map[string]interface{}, error)
GetPipelineBotsMemoryUsageMeasurements mocks base method.
func (*MockClient) GetPipelineBuild ¶
func (m *MockClient) GetPipelineBuild(ctx context.Context, repoSource, repoOwner, repoName, repoRevision string, optimized bool) (*estafette_ci_contracts.Build, error)
GetPipelineBuild mocks base method.
func (*MockClient) GetPipelineBuildBranches ¶
func (m *MockClient) GetPipelineBuildBranches(ctx context.Context, repoSource, repoOwner, repoName string, pageNumber, pageSize int, filters map[api.FilterType][]string) ([]map[string]interface{}, error)
GetPipelineBuildBranches mocks base method.
func (*MockClient) GetPipelineBuildBranchesCount ¶
func (m *MockClient) GetPipelineBuildBranchesCount(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) (int, error)
GetPipelineBuildBranchesCount mocks base method.
func (*MockClient) GetPipelineBuildByID ¶
func (m *MockClient) GetPipelineBuildByID(ctx context.Context, repoSource, repoOwner, repoName, buildID string, optimized bool) (*estafette_ci_contracts.Build, error)
GetPipelineBuildByID mocks base method.
func (*MockClient) GetPipelineBuildLogs ¶
func (m *MockClient) GetPipelineBuildLogs(ctx context.Context, repoSource, repoOwner, repoName, repoBranch, repoRevision, buildID string, readLogFromDatabase bool) (*estafette_ci_contracts.BuildLog, error)
GetPipelineBuildLogs mocks base method.
func (*MockClient) GetPipelineBuildLogsByID ¶
func (m *MockClient) GetPipelineBuildLogsByID(ctx context.Context, repoSource, repoOwner, repoName, repoBranch, repoRevision, buildID, id string, readLogFromDatabase bool) (*estafette_ci_contracts.BuildLog, error)
GetPipelineBuildLogsByID mocks base method.
func (*MockClient) GetPipelineBuildLogsCount ¶
func (m *MockClient) GetPipelineBuildLogsCount(ctx context.Context, repoSource, repoOwner, repoName, repoBranch, repoRevision, buildID string) (int, error)
GetPipelineBuildLogsCount mocks base method.
func (*MockClient) GetPipelineBuildLogsPerPage ¶
func (m *MockClient) GetPipelineBuildLogsPerPage(ctx context.Context, repoSource, repoOwner, repoName, repoBranch, repoRevision, buildID string, pageNumber, pageSize int) ([]*estafette_ci_contracts.BuildLog, error)
GetPipelineBuildLogsPerPage mocks base method.
func (*MockClient) GetPipelineBuildMaxResourceUtilization ¶
func (m *MockClient) GetPipelineBuildMaxResourceUtilization(ctx context.Context, repoSource, repoOwner, repoName string, lastNRecords int) (JobResources, int, error)
GetPipelineBuildMaxResourceUtilization mocks base method.
func (*MockClient) GetPipelineBuilds ¶
func (m *MockClient) GetPipelineBuilds(ctx context.Context, repoSource, repoOwner, repoName string, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField, optimized bool) ([]*estafette_ci_contracts.Build, error)
GetPipelineBuilds mocks base method.
func (*MockClient) GetPipelineBuildsByVersion ¶
func (m *MockClient) GetPipelineBuildsByVersion(ctx context.Context, repoSource, repoOwner, repoName, buildVersion string, statuses []estafette_ci_contracts.Status, limit uint64, optimized bool) ([]*estafette_ci_contracts.Build, error)
GetPipelineBuildsByVersion mocks base method.
func (*MockClient) GetPipelineBuildsCPUUsageMeasurements ¶
func (m *MockClient) GetPipelineBuildsCPUUsageMeasurements(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) ([]map[string]interface{}, error)
GetPipelineBuildsCPUUsageMeasurements mocks base method.
func (*MockClient) GetPipelineBuildsCount ¶
func (m *MockClient) GetPipelineBuildsCount(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) (int, error)
GetPipelineBuildsCount mocks base method.
func (*MockClient) GetPipelineBuildsDurations ¶
func (m *MockClient) GetPipelineBuildsDurations(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) ([]map[string]interface{}, error)
GetPipelineBuildsDurations mocks base method.
func (*MockClient) GetPipelineBuildsMemoryUsageMeasurements ¶
func (m *MockClient) GetPipelineBuildsMemoryUsageMeasurements(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) ([]map[string]interface{}, error)
GetPipelineBuildsMemoryUsageMeasurements mocks base method.
func (*MockClient) GetPipelineLastReleasesByName ¶
func (m *MockClient) GetPipelineLastReleasesByName(ctx context.Context, repoSource, repoOwner, repoName, releaseName string, actions []string) ([]estafette_ci_contracts.Release, error)
GetPipelineLastReleasesByName mocks base method.
func (*MockClient) GetPipelineRecentBuilds ¶
func (m *MockClient) GetPipelineRecentBuilds(ctx context.Context, repoSource, repoOwner, repoName string, optimized bool) ([]*estafette_ci_contracts.Build, error)
GetPipelineRecentBuilds mocks base method.
func (*MockClient) GetPipelineRelease ¶
func (m *MockClient) GetPipelineRelease(ctx context.Context, repoSource, repoOwner, repoName, releaseID string) (*estafette_ci_contracts.Release, error)
GetPipelineRelease mocks base method.
func (*MockClient) GetPipelineReleaseLogs ¶
func (m *MockClient) GetPipelineReleaseLogs(ctx context.Context, repoSource, repoOwner, repoName, releaseID string, readLogFromDatabase bool) (*estafette_ci_contracts.ReleaseLog, error)
GetPipelineReleaseLogs mocks base method.
func (*MockClient) GetPipelineReleaseLogsByID ¶
func (m *MockClient) GetPipelineReleaseLogsByID(ctx context.Context, repoSource, repoOwner, repoName, releaseID, id string, readLogFromDatabase bool) (*estafette_ci_contracts.ReleaseLog, error)
GetPipelineReleaseLogsByID mocks base method.
func (*MockClient) GetPipelineReleaseLogsCount ¶
func (m *MockClient) GetPipelineReleaseLogsCount(ctx context.Context, repoSource, repoOwner, repoName, releaseID string) (int, error)
GetPipelineReleaseLogsCount mocks base method.
func (*MockClient) GetPipelineReleaseLogsPerPage ¶
func (m *MockClient) GetPipelineReleaseLogsPerPage(ctx context.Context, repoSource, repoOwner, repoName, releaseID string, pageNumber, pageSize int) ([]*estafette_ci_contracts.ReleaseLog, error)
GetPipelineReleaseLogsPerPage mocks base method.
func (*MockClient) GetPipelineReleaseMaxResourceUtilization ¶
func (m *MockClient) GetPipelineReleaseMaxResourceUtilization(ctx context.Context, repoSource, repoOwner, repoName, targetName string, lastNRecords int) (JobResources, int, error)
GetPipelineReleaseMaxResourceUtilization mocks base method.
func (*MockClient) GetPipelineReleases ¶
func (m *MockClient) GetPipelineReleases(ctx context.Context, repoSource, repoOwner, repoName string, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) ([]*estafette_ci_contracts.Release, error)
GetPipelineReleases mocks base method.
func (*MockClient) GetPipelineReleasesCPUUsageMeasurements ¶
func (m *MockClient) GetPipelineReleasesCPUUsageMeasurements(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) ([]map[string]interface{}, error)
GetPipelineReleasesCPUUsageMeasurements mocks base method.
func (*MockClient) GetPipelineReleasesCount ¶
func (m *MockClient) GetPipelineReleasesCount(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) (int, error)
GetPipelineReleasesCount mocks base method.
func (*MockClient) GetPipelineReleasesDurations ¶
func (m *MockClient) GetPipelineReleasesDurations(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) ([]map[string]interface{}, error)
GetPipelineReleasesDurations mocks base method.
func (*MockClient) GetPipelineReleasesMemoryUsageMeasurements ¶
func (m *MockClient) GetPipelineReleasesMemoryUsageMeasurements(ctx context.Context, repoSource, repoOwner, repoName string, filters map[api.FilterType][]string) ([]map[string]interface{}, error)
GetPipelineReleasesMemoryUsageMeasurements mocks base method.
func (*MockClient) GetPipelineTriggers ¶
func (m *MockClient) GetPipelineTriggers(ctx context.Context, build estafette_ci_contracts.Build, event string) ([]*estafette_ci_contracts.Pipeline, error)
GetPipelineTriggers mocks base method.
func (*MockClient) GetPipelines ¶
func (m *MockClient) GetPipelines(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField, optimized bool) ([]*estafette_ci_contracts.Pipeline, error)
GetPipelines mocks base method.
func (*MockClient) GetPipelinesByRepoName ¶
func (m *MockClient) GetPipelinesByRepoName(ctx context.Context, repoName string, optimized bool) ([]*estafette_ci_contracts.Pipeline, error)
GetPipelinesByRepoName mocks base method.
func (*MockClient) GetPipelinesCount ¶
func (m *MockClient) GetPipelinesCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetPipelinesCount mocks base method.
func (*MockClient) GetPipelinesWithMostBots ¶
func (m *MockClient) GetPipelinesWithMostBots(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string) ([]map[string]interface{}, error)
GetPipelinesWithMostBots mocks base method.
func (*MockClient) GetPipelinesWithMostBotsCount ¶
func (m *MockClient) GetPipelinesWithMostBotsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetPipelinesWithMostBotsCount mocks base method.
func (*MockClient) GetPipelinesWithMostBuilds ¶
func (m *MockClient) GetPipelinesWithMostBuilds(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string) ([]map[string]interface{}, error)
GetPipelinesWithMostBuilds mocks base method.
func (*MockClient) GetPipelinesWithMostBuildsCount ¶
func (m *MockClient) GetPipelinesWithMostBuildsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetPipelinesWithMostBuildsCount mocks base method.
func (*MockClient) GetPipelinesWithMostReleases ¶
func (m *MockClient) GetPipelinesWithMostReleases(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string) ([]map[string]interface{}, error)
GetPipelinesWithMostReleases mocks base method.
func (*MockClient) GetPipelinesWithMostReleasesCount ¶
func (m *MockClient) GetPipelinesWithMostReleasesCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetPipelinesWithMostReleasesCount mocks base method.
func (*MockClient) GetPubSubTriggers ¶
func (m *MockClient) GetPubSubTriggers(ctx context.Context, pubsubEvent estafette_ci_manifest.EstafettePubSubEvent) ([]*estafette_ci_contracts.Pipeline, error)
GetPubSubTriggers mocks base method.
func (*MockClient) GetReleaseTargets ¶
func (m *MockClient) GetReleaseTargets(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string) ([]map[string]interface{}, error)
GetReleaseTargets mocks base method.
func (*MockClient) GetReleaseTargetsCount ¶
func (m *MockClient) GetReleaseTargetsCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetReleaseTargetsCount mocks base method.
func (*MockClient) GetReleaseTriggers ¶
func (m *MockClient) GetReleaseTriggers(ctx context.Context, release estafette_ci_contracts.Release, event string) ([]*estafette_ci_contracts.Pipeline, error)
GetReleaseTriggers mocks base method.
func (*MockClient) GetReleasesCount ¶
func (m *MockClient) GetReleasesCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetReleasesCount mocks base method.
func (*MockClient) GetTriggers ¶
func (m *MockClient) GetTriggers(ctx context.Context, triggerType, identifier, event string) ([]*estafette_ci_contracts.Pipeline, error)
GetTriggers mocks base method.
func (*MockClient) GetUserByID ¶
func (m *MockClient) GetUserByID(ctx context.Context, id string, filters map[api.FilterType][]string) (*estafette_ci_contracts.User, error)
GetUserByID mocks base method.
func (*MockClient) GetUserByIdentity ¶
func (m *MockClient) GetUserByIdentity(ctx context.Context, identity estafette_ci_contracts.UserIdentity) (*estafette_ci_contracts.User, error)
GetUserByIdentity mocks base method.
func (*MockClient) GetUsers ¶
func (m *MockClient) GetUsers(ctx context.Context, pageNumber, pageSize int, filters map[api.FilterType][]string, sortings []api.OrderField) ([]*estafette_ci_contracts.User, error)
GetUsers mocks base method.
func (*MockClient) GetUsersCount ¶
func (m *MockClient) GetUsersCount(ctx context.Context, filters map[api.FilterType][]string) (int, error)
GetUsersCount mocks base method.
func (*MockClient) InsertBot ¶
func (m *MockClient) InsertBot(ctx context.Context, bot estafette_ci_contracts.Bot, jobResources JobResources) (*estafette_ci_contracts.Bot, error)
InsertBot mocks base method.
func (*MockClient) InsertBotLog ¶
func (m *MockClient) InsertBotLog(ctx context.Context, botLog estafette_ci_contracts.BotLog, writeLogToDatabase bool) (estafette_ci_contracts.BotLog, error)
InsertBotLog mocks base method.
func (*MockClient) InsertBuild ¶
func (m *MockClient) InsertBuild(ctx context.Context, build estafette_ci_contracts.Build, jobResources JobResources) (*estafette_ci_contracts.Build, error)
InsertBuild mocks base method.
func (*MockClient) InsertBuildLog ¶
func (m *MockClient) InsertBuildLog(ctx context.Context, buildLog estafette_ci_contracts.BuildLog, writeLogToDatabase bool) (estafette_ci_contracts.BuildLog, error)
InsertBuildLog mocks base method.
func (*MockClient) InsertCatalogEntity ¶
func (m *MockClient) InsertCatalogEntity(ctx context.Context, catalogEntity estafette_ci_contracts.CatalogEntity) (*estafette_ci_contracts.CatalogEntity, error)
InsertCatalogEntity mocks base method.
func (*MockClient) InsertClient ¶
func (m *MockClient) InsertClient(ctx context.Context, client estafette_ci_contracts.Client) (*estafette_ci_contracts.Client, error)
InsertClient mocks base method.
func (*MockClient) InsertGroup ¶
func (m *MockClient) InsertGroup(ctx context.Context, group estafette_ci_contracts.Group) (*estafette_ci_contracts.Group, error)
InsertGroup mocks base method.
func (*MockClient) InsertNotification ¶
func (m *MockClient) InsertNotification(ctx context.Context, notificationRecord estafette_ci_contracts.NotificationRecord) (*estafette_ci_contracts.NotificationRecord, error)
InsertNotification mocks base method.
func (*MockClient) InsertOrganization ¶
func (m *MockClient) InsertOrganization(ctx context.Context, organization estafette_ci_contracts.Organization) (*estafette_ci_contracts.Organization, error)
InsertOrganization mocks base method.
func (*MockClient) InsertRelease ¶
func (m *MockClient) InsertRelease(ctx context.Context, release estafette_ci_contracts.Release, jobResources JobResources) (*estafette_ci_contracts.Release, error)
InsertRelease mocks base method.
func (*MockClient) InsertReleaseLog ¶
func (m *MockClient) InsertReleaseLog(ctx context.Context, releaseLog estafette_ci_contracts.ReleaseLog, writeLogToDatabase bool) (estafette_ci_contracts.ReleaseLog, error)
InsertReleaseLog mocks base method.
func (*MockClient) InsertUser ¶
func (m *MockClient) InsertUser(ctx context.Context, user estafette_ci_contracts.User) (*estafette_ci_contracts.User, error)
InsertUser mocks base method.
func (*MockClient) Rename ¶
func (m *MockClient) Rename(ctx context.Context, shortFromRepoSource, fromRepoSource, fromRepoOwner, fromRepoName, shortToRepoSource, toRepoSource, toRepoOwner, toRepoName string) error
Rename mocks base method.
func (*MockClient) RenameBuildLogs ¶
func (m *MockClient) RenameBuildLogs(ctx context.Context, fromRepoSource, fromRepoOwner, fromRepoName, toRepoSource, toRepoOwner, toRepoName string) error
RenameBuildLogs mocks base method.
func (*MockClient) RenameBuildVersion ¶
func (m *MockClient) RenameBuildVersion(ctx context.Context, shortFromRepoSource, fromRepoOwner, fromRepoName, shortToRepoSource, toRepoOwner, toRepoName string) error
RenameBuildVersion mocks base method.
func (*MockClient) RenameBuilds ¶
func (m *MockClient) RenameBuilds(ctx context.Context, fromRepoSource, fromRepoOwner, fromRepoName, toRepoSource, toRepoOwner, toRepoName string) error
RenameBuilds mocks base method.
func (*MockClient) RenameComputedPipelines ¶
func (m *MockClient) RenameComputedPipelines(ctx context.Context, fromRepoSource, fromRepoOwner, fromRepoName, toRepoSource, toRepoOwner, toRepoName string) error
RenameComputedPipelines mocks base method.
func (*MockClient) RenameComputedReleases ¶
func (m *MockClient) RenameComputedReleases(ctx context.Context, fromRepoSource, fromRepoOwner, fromRepoName, toRepoSource, toRepoOwner, toRepoName string) error
RenameComputedReleases mocks base method.
func (*MockClient) RenameReleaseLogs ¶
func (m *MockClient) RenameReleaseLogs(ctx context.Context, fromRepoSource, fromRepoOwner, fromRepoName, toRepoSource, toRepoOwner, toRepoName string) error
RenameReleaseLogs mocks base method.
func (*MockClient) RenameReleases ¶
func (m *MockClient) RenameReleases(ctx context.Context, fromRepoSource, fromRepoOwner, fromRepoName, toRepoSource, toRepoOwner, toRepoName string) error
RenameReleases mocks base method.
func (*MockClient) UnarchiveComputedPipeline ¶
func (m *MockClient) UnarchiveComputedPipeline(ctx context.Context, repoSource, repoOwner, repoName string) error
UnarchiveComputedPipeline mocks base method.
func (*MockClient) UpdateBotResourceUtilization ¶
func (m *MockClient) UpdateBotResourceUtilization(ctx context.Context, repoSource, repoOwner, repoName, botID string, jobResources JobResources) error
UpdateBotResourceUtilization mocks base method.
func (*MockClient) UpdateBotStatus ¶
func (m *MockClient) UpdateBotStatus(ctx context.Context, repoSource, repoOwner, repoName, botID string, botStatus estafette_ci_contracts.Status) error
UpdateBotStatus mocks base method.
func (*MockClient) UpdateBuildResourceUtilization ¶
func (m *MockClient) UpdateBuildResourceUtilization(ctx context.Context, repoSource, repoOwner, repoName, buildID string, jobResources JobResources) error
UpdateBuildResourceUtilization mocks base method.
func (*MockClient) UpdateBuildStatus ¶
func (m *MockClient) UpdateBuildStatus(ctx context.Context, repoSource, repoOwner, repoName, buildID string, buildStatus estafette_ci_contracts.Status) error
UpdateBuildStatus mocks base method.
func (*MockClient) UpdateCatalogEntity ¶
func (m *MockClient) UpdateCatalogEntity(ctx context.Context, catalogEntity estafette_ci_contracts.CatalogEntity) error
UpdateCatalogEntity mocks base method.
func (*MockClient) UpdateClient ¶
func (m *MockClient) UpdateClient(ctx context.Context, client estafette_ci_contracts.Client) error
UpdateClient mocks base method.
func (*MockClient) UpdateComputedPipelineFirstInsertedAt ¶
func (m *MockClient) UpdateComputedPipelineFirstInsertedAt(ctx context.Context, repoSource, repoOwner, repoName string) error
UpdateComputedPipelineFirstInsertedAt mocks base method.
func (*MockClient) UpdateComputedPipelinePermissions ¶
func (m *MockClient) UpdateComputedPipelinePermissions(ctx context.Context, pipeline estafette_ci_contracts.Pipeline) error
UpdateComputedPipelinePermissions mocks base method.
func (*MockClient) UpdateComputedReleaseFirstInsertedAt ¶
func (m *MockClient) UpdateComputedReleaseFirstInsertedAt(ctx context.Context, repoSource, repoOwner, repoName, releaseName, releaseAction string) error
UpdateComputedReleaseFirstInsertedAt mocks base method.
func (*MockClient) UpdateComputedTables ¶
func (m *MockClient) UpdateComputedTables(ctx context.Context, repoSource, repoOwner, repoName string) error
UpdateComputedTables mocks base method.
func (*MockClient) UpdateGroup ¶
func (m *MockClient) UpdateGroup(ctx context.Context, group estafette_ci_contracts.Group) error
UpdateGroup mocks base method.
func (*MockClient) UpdateOrganization ¶
func (m *MockClient) UpdateOrganization(ctx context.Context, organization estafette_ci_contracts.Organization) error
UpdateOrganization mocks base method.
func (*MockClient) UpdateReleaseResourceUtilization ¶
func (m *MockClient) UpdateReleaseResourceUtilization(ctx context.Context, repoSource, repoOwner, repoName, releaseID string, jobResources JobResources) error
UpdateReleaseResourceUtilization mocks base method.
func (*MockClient) UpdateReleaseStatus ¶
func (m *MockClient) UpdateReleaseStatus(ctx context.Context, repoSource, repoOwner, repoName, releaseID string, releaseStatus estafette_ci_contracts.Status) error
UpdateReleaseStatus mocks base method.
func (*MockClient) UpdateUser ¶
func (m *MockClient) UpdateUser(ctx context.Context, user estafette_ci_contracts.User) error
UpdateUser mocks base method.
func (*MockClient) UpsertComputedPipeline ¶
func (m *MockClient) UpsertComputedPipeline(ctx context.Context, repoSource, repoOwner, repoName string) error
UpsertComputedPipeline mocks base method.
func (*MockClient) UpsertComputedRelease ¶
func (m *MockClient) UpsertComputedRelease(ctx context.Context, repoSource, repoOwner, repoName, releaseName, releaseAction string) error
UpsertComputedRelease mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) ArchiveComputedPipeline ¶
func (mr *MockClientMockRecorder) ArchiveComputedPipeline(ctx, repoSource, repoOwner, repoName interface{}) *gomock.Call
ArchiveComputedPipeline indicates an expected call of ArchiveComputedPipeline.
func (*MockClientMockRecorder) Connect ¶
func (mr *MockClientMockRecorder) Connect(ctx interface{}) *gomock.Call
Connect indicates an expected call of Connect.
func (*MockClientMockRecorder) ConnectWithDriverAndSource ¶
func (mr *MockClientMockRecorder) ConnectWithDriverAndSource(ctx, driverName, dataSourceName interface{}) *gomock.Call
ConnectWithDriverAndSource indicates an expected call of ConnectWithDriverAndSource.
func (*MockClientMockRecorder) DeleteCatalogEntity ¶
func (mr *MockClientMockRecorder) DeleteCatalogEntity(ctx, id interface{}) *gomock.Call
DeleteCatalogEntity indicates an expected call of DeleteCatalogEntity.
func (*MockClientMockRecorder) DeleteClient ¶
func (mr *MockClientMockRecorder) DeleteClient(ctx, client interface{}) *gomock.Call
DeleteClient indicates an expected call of DeleteClient.
func (*MockClientMockRecorder) DeleteGroup ¶
func (mr *MockClientMockRecorder) DeleteGroup(ctx, group interface{}) *gomock.Call
DeleteGroup indicates an expected call of DeleteGroup.
func (*MockClientMockRecorder) DeleteOrganization ¶
func (mr *MockClientMockRecorder) DeleteOrganization(ctx, organization interface{}) *gomock.Call
DeleteOrganization indicates an expected call of DeleteOrganization.
func (*MockClientMockRecorder) DeleteUser ¶
func (mr *MockClientMockRecorder) DeleteUser(ctx, user interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockClientMockRecorder) GetAllNotifications ¶
func (mr *MockClientMockRecorder) GetAllNotifications(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
GetAllNotifications indicates an expected call of GetAllNotifications.
func (*MockClientMockRecorder) GetAllNotificationsCount ¶
func (mr *MockClientMockRecorder) GetAllNotificationsCount(ctx, filters interface{}) *gomock.Call
GetAllNotificationsCount indicates an expected call of GetAllNotificationsCount.
func (*MockClientMockRecorder) GetAllPipelineBots ¶
func (mr *MockClientMockRecorder) GetAllPipelineBots(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
GetAllPipelineBots indicates an expected call of GetAllPipelineBots.
func (*MockClientMockRecorder) GetAllPipelineBotsCount ¶
func (mr *MockClientMockRecorder) GetAllPipelineBotsCount(ctx, filters interface{}) *gomock.Call
GetAllPipelineBotsCount indicates an expected call of GetAllPipelineBotsCount.
func (*MockClientMockRecorder) GetAllPipelineBuilds ¶
func (mr *MockClientMockRecorder) GetAllPipelineBuilds(ctx, pageNumber, pageSize, filters, sortings, optimized interface{}) *gomock.Call
GetAllPipelineBuilds indicates an expected call of GetAllPipelineBuilds.
func (*MockClientMockRecorder) GetAllPipelineBuildsCount ¶
func (mr *MockClientMockRecorder) GetAllPipelineBuildsCount(ctx, filters interface{}) *gomock.Call
GetAllPipelineBuildsCount indicates an expected call of GetAllPipelineBuildsCount.
func (*MockClientMockRecorder) GetAllPipelineReleases ¶
func (mr *MockClientMockRecorder) GetAllPipelineReleases(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
GetAllPipelineReleases indicates an expected call of GetAllPipelineReleases.
func (*MockClientMockRecorder) GetAllPipelineReleasesCount ¶
func (mr *MockClientMockRecorder) GetAllPipelineReleasesCount(ctx, filters interface{}) *gomock.Call
GetAllPipelineReleasesCount indicates an expected call of GetAllPipelineReleasesCount.
func (*MockClientMockRecorder) GetAllPipelinesReleaseTargets ¶
func (mr *MockClientMockRecorder) GetAllPipelinesReleaseTargets(ctx, pageNumber, pageSize, filters interface{}) *gomock.Call
GetAllPipelinesReleaseTargets indicates an expected call of GetAllPipelinesReleaseTargets.
func (*MockClientMockRecorder) GetAllPipelinesReleaseTargetsCount ¶
func (mr *MockClientMockRecorder) GetAllPipelinesReleaseTargetsCount(ctx, filters interface{}) *gomock.Call
GetAllPipelinesReleaseTargetsCount indicates an expected call of GetAllPipelinesReleaseTargetsCount.
func (*MockClientMockRecorder) GetAllReleasesReleaseTargets ¶
func (mr *MockClientMockRecorder) GetAllReleasesReleaseTargets(ctx, pageNumber, pageSize, filters interface{}) *gomock.Call
GetAllReleasesReleaseTargets indicates an expected call of GetAllReleasesReleaseTargets.
func (*MockClientMockRecorder) GetAllReleasesReleaseTargetsCount ¶
func (mr *MockClientMockRecorder) GetAllReleasesReleaseTargetsCount(ctx, filters interface{}) *gomock.Call
GetAllReleasesReleaseTargetsCount indicates an expected call of GetAllReleasesReleaseTargetsCount.
func (*MockClientMockRecorder) GetAutoIncrement ¶
func (mr *MockClientMockRecorder) GetAutoIncrement(ctx, shortRepoSource, repoOwner, repoName interface{}) *gomock.Call
GetAutoIncrement indicates an expected call of GetAutoIncrement.
func (*MockClientMockRecorder) GetBitbucketTriggers ¶
func (mr *MockClientMockRecorder) GetBitbucketTriggers(ctx, bitbucketEvent interface{}) *gomock.Call
GetBitbucketTriggers indicates an expected call of GetBitbucketTriggers.
func (*MockClientMockRecorder) GetBotsCount ¶
func (mr *MockClientMockRecorder) GetBotsCount(ctx, filters interface{}) *gomock.Call
GetBotsCount indicates an expected call of GetBotsCount.
func (*MockClientMockRecorder) GetBuildsCount ¶
func (mr *MockClientMockRecorder) GetBuildsCount(ctx, filters interface{}) *gomock.Call
GetBuildsCount indicates an expected call of GetBuildsCount.
func (*MockClientMockRecorder) GetBuildsDuration ¶
func (mr *MockClientMockRecorder) GetBuildsDuration(ctx, filters interface{}) *gomock.Call
GetBuildsDuration indicates an expected call of GetBuildsDuration.
func (*MockClientMockRecorder) GetCatalogEntities ¶
func (mr *MockClientMockRecorder) GetCatalogEntities(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
GetCatalogEntities indicates an expected call of GetCatalogEntities.
func (*MockClientMockRecorder) GetCatalogEntitiesCount ¶
func (mr *MockClientMockRecorder) GetCatalogEntitiesCount(ctx, filters interface{}) *gomock.Call
GetCatalogEntitiesCount indicates an expected call of GetCatalogEntitiesCount.
func (*MockClientMockRecorder) GetCatalogEntityByID ¶
func (mr *MockClientMockRecorder) GetCatalogEntityByID(ctx, id interface{}) *gomock.Call
GetCatalogEntityByID indicates an expected call of GetCatalogEntityByID.
func (*MockClientMockRecorder) GetCatalogEntityKeys ¶
func (mr *MockClientMockRecorder) GetCatalogEntityKeys(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
GetCatalogEntityKeys indicates an expected call of GetCatalogEntityKeys.
func (*MockClientMockRecorder) GetCatalogEntityKeysCount ¶
func (mr *MockClientMockRecorder) GetCatalogEntityKeysCount(ctx, filters interface{}) *gomock.Call
GetCatalogEntityKeysCount indicates an expected call of GetCatalogEntityKeysCount.
func (*MockClientMockRecorder) GetCatalogEntityLabels ¶
func (mr *MockClientMockRecorder) GetCatalogEntityLabels(ctx, pageNumber, pageSize, filters interface{}) *gomock.Call
GetCatalogEntityLabels indicates an expected call of GetCatalogEntityLabels.
func (*MockClientMockRecorder) GetCatalogEntityLabelsCount ¶
func (mr *MockClientMockRecorder) GetCatalogEntityLabelsCount(ctx, filters interface{}) *gomock.Call
GetCatalogEntityLabelsCount indicates an expected call of GetCatalogEntityLabelsCount.
func (*MockClientMockRecorder) GetCatalogEntityParentKeys ¶
func (mr *MockClientMockRecorder) GetCatalogEntityParentKeys(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
GetCatalogEntityParentKeys indicates an expected call of GetCatalogEntityParentKeys.
func (*MockClientMockRecorder) GetCatalogEntityParentKeysCount ¶
func (mr *MockClientMockRecorder) GetCatalogEntityParentKeysCount(ctx, filters interface{}) *gomock.Call
GetCatalogEntityParentKeysCount indicates an expected call of GetCatalogEntityParentKeysCount.
func (*MockClientMockRecorder) GetCatalogEntityParentValues ¶
func (mr *MockClientMockRecorder) GetCatalogEntityParentValues(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
GetCatalogEntityParentValues indicates an expected call of GetCatalogEntityParentValues.
func (*MockClientMockRecorder) GetCatalogEntityParentValuesCount ¶
func (mr *MockClientMockRecorder) GetCatalogEntityParentValuesCount(ctx, filters interface{}) *gomock.Call
GetCatalogEntityParentValuesCount indicates an expected call of GetCatalogEntityParentValuesCount.
func (*MockClientMockRecorder) GetCatalogEntityValues ¶
func (mr *MockClientMockRecorder) GetCatalogEntityValues(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
GetCatalogEntityValues indicates an expected call of GetCatalogEntityValues.
func (*MockClientMockRecorder) GetCatalogEntityValuesCount ¶
func (mr *MockClientMockRecorder) GetCatalogEntityValuesCount(ctx, filters interface{}) *gomock.Call
GetCatalogEntityValuesCount indicates an expected call of GetCatalogEntityValuesCount.
func (*MockClientMockRecorder) GetClientByClientID ¶
func (mr *MockClientMockRecorder) GetClientByClientID(ctx, clientID interface{}) *gomock.Call
GetClientByClientID indicates an expected call of GetClientByClientID.
func (*MockClientMockRecorder) GetClientByID ¶
func (mr *MockClientMockRecorder) GetClientByID(ctx, id interface{}) *gomock.Call
GetClientByID indicates an expected call of GetClientByID.
func (*MockClientMockRecorder) GetClients ¶
func (mr *MockClientMockRecorder) GetClients(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
GetClients indicates an expected call of GetClients.
func (*MockClientMockRecorder) GetClientsCount ¶
func (mr *MockClientMockRecorder) GetClientsCount(ctx, filters interface{}) *gomock.Call
GetClientsCount indicates an expected call of GetClientsCount.
func (*MockClientMockRecorder) GetCronTriggers ¶
func (mr *MockClientMockRecorder) GetCronTriggers(ctx interface{}) *gomock.Call
GetCronTriggers indicates an expected call of GetCronTriggers.
func (*MockClientMockRecorder) GetFirstBotTimes ¶
func (mr *MockClientMockRecorder) GetFirstBotTimes(ctx interface{}) *gomock.Call
GetFirstBotTimes indicates an expected call of GetFirstBotTimes.
func (*MockClientMockRecorder) GetFirstBuildTimes ¶
func (mr *MockClientMockRecorder) GetFirstBuildTimes(ctx interface{}) *gomock.Call
GetFirstBuildTimes indicates an expected call of GetFirstBuildTimes.
func (*MockClientMockRecorder) GetFirstPipelineBuild ¶
func (mr *MockClientMockRecorder) GetFirstPipelineBuild(ctx, repoSource, repoOwner, repoName, optimized interface{}) *gomock.Call
GetFirstPipelineBuild indicates an expected call of GetFirstPipelineBuild.
func (*MockClientMockRecorder) GetFirstPipelineRelease ¶
func (mr *MockClientMockRecorder) GetFirstPipelineRelease(ctx, repoSource, repoOwner, repoName, releaseName, releaseAction interface{}) *gomock.Call
GetFirstPipelineRelease indicates an expected call of GetFirstPipelineRelease.
func (*MockClientMockRecorder) GetFirstReleaseTimes ¶
func (mr *MockClientMockRecorder) GetFirstReleaseTimes(ctx interface{}) *gomock.Call
GetFirstReleaseTimes indicates an expected call of GetFirstReleaseTimes.
func (*MockClientMockRecorder) GetFrequentLabels ¶
func (mr *MockClientMockRecorder) GetFrequentLabels(ctx, pageNumber, pageSize, filters interface{}) *gomock.Call
GetFrequentLabels indicates an expected call of GetFrequentLabels.
func (*MockClientMockRecorder) GetFrequentLabelsCount ¶
func (mr *MockClientMockRecorder) GetFrequentLabelsCount(ctx, filters interface{}) *gomock.Call
GetFrequentLabelsCount indicates an expected call of GetFrequentLabelsCount.
func (*MockClientMockRecorder) GetGitTriggers ¶
func (mr *MockClientMockRecorder) GetGitTriggers(ctx, gitEvent interface{}) *gomock.Call
GetGitTriggers indicates an expected call of GetGitTriggers.
func (*MockClientMockRecorder) GetGithubTriggers ¶
func (mr *MockClientMockRecorder) GetGithubTriggers(ctx, githubEvent interface{}) *gomock.Call
GetGithubTriggers indicates an expected call of GetGithubTriggers.
func (*MockClientMockRecorder) GetGroupByID ¶
func (mr *MockClientMockRecorder) GetGroupByID(ctx, id, filters interface{}) *gomock.Call
GetGroupByID indicates an expected call of GetGroupByID.
func (*MockClientMockRecorder) GetGroupByIdentity ¶
func (mr *MockClientMockRecorder) GetGroupByIdentity(ctx, identity interface{}) *gomock.Call
GetGroupByIdentity indicates an expected call of GetGroupByIdentity.
func (*MockClientMockRecorder) GetGroups ¶
func (mr *MockClientMockRecorder) GetGroups(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
GetGroups indicates an expected call of GetGroups.
func (*MockClientMockRecorder) GetGroupsCount ¶
func (mr *MockClientMockRecorder) GetGroupsCount(ctx, filters interface{}) *gomock.Call
GetGroupsCount indicates an expected call of GetGroupsCount.
func (*MockClientMockRecorder) GetLabelValues ¶
func (mr *MockClientMockRecorder) GetLabelValues(ctx, labelKey interface{}) *gomock.Call
GetLabelValues indicates an expected call of GetLabelValues.
func (*MockClientMockRecorder) GetLastPipelineBuild ¶
func (mr *MockClientMockRecorder) GetLastPipelineBuild(ctx, repoSource, repoOwner, repoName, optimized interface{}) *gomock.Call
GetLastPipelineBuild indicates an expected call of GetLastPipelineBuild.
func (*MockClientMockRecorder) GetLastPipelineBuildForBranch ¶
func (mr *MockClientMockRecorder) GetLastPipelineBuildForBranch(ctx, repoSource, repoOwner, repoName, branch interface{}) *gomock.Call
GetLastPipelineBuildForBranch indicates an expected call of GetLastPipelineBuildForBranch.
func (*MockClientMockRecorder) GetLastPipelineReleases ¶
func (mr *MockClientMockRecorder) GetLastPipelineReleases(ctx, repoSource, repoOwner, repoName, releaseName, releaseAction, pageSize interface{}) *gomock.Call
GetLastPipelineReleases indicates an expected call of GetLastPipelineReleases.
func (*MockClientMockRecorder) GetOrganizationByID ¶
func (mr *MockClientMockRecorder) GetOrganizationByID(ctx, id interface{}) *gomock.Call
GetOrganizationByID indicates an expected call of GetOrganizationByID.
func (*MockClientMockRecorder) GetOrganizationByIdentity ¶
func (mr *MockClientMockRecorder) GetOrganizationByIdentity(ctx, identity interface{}) *gomock.Call
GetOrganizationByIdentity indicates an expected call of GetOrganizationByIdentity.
func (*MockClientMockRecorder) GetOrganizationByName ¶
func (mr *MockClientMockRecorder) GetOrganizationByName(ctx, name interface{}) *gomock.Call
GetOrganizationByName indicates an expected call of GetOrganizationByName.
func (*MockClientMockRecorder) GetOrganizations ¶
func (mr *MockClientMockRecorder) GetOrganizations(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
GetOrganizations indicates an expected call of GetOrganizations.
func (*MockClientMockRecorder) GetOrganizationsCount ¶
func (mr *MockClientMockRecorder) GetOrganizationsCount(ctx, filters interface{}) *gomock.Call
GetOrganizationsCount indicates an expected call of GetOrganizationsCount.
func (*MockClientMockRecorder) GetPipeline ¶
func (mr *MockClientMockRecorder) GetPipeline(ctx, repoSource, repoOwner, repoName, filters, optimized interface{}) *gomock.Call
GetPipeline indicates an expected call of GetPipeline.
func (*MockClientMockRecorder) GetPipelineBot ¶
func (mr *MockClientMockRecorder) GetPipelineBot(ctx, repoSource, repoOwner, repoName, botID interface{}) *gomock.Call
GetPipelineBot indicates an expected call of GetPipelineBot.
func (*MockClientMockRecorder) GetPipelineBotLogs ¶
func (mr *MockClientMockRecorder) GetPipelineBotLogs(ctx, repoSource, repoOwner, repoName, botID, readLogFromDatabase interface{}) *gomock.Call
GetPipelineBotLogs indicates an expected call of GetPipelineBotLogs.
func (*MockClientMockRecorder) GetPipelineBotLogsByID ¶
func (mr *MockClientMockRecorder) GetPipelineBotLogsByID(ctx, repoSource, repoOwner, repoName, botID, id, readLogFromDatabase interface{}) *gomock.Call
GetPipelineBotLogsByID indicates an expected call of GetPipelineBotLogsByID.
func (*MockClientMockRecorder) GetPipelineBotLogsCount ¶
func (mr *MockClientMockRecorder) GetPipelineBotLogsCount(ctx, repoSource, repoOwner, repoName, botID interface{}) *gomock.Call
GetPipelineBotLogsCount indicates an expected call of GetPipelineBotLogsCount.
func (*MockClientMockRecorder) GetPipelineBotLogsPerPage ¶
func (mr *MockClientMockRecorder) GetPipelineBotLogsPerPage(ctx, repoSource, repoOwner, repoName, botID, pageNumber, pageSize interface{}) *gomock.Call
GetPipelineBotLogsPerPage indicates an expected call of GetPipelineBotLogsPerPage.
func (*MockClientMockRecorder) GetPipelineBotMaxResourceUtilization ¶
func (mr *MockClientMockRecorder) GetPipelineBotMaxResourceUtilization(ctx, repoSource, repoOwner, repoName, targetName, lastNRecords interface{}) *gomock.Call
GetPipelineBotMaxResourceUtilization indicates an expected call of GetPipelineBotMaxResourceUtilization.
func (*MockClientMockRecorder) GetPipelineBotNames ¶
func (mr *MockClientMockRecorder) GetPipelineBotNames(ctx, repoSource, repoOwner, repoName, pageNumber, pageSize, filters interface{}) *gomock.Call
GetPipelineBotNames indicates an expected call of GetPipelineBotNames.
func (*MockClientMockRecorder) GetPipelineBotNamesCount ¶
func (mr *MockClientMockRecorder) GetPipelineBotNamesCount(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
GetPipelineBotNamesCount indicates an expected call of GetPipelineBotNamesCount.
func (*MockClientMockRecorder) GetPipelineBots ¶
func (mr *MockClientMockRecorder) GetPipelineBots(ctx, repoSource, repoOwner, repoName, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
GetPipelineBots indicates an expected call of GetPipelineBots.
func (*MockClientMockRecorder) GetPipelineBotsCPUUsageMeasurements ¶
func (mr *MockClientMockRecorder) GetPipelineBotsCPUUsageMeasurements(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
GetPipelineBotsCPUUsageMeasurements indicates an expected call of GetPipelineBotsCPUUsageMeasurements.
func (*MockClientMockRecorder) GetPipelineBotsCount ¶
func (mr *MockClientMockRecorder) GetPipelineBotsCount(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
GetPipelineBotsCount indicates an expected call of GetPipelineBotsCount.
func (*MockClientMockRecorder) GetPipelineBotsDurations ¶
func (mr *MockClientMockRecorder) GetPipelineBotsDurations(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
GetPipelineBotsDurations indicates an expected call of GetPipelineBotsDurations.
func (*MockClientMockRecorder) GetPipelineBotsMemoryUsageMeasurements ¶
func (mr *MockClientMockRecorder) GetPipelineBotsMemoryUsageMeasurements(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
GetPipelineBotsMemoryUsageMeasurements indicates an expected call of GetPipelineBotsMemoryUsageMeasurements.
func (*MockClientMockRecorder) GetPipelineBuild ¶
func (mr *MockClientMockRecorder) GetPipelineBuild(ctx, repoSource, repoOwner, repoName, repoRevision, optimized interface{}) *gomock.Call
GetPipelineBuild indicates an expected call of GetPipelineBuild.
func (*MockClientMockRecorder) GetPipelineBuildBranches ¶
func (mr *MockClientMockRecorder) GetPipelineBuildBranches(ctx, repoSource, repoOwner, repoName, pageNumber, pageSize, filters interface{}) *gomock.Call
GetPipelineBuildBranches indicates an expected call of GetPipelineBuildBranches.
func (*MockClientMockRecorder) GetPipelineBuildBranchesCount ¶
func (mr *MockClientMockRecorder) GetPipelineBuildBranchesCount(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
GetPipelineBuildBranchesCount indicates an expected call of GetPipelineBuildBranchesCount.
func (*MockClientMockRecorder) GetPipelineBuildByID ¶
func (mr *MockClientMockRecorder) GetPipelineBuildByID(ctx, repoSource, repoOwner, repoName, buildID, optimized interface{}) *gomock.Call
GetPipelineBuildByID indicates an expected call of GetPipelineBuildByID.
func (*MockClientMockRecorder) GetPipelineBuildLogs ¶
func (mr *MockClientMockRecorder) GetPipelineBuildLogs(ctx, repoSource, repoOwner, repoName, repoBranch, repoRevision, buildID, readLogFromDatabase interface{}) *gomock.Call
GetPipelineBuildLogs indicates an expected call of GetPipelineBuildLogs.
func (*MockClientMockRecorder) GetPipelineBuildLogsByID ¶
func (mr *MockClientMockRecorder) GetPipelineBuildLogsByID(ctx, repoSource, repoOwner, repoName, repoBranch, repoRevision, buildID, id, readLogFromDatabase interface{}) *gomock.Call
GetPipelineBuildLogsByID indicates an expected call of GetPipelineBuildLogsByID.
func (*MockClientMockRecorder) GetPipelineBuildLogsCount ¶
func (mr *MockClientMockRecorder) GetPipelineBuildLogsCount(ctx, repoSource, repoOwner, repoName, repoBranch, repoRevision, buildID interface{}) *gomock.Call
GetPipelineBuildLogsCount indicates an expected call of GetPipelineBuildLogsCount.
func (*MockClientMockRecorder) GetPipelineBuildLogsPerPage ¶
func (mr *MockClientMockRecorder) GetPipelineBuildLogsPerPage(ctx, repoSource, repoOwner, repoName, repoBranch, repoRevision, buildID, pageNumber, pageSize interface{}) *gomock.Call
GetPipelineBuildLogsPerPage indicates an expected call of GetPipelineBuildLogsPerPage.
func (*MockClientMockRecorder) GetPipelineBuildMaxResourceUtilization ¶
func (mr *MockClientMockRecorder) GetPipelineBuildMaxResourceUtilization(ctx, repoSource, repoOwner, repoName, lastNRecords interface{}) *gomock.Call
GetPipelineBuildMaxResourceUtilization indicates an expected call of GetPipelineBuildMaxResourceUtilization.
func (*MockClientMockRecorder) GetPipelineBuilds ¶
func (mr *MockClientMockRecorder) GetPipelineBuilds(ctx, repoSource, repoOwner, repoName, pageNumber, pageSize, filters, sortings, optimized interface{}) *gomock.Call
GetPipelineBuilds indicates an expected call of GetPipelineBuilds.
func (*MockClientMockRecorder) GetPipelineBuildsByVersion ¶
func (mr *MockClientMockRecorder) GetPipelineBuildsByVersion(ctx, repoSource, repoOwner, repoName, buildVersion, statuses, limit, optimized interface{}) *gomock.Call
GetPipelineBuildsByVersion indicates an expected call of GetPipelineBuildsByVersion.
func (*MockClientMockRecorder) GetPipelineBuildsCPUUsageMeasurements ¶
func (mr *MockClientMockRecorder) GetPipelineBuildsCPUUsageMeasurements(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
GetPipelineBuildsCPUUsageMeasurements indicates an expected call of GetPipelineBuildsCPUUsageMeasurements.
func (*MockClientMockRecorder) GetPipelineBuildsCount ¶
func (mr *MockClientMockRecorder) GetPipelineBuildsCount(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
GetPipelineBuildsCount indicates an expected call of GetPipelineBuildsCount.
func (*MockClientMockRecorder) GetPipelineBuildsDurations ¶
func (mr *MockClientMockRecorder) GetPipelineBuildsDurations(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
GetPipelineBuildsDurations indicates an expected call of GetPipelineBuildsDurations.
func (*MockClientMockRecorder) GetPipelineBuildsMemoryUsageMeasurements ¶
func (mr *MockClientMockRecorder) GetPipelineBuildsMemoryUsageMeasurements(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
GetPipelineBuildsMemoryUsageMeasurements indicates an expected call of GetPipelineBuildsMemoryUsageMeasurements.
func (*MockClientMockRecorder) GetPipelineLastReleasesByName ¶
func (mr *MockClientMockRecorder) GetPipelineLastReleasesByName(ctx, repoSource, repoOwner, repoName, releaseName, actions interface{}) *gomock.Call
GetPipelineLastReleasesByName indicates an expected call of GetPipelineLastReleasesByName.
func (*MockClientMockRecorder) GetPipelineRecentBuilds ¶
func (mr *MockClientMockRecorder) GetPipelineRecentBuilds(ctx, repoSource, repoOwner, repoName, optimized interface{}) *gomock.Call
GetPipelineRecentBuilds indicates an expected call of GetPipelineRecentBuilds.
func (*MockClientMockRecorder) GetPipelineRelease ¶
func (mr *MockClientMockRecorder) GetPipelineRelease(ctx, repoSource, repoOwner, repoName, releaseID interface{}) *gomock.Call
GetPipelineRelease indicates an expected call of GetPipelineRelease.
func (*MockClientMockRecorder) GetPipelineReleaseLogs ¶
func (mr *MockClientMockRecorder) GetPipelineReleaseLogs(ctx, repoSource, repoOwner, repoName, releaseID, readLogFromDatabase interface{}) *gomock.Call
GetPipelineReleaseLogs indicates an expected call of GetPipelineReleaseLogs.
func (*MockClientMockRecorder) GetPipelineReleaseLogsByID ¶
func (mr *MockClientMockRecorder) GetPipelineReleaseLogsByID(ctx, repoSource, repoOwner, repoName, releaseID, id, readLogFromDatabase interface{}) *gomock.Call
GetPipelineReleaseLogsByID indicates an expected call of GetPipelineReleaseLogsByID.
func (*MockClientMockRecorder) GetPipelineReleaseLogsCount ¶
func (mr *MockClientMockRecorder) GetPipelineReleaseLogsCount(ctx, repoSource, repoOwner, repoName, releaseID interface{}) *gomock.Call
GetPipelineReleaseLogsCount indicates an expected call of GetPipelineReleaseLogsCount.
func (*MockClientMockRecorder) GetPipelineReleaseLogsPerPage ¶
func (mr *MockClientMockRecorder) GetPipelineReleaseLogsPerPage(ctx, repoSource, repoOwner, repoName, releaseID, pageNumber, pageSize interface{}) *gomock.Call
GetPipelineReleaseLogsPerPage indicates an expected call of GetPipelineReleaseLogsPerPage.
func (*MockClientMockRecorder) GetPipelineReleaseMaxResourceUtilization ¶
func (mr *MockClientMockRecorder) GetPipelineReleaseMaxResourceUtilization(ctx, repoSource, repoOwner, repoName, targetName, lastNRecords interface{}) *gomock.Call
GetPipelineReleaseMaxResourceUtilization indicates an expected call of GetPipelineReleaseMaxResourceUtilization.
func (*MockClientMockRecorder) GetPipelineReleases ¶
func (mr *MockClientMockRecorder) GetPipelineReleases(ctx, repoSource, repoOwner, repoName, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
GetPipelineReleases indicates an expected call of GetPipelineReleases.
func (*MockClientMockRecorder) GetPipelineReleasesCPUUsageMeasurements ¶
func (mr *MockClientMockRecorder) GetPipelineReleasesCPUUsageMeasurements(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
GetPipelineReleasesCPUUsageMeasurements indicates an expected call of GetPipelineReleasesCPUUsageMeasurements.
func (*MockClientMockRecorder) GetPipelineReleasesCount ¶
func (mr *MockClientMockRecorder) GetPipelineReleasesCount(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
GetPipelineReleasesCount indicates an expected call of GetPipelineReleasesCount.
func (*MockClientMockRecorder) GetPipelineReleasesDurations ¶
func (mr *MockClientMockRecorder) GetPipelineReleasesDurations(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
GetPipelineReleasesDurations indicates an expected call of GetPipelineReleasesDurations.
func (*MockClientMockRecorder) GetPipelineReleasesMemoryUsageMeasurements ¶
func (mr *MockClientMockRecorder) GetPipelineReleasesMemoryUsageMeasurements(ctx, repoSource, repoOwner, repoName, filters interface{}) *gomock.Call
GetPipelineReleasesMemoryUsageMeasurements indicates an expected call of GetPipelineReleasesMemoryUsageMeasurements.
func (*MockClientMockRecorder) GetPipelineTriggers ¶
func (mr *MockClientMockRecorder) GetPipelineTriggers(ctx, build, event interface{}) *gomock.Call
GetPipelineTriggers indicates an expected call of GetPipelineTriggers.
func (*MockClientMockRecorder) GetPipelines ¶
func (mr *MockClientMockRecorder) GetPipelines(ctx, pageNumber, pageSize, filters, sortings, optimized interface{}) *gomock.Call
GetPipelines indicates an expected call of GetPipelines.
func (*MockClientMockRecorder) GetPipelinesByRepoName ¶
func (mr *MockClientMockRecorder) GetPipelinesByRepoName(ctx, repoName, optimized interface{}) *gomock.Call
GetPipelinesByRepoName indicates an expected call of GetPipelinesByRepoName.
func (*MockClientMockRecorder) GetPipelinesCount ¶
func (mr *MockClientMockRecorder) GetPipelinesCount(ctx, filters interface{}) *gomock.Call
GetPipelinesCount indicates an expected call of GetPipelinesCount.
func (*MockClientMockRecorder) GetPipelinesWithMostBots ¶
func (mr *MockClientMockRecorder) GetPipelinesWithMostBots(ctx, pageNumber, pageSize, filters interface{}) *gomock.Call
GetPipelinesWithMostBots indicates an expected call of GetPipelinesWithMostBots.
func (*MockClientMockRecorder) GetPipelinesWithMostBotsCount ¶
func (mr *MockClientMockRecorder) GetPipelinesWithMostBotsCount(ctx, filters interface{}) *gomock.Call
GetPipelinesWithMostBotsCount indicates an expected call of GetPipelinesWithMostBotsCount.
func (*MockClientMockRecorder) GetPipelinesWithMostBuilds ¶
func (mr *MockClientMockRecorder) GetPipelinesWithMostBuilds(ctx, pageNumber, pageSize, filters interface{}) *gomock.Call
GetPipelinesWithMostBuilds indicates an expected call of GetPipelinesWithMostBuilds.
func (*MockClientMockRecorder) GetPipelinesWithMostBuildsCount ¶
func (mr *MockClientMockRecorder) GetPipelinesWithMostBuildsCount(ctx, filters interface{}) *gomock.Call
GetPipelinesWithMostBuildsCount indicates an expected call of GetPipelinesWithMostBuildsCount.
func (*MockClientMockRecorder) GetPipelinesWithMostReleases ¶
func (mr *MockClientMockRecorder) GetPipelinesWithMostReleases(ctx, pageNumber, pageSize, filters interface{}) *gomock.Call
GetPipelinesWithMostReleases indicates an expected call of GetPipelinesWithMostReleases.
func (*MockClientMockRecorder) GetPipelinesWithMostReleasesCount ¶
func (mr *MockClientMockRecorder) GetPipelinesWithMostReleasesCount(ctx, filters interface{}) *gomock.Call
GetPipelinesWithMostReleasesCount indicates an expected call of GetPipelinesWithMostReleasesCount.
func (*MockClientMockRecorder) GetPubSubTriggers ¶
func (mr *MockClientMockRecorder) GetPubSubTriggers(ctx, pubsubEvent interface{}) *gomock.Call
GetPubSubTriggers indicates an expected call of GetPubSubTriggers.
func (*MockClientMockRecorder) GetReleaseTargets ¶
func (mr *MockClientMockRecorder) GetReleaseTargets(ctx, pageNumber, pageSize, filters interface{}) *gomock.Call
GetReleaseTargets indicates an expected call of GetReleaseTargets.
func (*MockClientMockRecorder) GetReleaseTargetsCount ¶
func (mr *MockClientMockRecorder) GetReleaseTargetsCount(ctx, filters interface{}) *gomock.Call
GetReleaseTargetsCount indicates an expected call of GetReleaseTargetsCount.
func (*MockClientMockRecorder) GetReleaseTriggers ¶
func (mr *MockClientMockRecorder) GetReleaseTriggers(ctx, release, event interface{}) *gomock.Call
GetReleaseTriggers indicates an expected call of GetReleaseTriggers.
func (*MockClientMockRecorder) GetReleasesCount ¶
func (mr *MockClientMockRecorder) GetReleasesCount(ctx, filters interface{}) *gomock.Call
GetReleasesCount indicates an expected call of GetReleasesCount.
func (*MockClientMockRecorder) GetTriggers ¶
func (mr *MockClientMockRecorder) GetTriggers(ctx, triggerType, identifier, event interface{}) *gomock.Call
GetTriggers indicates an expected call of GetTriggers.
func (*MockClientMockRecorder) GetUserByID ¶
func (mr *MockClientMockRecorder) GetUserByID(ctx, id, filters interface{}) *gomock.Call
GetUserByID indicates an expected call of GetUserByID.
func (*MockClientMockRecorder) GetUserByIdentity ¶
func (mr *MockClientMockRecorder) GetUserByIdentity(ctx, identity interface{}) *gomock.Call
GetUserByIdentity indicates an expected call of GetUserByIdentity.
func (*MockClientMockRecorder) GetUsers ¶
func (mr *MockClientMockRecorder) GetUsers(ctx, pageNumber, pageSize, filters, sortings interface{}) *gomock.Call
GetUsers indicates an expected call of GetUsers.
func (*MockClientMockRecorder) GetUsersCount ¶
func (mr *MockClientMockRecorder) GetUsersCount(ctx, filters interface{}) *gomock.Call
GetUsersCount indicates an expected call of GetUsersCount.
func (*MockClientMockRecorder) InsertBot ¶
func (mr *MockClientMockRecorder) InsertBot(ctx, bot, jobResources interface{}) *gomock.Call
InsertBot indicates an expected call of InsertBot.
func (*MockClientMockRecorder) InsertBotLog ¶
func (mr *MockClientMockRecorder) InsertBotLog(ctx, botLog, writeLogToDatabase interface{}) *gomock.Call
InsertBotLog indicates an expected call of InsertBotLog.
func (*MockClientMockRecorder) InsertBuild ¶
func (mr *MockClientMockRecorder) InsertBuild(ctx, build, jobResources interface{}) *gomock.Call
InsertBuild indicates an expected call of InsertBuild.
func (*MockClientMockRecorder) InsertBuildLog ¶
func (mr *MockClientMockRecorder) InsertBuildLog(ctx, buildLog, writeLogToDatabase interface{}) *gomock.Call
InsertBuildLog indicates an expected call of InsertBuildLog.
func (*MockClientMockRecorder) InsertCatalogEntity ¶
func (mr *MockClientMockRecorder) InsertCatalogEntity(ctx, catalogEntity interface{}) *gomock.Call
InsertCatalogEntity indicates an expected call of InsertCatalogEntity.
func (*MockClientMockRecorder) InsertClient ¶
func (mr *MockClientMockRecorder) InsertClient(ctx, client interface{}) *gomock.Call
InsertClient indicates an expected call of InsertClient.
func (*MockClientMockRecorder) InsertGroup ¶
func (mr *MockClientMockRecorder) InsertGroup(ctx, group interface{}) *gomock.Call
InsertGroup indicates an expected call of InsertGroup.
func (*MockClientMockRecorder) InsertNotification ¶
func (mr *MockClientMockRecorder) InsertNotification(ctx, notificationRecord interface{}) *gomock.Call
InsertNotification indicates an expected call of InsertNotification.
func (*MockClientMockRecorder) InsertOrganization ¶
func (mr *MockClientMockRecorder) InsertOrganization(ctx, organization interface{}) *gomock.Call
InsertOrganization indicates an expected call of InsertOrganization.
func (*MockClientMockRecorder) InsertRelease ¶
func (mr *MockClientMockRecorder) InsertRelease(ctx, release, jobResources interface{}) *gomock.Call
InsertRelease indicates an expected call of InsertRelease.
func (*MockClientMockRecorder) InsertReleaseLog ¶
func (mr *MockClientMockRecorder) InsertReleaseLog(ctx, releaseLog, writeLogToDatabase interface{}) *gomock.Call
InsertReleaseLog indicates an expected call of InsertReleaseLog.
func (*MockClientMockRecorder) InsertUser ¶
func (mr *MockClientMockRecorder) InsertUser(ctx, user interface{}) *gomock.Call
InsertUser indicates an expected call of InsertUser.
func (*MockClientMockRecorder) Rename ¶
func (mr *MockClientMockRecorder) Rename(ctx, shortFromRepoSource, fromRepoSource, fromRepoOwner, fromRepoName, shortToRepoSource, toRepoSource, toRepoOwner, toRepoName interface{}) *gomock.Call
Rename indicates an expected call of Rename.
func (*MockClientMockRecorder) RenameBuildLogs ¶
func (mr *MockClientMockRecorder) RenameBuildLogs(ctx, fromRepoSource, fromRepoOwner, fromRepoName, toRepoSource, toRepoOwner, toRepoName interface{}) *gomock.Call
RenameBuildLogs indicates an expected call of RenameBuildLogs.
func (*MockClientMockRecorder) RenameBuildVersion ¶
func (mr *MockClientMockRecorder) RenameBuildVersion(ctx, shortFromRepoSource, fromRepoOwner, fromRepoName, shortToRepoSource, toRepoOwner, toRepoName interface{}) *gomock.Call
RenameBuildVersion indicates an expected call of RenameBuildVersion.
func (*MockClientMockRecorder) RenameBuilds ¶
func (mr *MockClientMockRecorder) RenameBuilds(ctx, fromRepoSource, fromRepoOwner, fromRepoName, toRepoSource, toRepoOwner, toRepoName interface{}) *gomock.Call
RenameBuilds indicates an expected call of RenameBuilds.
func (*MockClientMockRecorder) RenameComputedPipelines ¶
func (mr *MockClientMockRecorder) RenameComputedPipelines(ctx, fromRepoSource, fromRepoOwner, fromRepoName, toRepoSource, toRepoOwner, toRepoName interface{}) *gomock.Call
RenameComputedPipelines indicates an expected call of RenameComputedPipelines.
func (*MockClientMockRecorder) RenameComputedReleases ¶
func (mr *MockClientMockRecorder) RenameComputedReleases(ctx, fromRepoSource, fromRepoOwner, fromRepoName, toRepoSource, toRepoOwner, toRepoName interface{}) *gomock.Call
RenameComputedReleases indicates an expected call of RenameComputedReleases.
func (*MockClientMockRecorder) RenameReleaseLogs ¶
func (mr *MockClientMockRecorder) RenameReleaseLogs(ctx, fromRepoSource, fromRepoOwner, fromRepoName, toRepoSource, toRepoOwner, toRepoName interface{}) *gomock.Call
RenameReleaseLogs indicates an expected call of RenameReleaseLogs.
func (*MockClientMockRecorder) RenameReleases ¶
func (mr *MockClientMockRecorder) RenameReleases(ctx, fromRepoSource, fromRepoOwner, fromRepoName, toRepoSource, toRepoOwner, toRepoName interface{}) *gomock.Call
RenameReleases indicates an expected call of RenameReleases.
func (*MockClientMockRecorder) UnarchiveComputedPipeline ¶
func (mr *MockClientMockRecorder) UnarchiveComputedPipeline(ctx, repoSource, repoOwner, repoName interface{}) *gomock.Call
UnarchiveComputedPipeline indicates an expected call of UnarchiveComputedPipeline.
func (*MockClientMockRecorder) UpdateBotResourceUtilization ¶
func (mr *MockClientMockRecorder) UpdateBotResourceUtilization(ctx, repoSource, repoOwner, repoName, botID, jobResources interface{}) *gomock.Call
UpdateBotResourceUtilization indicates an expected call of UpdateBotResourceUtilization.
func (*MockClientMockRecorder) UpdateBotStatus ¶
func (mr *MockClientMockRecorder) UpdateBotStatus(ctx, repoSource, repoOwner, repoName, botID, botStatus interface{}) *gomock.Call
UpdateBotStatus indicates an expected call of UpdateBotStatus.
func (*MockClientMockRecorder) UpdateBuildResourceUtilization ¶
func (mr *MockClientMockRecorder) UpdateBuildResourceUtilization(ctx, repoSource, repoOwner, repoName, buildID, jobResources interface{}) *gomock.Call
UpdateBuildResourceUtilization indicates an expected call of UpdateBuildResourceUtilization.
func (*MockClientMockRecorder) UpdateBuildStatus ¶
func (mr *MockClientMockRecorder) UpdateBuildStatus(ctx, repoSource, repoOwner, repoName, buildID, buildStatus interface{}) *gomock.Call
UpdateBuildStatus indicates an expected call of UpdateBuildStatus.
func (*MockClientMockRecorder) UpdateCatalogEntity ¶
func (mr *MockClientMockRecorder) UpdateCatalogEntity(ctx, catalogEntity interface{}) *gomock.Call
UpdateCatalogEntity indicates an expected call of UpdateCatalogEntity.
func (*MockClientMockRecorder) UpdateClient ¶
func (mr *MockClientMockRecorder) UpdateClient(ctx, client interface{}) *gomock.Call
UpdateClient indicates an expected call of UpdateClient.
func (*MockClientMockRecorder) UpdateComputedPipelineFirstInsertedAt ¶
func (mr *MockClientMockRecorder) UpdateComputedPipelineFirstInsertedAt(ctx, repoSource, repoOwner, repoName interface{}) *gomock.Call
UpdateComputedPipelineFirstInsertedAt indicates an expected call of UpdateComputedPipelineFirstInsertedAt.
func (*MockClientMockRecorder) UpdateComputedPipelinePermissions ¶
func (mr *MockClientMockRecorder) UpdateComputedPipelinePermissions(ctx, pipeline interface{}) *gomock.Call
UpdateComputedPipelinePermissions indicates an expected call of UpdateComputedPipelinePermissions.
func (*MockClientMockRecorder) UpdateComputedReleaseFirstInsertedAt ¶
func (mr *MockClientMockRecorder) UpdateComputedReleaseFirstInsertedAt(ctx, repoSource, repoOwner, repoName, releaseName, releaseAction interface{}) *gomock.Call
UpdateComputedReleaseFirstInsertedAt indicates an expected call of UpdateComputedReleaseFirstInsertedAt.
func (*MockClientMockRecorder) UpdateComputedTables ¶
func (mr *MockClientMockRecorder) UpdateComputedTables(ctx, repoSource, repoOwner, repoName interface{}) *gomock.Call
UpdateComputedTables indicates an expected call of UpdateComputedTables.
func (*MockClientMockRecorder) UpdateGroup ¶
func (mr *MockClientMockRecorder) UpdateGroup(ctx, group interface{}) *gomock.Call
UpdateGroup indicates an expected call of UpdateGroup.
func (*MockClientMockRecorder) UpdateOrganization ¶
func (mr *MockClientMockRecorder) UpdateOrganization(ctx, organization interface{}) *gomock.Call
UpdateOrganization indicates an expected call of UpdateOrganization.
func (*MockClientMockRecorder) UpdateReleaseResourceUtilization ¶
func (mr *MockClientMockRecorder) UpdateReleaseResourceUtilization(ctx, repoSource, repoOwner, repoName, releaseID, jobResources interface{}) *gomock.Call
UpdateReleaseResourceUtilization indicates an expected call of UpdateReleaseResourceUtilization.
func (*MockClientMockRecorder) UpdateReleaseStatus ¶
func (mr *MockClientMockRecorder) UpdateReleaseStatus(ctx, repoSource, repoOwner, repoName, releaseID, releaseStatus interface{}) *gomock.Call
UpdateReleaseStatus indicates an expected call of UpdateReleaseStatus.
func (*MockClientMockRecorder) UpdateUser ¶
func (mr *MockClientMockRecorder) UpdateUser(ctx, user interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.
func (*MockClientMockRecorder) UpsertComputedPipeline ¶
func (mr *MockClientMockRecorder) UpsertComputedPipeline(ctx, repoSource, repoOwner, repoName interface{}) *gomock.Call
UpsertComputedPipeline indicates an expected call of UpsertComputedPipeline.
func (*MockClientMockRecorder) UpsertComputedRelease ¶
func (mr *MockClientMockRecorder) UpsertComputedRelease(ctx, repoSource, repoOwner, repoName, releaseName, releaseAction interface{}) *gomock.Call
UpsertComputedRelease indicates an expected call of UpsertComputedRelease.