mocks

package
v1.230.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) AddBuildTag

func (_m *Client) AddBuildTag(_a0 context.Context, _a1 build.AddBuildTagArgs) (*[]string, error)

AddBuildTag provides a mock function with given fields: _a0, _a1

func (*Client) AddBuildTags

func (_m *Client) AddBuildTags(_a0 context.Context, _a1 build.AddBuildTagsArgs) (*[]string, error)

AddBuildTags provides a mock function with given fields: _a0, _a1

func (*Client) AddDefinitionTag

func (_m *Client) AddDefinitionTag(_a0 context.Context, _a1 build.AddDefinitionTagArgs) (*[]string, error)

AddDefinitionTag provides a mock function with given fields: _a0, _a1

func (*Client) AddDefinitionTags

func (_m *Client) AddDefinitionTags(_a0 context.Context, _a1 build.AddDefinitionTagsArgs) (*[]string, error)

AddDefinitionTags provides a mock function with given fields: _a0, _a1

func (*Client) AuthorizeDefinitionResources

func (_m *Client) AuthorizeDefinitionResources(_a0 context.Context, _a1 build.AuthorizeDefinitionResourcesArgs) (*[]build.DefinitionResourceReference, error)

AuthorizeDefinitionResources provides a mock function with given fields: _a0, _a1

func (*Client) AuthorizeProjectResources

func (_m *Client) AuthorizeProjectResources(_a0 context.Context, _a1 build.AuthorizeProjectResourcesArgs) (*[]build.DefinitionResourceReference, error)

AuthorizeProjectResources provides a mock function with given fields: _a0, _a1

func (*Client) CreateArtifact

func (_m *Client) CreateArtifact(_a0 context.Context, _a1 build.CreateArtifactArgs) (*build.BuildArtifact, error)

CreateArtifact provides a mock function with given fields: _a0, _a1

func (*Client) CreateDefinition

func (_m *Client) CreateDefinition(_a0 context.Context, _a1 build.CreateDefinitionArgs) (*build.BuildDefinition, error)

CreateDefinition provides a mock function with given fields: _a0, _a1

func (*Client) CreateFolder

func (_m *Client) CreateFolder(_a0 context.Context, _a1 build.CreateFolderArgs) (*build.Folder, error)

CreateFolder provides a mock function with given fields: _a0, _a1

func (*Client) DeleteBuild

func (_m *Client) DeleteBuild(_a0 context.Context, _a1 build.DeleteBuildArgs) error

DeleteBuild provides a mock function with given fields: _a0, _a1

func (*Client) DeleteBuildTag

func (_m *Client) DeleteBuildTag(_a0 context.Context, _a1 build.DeleteBuildTagArgs) (*[]string, error)

DeleteBuildTag provides a mock function with given fields: _a0, _a1

func (*Client) DeleteDefinition

func (_m *Client) DeleteDefinition(_a0 context.Context, _a1 build.DeleteDefinitionArgs) error

DeleteDefinition provides a mock function with given fields: _a0, _a1

func (*Client) DeleteDefinitionTag

func (_m *Client) DeleteDefinitionTag(_a0 context.Context, _a1 build.DeleteDefinitionTagArgs) (*[]string, error)

DeleteDefinitionTag provides a mock function with given fields: _a0, _a1

func (*Client) DeleteFolder

func (_m *Client) DeleteFolder(_a0 context.Context, _a1 build.DeleteFolderArgs) error

DeleteFolder provides a mock function with given fields: _a0, _a1

func (*Client) DeleteTemplate

func (_m *Client) DeleteTemplate(_a0 context.Context, _a1 build.DeleteTemplateArgs) error

DeleteTemplate provides a mock function with given fields: _a0, _a1

func (*Client) GetArtifact

func (_m *Client) GetArtifact(_a0 context.Context, _a1 build.GetArtifactArgs) (*build.BuildArtifact, error)

GetArtifact provides a mock function with given fields: _a0, _a1

func (*Client) GetArtifactContentZip

func (_m *Client) GetArtifactContentZip(_a0 context.Context, _a1 build.GetArtifactContentZipArgs) (io.ReadCloser, error)

GetArtifactContentZip provides a mock function with given fields: _a0, _a1

func (*Client) GetArtifacts

func (_m *Client) GetArtifacts(_a0 context.Context, _a1 build.GetArtifactsArgs) (*[]build.BuildArtifact, error)

GetArtifacts provides a mock function with given fields: _a0, _a1

func (*Client) GetAttachment

func (_m *Client) GetAttachment(_a0 context.Context, _a1 build.GetAttachmentArgs) (io.ReadCloser, error)

GetAttachment provides a mock function with given fields: _a0, _a1

