userfakes

package
v6.17.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeOrgRoleSetter

type FakeOrgRoleSetter struct {
	MetaDataStub func() commandregistry.CommandMetadata

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

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

	ExecuteStub func(context flags.FlagContext)

	SetOrgRoleStub func(orgGuid string, role, userGuid, userName string) error
	// contains filtered or unexported fields
}

func (*FakeOrgRoleSetter) Execute

func (fake *FakeOrgRoleSetter) Execute(context flags.FlagContext)

func (*FakeOrgRoleSetter) ExecuteArgsForCall

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

func (*FakeOrgRoleSetter) ExecuteCallCount

func (fake *FakeOrgRoleSetter) ExecuteCallCount() int

func (*FakeOrgRoleSetter) MetaData

func (*FakeOrgRoleSetter) MetaDataCallCount

func (fake *FakeOrgRoleSetter) MetaDataCallCount() int

func (*FakeOrgRoleSetter) MetaDataReturns

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

func (*FakeOrgRoleSetter) Requirements

func (fake *FakeOrgRoleSetter) Requirements(requirementsFactory requirements.Factory, context flags.FlagContext) []requirements.Requirement

func (*FakeOrgRoleSetter) RequirementsArgsForCall

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

func (*FakeOrgRoleSetter) RequirementsCallCount

func (fake *FakeOrgRoleSetter) RequirementsCallCount() int

func (*FakeOrgRoleSetter) RequirementsReturns

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

func (*FakeOrgRoleSetter) SetDependency

func (fake *FakeOrgRoleSetter) SetDependency(deps commandregistry.Dependency, pluginCall 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) SetDependencyReturns

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

func (*FakeOrgRoleSetter) SetOrgRole

func (fake *FakeOrgRoleSetter) SetOrgRole(orgGuid string, role string, userGuid string, userName string) error

func (*FakeOrgRoleSetter) SetOrgRoleArgsForCall

func (fake *FakeOrgRoleSetter) SetOrgRoleArgsForCall(i int) (string, string, string, string)

func (*FakeOrgRoleSetter) SetOrgRoleCallCount

func (fake *FakeOrgRoleSetter) SetOrgRoleCallCount() int

func (*FakeOrgRoleSetter) SetOrgRoleReturns

func (fake *FakeOrgRoleSetter) SetOrgRoleReturns(result1 error)

type FakeSpaceRoleSetter

type FakeSpaceRoleSetter struct {
	MetaDataStub func() commandregistry.CommandMetadata

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

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

	ExecuteStub func(context flags.FlagContext)

	SetSpaceRoleStub func(space models.Space, role, userGuid, userName string) (err error)
	// contains filtered or unexported fields
}

func (*FakeSpaceRoleSetter) Execute

func (fake *FakeSpaceRoleSetter) Execute(context flags.FlagContext)

func (*FakeSpaceRoleSetter) ExecuteArgsForCall

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

func (*FakeSpaceRoleSetter) ExecuteCallCount

func (fake *FakeSpaceRoleSetter) ExecuteCallCount() int

func (*FakeSpaceRoleSetter) MetaData

func (*FakeSpaceRoleSetter) MetaDataCallCount

func (fake *FakeSpaceRoleSetter) MetaDataCallCount() int

func (*FakeSpaceRoleSetter) MetaDataReturns

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

func (*FakeSpaceRoleSetter) Requirements

func (fake *FakeSpaceRoleSetter) Requirements(requirementsFactory requirements.Factory, context flags.FlagContext) []requirements.Requirement

func (*FakeSpaceRoleSetter) RequirementsArgsForCall

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

func (*FakeSpaceRoleSetter) RequirementsCallCount

func (fake *FakeSpaceRoleSetter) RequirementsCallCount() int

func (*FakeSpaceRoleSetter) RequirementsReturns

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

func (*FakeSpaceRoleSetter) SetDependency

func (fake *FakeSpaceRoleSetter) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command

func (*FakeSpaceRoleSetter) SetDependencyArgsForCall

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

func (*FakeSpaceRoleSetter) SetDependencyCallCount

func (fake *FakeSpaceRoleSetter) SetDependencyCallCount() int

func (*FakeSpaceRoleSetter) SetDependencyReturns

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

func (*FakeSpaceRoleSetter) SetSpaceRole

func (fake *FakeSpaceRoleSetter) SetSpaceRole(space models.Space, role string, userGuid string, userName string) (err error)

func (*FakeSpaceRoleSetter) SetSpaceRoleArgsForCall

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

func (*FakeSpaceRoleSetter) SetSpaceRoleCallCount

func (fake *FakeSpaceRoleSetter) SetSpaceRoleCallCount() int

func (*FakeSpaceRoleSetter) SetSpaceRoleReturns

func (fake *FakeSpaceRoleSetter) SetSpaceRoleReturns(result1 error)

Jump to

Keyboard shortcuts

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