fakes

package
v0.94.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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 HistoricKilnfile

type HistoricKilnfile struct {
	Stub func(storer.EncodedObjectStorer, plumbing.Hash, string) (cargo.Kilnfile, cargo.KilnfileLock, error)
	// contains filtered or unexported fields
}

func (*HistoricKilnfile) ArgsForCall

func (*HistoricKilnfile) CallCount

func (fake *HistoricKilnfile) CallCount() int

func (*HistoricKilnfile) Calls

func (*HistoricKilnfile) Invocations

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

func (*HistoricKilnfile) Returns

func (fake *HistoricKilnfile) Returns(result1 cargo.Kilnfile, result2 cargo.KilnfileLock, result3 error)

func (*HistoricKilnfile) ReturnsOnCall

func (fake *HistoricKilnfile) ReturnsOnCall(i int, result1 cargo.Kilnfile, result2 cargo.KilnfileLock, result3 error)

func (*HistoricKilnfile) Spy

type HistoricVersion

type HistoricVersion struct {
	Stub func(storer.EncodedObjectStorer, plumbing.Hash, string) (string, error)
	// contains filtered or unexported fields
}

func (*HistoricVersion) ArgsForCall

func (*HistoricVersion) CallCount

func (fake *HistoricVersion) CallCount() int

func (*HistoricVersion) Calls

func (*HistoricVersion) Invocations

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

func (*HistoricVersion) Returns

func (fake *HistoricVersion) Returns(result1 string, result2 error)

func (*HistoricVersion) ReturnsOnCall

func (fake *HistoricVersion) ReturnsOnCall(i int, result1 string, result2 error)

func (*HistoricVersion) Spy

func (fake *HistoricVersion) Spy(arg1 storer.EncodedObjectStorer, arg2 plumbing.Hash, arg3 string) (string, error)

type IssueGetter

type IssueGetter struct {
	GetStub func(context.Context, string, string, int) (*github.Issue, *github.Response, error)
	// contains filtered or unexported fields
}

func (*IssueGetter) Get

func (fake *IssueGetter) Get(arg1 context.Context, arg2 string, arg3 string, arg4 int) (*github.Issue, *github.Response, error)

func (*IssueGetter) GetArgsForCall

func (fake *IssueGetter) GetArgsForCall(i int) (context.Context, string, string, int)

func (*IssueGetter) GetCallCount

func (fake *IssueGetter) GetCallCount() int

func (*IssueGetter) GetCalls

func (fake *IssueGetter) GetCalls(stub func(context.Context, string, string, int) (*github.Issue, *github.Response, error))

func (*IssueGetter) GetReturns

func (fake *IssueGetter) GetReturns(result1 *github.Issue, result2 *github.Response, result3 error)

func (*IssueGetter) GetReturnsOnCall

func (fake *IssueGetter) GetReturnsOnCall(i int, result1 *github.Issue, result2 *github.Response, result3 error)

func (*IssueGetter) Invocations

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

type IssuesByRepoLister

type IssuesByRepoLister struct {
	ListByRepoStub func(context.Context, string, string, *github.IssueListByRepoOptions) ([]*github.Issue, *github.Response, error)
	// contains filtered or unexported fields
}

func (*IssuesByRepoLister) Invocations

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

func (*IssuesByRepoLister) ListByRepo

func (fake *IssuesByRepoLister) ListByRepo(arg1 context.Context, arg2 string, arg3 string, arg4 *github.IssueListByRepoOptions) ([]*github.Issue, *github.Response, error)

func (*IssuesByRepoLister) ListByRepoArgsForCall

func (fake *IssuesByRepoLister) ListByRepoArgsForCall(i int) (context.Context, string, string, *github.IssueListByRepoOptions)

func (*IssuesByRepoLister) ListByRepoCallCount

func (fake *IssuesByRepoLister) ListByRepoCallCount() int

func (*IssuesByRepoLister) ListByRepoCalls

func (*IssuesByRepoLister) ListByRepoReturns

func (fake *IssuesByRepoLister) ListByRepoReturns(result1 []*github.Issue, result2 *github.Response, result3 error)

func (*IssuesByRepoLister) ListByRepoReturnsOnCall

func (fake *IssuesByRepoLister) ListByRepoReturnsOnCall(i int, result1 []*github.Issue, result2 *github.Response, result3 error)

type IssuesService

type IssuesService struct {
	GetStub func(context.Context, string, string, int) (*github.Issue, *github.Response, error)

	ListByRepoStub func(context.Context, string, string, *github.IssueListByRepoOptions) ([]*github.Issue, *github.Response, error)

	ListMilestonesStub func(context.Context, string, string, *github.MilestoneListOptions) ([]*github.Milestone, *github.Response, error)
	// contains filtered or unexported fields
}