func (*Client) GetAttachments

func (_m *Client) GetAttachments(_a0 context.Context, _a1 build.GetAttachmentsArgs) (*[]build.Attachment, error)

GetAttachments provides a mock function with given fields: _a0, _a1

func (*Client) GetBuild

func (_m *Client) GetBuild(_a0 context.Context, _a1 build.GetBuildArgs) (*build.Build, error)

GetBuild provides a mock function with given fields: _a0, _a1

func (*Client) GetBuildBadge

func (_m *Client) GetBuildBadge(_a0 context.Context, _a1 build.GetBuildBadgeArgs) (*build.BuildBadge, error)

GetBuildBadge provides a mock function with given fields: _a0, _a1

func (*Client) GetBuildBadgeData

func (_m *Client) GetBuildBadgeData(_a0 context.Context, _a1 build.GetBuildBadgeDataArgs) (*string, error)

GetBuildBadgeData provides a mock function with given fields: _a0, _a1

func (*Client) GetBuildChanges

GetBuildChanges provides a mock function with given fields: _a0, _a1

func (*Client) GetBuildController

func (_m *Client) GetBuildController(_a0 context.Context, _a1 build.GetBuildControllerArgs) (*build.BuildController, error)

GetBuildController provides a mock function with given fields: _a0, _a1

func (*Client) GetBuildControllers

func (_m *Client) GetBuildControllers(_a0 context.Context, _a1 build.GetBuildControllersArgs) (*[]build.BuildController, error)

GetBuildControllers provides a mock function with given fields: _a0, _a1

func (*Client) GetBuildLog

func (_m *Client) GetBuildLog(_a0 context.Context, _a1 build.GetBuildLogArgs) (io.ReadCloser, error)

GetBuildLog provides a mock function with given fields: _a0, _a1

func (*Client) GetBuildLogLines

func (_m *Client) GetBuildLogLines(_a0 context.Context, _a1 build.GetBuildLogLinesArgs) (*[]string, error)

GetBuildLogLines provides a mock function with given fields: _a0, _a1

func (*Client) GetBuildLogZip

func (_m *Client) GetBuildLogZip(_a0 context.Context, _a1 build.GetBuildLogZipArgs) (io.ReadCloser, error)

GetBuildLogZip provides a mock function with given fields: _a0, _a1

func (*Client) GetBuildLogs

func (_m *Client) GetBuildLogs(_a0 context.Context, _a1 build.GetBuildLogsArgs) (*[]build.BuildLog, error)

GetBuildLogs provides a mock function with given fields: _a0, _a1

func (*Client) GetBuildLogsZip

func (_m *Client) GetBuildLogsZip(_a0 context.Context, _a1 build.GetBuildLogsZipArgs) (io.ReadCloser, error)

GetBuildLogsZip provides a mock function with given fields: _a0, _a1

func (*Client) GetBuildOptionDefinitions

func (_m *Client) GetBuildOptionDefinitions(_a0 context.Context, _a1 build.GetBuildOptionDefinitionsArgs) (*[]build.BuildOptionDefinition, error)

GetBuildOptionDefinitions provides a mock function with given fields: _a0, _a1

func (*Client) GetBuildProperties

func (_m *Client) GetBuildProperties(_a0 context.Context, _a1 build.GetBuildPropertiesArgs) (interface{}, error)

GetBuildProperties provides a mock function with given fields: _a0, _a1

func (*Client) GetBuildReport

func (_m *Client) GetBuildReport(_a0 context.Context, _a1 build.GetBuildReportArgs) (*build.BuildReportMetadata, error)

GetBuildReport provides a mock function with given fields: _a0, _a1

func (*Client) GetBuildReportHtmlContent

func (_m *Client) GetBuildReportHtmlContent(_a0 context.Context, _a1 build.GetBuildReportHtmlContentArgs) (io.ReadCloser, error)

GetBuildReportHtmlContent provides a mock function with given fields: _a0, _a1

func (*Client) GetBuildSettings

func (_m *Client) GetBuildSettings(_a0 context.Context, _a1 build.GetBuildSettingsArgs) (*build.BuildSettings, error)

GetBuildSettings provides a mock function with given fields: _a0, _a1

func (*Client) GetBuildTags

func (_m *Client) GetBuildTags(_a0 context.Context, _a1 build.GetBuildTagsArgs) (*[]string, error)

GetBuildTags provides a mock function with given fields: _a0, _a1

func (*Client) GetBuildTimeline

func (_m *Client) GetBuildTimeline(_a0 context.Context, _a1 build.GetBuildTimelineArgs) (*build.Timeline, error)

GetBuildTimeline provides a mock function with given fields: _a0, _a1

