cmdfakes

package
v2.0.28+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2017 License: Apache-2.0 Imports: 9 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

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)

func (*FakeDownloader) Invocations

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

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) Invocations

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

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 FakeReleaseCreatingCmd

type FakeReleaseCreatingCmd struct {
	RunStub func(cmd.CreateReleaseOpts) (release.Release, error)
	// contains filtered or unexported fields
}

func (*FakeReleaseCreatingCmd) Invocations

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

func (*FakeReleaseCreatingCmd) Run

func (*FakeReleaseCreatingCmd) RunArgsForCall

func (fake *FakeReleaseCreatingCmd) RunArgsForCall(i int) cmd.CreateReleaseOpts

func (*FakeReleaseCreatingCmd) RunCallCount

func (fake *FakeReleaseCreatingCmd) RunCallCount() int

func (*FakeReleaseCreatingCmd) RunReturns

func (fake *FakeReleaseCreatingCmd) RunReturns(result1 release.Release, result2 error)

type FakeReleaseUploader

type FakeReleaseUploader struct {
	UploadReleasesStub func([]byte) ([]byte, error)
	// contains filtered or unexported fields
}

func (*FakeReleaseUploader) Invocations

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

func (*FakeReleaseUploader) UploadReleases

func (fake *FakeReleaseUploader) UploadReleases(arg1 []byte) ([]byte, error)

func (*FakeReleaseUploader) UploadReleasesArgsForCall

func (fake *FakeReleaseUploader) UploadReleasesArgsForCall(i int) []byte

func (*FakeReleaseUploader) UploadReleasesCallCount

func (fake *FakeReleaseUploader) UploadReleasesCallCount() int

func (*FakeReleaseUploader) UploadReleasesReturns

func (fake *FakeReleaseUploader) UploadReleasesReturns(result1 []byte, result2 error)

type FakeReleaseUploadingCmd

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

func (*FakeReleaseUploadingCmd) Invocations

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

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() config.Creds

	UAAStub func() (uaa.UAA, error)

	DirectorStub func() (director.Director, error)

	AnonymousDirectorStub func() (director.Director, error)

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

func (*FakeSession) AnonymousDirector

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

func (*FakeSession) AnonymousDirectorCallCount

func (fake *FakeSession) AnonymousDirectorCallCount() int

func (*FakeSession) AnonymousDirectorReturns

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

func (*FakeSession) Credentials

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

func (*FakeSession) CredentialsCallCount

func (fake *FakeSession) CredentialsCallCount() int

func (*FakeSession) CredentialsReturns

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

func (*FakeSession) Deployment

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

func (*FakeSession) DeploymentCallCount

func (fake *FakeSession) DeploymentCallCount() int

func (*FakeSession) DeploymentReturns

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

func (*FakeSession) Director

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

func (*FakeSession) DirectorCallCount

func (fake *FakeSession) DirectorCallCount() int

func (*FakeSession) DirectorReturns

func (fake *FakeSession) DirectorReturns(result1 director.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) Invocations

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

func (*FakeSession) UAA

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

func (*FakeSession) UAACallCount

func (fake *FakeSession) UAACallCount() int

func (*FakeSession) UAAReturns

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

type FakeSessionContext

type FakeSessionContext struct {
	EnvironmentStub func() string

	CACertStub func() string

	CredentialsStub func() config.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() config.Creds

func (*FakeSessionContext) CredentialsCallCount

func (fake *FakeSessionContext) CredentialsCallCount() int

func (*FakeSessionContext) CredentialsReturns

func (fake *FakeSessionContext) CredentialsReturns(result1 config.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)

func (*FakeSessionContext) Invocations

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

Jump to

Keyboard shortcuts

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