appinstancesfakes

package
v6.30.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2017 License: Apache-2.0 Imports: 3 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 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 {
	GetInstancesStub func(appGUID string) (instances []models.AppInstanceFields, apiErr error)

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

func (*FakeRepository) DeleteInstance

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

func (*FakeRepository) DeleteInstanceArgsForCall

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

func (*FakeRepository) DeleteInstanceCallCount

func (fake *FakeRepository) DeleteInstanceCallCount() int

func (*FakeRepository) DeleteInstanceReturns

func (fake *FakeRepository) DeleteInstanceReturns(result1 error)

func (*FakeRepository) GetInstances

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

func (*FakeRepository) GetInstancesArgsForCall

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

func (*FakeRepository) GetInstancesCallCount

func (fake *FakeRepository) GetInstancesCallCount() int

func (*FakeRepository) GetInstancesReturns

func (fake *FakeRepository) GetInstancesReturns(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