userfakes

package
v7.0.0-beta.26+incompa... Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeOrgRoleSetter

type FakeOrgRoleSetter struct {
	ExecuteStub func(flags.FlagContext) error

	MetaDataStub func() commandregistry.CommandMetadata

	RequirementsStub func(requirements.Factory, flags.FlagContext) ([]requirements.Requirement, error)

	SetDependencyStub func(commandregistry.Dependency, bool) commandregistry.Command

	SetOrgRoleStub func(string, models.Role, string, string) error
	// contains filtered or unexported fields
}

func (*FakeOrgRoleSetter) Execute

func (fake *FakeOrgRoleSetter) Execute(arg1 flags.FlagContext) error

func (*FakeOrgRoleSetter) ExecuteArgsForCall

func (fake *FakeOrgRoleSetter) ExecuteArgsForCall(i int) flags.FlagContext

func (*FakeOrgRoleSetter) ExecuteCallCount

func (fake *FakeOrgRoleSetter) ExecuteCallCount() int

func (*FakeOrgRoleSetter) ExecuteCalls

func (fake *FakeOrgRoleSetter) ExecuteCalls(stub func(flags.FlagContext) error)

func (*FakeOrgRoleSetter) ExecuteReturns

func (fake *FakeOrgRoleSetter) ExecuteReturns(result1 error)

func (*FakeOrgRoleSetter) ExecuteReturnsOnCall

func (fake *FakeOrgRoleSetter) ExecuteReturnsOnCall(i int, result1 error)

func (*FakeOrgRoleSetter) Invocations

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

func (*FakeOrgRoleSetter) MetaData

func (*FakeOrgRoleSetter) MetaDataCallCount

func (fake *FakeOrgRoleSetter) MetaDataCallCount() int

func (*FakeOrgRoleSetter) MetaDataCalls

func (fake *FakeOrgRoleSetter) MetaDataCalls(stub func() commandregistry.CommandMetadata)

func (*FakeOrgRoleSetter) MetaDataReturns

func (fake *FakeOrgRoleSetter) MetaDataReturns(result1 commandregistry.CommandMetadata)

func (*FakeOrgRoleSetter) MetaDataReturnsOnCall

func (fake *FakeOrgRoleSetter) MetaDataReturnsOnCall(i int, result1 commandregistry.CommandMetadata)

func (*FakeOrgRoleSetter) Requirements

func (*FakeOrgRoleSetter) RequirementsArgsForCall

func (fake *FakeOrgRoleSetter) RequirementsArgsForCall(i int) (requirements.Factory, flags.FlagContext)

func (*FakeOrgRoleSetter) RequirementsCallCount

func (fake *FakeOrgRoleSetter) RequirementsCallCount() int

func (*FakeOrgRoleSetter) RequirementsCalls

func (fake *FakeOrgRoleSetter) RequirementsCalls(stub func(requirements.Factory, flags.FlagContext) ([]requirements.Requirement, error))

func (*FakeOrgRoleSetter) RequirementsReturns

func (fake *FakeOrgRoleSetter) RequirementsReturns(result1 []requirements.Requirement, result2 error)

func (*FakeOrgRoleSetter) RequirementsReturnsOnCall

func (fake *FakeOrgRoleSetter) RequirementsReturnsOnCall(i int, result1 []requirements.Requirement, result2 error)

func (*FakeOrgRoleSetter) SetDependency

func (fake *FakeOrgRoleSetter) SetDependency(arg1 commandregistry.Dependency, arg2 bool) commandregistry.Command

func (*FakeOrgRoleSetter) SetDependencyArgsForCall

func (fake *FakeOrgRoleSetter) SetDependencyArgsForCall(i int) (commandregistry.Dependency, bool)

func (*FakeOrgRoleSetter) SetDependencyCallCount

func (fake *FakeOrgRoleSetter) SetDependencyCallCount() int

func (*FakeOrgRoleSetter) SetDependencyCalls

func (fake *FakeOrgRoleSetter) SetDependencyCalls(stub func(commandregistry.Dependency, bool) commandregistry.Command)

func (*FakeOrgRoleSetter) SetDependencyReturns

func (fake *FakeOrgRoleSetter) SetDependencyReturns(result1 commandregistry.Command)

func (*FakeOrgRoleSetter) SetDependencyReturnsOnCall

func (fake *FakeOrgRoleSetter) SetDependencyReturnsOnCall(i int, result1 commandregistry.Command)

func (*FakeOrgRoleSetter) SetOrgRole

func (fake *FakeOrgRoleSetter) SetOrgRole(arg1 string, arg2 models.Role, arg3 string, arg4 string) error

func (*FakeOrgRoleSetter) SetOrgRoleArgsForCall

func (fake *FakeOrgRoleSetter) SetOrgRoleArgsForCall(i int) (string, models.Role, string, string)

func (*FakeOrgRoleSetter) SetOrgRoleCallCount

func (fake *FakeOrgRoleSetter) SetOrgRoleCallCount() int

func (*FakeOrgRoleSetter) SetOrgRoleCalls

func (fake *FakeOrgRoleSetter) SetOrgRoleCalls(stub func(string, models.Role, string, string) error)

func (*FakeOrgRoleSetter) SetOrgRoleReturns

func (fake *FakeOrgRoleSetter) SetOrgRoleReturns(result1 error)

func (*FakeOrgRoleSetter) SetOrgRoleReturnsOnCall

func (fake *FakeOrgRoleSetter) SetOrgRoleReturnsOnCall(i int, result1 error)

type FakeSpaceRoleSetter

