cmdfakes

package
Version: v2.0.45+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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

func (fake *FakeDownloader) DownloadReturnsOnCall(i int, 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)

func (*FakeLoginStrategy) TryReturnsOnCall

func (fake *FakeLoginStrategy) TryReturnsOnCall(i int, result1 error)

type FakeReleaseCreatingCmd

type FakeReleaseCreatingCmd struct {
	RunStub func(cmd.CreateReleaseOpts) (boshrel.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 boshrel.Release, result2 error)

func (*FakeReleaseCreatingCmd) RunReturnsOnCall

func (fake *FakeReleaseCreatingCmd) RunReturnsOnCall(i int, result1 boshrel.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)

func (*FakeReleaseUploader) UploadReleasesReturnsOnCall

func (fake *FakeReleaseUploader) UploadReleasesReturnsOnCall(i int, 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)

func (*FakeReleaseUploadingCmd) RunReturnsOnCall

func (fake *FakeReleaseUploadingCmd) RunReturnsOnCall(i int, 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) AnonymousDirectorReturnsOnCall

func (fake *FakeSession) AnonymousDirectorReturnsOnCall(i int, 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) CredentialsReturnsOnCall

func (fake *FakeSession) CredentialsReturnsOnCall(i int, 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) DeploymentReturnsOnCall

func (fake *FakeSession) DeploymentReturnsOnCall(i int, 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) DirectorReturnsOnCall

func (fake *FakeSession) DirectorReturnsOnCall(i int, 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) EnvironmentReturnsOnCall

func (fake *FakeSession) EnvironmentReturnsOnCall(i int, result1 string)

func (*FakeSession) Invocations

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

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)

func (*FakeSession) UAAReturnsOnCall

func (fake *FakeSession) UAAReturnsOnCall(i int, 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) CACertReturnsOnCall

func (fake *FakeSessionContext) CACertReturnsOnCall(i int, 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) CredentialsReturnsOnCall

func (fake *FakeSessionContext) CredentialsReturnsOnCall(i int, 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) DeploymentReturnsOnCall

func (fake *FakeSessionContext) DeploymentReturnsOnCall(i int, 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) EnvironmentReturnsOnCall

func (fake *FakeSessionContext) EnvironmentReturnsOnCall(i int, 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
t or T : Toggle theme light dark auto
y or Y : Canonical URL