appinstancesfakes

package
v7.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

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 FakeAppInstancesRepository

type FakeAppInstancesRepository struct {
	GetInstancesStub func(appGUID string) (instances []models.AppInstanceFields, apiErr error)

	DeleteInstanceStub func(appGUID string, instance int) error
	// contains filtered or unexported fields
}

func (*FakeAppInstancesRepository) DeleteInstance

func (fake *FakeAppInstancesRepository) DeleteInstance(appGUID string, instance int) error

func (*FakeAppInstancesRepository) DeleteInstanceArgsForCall

func (fake *FakeAppInstancesRepository) DeleteInstanceArgsForCall(i int) (string, int)

func (*FakeAppInstancesRepository) DeleteInstanceCallCount

func (fake *FakeAppInstancesRepository) DeleteInstanceCallCount() int

func (*FakeAppInstancesRepository) DeleteInstanceReturns

func (fake *FakeAppInstancesRepository) DeleteInstanceReturns(result1 error)

func (*FakeAppInstancesRepository) GetInstances

func (fake *FakeAppInstancesRepository) GetInstances(appGUID string) (instances []models.AppInstanceFields, apiErr error)

func (*FakeAppInstancesRepository) GetInstancesArgsForCall

func (fake *FakeAppInstancesRepository) GetInstancesArgsForCall(i int) string

func (*FakeAppInstancesRepository) GetInstancesCallCount

func (fake *FakeAppInstancesRepository) GetInstancesCallCount() int

func (*FakeAppInstancesRepository) GetInstancesReturns

func (fake *FakeAppInstancesRepository) GetInstancesReturns(result1 []models.AppInstanceFields, result2 error)

type FakeRepository

type FakeRepository struct {
	DeleteInstanceStub func(string, int) error

	GetInstancesStub func(string) ([]models.AppInstanceFields, error)
	// contains filtered or unexported fields
}

func (*FakeRepository) DeleteInstance

func (fake *FakeRepository) DeleteInstance(arg1 string, arg2 int) error

func (*FakeRepository) DeleteInstanceArgsForCall

func (fake *FakeRepository) DeleteInstanceArgsForCall(i int) (string, int)

func (*FakeRepository) DeleteInstanceCallCount

func (fake *FakeRepository) DeleteInstanceCallCount() int

func (*FakeRepository) DeleteInstanceCalls

func (fake *FakeRepository) DeleteInstanceCalls(stub func(string, int) error)

func (*FakeRepository) DeleteInstanceReturns

func (fake *FakeRepository) DeleteInstanceReturns(result1 error)

func (*FakeRepository) DeleteInstanceReturnsOnCall

func (fake *FakeRepository) DeleteInstanceReturnsOnCall(i int, result1 error)

func (*FakeRepository) GetInstances

func (fake *FakeRepository) GetInstances(arg1 string) ([]models.AppInstanceFields, error)

func (*FakeRepository) GetInstancesArgsForCall

func (fake *FakeRepository) GetInstancesArgsForCall(i int) string

func (*FakeRepository) GetInstancesCallCount

func (fake *FakeRepository) GetInstancesCallCount() int

func (*FakeRepository) GetInstancesCalls

func (fake *FakeRepository) GetInstancesCalls(stub func(string) ([]models.AppInstanceFields, error))

func (*FakeRepository) GetInstancesReturns

func (fake *FakeRepository) GetInstancesReturns(result1 []models.AppInstanceFields, result2 error)

func (*FakeRepository) GetInstancesReturnsOnCall

func (fake *FakeRepository) GetInstancesReturnsOnCall(i int, result1 []models.AppInstanceFields, result2 error)

func (*FakeRepository) Invocations

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

Jump to

Keyboard shortcuts

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