v3fakes

package
v6.24.0+incompatible Latest Latest
Warning

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

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

Documentation

Overview

This file was generated by counterfeiter

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 FakeRunTaskActor

type FakeRunTaskActor struct {
	GetApplicationByNameAndSpaceStub func(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error)

	RunTaskStub func(appGUID string, command string, name string) (v3action.Task, v3action.Warnings, error)

	CloudControllerAPIVersionStub func() string
	// contains filtered or unexported fields
}

func (*FakeRunTaskActor) CloudControllerAPIVersion

func (fake *FakeRunTaskActor) CloudControllerAPIVersion() string

func (*FakeRunTaskActor) CloudControllerAPIVersionCallCount

func (fake *FakeRunTaskActor) CloudControllerAPIVersionCallCount() int

func (*FakeRunTaskActor) CloudControllerAPIVersionReturns

func (fake *FakeRunTaskActor) CloudControllerAPIVersionReturns(result1 string)

func (*FakeRunTaskActor) GetApplicationByNameAndSpace

func (fake *FakeRunTaskActor) GetApplicationByNameAndSpace(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error)

func (*FakeRunTaskActor) GetApplicationByNameAndSpaceArgsForCall

func (fake *FakeRunTaskActor) GetApplicationByNameAndSpaceArgsForCall(i int) (string, string)

func (*FakeRunTaskActor) GetApplicationByNameAndSpaceCallCount

func (fake *FakeRunTaskActor) GetApplicationByNameAndSpaceCallCount() int

func (*FakeRunTaskActor) GetApplicationByNameAndSpaceReturns

func (fake *FakeRunTaskActor) GetApplicationByNameAndSpaceReturns(result1 v3action.Application, result2 v3action.Warnings, result3 error)

func (*FakeRunTaskActor) Invocations

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

func (*FakeRunTaskActor) RunTask

func (fake *FakeRunTaskActor) RunTask(appGUID string, command string, name string) (v3action.Task, v3action.Warnings, error)

func (*FakeRunTaskActor) RunTaskArgsForCall

func (fake *FakeRunTaskActor) RunTaskArgsForCall(i int) (string, string, string)

func (*FakeRunTaskActor) RunTaskCallCount

func (fake *FakeRunTaskActor) RunTaskCallCount() int

func (*FakeRunTaskActor) RunTaskReturns

func (fake *FakeRunTaskActor) RunTaskReturns(result1 v3action.Task, result2 v3action.Warnings, result3 error)

type FakeTasksActor

type FakeTasksActor struct {
	GetApplicationByNameAndSpaceStub func(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error)

	GetApplicationTasksStub func(appGUID string, sortOrder v3action.SortOrder) ([]v3action.Task, v3action.Warnings, error)

	CloudControllerAPIVersionStub func() string
	// contains filtered or unexported fields
}

func (*FakeTasksActor) CloudControllerAPIVersion

func (fake *FakeTasksActor) CloudControllerAPIVersion() string

func (*FakeTasksActor) CloudControllerAPIVersionCallCount

func (fake *FakeTasksActor) CloudControllerAPIVersionCallCount() int

func (*FakeTasksActor) CloudControllerAPIVersionReturns

func (fake *FakeTasksActor) CloudControllerAPIVersionReturns(result1 string)

func (*FakeTasksActor) GetApplicationByNameAndSpace

func (fake *FakeTasksActor) GetApplicationByNameAndSpace(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error)

func (*FakeTasksActor) GetApplicationByNameAndSpaceArgsForCall

func (fake *FakeTasksActor) GetApplicationByNameAndSpaceArgsForCall(i int) (string, string)

func (*FakeTasksActor) GetApplicationByNameAndSpaceCallCount

func (fake *FakeTasksActor) GetApplicationByNameAndSpaceCallCount() int

func (*FakeTasksActor) GetApplicationByNameAndSpaceReturns

func (fake *FakeTasksActor) GetApplicationByNameAndSpaceReturns(result1 v3action.Application, result2 v3action.Warnings, result3 error)

func (*FakeTasksActor) GetApplicationTasks

func (fake *FakeTasksActor) GetApplicationTasks(appGUID string, sortOrder v3action.SortOrder) ([]v3action.Task, v3action.Warnings, error)

