Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeToolImplementation
- func (fake *FakeToolImplementation) CallOrder() []string
- func (fake *FakeToolImplementation) CheckForks(arg1 *options.Options) error
- func (fake *FakeToolImplementation) CheckForksArgs() []FakeToolImplementationCheckForksArgs
- func (fake *FakeToolImplementation) CheckForksArgsForCall(i int) *options.Options
- func (fake *FakeToolImplementation) CheckForksCallCount() int
- func (fake *FakeToolImplementation) CheckForksCalls(stub func(*options.Options) error)
- func (fake *FakeToolImplementation) CheckForksReturns(result1 error)
- func (fake *FakeToolImplementation) CheckForksReturnsOnCall(i int, result1 error)
- func (fake *FakeToolImplementation) CheckPolicyFork(arg1 *options.Options) error
- func (fake *FakeToolImplementation) CheckPolicyForkArgs() []FakeToolImplementationCheckPolicyForkArgs
- func (fake *FakeToolImplementation) CheckPolicyForkArgsForCall(i int) *options.Options
- func (fake *FakeToolImplementation) CheckPolicyForkCallCount() int
- func (fake *FakeToolImplementation) CheckPolicyForkCalls(stub func(*options.Options) error)
- func (fake *FakeToolImplementation) CheckPolicyForkReturns(result1 error)
- func (fake *FakeToolImplementation) CheckPolicyForkReturnsOnCall(i int, result1 error)
- func (fake *FakeToolImplementation) ConfigureControls(arg1 models.VcsBackend, arg2 *models.Repository, arg3 []*models.Branch, ...) error
- func (fake *FakeToolImplementation) ConfigureControlsArgs() []FakeToolImplementationConfigureControlsArgs
- func (fake *FakeToolImplementation) ConfigureControlsArgsForCall(i int) (models.VcsBackend, *models.Repository, []*models.Branch, ...)
- func (fake *FakeToolImplementation) ConfigureControlsCallCount() int
- func (fake *FakeToolImplementation) ConfigureControlsCalls(stub func(models.VcsBackend, *models.Repository, []*models.Branch, ...) error)
- func (fake *FakeToolImplementation) ConfigureControlsReturns(result1 error)
- func (fake *FakeToolImplementation) ConfigureControlsReturnsOnCall(i int, result1 error)
- func (fake *FakeToolImplementation) CreatePolicyPR(arg1 *auth.Authenticator, arg2 *options.Options, arg3 *models.Repository, ...) (*models.PullRequest, error)
- func (fake *FakeToolImplementation) CreatePolicyPRArgs() []FakeToolImplementationCreatePolicyPRArgs
- func (fake *FakeToolImplementation) CreatePolicyPRArgsForCall(i int) (*auth.Authenticator, *options.Options, *models.Repository, *policy.RepoPolicy)
- func (fake *FakeToolImplementation) CreatePolicyPRCallCount() int
- func (fake *FakeToolImplementation) CreatePolicyPRCalls(...)
- func (fake *FakeToolImplementation) CreatePolicyPRReturns(result1 *models.PullRequest, result2 error)
- func (fake *FakeToolImplementation) CreatePolicyPRReturnsOnCall(i int, result1 *models.PullRequest, result2 error)
- func (fake *FakeToolImplementation) CreateRepositoryFork(arg1 context.Context, arg2 *auth.Authenticator, arg3 *models.Repository, ...) error
- func (fake *FakeToolImplementation) CreateRepositoryForkArgs() []FakeToolImplementationCreateRepositoryForkArgs
- func (fake *FakeToolImplementation) CreateRepositoryForkArgsForCall(i int) (context.Context, *auth.Authenticator, *models.Repository, string)
- func (fake *FakeToolImplementation) CreateRepositoryForkCallCount() int
- func (fake *FakeToolImplementation) CreateRepositoryForkCalls(...)
- func (fake *FakeToolImplementation) CreateRepositoryForkReturns(result1 error)
- func (fake *FakeToolImplementation) CreateRepositoryForkReturnsOnCall(i int, result1 error)
- func (fake *FakeToolImplementation) GetBranchControls(arg1 context.Context, arg2 models.VcsBackend, arg3 *models.Branch) (*slsa.ControlSet, error)
- func (fake *FakeToolImplementation) GetBranchControlsArgs() []FakeToolImplementationGetBranchControlsArgs
- func (fake *FakeToolImplementation) GetBranchControlsArgsForCall(i int) (context.Context, models.VcsBackend, *models.Branch)
- func (fake *FakeToolImplementation) GetBranchControlsAtCommit(arg1 context.Context, arg2 models.VcsBackend, arg3 *models.Branch, ...) (*slsa.ControlSet, error)
- func (fake *FakeToolImplementation) GetBranchControlsAtCommitArgs() []FakeToolImplementationGetBranchControlsAtCommitArgs
- func (fake *FakeToolImplementation) GetBranchControlsAtCommitArgsForCall(i int) (context.Context, models.VcsBackend, *models.Branch, *models.Commit)
- func (fake *FakeToolImplementation) GetBranchControlsAtCommitCallCount() int
- func (fake *FakeToolImplementation) GetBranchControlsAtCommitCalls(...)
- func (fake *FakeToolImplementation) GetBranchControlsAtCommitReturns(result1 *slsa.ControlSet, result2 error)
- func (fake *FakeToolImplementation) GetBranchControlsAtCommitReturnsOnCall(i int, result1 *slsa.ControlSet, result2 error)
- func (fake *FakeToolImplementation) GetBranchControlsCallCount() int
- func (fake *FakeToolImplementation) GetBranchControlsCalls(...)
- func (fake *FakeToolImplementation) GetBranchControlsReturns(result1 *slsa.ControlSet, result2 error)
- func (fake *FakeToolImplementation) GetBranchControlsReturnsOnCall(i int, result1 *slsa.ControlSet, result2 error)
- func (fake *FakeToolImplementation) GetPolicyStatus(arg1 context.Context, arg2 *auth.Authenticator, arg3 *options.Options, ...) (*slsa.Control, error)
- func (fake *FakeToolImplementation) GetPolicyStatusArgs() []FakeToolImplementationGetPolicyStatusArgs
- func (fake *FakeToolImplementation) GetPolicyStatusArgsForCall(i int) (context.Context, *auth.Authenticator, *options.Options, *models.Repository)
- func (fake *FakeToolImplementation) GetPolicyStatusCallCount() int
- func (fake *FakeToolImplementation) GetPolicyStatusCalls(...)
- func (fake *FakeToolImplementation) GetPolicyStatusReturns(result1 *slsa.Control, result2 error)
- func (fake *FakeToolImplementation) GetPolicyStatusReturnsOnCall(i int, result1 *slsa.Control, result2 error)
- func (fake *FakeToolImplementation) Invocations() map[string][][]interface{}
- func (fake *FakeToolImplementation) SearchPullRequest(arg1 context.Context, arg2 *auth.Authenticator, arg3 *models.Repository, ...) (*models.PullRequest, error)
- func (fake *FakeToolImplementation) SearchPullRequestArgs() []FakeToolImplementationSearchPullRequestArgs
- func (fake *FakeToolImplementation) SearchPullRequestArgsForCall(i int) (context.Context, *auth.Authenticator, *models.Repository, string)
- func (fake *FakeToolImplementation) SearchPullRequestCallCount() int
- func (fake *FakeToolImplementation) SearchPullRequestCalls(...)
- func (fake *FakeToolImplementation) SearchPullRequestReturns(result1 *models.PullRequest, result2 error)
- func (fake *FakeToolImplementation) SearchPullRequestReturnsOnCall(i int, result1 *models.PullRequest, result2 error)
- func (fake *FakeToolImplementation) VerifyOptionsForFullOnboard(arg1 *auth.Authenticator, arg2 *options.Options) error
- func (fake *FakeToolImplementation) VerifyOptionsForFullOnboardArgs() []FakeToolImplementationVerifyOptionsForFullOnboardArgs
- func (fake *FakeToolImplementation) VerifyOptionsForFullOnboardArgsForCall(i int) (*auth.Authenticator, *options.Options)
- func (fake *FakeToolImplementation) VerifyOptionsForFullOnboardCallCount() int
- func (fake *FakeToolImplementation) VerifyOptionsForFullOnboardCalls(stub func(*auth.Authenticator, *options.Options) error)
- func (fake *FakeToolImplementation) VerifyOptionsForFullOnboardReturns(result1 error)
- func (fake *FakeToolImplementation) VerifyOptionsForFullOnboardReturnsOnCall(i int, result1 error)
- type FakeToolImplementationCheckForksArgs
- type FakeToolImplementationCheckPolicyForkArgs
- type FakeToolImplementationConfigureControlsArgs
- type FakeToolImplementationCreatePolicyPRArgs
- type FakeToolImplementationCreateRepositoryForkArgs
- type FakeToolImplementationGetBranchControlsArgs
- type FakeToolImplementationGetBranchControlsAtCommitArgs
- type FakeToolImplementationGetPolicyStatusArgs
- type FakeToolImplementationSearchPullRequestArgs
- type FakeToolImplementationVerifyOptionsForFullOnboardArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeToolImplementation ¶
type FakeToolImplementation struct {
CheckForksStub func(*options.Options) error
CheckPolicyForkStub func(*options.Options) error
ConfigureControlsStub func(models.VcsBackend, *models.Repository, []*models.Branch, []models.ControlConfiguration) error
CreatePolicyPRStub func(*auth.Authenticator, *options.Options, *models.Repository, *policy.RepoPolicy) (*models.PullRequest, error)
CreateRepositoryForkStub func(context.Context, *auth.Authenticator, *models.Repository, string) error
GetBranchControlsStub func(context.Context, models.VcsBackend, *models.Branch) (*slsa.ControlSet, error)
GetBranchControlsAtCommitStub func(context.Context, models.VcsBackend, *models.Branch, *models.Commit) (*slsa.ControlSet, error)
GetPolicyStatusStub func(context.Context, *auth.Authenticator, *options.Options, *models.Repository) (*slsa.Control, error)
SearchPullRequestStub func(context.Context, *auth.Authenticator, *models.Repository, string) (*models.PullRequest, error)
VerifyOptionsForFullOnboardStub func(*auth.Authenticator, *options.Options) error
// contains filtered or unexported fields
}
func (*FakeToolImplementation) CallOrder ¶ added in v0.7.1
func (fake *FakeToolImplementation) CallOrder() []string
func (*FakeToolImplementation) CheckForks ¶
func (fake *FakeToolImplementation) CheckForks(arg1 *options.Options) error
func (*FakeToolImplementation) CheckForksArgs ¶ added in v0.7.1
func (fake *FakeToolImplementation) CheckForksArgs() []FakeToolImplementationCheckForksArgs
func (*FakeToolImplementation) CheckForksArgsForCall ¶
func (fake *FakeToolImplementation) CheckForksArgsForCall(i int) *options.Options
func (*FakeToolImplementation) CheckForksCallCount ¶
func (fake *FakeToolImplementation) CheckForksCallCount() int
func (*FakeToolImplementation) CheckForksCalls ¶
func (fake *FakeToolImplementation) CheckForksCalls(stub func(*options.Options) error)
func (*FakeToolImplementation) CheckForksReturns ¶
func (fake *FakeToolImplementation) CheckForksReturns(result1 error)
func (*FakeToolImplementation) CheckForksReturnsOnCall ¶
func (fake *FakeToolImplementation) CheckForksReturnsOnCall(i int, result1 error)
func (*FakeToolImplementation) CheckPolicyFork ¶
func (fake *FakeToolImplementation) CheckPolicyFork(arg1 *options.Options) error
func (*FakeToolImplementation) CheckPolicyForkArgs ¶ added in v0.7.1
func (fake *FakeToolImplementation) CheckPolicyForkArgs() []FakeToolImplementationCheckPolicyForkArgs
func (*FakeToolImplementation) CheckPolicyForkArgsForCall ¶
func (fake *FakeToolImplementation) CheckPolicyForkArgsForCall(i int) *options.Options
func (*FakeToolImplementation) CheckPolicyForkCallCount ¶
func (fake *FakeToolImplementation) CheckPolicyForkCallCount() int
func (*FakeToolImplementation) CheckPolicyForkCalls ¶
func (fake *FakeToolImplementation) CheckPolicyForkCalls(stub func(*options.Options) error)
func (*FakeToolImplementation) CheckPolicyForkReturns ¶
func (fake *FakeToolImplementation) CheckPolicyForkReturns(result1 error)
func (*FakeToolImplementation) CheckPolicyForkReturnsOnCall ¶
func (fake *FakeToolImplementation) CheckPolicyForkReturnsOnCall(i int, result1 error)
func (*FakeToolImplementation) ConfigureControls ¶
func (fake *FakeToolImplementation) ConfigureControls(arg1 models.VcsBackend, arg2 *models.Repository, arg3 []*models.Branch, arg4 []models.ControlConfiguration) error
func (*FakeToolImplementation) ConfigureControlsArgs ¶ added in v0.7.1
func (fake *FakeToolImplementation) ConfigureControlsArgs() []FakeToolImplementationConfigureControlsArgs
func (*FakeToolImplementation) ConfigureControlsArgsForCall ¶
func (fake *FakeToolImplementation) ConfigureControlsArgsForCall(i int) (models.VcsBackend, *models.Repository, []*models.Branch, []models.ControlConfiguration)
func (*FakeToolImplementation) ConfigureControlsCallCount ¶
func (fake *FakeToolImplementation) ConfigureControlsCallCount() int
func (*FakeToolImplementation) ConfigureControlsCalls ¶
func (fake *FakeToolImplementation) ConfigureControlsCalls(stub func(models.VcsBackend, *models.Repository, []*models.Branch, []models.ControlConfiguration) error)
func (*FakeToolImplementation) ConfigureControlsReturns ¶
func (fake *FakeToolImplementation) ConfigureControlsReturns(result1 error)
func (*FakeToolImplementation) ConfigureControlsReturnsOnCall ¶
func (fake *FakeToolImplementation) ConfigureControlsReturnsOnCall(i int, result1 error)
func (*FakeToolImplementation) CreatePolicyPR ¶
func (fake *FakeToolImplementation) CreatePolicyPR(arg1 *auth.Authenticator, arg2 *options.Options, arg3 *models.Repository, arg4 *policy.RepoPolicy) (*models.PullRequest, error)
func (*FakeToolImplementation) CreatePolicyPRArgs ¶ added in v0.7.1
func (fake *FakeToolImplementation) CreatePolicyPRArgs() []FakeToolImplementationCreatePolicyPRArgs
func (*FakeToolImplementation) CreatePolicyPRArgsForCall ¶
func (fake *FakeToolImplementation) CreatePolicyPRArgsForCall(i int) (*auth.Authenticator, *options.Options, *models.Repository, *policy.RepoPolicy)
func (*FakeToolImplementation) CreatePolicyPRCallCount ¶
func (fake *FakeToolImplementation) CreatePolicyPRCallCount() int
func (*FakeToolImplementation) CreatePolicyPRCalls ¶
func (fake *FakeToolImplementation) CreatePolicyPRCalls(stub func(*auth.Authenticator, *options.Options, *models.Repository, *policy.RepoPolicy) (*models.PullRequest, error))
func (*FakeToolImplementation) CreatePolicyPRReturns ¶
func (fake *FakeToolImplementation) CreatePolicyPRReturns(result1 *models.PullRequest, result2 error)
func (*FakeToolImplementation) CreatePolicyPRReturnsOnCall ¶
func (fake *FakeToolImplementation) CreatePolicyPRReturnsOnCall(i int, result1 *models.PullRequest, result2 error)
func (*FakeToolImplementation) CreateRepositoryFork ¶
func (fake *FakeToolImplementation) CreateRepositoryFork(arg1 context.Context, arg2 *auth.Authenticator, arg3 *models.Repository, arg4 string) error
func (*FakeToolImplementation) CreateRepositoryForkArgs ¶ added in v0.7.1
func (fake *FakeToolImplementation) CreateRepositoryForkArgs() []FakeToolImplementationCreateRepositoryForkArgs
func (*FakeToolImplementation) CreateRepositoryForkArgsForCall ¶
func (fake *FakeToolImplementation) CreateRepositoryForkArgsForCall(i int) (context.Context, *auth.Authenticator, *models.Repository, string)
func (*FakeToolImplementation) CreateRepositoryForkCallCount ¶
func (fake *FakeToolImplementation) CreateRepositoryForkCallCount() int
func (*FakeToolImplementation) CreateRepositoryForkCalls ¶
func (fake *FakeToolImplementation) CreateRepositoryForkCalls(stub func(context.Context, *auth.Authenticator, *models.Repository, string) error)
func (*FakeToolImplementation) CreateRepositoryForkReturns ¶
func (fake *FakeToolImplementation) CreateRepositoryForkReturns(result1 error)
func (*FakeToolImplementation) CreateRepositoryForkReturnsOnCall ¶
func (fake *FakeToolImplementation) CreateRepositoryForkReturnsOnCall(i int, result1 error)
func (*FakeToolImplementation) GetBranchControls ¶
func (fake *FakeToolImplementation) GetBranchControls(arg1 context.Context, arg2 models.VcsBackend, arg3 *models.Branch) (*slsa.ControlSet, error)
func (*FakeToolImplementation) GetBranchControlsArgs ¶ added in v0.7.1
func (fake *FakeToolImplementation) GetBranchControlsArgs() []FakeToolImplementationGetBranchControlsArgs
func (*FakeToolImplementation) GetBranchControlsArgsForCall ¶
func (fake *FakeToolImplementation) GetBranchControlsArgsForCall(i int) (context.Context, models.VcsBackend, *models.Branch)
func (*FakeToolImplementation) GetBranchControlsAtCommit ¶ added in v0.7.0
func (fake *FakeToolImplementation) GetBranchControlsAtCommit(arg1 context.Context, arg2 models.VcsBackend, arg3 *models.Branch, arg4 *models.Commit) (*slsa.ControlSet, error)
func (*FakeToolImplementation) GetBranchControlsAtCommitArgs ¶ added in v0.7.1
func (fake *FakeToolImplementation) GetBranchControlsAtCommitArgs() []FakeToolImplementationGetBranchControlsAtCommitArgs
func (*FakeToolImplementation) GetBranchControlsAtCommitArgsForCall ¶ added in v0.7.0
func (fake *FakeToolImplementation) GetBranchControlsAtCommitArgsForCall(i int) (context.Context, models.VcsBackend, *models.Branch, *models.Commit)
func (*FakeToolImplementation) GetBranchControlsAtCommitCallCount ¶ added in v0.7.0
func (fake *FakeToolImplementation) GetBranchControlsAtCommitCallCount() int
func (*FakeToolImplementation) GetBranchControlsAtCommitCalls ¶ added in v0.7.0
func (fake *FakeToolImplementation) GetBranchControlsAtCommitCalls(stub func(context.Context, models.VcsBackend, *models.Branch, *models.Commit) (*slsa.ControlSet, error))
func (*FakeToolImplementation) GetBranchControlsAtCommitReturns ¶ added in v0.7.0
func (fake *FakeToolImplementation) GetBranchControlsAtCommitReturns(result1 *slsa.ControlSet, result2 error)
func (*FakeToolImplementation) GetBranchControlsAtCommitReturnsOnCall ¶ added in v0.7.0
func (fake *FakeToolImplementation) GetBranchControlsAtCommitReturnsOnCall(i int, result1 *slsa.ControlSet, result2 error)
func (*FakeToolImplementation) GetBranchControlsCallCount ¶
func (fake *FakeToolImplementation) GetBranchControlsCallCount() int
func (*FakeToolImplementation) GetBranchControlsCalls ¶
func (fake *FakeToolImplementation) GetBranchControlsCalls(stub func(context.Context, models.VcsBackend, *models.Branch) (*slsa.ControlSet, error))
func (*FakeToolImplementation) GetBranchControlsReturns ¶
func (fake *FakeToolImplementation) GetBranchControlsReturns(result1 *slsa.ControlSet, result2 error)
func (*FakeToolImplementation) GetBranchControlsReturnsOnCall ¶
func (fake *FakeToolImplementation) GetBranchControlsReturnsOnCall(i int, result1 *slsa.ControlSet, result2 error)
func (*FakeToolImplementation) GetPolicyStatus ¶
func (fake *FakeToolImplementation) GetPolicyStatus(arg1 context.Context, arg2 *auth.Authenticator, arg3 *options.Options, arg4 *models.Repository) (*slsa.Control, error)
func (*FakeToolImplementation) GetPolicyStatusArgs ¶ added in v0.7.1
func (fake *FakeToolImplementation) GetPolicyStatusArgs() []FakeToolImplementationGetPolicyStatusArgs
func (*FakeToolImplementation) GetPolicyStatusArgsForCall ¶
func (fake *FakeToolImplementation) GetPolicyStatusArgsForCall(i int) (context.Context, *auth.Authenticator, *options.Options, *models.Repository)
func (*FakeToolImplementation) GetPolicyStatusCallCount ¶
func (fake *FakeToolImplementation) GetPolicyStatusCallCount() int
func (*FakeToolImplementation) GetPolicyStatusCalls ¶
func (fake *FakeToolImplementation) GetPolicyStatusCalls(stub func(context.Context, *auth.Authenticator, *options.Options, *models.Repository) (*slsa.Control, error))
func (*FakeToolImplementation) GetPolicyStatusReturns ¶
func (fake *FakeToolImplementation) GetPolicyStatusReturns(result1 *slsa.Control, result2 error)
func (*FakeToolImplementation) GetPolicyStatusReturnsOnCall ¶
func (fake *FakeToolImplementation) GetPolicyStatusReturnsOnCall(i int, result1 *slsa.Control, result2 error)
func (*FakeToolImplementation) Invocations ¶
func (fake *FakeToolImplementation) Invocations() map[string][][]interface{}
func (*FakeToolImplementation) SearchPullRequest ¶
func (fake *FakeToolImplementation) SearchPullRequest(arg1 context.Context, arg2 *auth.Authenticator, arg3 *models.Repository, arg4 string) (*models.PullRequest, error)
func (*FakeToolImplementation) SearchPullRequestArgs ¶ added in v0.7.1
func (fake *FakeToolImplementation) SearchPullRequestArgs() []FakeToolImplementationSearchPullRequestArgs
func (*FakeToolImplementation) SearchPullRequestArgsForCall ¶
func (fake *FakeToolImplementation) SearchPullRequestArgsForCall(i int) (context.Context, *auth.Authenticator, *models.Repository, string)
func (*FakeToolImplementation) SearchPullRequestCallCount ¶
func (fake *FakeToolImplementation) SearchPullRequestCallCount() int
func (*FakeToolImplementation) SearchPullRequestCalls ¶
func (fake *FakeToolImplementation) SearchPullRequestCalls(stub func(context.Context, *auth.Authenticator, *models.Repository, string) (*models.PullRequest, error))
func (*FakeToolImplementation) SearchPullRequestReturns ¶
func (fake *FakeToolImplementation) SearchPullRequestReturns(result1 *models.PullRequest, result2 error)
func (*FakeToolImplementation) SearchPullRequestReturnsOnCall ¶
func (fake *FakeToolImplementation) SearchPullRequestReturnsOnCall(i int, result1 *models.PullRequest, result2 error)
func (*FakeToolImplementation) VerifyOptionsForFullOnboard ¶
func (fake *FakeToolImplementation) VerifyOptionsForFullOnboard(arg1 *auth.Authenticator, arg2 *options.Options) error
func (*FakeToolImplementation) VerifyOptionsForFullOnboardArgs ¶ added in v0.7.1
func (fake *FakeToolImplementation) VerifyOptionsForFullOnboardArgs() []FakeToolImplementationVerifyOptionsForFullOnboardArgs
func (*FakeToolImplementation) VerifyOptionsForFullOnboardArgsForCall ¶
func (fake *FakeToolImplementation) VerifyOptionsForFullOnboardArgsForCall(i int) (*auth.Authenticator, *options.Options)
func (*FakeToolImplementation) VerifyOptionsForFullOnboardCallCount ¶
func (fake *FakeToolImplementation) VerifyOptionsForFullOnboardCallCount() int
func (*FakeToolImplementation) VerifyOptionsForFullOnboardCalls ¶
func (fake *FakeToolImplementation) VerifyOptionsForFullOnboardCalls(stub func(*auth.Authenticator, *options.Options) error)
func (*FakeToolImplementation) VerifyOptionsForFullOnboardReturns ¶
func (fake *FakeToolImplementation) VerifyOptionsForFullOnboardReturns(result1 error)
func (*FakeToolImplementation) VerifyOptionsForFullOnboardReturnsOnCall ¶
func (fake *FakeToolImplementation) VerifyOptionsForFullOnboardReturnsOnCall(i int, result1 error)
type FakeToolImplementationCheckForksArgs ¶ added in v0.7.1
FakeToolImplementationCheckForksArgs holds the arguments of one call to CheckForks.
type FakeToolImplementationCheckPolicyForkArgs ¶ added in v0.7.1
FakeToolImplementationCheckPolicyForkArgs holds the arguments of one call to CheckPolicyFork.
type FakeToolImplementationConfigureControlsArgs ¶ added in v0.7.1
type FakeToolImplementationConfigureControlsArgs struct {
Arg1 models.VcsBackend
Arg2 *models.Repository
Arg3 []*models.Branch
Arg4 []models.ControlConfiguration
}
FakeToolImplementationConfigureControlsArgs holds the arguments of one call to ConfigureControls.
type FakeToolImplementationCreatePolicyPRArgs ¶ added in v0.7.1
type FakeToolImplementationCreatePolicyPRArgs struct {
Arg1 *auth.Authenticator
Arg2 *options.Options
Arg3 *models.Repository
Arg4 *policy.RepoPolicy
}
FakeToolImplementationCreatePolicyPRArgs holds the arguments of one call to CreatePolicyPR.
type FakeToolImplementationCreateRepositoryForkArgs ¶ added in v0.7.1
type FakeToolImplementationCreateRepositoryForkArgs struct {
Arg1 context.Context
Arg2 *auth.Authenticator
Arg3 *models.Repository
Arg4 string
}
FakeToolImplementationCreateRepositoryForkArgs holds the arguments of one call to CreateRepositoryFork.
type FakeToolImplementationGetBranchControlsArgs ¶ added in v0.7.1
type FakeToolImplementationGetBranchControlsArgs struct {
Arg1 context.Context
Arg2 models.VcsBackend
Arg3 *models.Branch
}
FakeToolImplementationGetBranchControlsArgs holds the arguments of one call to GetBranchControls.
type FakeToolImplementationGetBranchControlsAtCommitArgs ¶ added in v0.7.1
type FakeToolImplementationGetBranchControlsAtCommitArgs struct {
Arg1 context.Context
Arg2 models.VcsBackend
Arg3 *models.Branch
Arg4 *models.Commit
}
FakeToolImplementationGetBranchControlsAtCommitArgs holds the arguments of one call to GetBranchControlsAtCommit.
type FakeToolImplementationGetPolicyStatusArgs ¶ added in v0.7.1
type FakeToolImplementationGetPolicyStatusArgs struct {
Arg1 context.Context
Arg2 *auth.Authenticator
Arg3 *options.Options
Arg4 *models.Repository
}
FakeToolImplementationGetPolicyStatusArgs holds the arguments of one call to GetPolicyStatus.
type FakeToolImplementationSearchPullRequestArgs ¶ added in v0.7.1
type FakeToolImplementationSearchPullRequestArgs struct {
Arg1 context.Context
Arg2 *auth.Authenticator
Arg3 *models.Repository
Arg4 string
}
FakeToolImplementationSearchPullRequestArgs holds the arguments of one call to SearchPullRequest.
type FakeToolImplementationVerifyOptionsForFullOnboardArgs ¶ added in v0.7.1
type FakeToolImplementationVerifyOptionsForFullOnboardArgs struct {
Arg1 *auth.Authenticator
Arg2 *options.Options
}
FakeToolImplementationVerifyOptionsForFullOnboardArgs holds the arguments of one call to VerifyOptionsForFullOnboard.