userfakes

package
v6.36.2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 16, 2018 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, error)

	ExecuteStub func(context flags.FlagContext) error

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

func (*FakeOrgRoleSetter) Execute

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

func (*FakeOrgRoleSetter) ExecuteArgsForCall

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

func (*FakeOrgRoleSetter) ExecuteCallCount

func (fake *FakeOrgRoleSetter) ExecuteCallCount() int

func (*FakeOrgRoleSetter) ExecuteReturns

func (fake *FakeOrgRoleSetter) ExecuteReturns(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) MetaDataReturns

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

func (*FakeOrgRoleSetter) Requirements

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

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, result2 error)

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 models.Role, userGUID string, userName 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) 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, error)

	ExecuteStub func(context flags.FlagContext) error

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

func (*FakeSpaceRoleSetter) Execute

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

func (*FakeSpaceRoleSetter) ExecuteArgsForCall

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

func (*FakeSpaceRoleSetter) ExecuteCallCount

func (fake *FakeSpaceRoleSetter) ExecuteCallCount() int

func (*FakeSpaceRoleSetter) ExecuteReturns

func (fake *FakeSpaceRoleSetter) ExecuteReturns(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) MetaDataReturns

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

func (*FakeSpaceRoleSetter) Requirements

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

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, result2 error)

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, orgGUID string, orgName string, role models.Role, userGUID string, userName string) (err 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) 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