func (*FakeTasksActor) GetApplicationTasksArgsForCall

func (fake *FakeTasksActor) GetApplicationTasksArgsForCall(i int) (string, v3action.SortOrder)

func (*FakeTasksActor) GetApplicationTasksCallCount

func (fake *FakeTasksActor) GetApplicationTasksCallCount() int

func (*FakeTasksActor) GetApplicationTasksReturns

func (fake *FakeTasksActor) GetApplicationTasksReturns(result1 []v3action.Task, result2 v3action.Warnings, result3 error)

func (*FakeTasksActor) Invocations

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

type FakeTerminateTaskActor

type FakeTerminateTaskActor struct {
	GetApplicationByNameAndSpaceStub func(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error)

	GetTaskBySequenceIDAndApplicationStub func(sequenceID int, appGUID string) (v3action.Task, v3action.Warnings, error)

	TerminateTaskStub func(taskGUID string) (v3action.Task, v3action.Warnings, error)

	CloudControllerAPIVersionStub func() string
	// contains filtered or unexported fields
}

func (*FakeTerminateTaskActor) CloudControllerAPIVersion

func (fake *FakeTerminateTaskActor) CloudControllerAPIVersion() string

func (*FakeTerminateTaskActor) CloudControllerAPIVersionCallCount

func (fake *FakeTerminateTaskActor) CloudControllerAPIVersionCallCount() int

func (*FakeTerminateTaskActor) CloudControllerAPIVersionReturns

func (fake *FakeTerminateTaskActor) CloudControllerAPIVersionReturns(result1 string)

func (*FakeTerminateTaskActor) GetApplicationByNameAndSpace

func (fake *FakeTerminateTaskActor) GetApplicationByNameAndSpace(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error)

func (*FakeTerminateTaskActor) GetApplicationByNameAndSpaceArgsForCall

func (fake *FakeTerminateTaskActor) GetApplicationByNameAndSpaceArgsForCall(i int) (string, string)

func (*FakeTerminateTaskActor) GetApplicationByNameAndSpaceCallCount

func (fake *FakeTerminateTaskActor) GetApplicationByNameAndSpaceCallCount() int

func (*FakeTerminateTaskActor) GetApplicationByNameAndSpaceReturns

func (fake *FakeTerminateTaskActor) GetApplicationByNameAndSpaceReturns(result1 v3action.Application, result2 v3action.Warnings, result3 error)

func (*FakeTerminateTaskActor) GetTaskBySequenceIDAndApplication

func (fake *FakeTerminateTaskActor) GetTaskBySequenceIDAndApplication(sequenceID int, appGUID string) (v3action.Task, v3action.Warnings, error)

func (*FakeTerminateTaskActor) GetTaskBySequenceIDAndApplicationArgsForCall

func (fake *FakeTerminateTaskActor) GetTaskBySequenceIDAndApplicationArgsForCall(i int) (int, string)

func (*FakeTerminateTaskActor) GetTaskBySequenceIDAndApplicationCallCount

func (fake *FakeTerminateTaskActor) GetTaskBySequenceIDAndApplicationCallCount() int

func (*FakeTerminateTaskActor) GetTaskBySequenceIDAndApplicationReturns

func (fake *FakeTerminateTaskActor) GetTaskBySequenceIDAndApplicationReturns(result1 v3action.Task, result2 v3action.Warnings, result3 error)

func (*FakeTerminateTaskActor) Invocations

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

func (*FakeTerminateTaskActor) TerminateTask

func (fake *FakeTerminateTaskActor) TerminateTask(taskGUID string) (v3action.Task, v3action.Warnings, error)

func (*FakeTerminateTaskActor) TerminateTaskArgsForCall

func (fake *FakeTerminateTaskActor) TerminateTaskArgsForCall(i int) string

func (*FakeTerminateTaskActor) TerminateTaskCallCount

func (fake *FakeTerminateTaskActor) TerminateTaskCallCount() int

func (*FakeTerminateTaskActor) TerminateTaskReturns

func (fake *FakeTerminateTaskActor) TerminateTaskReturns(result1 v3action.Task, result2 v3action.Warnings, result3 error)

Jump to

Keyboard shortcuts

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