fakes

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 FakeDeployment

type FakeDeployment struct {
	VMInfosStub func() ([]director.VMInfo, error)
	// contains filtered or unexported fields
}

func (*FakeDeployment) Invocations

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

func (*FakeDeployment) VMInfos

func (fake *FakeDeployment) VMInfos() ([]director.VMInfo, error)

func (*FakeDeployment) VMInfosCallCount

func (fake *FakeDeployment) VMInfosCallCount() int

func (*FakeDeployment) VMInfosCalls

func (fake *FakeDeployment) VMInfosCalls(stub func() ([]director.VMInfo, error))

func (*FakeDeployment) VMInfosReturns

func (fake *FakeDeployment) VMInfosReturns(result1 []director.VMInfo, result2 error)

func (*FakeDeployment) VMInfosReturnsOnCall

func (fake *FakeDeployment) VMInfosReturnsOnCall(i int, result1 []director.VMInfo, result2 error)

type FakeDirector

type FakeDirector struct {
	FindDeploymentStub func(string) (cli.Deployment, error)

	InfoStub func() (director.Info, error)

	IsAuthenticatedStub func() (bool, error)

	ListDeploymentsStub func() ([]director.DeploymentResp, error)
	// contains filtered or unexported fields
}

func (*FakeDirector) FindDeployment

func (fake *FakeDirector) FindDeployment(arg1 string) (cli.Deployment, error)

func (*FakeDirector) FindDeploymentArgsForCall

func (fake *FakeDirector) FindDeploymentArgsForCall(i int) string

func (*FakeDirector) FindDeploymentCallCount

func (fake *FakeDirector) FindDeploymentCallCount() int

func (*FakeDirector) FindDeploymentCalls

func (fake *FakeDirector) FindDeploymentCalls(stub func(string) (cli.Deployment, error))

func (*FakeDirector) FindDeploymentReturns

func (fake *FakeDirector) FindDeploymentReturns(result1 cli.Deployment, result2 error)

func (*FakeDirector) FindDeploymentReturnsOnCall

func (fake *FakeDirector) FindDeploymentReturnsOnCall(i int, result1 cli.Deployment, result2 error)

func (*FakeDirector) Info

func (fake *FakeDirector) Info() (director.Info, error)

func (*FakeDirector) InfoCallCount

func (fake *FakeDirector) InfoCallCount() int

func (*FakeDirector) InfoCalls

func (fake *FakeDirector) InfoCalls(stub func() (director.Info, error))

func (*FakeDirector) InfoReturns

func (fake *FakeDirector) InfoReturns(result1 director.Info, result2 error)

func (*FakeDirector) InfoReturnsOnCall

func (fake *FakeDirector) InfoReturnsOnCall(i int, result1 director.Info, result2 error)

func (*FakeDirector) Invocations

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

func (*FakeDirector) IsAuthenticated

func (fake *FakeDirector) IsAuthenticated() (bool, error)

func (*FakeDirector) IsAuthenticatedCallCount

func (fake *FakeDirector) IsAuthenticatedCallCount() int

func (*FakeDirector) IsAuthenticatedCalls

func (fake *FakeDirector) IsAuthenticatedCalls(stub func() (bool, error))

func (*FakeDirector) IsAuthenticatedReturns

func (fake *FakeDirector) IsAuthenticatedReturns(result1 bool, result2 error)

func (*FakeDirector) IsAuthenticatedReturnsOnCall

func (fake *FakeDirector) IsAuthenticatedReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeDirector) ListDeployments

func (fake *FakeDirector) ListDeployments() ([]director.DeploymentResp, error)

func (*FakeDirector) ListDeploymentsCallCount

func (fake *FakeDirector) ListDeploymentsCallCount() int

func (*FakeDirector) ListDeploymentsCalls

func (fake *FakeDirector) ListDeploymentsCalls(stub func() ([]director.DeploymentResp, error))

func (*FakeDirector) ListDeploymentsReturns

func (fake *FakeDirector) ListDeploymentsReturns(result1 []director.DeploymentResp, result2 error)

func (*FakeDirector) ListDeploymentsReturnsOnCall

func (fake *FakeDirector) ListDeploymentsReturnsOnCall(i int, result1 []director.DeploymentResp, result2 error)

Jump to

Keyboard shortcuts

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