harborfakes

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeClient

type FakeClient struct {
	GetArtifactReportStub func(string, string, string) (*harbor.Report, error)

	GetArtifactUrlStub func(string, string, string) (string, error)

	GetArtifactsStub func(string, string) ([]*harbor.Artifact, error)

	GetProjectByNameStub func(string) (*harbor.Project, error)
	// contains filtered or unexported fields
}

func (*FakeClient) GetArtifactReport

func (fake *FakeClient) GetArtifactReport(arg1 string, arg2 string, arg3 string) (*harbor.Report, error)

func (*FakeClient) GetArtifactReportArgsForCall

func (fake *FakeClient) GetArtifactReportArgsForCall(i int) (string, string, string)

func (*FakeClient) GetArtifactReportCallCount

func (fake *FakeClient) GetArtifactReportCallCount() int

func (*FakeClient) GetArtifactReportCalls

func (fake *FakeClient) GetArtifactReportCalls(stub func(string, string, string) (*harbor.Report, error))

func (*FakeClient) GetArtifactReportReturns

func (fake *FakeClient) GetArtifactReportReturns(result1 *harbor.Report, result2 error)

func (*FakeClient) GetArtifactReportReturnsOnCall

func (fake *FakeClient) GetArtifactReportReturnsOnCall(i int, result1 *harbor.Report, result2 error)

func (*FakeClient) GetArtifactUrl

func (fake *FakeClient) GetArtifactUrl(arg1 string, arg2 string, arg3 string) (string, error)

func (*FakeClient) GetArtifactUrlArgsForCall

func (fake *FakeClient) GetArtifactUrlArgsForCall(i int) (string, string, string)

func (*FakeClient) GetArtifactUrlCallCount

func (fake *FakeClient) GetArtifactUrlCallCount() int

func (*FakeClient) GetArtifactUrlCalls

func (fake *FakeClient) GetArtifactUrlCalls(stub func(string, string, string) (string, error))

func (*FakeClient) GetArtifactUrlReturns

func (fake *FakeClient) GetArtifactUrlReturns(result1 string, result2 error)

func (*FakeClient) GetArtifactUrlReturnsOnCall

func (fake *FakeClient) GetArtifactUrlReturnsOnCall(i int, result1 string, result2 error)

func (*FakeClient) GetArtifacts

func (fake *FakeClient) GetArtifacts(arg1 string, arg2 string) ([]*harbor.Artifact, error)

func (*FakeClient) GetArtifactsArgsForCall

func (fake *FakeClient) GetArtifactsArgsForCall(i int) (string, string)

func (*FakeClient) GetArtifactsCallCount

func (fake *FakeClient) GetArtifactsCallCount() int

func (*FakeClient) GetArtifactsCalls

func (fake *FakeClient) GetArtifactsCalls(stub func(string, string) ([]*harbor.Artifact, error))

func (*FakeClient) GetArtifactsReturns

func (fake *FakeClient) GetArtifactsReturns(result1 []*harbor.Artifact, result2 error)

func (*FakeClient) GetArtifactsReturnsOnCall

func (fake *FakeClient) GetArtifactsReturnsOnCall(i int, result1 []*harbor.Artifact, result2 error)

func (*FakeClient) GetProjectByName

func (fake *FakeClient) GetProjectByName(arg1 string) (*harbor.Project, error)

func (*FakeClient) GetProjectByNameArgsForCall

func (fake *FakeClient) GetProjectByNameArgsForCall(i int) string

func (*FakeClient) GetProjectByNameCallCount

func (fake *FakeClient) GetProjectByNameCallCount() int

func (*FakeClient) GetProjectByNameCalls

func (fake *FakeClient) GetProjectByNameCalls(stub func(string) (*harbor.Project, error))

func (*FakeClient) GetProjectByNameReturns

func (fake *FakeClient) GetProjectByNameReturns(result1 *harbor.Project, result2 error)

func (*FakeClient) GetProjectByNameReturnsOnCall

func (fake *FakeClient) GetProjectByNameReturnsOnCall(i int, result1 *harbor.Project, result2 error)

func (*FakeClient) Invocations

func (fake *FakeClient) Invocations() map[string][][]interface{}

Jump to

Keyboard shortcuts

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