spacesfakes

package
v6.33.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeSpaceRepository

type FakeSpaceRepository struct {
	ListSpacesStub func(func(models.Space) bool) error

	ListSpacesFromOrgStub func(orgGUID string, spaceFunc func(models.Space) bool) error

	FindByNameStub func(name string) (space models.Space, apiErr error)

	FindByNameInOrgStub func(name, orgGUID string) (space models.Space, apiErr error)

	CreateStub func(name string, orgGUID string, spaceQuotaGUID string) (space models.Space, apiErr error)

	RenameStub func(spaceGUID, newName string) (apiErr error)

	SetAllowSSHStub func(spaceGUID string, allow bool) (apiErr error)

	DeleteStub func(spaceGUID string) (apiErr error)
	// contains filtered or unexported fields
}

func (*FakeSpaceRepository) Create

func (fake *FakeSpaceRepository) Create(name string, orgGUID string, spaceQuotaGUID string) (space models.Space, apiErr error)

func (*FakeSpaceRepository) CreateArgsForCall

func (fake *FakeSpaceRepository) CreateArgsForCall(i int) (string, string, string)

func (*FakeSpaceRepository) CreateCallCount

func (fake *FakeSpaceRepository) CreateCallCount() int

func (*FakeSpaceRepository) CreateReturns

func (fake *FakeSpaceRepository) CreateReturns(result1 models.Space, result2 error)

func (*FakeSpaceRepository) Delete

func (fake *FakeSpaceRepository) Delete(spaceGUID string) (apiErr error)

func (*FakeSpaceRepository) DeleteArgsForCall

func (fake *FakeSpaceRepository) DeleteArgsForCall(i int) string

func (*FakeSpaceRepository) DeleteCallCount

func (fake *FakeSpaceRepository) DeleteCallCount() int

func (*FakeSpaceRepository) DeleteReturns

func (fake *FakeSpaceRepository) DeleteReturns(result1 error)

func (*FakeSpaceRepository) FindByName

func (fake *FakeSpaceRepository) FindByName(name string) (space models.Space, apiErr error)

func (*FakeSpaceRepository) FindByNameArgsForCall

func (fake *FakeSpaceRepository) FindByNameArgsForCall(i int) string

func (*FakeSpaceRepository) FindByNameCallCount

func (fake *FakeSpaceRepository) FindByNameCallCount() int

func (*FakeSpaceRepository) FindByNameInOrg

func (fake *FakeSpaceRepository) FindByNameInOrg(name string, orgGUID string) (space models.Space, apiErr error)

func (*FakeSpaceRepository) FindByNameInOrgArgsForCall

func (fake *FakeSpaceRepository) FindByNameInOrgArgsForCall(i int) (string, string)

func (*FakeSpaceRepository) FindByNameInOrgCallCount

func (fake *FakeSpaceRepository) FindByNameInOrgCallCount() int

func (*FakeSpaceRepository) FindByNameInOrgReturns

func (fake *FakeSpaceRepository) FindByNameInOrgReturns(result1 models.Space, result2 error)

func (*FakeSpaceRepository) FindByNameReturns

func (fake *FakeSpaceRepository) FindByNameReturns(result1 models.Space, result2 error)

func (*FakeSpaceRepository) Invocations

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

func (*FakeSpaceRepository) ListSpaces

func (fake *FakeSpaceRepository) ListSpaces(arg1 func(models.Space) bool) error

func (*FakeSpaceRepository) ListSpacesArgsForCall

func (fake *FakeSpaceRepository) ListSpacesArgsForCall(i int) func(models.Space) bool

func (*FakeSpaceRepository) ListSpacesCallCount

func (fake *FakeSpaceRepository) ListSpacesCallCount() int

func (*FakeSpaceRepository) ListSpacesFromOrg

func (fake *FakeSpaceRepository) ListSpacesFromOrg(orgGUID string, spaceFunc func(models.Space) bool) error

func (*FakeSpaceRepository) ListSpacesFromOrgArgsForCall

func (fake *FakeSpaceRepository) ListSpacesFromOrgArgsForCall(i int) (string, func(models.Space) bool)

func (*FakeSpaceRepository) ListSpacesFromOrgCallCount

func (fake *FakeSpaceRepository) ListSpacesFromOrgCallCount() int

func (*FakeSpaceRepository) ListSpacesFromOrgReturns

func (fake *FakeSpaceRepository) ListSpacesFromOrgReturns(result1 error)

func (*FakeSpaceRepository) ListSpacesReturns

func (fake *FakeSpaceRepository) ListSpacesReturns(result1 error)

func (*FakeSpaceRepository) Rename

func (fake *FakeSpaceRepository) Rename(spaceGUID string, newName string) (apiErr error)

func (*FakeSpaceRepository) RenameArgsForCall

func (fake *FakeSpaceRepository) RenameArgsForCall(i int) (string, string)

func (*FakeSpaceRepository) RenameCallCount

func (fake *FakeSpaceRepository) RenameCallCount() int

func (*FakeSpaceRepository) RenameReturns

func (fake *FakeSpaceRepository) RenameReturns(result1 error)

func (*FakeSpaceRepository) SetAllowSSH

func (fake *FakeSpaceRepository) SetAllowSSH(spaceGUID string, allow bool) (apiErr error)

func (*FakeSpaceRepository) SetAllowSSHArgsForCall

func (fake *FakeSpaceRepository) SetAllowSSHArgsForCall(i int) (string, bool)

func (*FakeSpaceRepository) SetAllowSSHCallCount

func (fake *FakeSpaceRepository) SetAllowSSHCallCount() int

func (*FakeSpaceRepository) SetAllowSSHReturns

func (fake *FakeSpaceRepository) SetAllowSSHReturns(result1 error)

Jump to

Keyboard shortcuts

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