Versions in this module Expand all Collapse all v4 v4.0.1 May 22, 2018 Changes in this version + type FakeDownloader struct + DownloadStub func(blobstoreID, sha1, prefix, dstDirPath string) error + func (fake *FakeDownloader) Download(blobstoreID string, sha1 string, prefix string, dstDirPath string) error + func (fake *FakeDownloader) DownloadArgsForCall(i int) (string, string, string, string) + func (fake *FakeDownloader) DownloadCallCount() int + func (fake *FakeDownloader) DownloadReturns(result1 error) + func (fake *FakeDownloader) DownloadReturnsOnCall(i int, result1 error) + func (fake *FakeDownloader) Invocations() map[string][][]interface{} + type FakeInstallation struct + func (f *FakeInstallation) Job() biinstallation.InstalledJob + func (f *FakeInstallation) StartRegistry() error + func (f *FakeInstallation) StopRegistry() error + func (f *FakeInstallation) Target() biinstallation.Target + func (f *FakeInstallation) WithRunningRegistry(logger boshlog.Logger, stage biui.Stage, fn func() error) error + type FakeLoginStrategy struct + TryStub func() error + func (fake *FakeLoginStrategy) Invocations() map[string][][]interface{} + func (fake *FakeLoginStrategy) Try() error + func (fake *FakeLoginStrategy) TryCallCount() int + func (fake *FakeLoginStrategy) TryReturns(result1 error) + func (fake *FakeLoginStrategy) TryReturnsOnCall(i int, result1 error) + type FakeReleaseCreatingCmd struct + RunStub func(cmd.CreateReleaseOpts) (boshrel.Release, error) + func (fake *FakeReleaseCreatingCmd) Invocations() map[string][][]interface{} + func (fake *FakeReleaseCreatingCmd) Run(arg1 cmd.CreateReleaseOpts) (boshrel.Release, error) + func (fake *FakeReleaseCreatingCmd) RunArgsForCall(i int) cmd.CreateReleaseOpts + func (fake *FakeReleaseCreatingCmd) RunCallCount() int + func (fake *FakeReleaseCreatingCmd) RunReturns(result1 boshrel.Release, result2 error) + func (fake *FakeReleaseCreatingCmd) RunReturnsOnCall(i int, result1 boshrel.Release, result2 error) + type FakeReleaseUploader struct + UploadReleasesStub func([]byte) ([]byte, error) + func (fake *FakeReleaseUploader) Invocations() map[string][][]interface{} + func (fake *FakeReleaseUploader) UploadReleases(arg1 []byte) ([]byte, error) + func (fake *FakeReleaseUploader) UploadReleasesArgsForCall(i int) []byte + func (fake *FakeReleaseUploader) UploadReleasesCallCount() int + func (fake *FakeReleaseUploader) UploadReleasesReturns(result1 []byte, result2 error) + func (fake *FakeReleaseUploader) UploadReleasesReturnsOnCall(i int, result1 []byte, result2 error) + type FakeReleaseUploadingCmd struct + RunStub func(cmd.UploadReleaseOpts) error + func (fake *FakeReleaseUploadingCmd) Invocations() map[string][][]interface{} + func (fake *FakeReleaseUploadingCmd) Run(arg1 cmd.UploadReleaseOpts) error + func (fake *FakeReleaseUploadingCmd) RunArgsForCall(i int) cmd.UploadReleaseOpts + func (fake *FakeReleaseUploadingCmd) RunCallCount() int + func (fake *FakeReleaseUploadingCmd) RunReturns(result1 error) + func (fake *FakeReleaseUploadingCmd) RunReturnsOnCall(i int, result1 error) + type FakeSession struct + AnonymousDirectorStub func() (boshdir.Director, error) + CredentialsStub func() cmdconf.Creds + DeploymentStub func() (boshdir.Deployment, error) + DirectorStub func() (boshdir.Director, error) + EnvironmentStub func() string + UAAStub func() (boshuaa.UAA, error) + func (fake *FakeSession) AnonymousDirector() (boshdir.Director, error) + func (fake *FakeSession) AnonymousDirectorCallCount() int + func (fake *FakeSession) AnonymousDirectorReturns(result1 boshdir.Director, result2 error) + func (fake *FakeSession) AnonymousDirectorReturnsOnCall(i int, result1 boshdir.Director, result2 error) + func (fake *FakeSession) Credentials() cmdconf.Creds + func (fake *FakeSession) CredentialsCallCount() int + func (fake *FakeSession) CredentialsReturns(result1 cmdconf.Creds) + func (fake *FakeSession) CredentialsReturnsOnCall(i int, result1 cmdconf.Creds) + func (fake *FakeSession) Deployment() (boshdir.Deployment, error) + func (fake *FakeSession) DeploymentCallCount() int + func (fake *FakeSession) DeploymentReturns(result1 boshdir.Deployment, result2 error) + func (fake *FakeSession) DeploymentReturnsOnCall(i int, result1 boshdir.Deployment, result2 error) + func (fake *FakeSession) Director() (boshdir.Director, error) + func (fake *FakeSession) DirectorCallCount() int + func (fake *FakeSession) DirectorReturns(result1 boshdir.Director, result2 error) + func (fake *FakeSession) DirectorReturnsOnCall(i int, result1 boshdir.Director, result2 error) + func (fake *FakeSession) Environment() string + func (fake *FakeSession) EnvironmentCallCount() int + func (fake *FakeSession) EnvironmentReturns(result1 string) + func (fake *FakeSession) EnvironmentReturnsOnCall(i int, result1 string) + func (fake *FakeSession) Invocations() map[string][][]interface{} + func (fake *FakeSession) UAA() (boshuaa.UAA, error) + func (fake *FakeSession) UAACallCount() int + func (fake *FakeSession) UAAReturns(result1 boshuaa.UAA, result2 error) + func (fake *FakeSession) UAAReturnsOnCall(i int, result1 boshuaa.UAA, result2 error) + type FakeSessionContext struct + CACertStub func() string + CredentialsStub func() cmdconf.Creds + DeploymentStub func() string + EnvironmentStub func() string + func (fake *FakeSessionContext) CACert() string + func (fake *FakeSessionContext) CACertCallCount() int + func (fake *FakeSessionContext) CACertReturns(result1 string) + func (fake *FakeSessionContext) CACertReturnsOnCall(i int, result1 string) + func (fake *FakeSessionContext) Credentials() cmdconf.Creds + func (fake *FakeSessionContext) CredentialsCallCount() int + func (fake *FakeSessionContext) CredentialsReturns(result1 cmdconf.Creds) + func (fake *FakeSessionContext) CredentialsReturnsOnCall(i int, result1 cmdconf.Creds) + func (fake *FakeSessionContext) Deployment() string + func (fake *FakeSessionContext) DeploymentCallCount() int + func (fake *FakeSessionContext) DeploymentReturns(result1 string) + func (fake *FakeSessionContext) DeploymentReturnsOnCall(i int, result1 string) + func (fake *FakeSessionContext) Environment() string + func (fake *FakeSessionContext) EnvironmentCallCount() int + func (fake *FakeSessionContext) EnvironmentReturns(result1 string) + func (fake *FakeSessionContext) EnvironmentReturnsOnCall(i int, result1 string) + func (fake *FakeSessionContext) Invocations() map[string][][]interface{} Other modules containing this package gopkg.in/cloudfoundry/bosh-cli.v0 gopkg.in/cloudfoundry/bosh-cli.v2 gopkg.in/cloudfoundry/bosh-cli.v3 gopkg.in/cloudfoundry/bosh-cli.v5 gopkg.in/cloudfoundry/bosh-cli.v6