func (*IssuesService) Get

func (fake *IssuesService) Get(arg1 context.Context, arg2 string, arg3 string, arg4 int) (*github.Issue, *github.Response, error)

func (*IssuesService) GetArgsForCall

func (fake *IssuesService) GetArgsForCall(i int) (context.Context, string, string, int)

func (*IssuesService) GetCallCount

func (fake *IssuesService) GetCallCount() int

func (*IssuesService) GetCalls

func (fake *IssuesService) GetCalls(stub func(context.Context, string, string, int) (*github.Issue, *github.Response, error))

func (*IssuesService) GetReturns

func (fake *IssuesService) GetReturns(result1 *github.Issue, result2 *github.Response, result3 error)

func (*IssuesService) GetReturnsOnCall

func (fake *IssuesService) GetReturnsOnCall(i int, result1 *github.Issue, result2 *github.Response, result3 error)

func (*IssuesService) Invocations

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

func (*IssuesService) ListByRepo

func (fake *IssuesService) ListByRepo(arg1 context.Context, arg2 string, arg3 string, arg4 *github.IssueListByRepoOptions) ([]*github.Issue, *github.Response, error)

func (*IssuesService) ListByRepoArgsForCall

func (fake *IssuesService) ListByRepoArgsForCall(i int) (context.Context, string, string, *github.IssueListByRepoOptions)

func (*IssuesService) ListByRepoCallCount

func (fake *IssuesService) ListByRepoCallCount() int

func (*IssuesService) ListByRepoCalls

func (fake *IssuesService) ListByRepoCalls(stub func(context.Context, string, string, *github.IssueListByRepoOptions) ([]*github.Issue, *github.Response, error))

func (*IssuesService) ListByRepoReturns

func (fake *IssuesService) ListByRepoReturns(result1 []*github.Issue, result2 *github.Response, result3 error)

func (*IssuesService) ListByRepoReturnsOnCall

func (fake *IssuesService) ListByRepoReturnsOnCall(i int, result1 []*github.Issue, result2 *github.Response, result3 error)

func (*IssuesService) ListMilestones

func (fake *IssuesService) ListMilestones(arg1 context.Context, arg2 string, arg3 string, arg4 *github.MilestoneListOptions) ([]*github.Milestone, *github.Response, error)

func (*IssuesService) ListMilestonesArgsForCall

func (fake *IssuesService) ListMilestonesArgsForCall(i int) (context.Context, string, string, *github.MilestoneListOptions)

func (*IssuesService) ListMilestonesCallCount

func (fake *IssuesService) ListMilestonesCallCount() int

func (*IssuesService) ListMilestonesCalls

func (fake *IssuesService) ListMilestonesCalls(stub func(context.Context, string, string, *github.MilestoneListOptions) ([]*github.Milestone, *github.Response, error))

func (*IssuesService) ListMilestonesReturns

func (fake *IssuesService) ListMilestonesReturns(result1 []*github.Milestone, result2 *github.Response, result3 error)

func (*IssuesService) ListMilestonesReturnsOnCall

func (fake *IssuesService) ListMilestonesReturnsOnCall(i int, result1 []*github.Milestone, result2 *github.Response, result3 error)

type MilestoneLister

type MilestoneLister struct {
	ListMilestonesStub func(context.Context, string, string, *github.MilestoneListOptions) ([]*github.Milestone, *github.Response, error)
	// contains filtered or unexported fields
}

func (*MilestoneLister) Invocations

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

func (*MilestoneLister) ListMilestones

func (fake *MilestoneLister) ListMilestones(arg1 context.Context, arg2 string, arg3 string, arg4 *github.MilestoneListOptions) ([]*github.Milestone, *github.Response, error)

func (*MilestoneLister) ListMilestonesArgsForCall

func (fake *MilestoneLister) ListMilestonesArgsForCall(i int) (context.Context, string, string, *github.MilestoneListOptions)

func (*MilestoneLister) ListMilestonesCallCount

func (fake *MilestoneLister) ListMilestonesCallCount() int

func (*MilestoneLister) ListMilestonesCalls

func (fake *MilestoneLister) ListMilestonesCalls(stub func(context.Context, string, string, *github.MilestoneListOptions) ([]*github.Milestone, *github.Response, error))

func (*MilestoneLister) ListMilestonesReturns

func (fake *MilestoneLister) ListMilestonesReturns(result1 []*github.Milestone, result2 *github.Response, result3 error)

func (*MilestoneLister) ListMilestonesReturnsOnCall

func (fake *MilestoneLister) ListMilestonesReturnsOnCall(i int, result1 []*github.Milestone, result2 *github.Response, result3 error)

type ReleaseService

