Versions in this module Expand all Collapse all v3 v3.0.1 Mar 13, 2018 Changes in this version + type DiskRepoDeleteInput struct + DiskRecord biconfig.DiskRecord + type DiskRepoSaveInput struct + CID string + CloudProperties biproperty.Map + Size int + type DiskRepoUpdateCurrentInput struct + DiskID string + type FakeDeploymentRepo struct + UpdateCurrentErr error + UpdateCurrentManifestSHA string + func NewFakeDeploymentRepo() *FakeDeploymentRepo + func (r *FakeDeploymentRepo) FindCurrent() (manifestSHA string, found bool, err error) + func (r *FakeDeploymentRepo) SetFindCurrentBehavior(manifestSHA string, found bool, err error) + func (r *FakeDeploymentRepo) UpdateCurrent(manifestSHA string) error + type FakeDiskRepo struct + DeleteErr error + DeleteInputs []DiskRepoDeleteInput + SaveInputs []DiskRepoSaveInput + UpdateCurrentInputs []DiskRepoUpdateCurrentInput + func NewFakeDiskRepo() *FakeDiskRepo + func (r *FakeDiskRepo) All() ([]biconfig.DiskRecord, error) + func (r *FakeDiskRepo) ClearCurrent() error + func (r *FakeDiskRepo) Delete(diskRecord biconfig.DiskRecord) error + func (r *FakeDiskRepo) Find(cid string) (biconfig.DiskRecord, bool, error) + func (r *FakeDiskRepo) FindCurrent() (biconfig.DiskRecord, bool, error) + func (r *FakeDiskRepo) Save(cid string, size int, cloudProperties biproperty.Map) (biconfig.DiskRecord, error) + func (r *FakeDiskRepo) SetAllBehavior(diskRecords []biconfig.DiskRecord, err error) + func (r *FakeDiskRepo) SetFindBehavior(cid string, diskRecord biconfig.DiskRecord, found bool, err error) + func (r *FakeDiskRepo) SetFindCurrentBehavior(diskRecord biconfig.DiskRecord, found bool, err error) + func (r *FakeDiskRepo) SetSaveBehavior(diskRecord biconfig.DiskRecord, found bool, err error) + func (r *FakeDiskRepo) SetUpdateBehavior(err error) + func (r *FakeDiskRepo) UpdateCurrent(diskID string) error + type FakeReleaseRepo struct + ListStub func() ([]config.ReleaseRecord, error) + UpdateStub func([]release.Release) error + func (fake *FakeReleaseRepo) List() ([]config.ReleaseRecord, error) + func (fake *FakeReleaseRepo) ListCallCount() int + func (fake *FakeReleaseRepo) ListReturns(result1 []config.ReleaseRecord, result2 error) + func (fake *FakeReleaseRepo) Update(arg1 []release.Release) error + func (fake *FakeReleaseRepo) UpdateArgsForCall(i int) []release.Release + func (fake *FakeReleaseRepo) UpdateCallCount() int + func (fake *FakeReleaseRepo) UpdateReturns(result1 error) + type FakeStemcellRepo struct + AllErr error + AllStemcellRecords []biconfig.StemcellRecord + ClearCurrentCalled bool + ClearCurrentErr error + DeleteErr error + DeleteStemcellRecords []biconfig.StemcellRecord + FindBehavior map[string]StemcellRepoFindOutput + FindInputs []StemcellRepoFindInput + SaveBehavior map[string]StemcellRepoSaveOutput + SaveInputs []StemcellRepoSaveInput + UpdateCurrentErr error + UpdateCurrentRecordID string + func NewFakeStemcellRepo() *FakeStemcellRepo + func (fr *FakeStemcellRepo) All() ([]biconfig.StemcellRecord, error) + func (fr *FakeStemcellRepo) ClearCurrent() error + func (fr *FakeStemcellRepo) Delete(stemcellRecord biconfig.StemcellRecord) error + func (fr *FakeStemcellRepo) Find(name, version string) (biconfig.StemcellRecord, bool, error) + func (fr *FakeStemcellRepo) FindCurrent() (biconfig.StemcellRecord, bool, error) + func (fr *FakeStemcellRepo) Save(name, version, cid string) (biconfig.StemcellRecord, error) + func (fr *FakeStemcellRepo) SetFindBehavior(name, version string, foundRecord biconfig.StemcellRecord, found bool, ...) error + func (fr *FakeStemcellRepo) SetFindCurrentBehavior(foundRecord biconfig.StemcellRecord, found bool, err error) error + func (fr *FakeStemcellRepo) SetSaveBehavior(name, version, cid string, stemcellRecord biconfig.StemcellRecord, err error) error + func (fr *FakeStemcellRepo) UpdateCurrent(recordID string) error + type FakeVMRepo struct + ClearCurrentCalled bool + ClearCurrentErr error + UpdateCurrentCID string + UpdateCurrentErr error + func NewFakeVMRepo() *FakeVMRepo + func (r *FakeVMRepo) ClearCurrent() error + func (r *FakeVMRepo) FindCurrent() (cid string, found bool, err error) + func (r *FakeVMRepo) SetFindCurrentBehavior(cid string, found bool, err error) + func (r *FakeVMRepo) UpdateCurrent(cid string) error + type FindCurrentOutput struct + type StemcellRepoFindInput struct + Name string + Version string + type StemcellRepoFindOutput struct + type StemcellRepoSaveInput struct + CID string + Name string + Version string + type StemcellRepoSaveOutput struct Other modules containing this package gopkg.in/cloudfoundry/bosh-cli.v0 gopkg.in/cloudfoundry/bosh-cli.v2 gopkg.in/cloudfoundry/bosh-cli.v4 gopkg.in/cloudfoundry/bosh-cli.v5 gopkg.in/cloudfoundry/bosh-cli.v6