func (*Client) GetBuildWorkItemsRefs

func (_m *Client) GetBuildWorkItemsRefs(_a0 context.Context, _a1 build.GetBuildWorkItemsRefsArgs) (*[]webapi.ResourceRef, error)

GetBuildWorkItemsRefs provides a mock function with given fields: _a0, _a1

func (*Client) GetBuildWorkItemsRefsFromCommits

func (_m *Client) GetBuildWorkItemsRefsFromCommits(_a0 context.Context, _a1 build.GetBuildWorkItemsRefsFromCommitsArgs) (*[]webapi.ResourceRef, error)

GetBuildWorkItemsRefsFromCommits provides a mock function with given fields: _a0, _a1

func (*Client) GetBuilds

GetBuilds provides a mock function with given fields: _a0, _a1

func (*Client) GetChangesBetweenBuilds

func (_m *Client) GetChangesBetweenBuilds(_a0 context.Context, _a1 build.GetChangesBetweenBuildsArgs) (*[]build.Change, error)

GetChangesBetweenBuilds provides a mock function with given fields: _a0, _a1

func (*Client) GetDefinition

func (_m *Client) GetDefinition(_a0 context.Context, _a1 build.GetDefinitionArgs) (*build.BuildDefinition, error)

GetDefinition provides a mock function with given fields: _a0, _a1

func (*Client) GetDefinitionMetrics

func (_m *Client) GetDefinitionMetrics(_a0 context.Context, _a1 build.GetDefinitionMetricsArgs) (*[]build.BuildMetric, error)

GetDefinitionMetrics provides a mock function with given fields: _a0, _a1

func (*Client) GetDefinitionProperties

func (_m *Client) GetDefinitionProperties(_a0 context.Context, _a1 build.GetDefinitionPropertiesArgs) (interface{}, error)

GetDefinitionProperties provides a mock function with given fields: _a0, _a1

func (*Client) GetDefinitionResources

func (_m *Client) GetDefinitionResources(_a0 context.Context, _a1 build.GetDefinitionResourcesArgs) (*[]build.DefinitionResourceReference, error)

GetDefinitionResources provides a mock function with given fields: _a0, _a1

func (*Client) GetDefinitionRevisions

func (_m *Client) GetDefinitionRevisions(_a0 context.Context, _a1 build.GetDefinitionRevisionsArgs) (*[]build.BuildDefinitionRevision, error)

GetDefinitionRevisions provides a mock function with given fields: _a0, _a1

func (*Client) GetDefinitionTags

func (_m *Client) GetDefinitionTags(_a0 context.Context, _a1 build.GetDefinitionTagsArgs) (*[]string, error)

GetDefinitionTags provides a mock function with given fields: _a0, _a1

func (*Client) GetDefinitions

GetDefinitions provides a mock function with given fields: _a0, _a1

func (*Client) GetFile

func (_m *Client) GetFile(_a0 context.Context, _a1 build.GetFileArgs) (io.ReadCloser, error)

GetFile provides a mock function with given fields: _a0, _a1

func (*Client) GetFileContents

func (_m *Client) GetFileContents(_a0 context.Context, _a1 build.GetFileContentsArgs) (io.ReadCloser, error)

GetFileContents provides a mock function with given fields: _a0, _a1

func (*Client) GetFolders

func (_m *Client) GetFolders(_a0 context.Context, _a1 build.GetFoldersArgs) (*[]build.Folder, error)

GetFolders provides a mock function with given fields: _a0, _a1

func (*Client) GetLatestBuild

func (_m *Client) GetLatestBuild(_a0 context.Context, _a1 build.GetLatestBuildArgs) (*build.Build, error)

GetLatestBuild provides a mock function with given fields: _a0, _a1

func (*Client) GetPathContents

func (_m *Client) GetPathContents(_a0 context.Context, _a1 build.GetPathContentsArgs) (*[]build.SourceRepositoryItem, error)

GetPathContents provides a mock function with given fields: _a0, _a1

func (*Client) GetProjectMetrics

func (_m *Client) GetProjectMetrics(_a0 context.Context, _a1 build.GetProjectMetricsArgs) (*[]build.BuildMetric, error)

GetProjectMetrics provides a mock function with given fields: _a0, _a1

func (*Client) GetProjectResources

GetProjectResources provides a mock function with given fields: _a0, _a1

func (*Client) GetPullRequest

func (_m *Client) GetPullRequest(_a0 context.Context, _a1 build.GetPullRequestArgs) (*build.PullRequest, error)

GetPullRequest provides a mock function with given fields: _a0, _a1

func (*Client) GetResourceUsage