type FakeSpaceRoleSetter struct {
	ExecuteStub func(flags.FlagContext) error

	MetaDataStub func() commandregistry.CommandMetadata

	RequirementsStub func(requirements.Factory, flags.FlagContext) ([]requirements.Requirement, error)

	SetDependencyStub func(commandregistry.Dependency, bool) commandregistry.Command

	SetSpaceRoleStub func(models.Space, string, string, models.Role, string, string) error
	// contains filtered or unexported fields
}

func (*FakeSpaceRoleSetter) Execute

func (fake *FakeSpaceRoleSetter) Execute(arg1 flags.FlagContext) error

func (*FakeSpaceRoleSetter) ExecuteArgsForCall

func (fake *FakeSpaceRoleSetter) ExecuteArgsForCall(i int) flags.FlagContext

func (*FakeSpaceRoleSetter) ExecuteCallCount

func (fake *FakeSpaceRoleSetter) ExecuteCallCount() int

func (*FakeSpaceRoleSetter) ExecuteCalls

func (fake *FakeSpaceRoleSetter) ExecuteCalls(stub func(flags.FlagContext) error)

func (*FakeSpaceRoleSetter) ExecuteReturns

func (fake *FakeSpaceRoleSetter) ExecuteReturns(result1 error)

func (*FakeSpaceRoleSetter) ExecuteReturnsOnCall

func (fake *FakeSpaceRoleSetter) ExecuteReturnsOnCall(i int, result1 error)

func (*FakeSpaceRoleSetter) Invocations

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

func (*FakeSpaceRoleSetter) MetaData

func (*FakeSpaceRoleSetter) MetaDataCallCount

func (fake *FakeSpaceRoleSetter) MetaDataCallCount() int

func (*FakeSpaceRoleSetter) MetaDataCalls

func (fake *FakeSpaceRoleSetter) MetaDataCalls(stub func() commandregistry.CommandMetadata)

func (*FakeSpaceRoleSetter) MetaDataReturns

func (fake *FakeSpaceRoleSetter) MetaDataReturns(result1 commandregistry.CommandMetadata)

func (*FakeSpaceRoleSetter) MetaDataReturnsOnCall

func (fake *FakeSpaceRoleSetter) MetaDataReturnsOnCall(i int, result1 commandregistry.CommandMetadata)

func (*FakeSpaceRoleSetter) Requirements

func (*FakeSpaceRoleSetter) RequirementsArgsForCall

func (fake *FakeSpaceRoleSetter) RequirementsArgsForCall(i int) (requirements.Factory, flags.FlagContext)

func (*FakeSpaceRoleSetter) RequirementsCallCount

func (fake *FakeSpaceRoleSetter) RequirementsCallCount() int

func (*FakeSpaceRoleSetter) RequirementsCalls

func (fake *FakeSpaceRoleSetter) RequirementsCalls(stub func(requirements.Factory, flags.FlagContext) ([]requirements.Requirement, error))

func (*FakeSpaceRoleSetter) RequirementsReturns

func (fake *FakeSpaceRoleSetter) RequirementsReturns(result1 []requirements.Requirement, result2 error)

func (*FakeSpaceRoleSetter) RequirementsReturnsOnCall

func (fake *FakeSpaceRoleSetter) RequirementsReturnsOnCall(i int, result1 []requirements.Requirement, result2 error)

func (*FakeSpaceRoleSetter) SetDependency

func (*FakeSpaceRoleSetter) SetDependencyArgsForCall

func (fake *FakeSpaceRoleSetter) SetDependencyArgsForCall(i int) (commandregistry.Dependency, bool)

func (*FakeSpaceRoleSetter) SetDependencyCallCount

func (fake *FakeSpaceRoleSetter) SetDependencyCallCount() int

func (*FakeSpaceRoleSetter) SetDependencyCalls

func (fake *FakeSpaceRoleSetter) SetDependencyCalls(stub func(commandregistry.Dependency, bool) commandregistry.Command)

func (*FakeSpaceRoleSetter) SetDependencyReturns

func (fake *FakeSpaceRoleSetter) SetDependencyReturns(result1 commandregistry.Command)

func (*FakeSpaceRoleSetter) SetDependencyReturnsOnCall

func (fake *FakeSpaceRoleSetter) SetDependencyReturnsOnCall(i int, result1 commandregistry.Command)

func (*FakeSpaceRoleSetter) SetSpaceRole

func (fake *FakeSpaceRoleSetter) SetSpaceRole(arg1 models.Space, arg2 string, arg3 string, arg4 models.Role, arg5 string, arg6 string) error

func (*FakeSpaceRoleSetter) SetSpaceRoleArgsForCall

func (fake *FakeSpaceRoleSetter) SetSpaceRoleArgsForCall(i int) (models.Space, string, string, models.Role, string, string)

func (*FakeSpaceRoleSetter) SetSpaceRoleCallCount

func (fake *FakeSpaceRoleSetter) SetSpaceRoleCallCount() int

func (*FakeSpaceRoleSetter) SetSpaceRoleCalls

func (fake *FakeSpaceRoleSetter) SetSpaceRoleCalls(stub func(models.Space, string, string, models.Role, string, string) error)

func (*FakeSpaceRoleSetter) SetSpaceRoleReturns

func (fake *FakeSpaceRoleSetter) SetSpaceRoleReturns(result1 error)

func (*FakeSpaceRoleSetter) SetSpaceRoleReturnsOnCall

func (fake *FakeSpaceRoleSetter) SetSpaceRoleReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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