type ReleaseService struct {
	ListReleasesStub func(context.Context, string, string, *github.ListOptions) ([]*github.RepositoryRelease, *github.Response, error)
	// contains filtered or unexported fields
}

func (*ReleaseService) Invocations

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

func (*ReleaseService) ListReleases

func (fake *ReleaseService) ListReleases(arg1 context.Context, arg2 string, arg3 string, arg4 *github.ListOptions) ([]*github.RepositoryRelease, *github.Response, error)

func (*ReleaseService) ListReleasesArgsForCall

func (fake *ReleaseService) ListReleasesArgsForCall(i int) (context.Context, string, string, *github.ListOptions)

func (*ReleaseService) ListReleasesCallCount

func (fake *ReleaseService) ListReleasesCallCount() int

func (*ReleaseService) ListReleasesCalls

func (fake *ReleaseService) ListReleasesCalls(stub func(context.Context, string, string, *github.ListOptions) ([]*github.RepositoryRelease, *github.Response, error))

func (*ReleaseService) ListReleasesReturns

func (fake *ReleaseService) ListReleasesReturns(result1 []*github.RepositoryRelease, result2 *github.Response, result3 error)

func (*ReleaseService) ListReleasesReturnsOnCall

func (fake *ReleaseService) ListReleasesReturnsOnCall(i int, result1 []*github.RepositoryRelease, result2 *github.Response, result3 error)

type RevisionResolver

type RevisionResolver struct {
	ResolveRevisionStub func(plumbing.Revision) (*plumbing.Hash, error)
	// contains filtered or unexported fields
}

func (*RevisionResolver) Invocations

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

func (*RevisionResolver) ResolveRevision

func (fake *RevisionResolver) ResolveRevision(arg1 plumbing.Revision) (*plumbing.Hash, error)

func (*RevisionResolver) ResolveRevisionArgsForCall

func (fake *RevisionResolver) ResolveRevisionArgsForCall(i int) plumbing.Revision

func (*RevisionResolver) ResolveRevisionCallCount

func (fake *RevisionResolver) ResolveRevisionCallCount() int

func (*RevisionResolver) ResolveRevisionCalls

func (fake *RevisionResolver) ResolveRevisionCalls(stub func(plumbing.Revision) (*plumbing.Hash, error))

func (*RevisionResolver) ResolveRevisionReturns

func (fake *RevisionResolver) ResolveRevisionReturns(result1 *plumbing.Hash, result2 error)

func (*RevisionResolver) ResolveRevisionReturnsOnCall

func (fake *RevisionResolver) ResolveRevisionReturnsOnCall(i int, result1 *plumbing.Hash, result2 error)

type TrainstatClient

type TrainstatClient struct {
	FetchStub func(milestone string, version string, tile string) ([]string, error)

	FetchStubForWinfs func(milestone string, version string) (bool, string, error)
	// contains filtered or unexported fields
}

func (*TrainstatClient) FetchReturnsOnCall

func (fake *TrainstatClient) FetchReturnsOnCall(i int, result1 []string, result2 error)

func (*TrainstatClient) FetchReturnsOnCallForWinfs added in v0.89.0

func (fake *TrainstatClient) FetchReturnsOnCallForWinfs(i int, result1 bool, result2 string, result3 error)

func (*TrainstatClient) FetchTrainstatNotes

func (fake *TrainstatClient) FetchTrainstatNotes(ctx context.Context, arg1 string, arg2 string, arg3 string) (notes []string, err error)

func (*TrainstatClient) FetchTrainstatWinfsVersionInfo added in v0.89.0

func (fake *TrainstatClient) FetchTrainstatWinfsVersionInfo(ctx context.Context, arg1 string, arg2 string) (bumped bool, winfsVersion string, err error)

func (*TrainstatClient) GetArgsForCall

func (fake *TrainstatClient) GetArgsForCall(i int) (string, string, string)

func (*TrainstatClient) GetArgsForCallForWinfs added in v0.89.0

func (fake *TrainstatClient) GetArgsForCallForWinfs(i int) (string, string)

func (*TrainstatClient) GetCallCount

func (fake *TrainstatClient) GetCallCount() int

func (*TrainstatClient) GetCallCountForWinfs added in v0.89.0

func (fake *TrainstatClient) GetCallCountForWinfs() int

func (*TrainstatClient) GetCalls

func (fake *TrainstatClient) GetCalls(stub func(string, string, string) ([]string, error))

func (*TrainstatClient) GetCallsForWinfs added in v0.89.0

func (fake *TrainstatClient) GetCallsForWinfs(stub func(string, string) (bool, string, error))

func (*TrainstatClient) Invocations

func (fake *TrainstatClient) Invocations() map[string][][]any

Jump to

Keyboard shortcuts

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