func (_m *Client) GetResourceUsage(_a0 context.Context, _a1 build.GetResourceUsageArgs) (*build.BuildResourceUsage, error)

GetResourceUsage provides a mock function with given fields: _a0, _a1

func (*Client) GetStatusBadge

func (_m *Client) GetStatusBadge(_a0 context.Context, _a1 build.GetStatusBadgeArgs) (*string, error)

GetStatusBadge provides a mock function with given fields: _a0, _a1

func (*Client) GetTags

func (_m *Client) GetTags(_a0 context.Context, _a1 build.GetTagsArgs) (*[]string, error)

GetTags provides a mock function with given fields: _a0, _a1

func (*Client) GetTemplate

GetTemplate provides a mock function with given fields: _a0, _a1

func (*Client) GetTemplates

GetTemplates provides a mock function with given fields: _a0, _a1

func (*Client) GetWorkItemsBetweenBuilds

func (_m *Client) GetWorkItemsBetweenBuilds(_a0 context.Context, _a1 build.GetWorkItemsBetweenBuildsArgs) (*[]webapi.ResourceRef, error)

GetWorkItemsBetweenBuilds provides a mock function with given fields: _a0, _a1

func (*Client) ListBranches

func (_m *Client) ListBranches(_a0 context.Context, _a1 build.ListBranchesArgs) (*[]string, error)

ListBranches provides a mock function with given fields: _a0, _a1

func (*Client) ListRepositories

func (_m *Client) ListRepositories(_a0 context.Context, _a1 build.ListRepositoriesArgs) (*build.SourceRepositories, error)

ListRepositories provides a mock function with given fields: _a0, _a1

func (*Client) ListSourceProviders

func (_m *Client) ListSourceProviders(_a0 context.Context, _a1 build.ListSourceProvidersArgs) (*[]build.SourceProviderAttributes, error)

ListSourceProviders provides a mock function with given fields: _a0, _a1

func (*Client) ListWebhooks

func (_m *Client) ListWebhooks(_a0 context.Context, _a1 build.ListWebhooksArgs) (*[]build.RepositoryWebhook, error)

ListWebhooks provides a mock function with given fields: _a0, _a1

func (*Client) QueueBuild

func (_m *Client) QueueBuild(_a0 context.Context, _a1 build.QueueBuildArgs) (*build.Build, error)

QueueBuild provides a mock function with given fields: _a0, _a1

func (*Client) RestoreDefinition

func (_m *Client) RestoreDefinition(_a0 context.Context, _a1 build.RestoreDefinitionArgs) (*build.BuildDefinition, error)

RestoreDefinition provides a mock function with given fields: _a0, _a1

func (*Client) RestoreWebhooks

func (_m *Client) RestoreWebhooks(_a0 context.Context, _a1 build.RestoreWebhooksArgs) error

RestoreWebhooks provides a mock function with given fields: _a0, _a1

func (*Client) SaveTemplate

SaveTemplate provides a mock function with given fields: _a0, _a1

func (*Client) UpdateBuild

func (_m *Client) UpdateBuild(_a0 context.Context, _a1 build.UpdateBuildArgs) (*build.Build, error)

UpdateBuild provides a mock function with given fields: _a0, _a1

func (*Client) UpdateBuildProperties

func (_m *Client) UpdateBuildProperties(_a0 context.Context, _a1 build.UpdateBuildPropertiesArgs) (interface{}, error)

UpdateBuildProperties provides a mock function with given fields: _a0, _a1

func (*Client) UpdateBuildSettings

func (_m *Client) UpdateBuildSettings(_a0 context.Context, _a1 build.UpdateBuildSettingsArgs) (*build.BuildSettings, error)

UpdateBuildSettings provides a mock function with given fields: _a0, _a1

func (*Client) UpdateBuilds

func (_m *Client) UpdateBuilds(_a0 context.Context, _a1 build.UpdateBuildsArgs) (*[]build.Build, error)

UpdateBuilds provides a mock function with given fields: _a0, _a1

func (*Client) UpdateDefinition

func (_m *Client) UpdateDefinition(_a0 context.Context, _a1 build.UpdateDefinitionArgs) (*build.BuildDefinition, error)

UpdateDefinition provides a mock function with given fields: _a0, _a1

func (*Client) UpdateDefinitionProperties

func (_m *Client) UpdateDefinitionProperties(_a0 context.Context, _a1 build.UpdateDefinitionPropertiesArgs) (interface{}, error)

UpdateDefinitionProperties provides a mock function with given fields: _a0, _a1

func (*Client) UpdateFolder

func (_m *Client) UpdateFolder(_a0 context.Context, _a1 build.UpdateFolderArgs) (*build.Folder, error)

UpdateFolder provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL