fakes

package
v0.0.60 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

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 FakeDownloader

type FakeDownloader struct {
	DownloadStub func(blobstoreID, sha1, prefix, dstDirPath string) error
	// contains filtered or unexported fields
}

func (*FakeDownloader) Download

func (fake *FakeDownloader) Download(blobstoreID string, sha1 string, prefix string, dstDirPath string) error

func (*FakeDownloader) DownloadArgsForCall

func (fake *FakeDownloader) DownloadArgsForCall(i int) (string, string, string, string)

func (*FakeDownloader) DownloadCallCount

func (fake *FakeDownloader) DownloadCallCount() int

func (*FakeDownloader) DownloadReturns

func (fake *FakeDownloader) DownloadReturns(result1 error)

type FakeInstallation

type FakeInstallation struct {
}

func (*FakeInstallation) Job

func (*FakeInstallation) StartRegistry

func (f *FakeInstallation) StartRegistry() error

func (*FakeInstallation) StopRegistry

func (f *FakeInstallation) StopRegistry() error

func (*FakeInstallation) Target

func (*FakeInstallation) WithRunningRegistry

func (f *FakeInstallation) WithRunningRegistry(logger boshlog.Logger, stage biui.Stage, fn func() error) error

type FakeLoginStrategy

type FakeLoginStrategy struct {
	TryStub func() error
	// contains filtered or unexported fields
}

func (*FakeLoginStrategy) Try

func (fake *FakeLoginStrategy) Try() error

func (*FakeLoginStrategy) TryCallCount

func (fake *FakeLoginStrategy) TryCallCount() int

func (*FakeLoginStrategy) TryReturns

func (fake *FakeLoginStrategy) TryReturns(result1 error)

type FakeReleaseUploadingCmd

type FakeReleaseUploadingCmd struct {
	RunStub func(cmd.UploadReleaseOpts) error
	// contains filtered or unexported fields
}

func (*FakeReleaseUploadingCmd) Run

func (*FakeReleaseUploadingCmd) RunArgsForCall

func (fake *FakeReleaseUploadingCmd) RunArgsForCall(i int) cmd.UploadReleaseOpts

func (*FakeReleaseUploadingCmd) RunCallCount

func (fake *FakeReleaseUploadingCmd) RunCallCount() int

func (*FakeReleaseUploadingCmd) RunReturns

func (fake *FakeReleaseUploadingCmd) RunReturns(result1 error)

type FakeSession

type FakeSession struct {
	EnvironmentStub func() string

	CredentialsStub func() cmdconf.Creds

	UAAStub func() (boshuaa.UAA, error)

	DirectorStub func() (boshdir.Director, error)

	AnonymousDirectorStub func() (boshdir.Director, error)

	DeploymentStub func() (boshdir.Deployment, error)
	// contains filtered or unexported fields
}

func (*FakeSession) AnonymousDirector

func (fake *FakeSession) AnonymousDirector() (boshdir.Director, error)

func (*FakeSession) AnonymousDirectorCallCount

func (fake *FakeSession) AnonymousDirectorCallCount() int

func (*FakeSession) AnonymousDirectorReturns

func (fake *FakeSession) AnonymousDirectorReturns(result1 boshdir.Director, result2 error)

func (*FakeSession) Credentials

func (fake *FakeSession) Credentials() cmdconf.Creds

func (*FakeSession) CredentialsCallCount

func (fake *FakeSession) CredentialsCallCount() int

func (*FakeSession) CredentialsReturns

func (fake *FakeSession) CredentialsReturns(result1 cmdconf.Creds)

func (*FakeSession) Deployment

func (fake *FakeSession) Deployment() (boshdir.Deployment, error)

func (*FakeSession) DeploymentCallCount

func (fake *FakeSession) DeploymentCallCount() int

func (*FakeSession) DeploymentReturns

func (fake *FakeSession) DeploymentReturns(result1 boshdir.Deployment, result2 error)

func (*FakeSession) Director

func (fake *FakeSession) Director() (boshdir.Director, error)

func (*FakeSession) DirectorCallCount

func (fake *FakeSession) DirectorCallCount() int

func (*FakeSession) DirectorReturns

func (fake *FakeSession) DirectorReturns(result1 boshdir.Director, result2 error)

func (*FakeSession) Environment

func (fake *FakeSession) Environment() string

func (*FakeSession) EnvironmentCallCount

func (fake *FakeSession) EnvironmentCallCount() int

func (*FakeSession) EnvironmentReturns

func (fake *FakeSession) EnvironmentReturns(result1 string)

func (*FakeSession) UAA

func (fake *FakeSession) UAA() (boshuaa.UAA, error)

func (*FakeSession) UAACallCount

func (fake *FakeSession) UAACallCount() int

func (*FakeSession) UAAReturns

func (fake *FakeSession) UAAReturns(result1 boshuaa.UAA, result2 error)

type FakeSessionContext

type FakeSessionContext struct {
	EnvironmentStub func() string

	CACertStub func() string

	CredentialsStub func() cmdconf.Creds

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

func (*FakeSessionContext) CACert

func (fake *FakeSessionContext) CACert() string

func (*FakeSessionContext) CACertCallCount

func (fake *FakeSessionContext) CACertCallCount() int

func (*FakeSessionContext) CACertReturns

func (fake *FakeSessionContext) CACertReturns(result1 string)

func (*FakeSessionContext) Credentials

func (fake *FakeSessionContext) Credentials() cmdconf.Creds

func (*FakeSessionContext) CredentialsCallCount

func (fake *FakeSessionContext) CredentialsCallCount() int

func (*FakeSessionContext) CredentialsReturns

func (fake *FakeSessionContext) CredentialsReturns(result1 cmdconf.Creds)

func (*FakeSessionContext) Deployment

func (fake *FakeSessionContext) Deployment() string

func (*FakeSessionContext) DeploymentCallCount

func (fake *FakeSessionContext) DeploymentCallCount() int

func (*FakeSessionContext) DeploymentReturns

func (fake *FakeSessionContext) DeploymentReturns(result1 string)

func (*FakeSessionContext) Environment

func (fake *FakeSessionContext) Environment() string

func (*FakeSessionContext) EnvironmentCallCount

func (fake *FakeSessionContext) EnvironmentCallCount() int

func (*FakeSessionContext) EnvironmentReturns

func (fake *FakeSessionContext) EnvironmentReturns(result1 string)

Jump to

Keyboard shortcuts

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