cmdfakes

package
v6.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2020 License: Apache-2.0 Imports: 10 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) TryCalls

func (fake *FakeLoginStrategy) TryCalls(stub func() error)

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(opts.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) opts.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)

	UploadReleasesWithFixStub 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) UploadReleasesCalls

func (fake *FakeReleaseUploader) UploadReleasesCalls(stub func([]byte) ([]byte, error))

func (*FakeReleaseUploader) UploadReleasesReturns

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

func (*FakeReleaseUploader) UploadReleasesReturnsOnCall

func (fake *FakeReleaseUploader) UploadReleasesReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeReleaseUploader) UploadReleasesWithFix

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

func (*FakeReleaseUploader) UploadReleasesWithFixArgsForCall

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

func (*FakeReleaseUploader) UploadReleasesWithFixCallCount

func (fake *FakeReleaseUploader) UploadReleasesWithFixCallCount() int

func (*FakeReleaseUploader) UploadReleasesWithFixCalls

func (fake *FakeReleaseUploader) UploadReleasesWithFixCalls(stub func([]byte) ([]byte, error))

func (*FakeReleaseUploader) UploadReleasesWithFixReturns

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

func (*FakeReleaseUploader) UploadReleasesWithFixReturnsOnCall

func (fake *FakeReleaseUploader) UploadReleasesWithFixReturnsOnCall(i int, result1 []byte, result2 error)

type FakeReleaseUploadingCmd

type FakeReleaseUploadingCmd struct {
	RunStub func(opts.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) opts.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 {
	AnonymousDirectorStub func() (director.Director, error)

	CredentialsStub func() config.Creds

	DeploymentStub func() (director.Deployment, error)

	DirectorStub func() (director.Director, error)

	EnvironmentStub func() string

	UAAStub func() (uaa.UAA, 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) AnonymousDirectorCalls

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

func (*FakeSession) AnonymousDirectorReturns

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

func (*FakeSession) AnonymousDirectorReturnsOnCall

func (fake *FakeSession) AnonymousDirectorReturnsOnCall(i int, result1 director.Director, result2 error)

func (*FakeSession) Credentials

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

func (*FakeSession) CredentialsCallCount

func (fake *FakeSession) CredentialsCallCount() int

func (*FakeSession) CredentialsCalls

func (fake *FakeSession) CredentialsCalls(stub func() config.Creds)

func (*FakeSession) CredentialsReturns

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

func (*FakeSession) CredentialsReturnsOnCall

func (fake *FakeSession) CredentialsReturnsOnCall(i int, result1 config.Creds)

func (*FakeSession) Deployment

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

func (*FakeSession) DeploymentCallCount

func (fake *FakeSession) DeploymentCallCount() int

func (*FakeSession) DeploymentCalls

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

func (*FakeSession) DeploymentReturns

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

func (*FakeSession) DeploymentReturnsOnCall

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

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

func (*FakeSession) DirectorReturns

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

func (*FakeSession) DirectorReturnsOnCall

func (fake *FakeSession) DirectorReturnsOnCall(i int, result1 director.Director, result2 error)

func (*FakeSession) Environment

func (fake *FakeSession) Environment() string

func (*FakeSession) EnvironmentCallCount

func (fake *FakeSession) EnvironmentCallCount() int

func (*FakeSession) EnvironmentCalls

func (fake *FakeSession) EnvironmentCalls(stub func() string)

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() (uaa.UAA, error)

func (*FakeSession) UAACallCount

func (fake *FakeSession) UAACallCount() int

func (*FakeSession) UAACalls

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

func (*FakeSession) UAAReturns

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

func (*FakeSession) UAAReturnsOnCall

func (fake *FakeSession) UAAReturnsOnCall(i int, result1 uaa.UAA, result2 error)

type FakeSessionContext

type FakeSessionContext struct {
	CACertStub func() string

	ConfigStub func() config.Config

	CredentialsStub func() config.Creds

	DeploymentStub func() string

	EnvironmentStub 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) CACertCalls

func (fake *FakeSessionContext) CACertCalls(stub func() string)

func (*FakeSessionContext) CACertReturns

func (fake *FakeSessionContext) CACertReturns(result1 string)

func (*FakeSessionContext) CACertReturnsOnCall

func (fake *FakeSessionContext) CACertReturnsOnCall(i int, result1 string)

func (*FakeSessionContext) Config

func (fake *FakeSessionContext) Config() config.Config

func (*FakeSessionContext) ConfigCallCount

func (fake *FakeSessionContext) ConfigCallCount() int

func (*FakeSessionContext) ConfigCalls

func (fake *FakeSessionContext) ConfigCalls(stub func() config.Config)

func (*FakeSessionContext) ConfigReturns

func (fake *FakeSessionContext) ConfigReturns(result1 config.Config)

func (*FakeSessionContext) ConfigReturnsOnCall

func (fake *FakeSessionContext) ConfigReturnsOnCall(i int, result1 config.Config)

func (*FakeSessionContext) Credentials

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

func (*FakeSessionContext) CredentialsCallCount

func (fake *FakeSessionContext) CredentialsCallCount() int

func (*FakeSessionContext) CredentialsCalls

func (fake *FakeSessionContext) CredentialsCalls(stub func() config.Creds)

func (*FakeSessionContext) CredentialsReturns

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

func (*FakeSessionContext) CredentialsReturnsOnCall

func (fake *FakeSessionContext) CredentialsReturnsOnCall(i int, result1 config.Creds)

func (*FakeSessionContext) Deployment

func (fake *FakeSessionContext) Deployment() string

func (*FakeSessionContext) DeploymentCallCount

func (fake *FakeSessionContext) DeploymentCallCount() int

func (*FakeSessionContext) DeploymentCalls

func (fake *FakeSessionContext) DeploymentCalls(stub func() string)

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

func (fake *FakeSessionContext) EnvironmentCalls(stub func() string)

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
y or Y : Canonical URL