Versions in this module Expand all Collapse all v7 v7.10.11 Sep 5, 2026 Changes in this version + type FakeCPICmdRunner struct + RunStub func(cloud.CmdContext, string, int, ...interface{}) (cloud.CmdOutput, error) + func (fake *FakeCPICmdRunner) Invocations() map[string][][]interface{} + func (fake *FakeCPICmdRunner) Run(arg1 cloud.CmdContext, arg2 string, arg3 int, arg4 ...interface{}) (cloud.CmdOutput, error) + func (fake *FakeCPICmdRunner) RunArgsForCall(i int) (cloud.CmdContext, string, int, []interface{}) + func (fake *FakeCPICmdRunner) RunCallCount() int + func (fake *FakeCPICmdRunner) RunCalls(...) + func (fake *FakeCPICmdRunner) RunReturns(result1 cloud.CmdOutput, result2 error) + func (fake *FakeCPICmdRunner) RunReturnsOnCall(i int, result1 cloud.CmdOutput, result2 error) + type FakeCloud struct + AttachDiskStub func(string, string) (interface{}, error) + CreateDiskStub func(int, property.Map, string) (string, error) + CreateStemcellStub func(string, property.Map) (string, error) + CreateVMStub func(string, string, property.Map, []string, map[string]property.Map, property.Map) (string, error) + DeleteDiskStub func(string) error + DeleteStemcellStub func(string) error + DeleteVMStub func(string) error + DetachDiskStub func(string, string) error + HasVMStub func(string) (bool, error) + InfoStub func() (cloud.CpiInfo, error) + SetDiskMetadataStub func(string, cloud.DiskMetadata) error + SetVMMetadataStub func(string, cloud.VMMetadata) error + StringStub func() string + func (fake *FakeCloud) AttachDisk(arg1 string, arg2 string) (interface{}, error) + func (fake *FakeCloud) AttachDiskArgsForCall(i int) (string, string) + func (fake *FakeCloud) AttachDiskCallCount() int + func (fake *FakeCloud) AttachDiskCalls(stub func(string, string) (interface{}, error)) + func (fake *FakeCloud) AttachDiskReturns(result1 interface{}, result2 error) + func (fake *FakeCloud) AttachDiskReturnsOnCall(i int, result1 interface{}, result2 error) + func (fake *FakeCloud) CreateDisk(arg1 int, arg2 property.Map, arg3 string) (string, error) + func (fake *FakeCloud) CreateDiskArgsForCall(i int) (int, property.Map, string) + func (fake *FakeCloud) CreateDiskCallCount() int + func (fake *FakeCloud) CreateDiskCalls(stub func(int, property.Map, string) (string, error)) + func (fake *FakeCloud) CreateDiskReturns(result1 string, result2 error) + func (fake *FakeCloud) CreateDiskReturnsOnCall(i int, result1 string, result2 error) + func (fake *FakeCloud) CreateStemcell(arg1 string, arg2 property.Map) (string, error) + func (fake *FakeCloud) CreateStemcellArgsForCall(i int) (string, property.Map) + func (fake *FakeCloud) CreateStemcellCallCount() int + func (fake *FakeCloud) CreateStemcellCalls(stub func(string, property.Map) (string, error)) + func (fake *FakeCloud) CreateStemcellReturns(result1 string, result2 error) + func (fake *FakeCloud) CreateStemcellReturnsOnCall(i int, result1 string, result2 error) + func (fake *FakeCloud) CreateVM(arg1 string, arg2 string, arg3 property.Map, arg4 []string, ...) (string, error) + func (fake *FakeCloud) CreateVMArgsForCall(i int) (string, string, property.Map, []string, map[string]property.Map, property.Map) + func (fake *FakeCloud) CreateVMCallCount() int + func (fake *FakeCloud) CreateVMCalls(...) + func (fake *FakeCloud) CreateVMReturns(result1 string, result2 error) + func (fake *FakeCloud) CreateVMReturnsOnCall(i int, result1 string, result2 error) + func (fake *FakeCloud) DeleteDisk(arg1 string) error + func (fake *FakeCloud) DeleteDiskArgsForCall(i int) string + func (fake *FakeCloud) DeleteDiskCallCount() int + func (fake *FakeCloud) DeleteDiskCalls(stub func(string) error) + func (fake *FakeCloud) DeleteDiskReturns(result1 error) + func (fake *FakeCloud) DeleteDiskReturnsOnCall(i int, result1 error) + func (fake *FakeCloud) DeleteStemcell(arg1 string) error + func (fake *FakeCloud) DeleteStemcellArgsForCall(i int) string + func (fake *FakeCloud) DeleteStemcellCallCount() int + func (fake *FakeCloud) DeleteStemcellCalls(stub func(string) error) + func (fake *FakeCloud) DeleteStemcellReturns(result1 error) + func (fake *FakeCloud) DeleteStemcellReturnsOnCall(i int, result1 error) + func (fake *FakeCloud) DeleteVM(arg1 string) error + func (fake *FakeCloud) DeleteVMArgsForCall(i int) string + func (fake *FakeCloud) DeleteVMCallCount() int + func (fake *FakeCloud) DeleteVMCalls(stub func(string) error) + func (fake *FakeCloud) DeleteVMReturns(result1 error) + func (fake *FakeCloud) DeleteVMReturnsOnCall(i int, result1 error) + func (fake *FakeCloud) DetachDisk(arg1 string, arg2 string) error + func (fake *FakeCloud) DetachDiskArgsForCall(i int) (string, string) + func (fake *FakeCloud) DetachDiskCallCount() int + func (fake *FakeCloud) DetachDiskCalls(stub func(string, string) error) + func (fake *FakeCloud) DetachDiskReturns(result1 error) + func (fake *FakeCloud) DetachDiskReturnsOnCall(i int, result1 error) + func (fake *FakeCloud) HasVM(arg1 string) (bool, error) + func (fake *FakeCloud) HasVMArgsForCall(i int) string + func (fake *FakeCloud) HasVMCallCount() int + func (fake *FakeCloud) HasVMCalls(stub func(string) (bool, error)) + func (fake *FakeCloud) HasVMReturns(result1 bool, result2 error) + func (fake *FakeCloud) HasVMReturnsOnCall(i int, result1 bool, result2 error) + func (fake *FakeCloud) Info() (cloud.CpiInfo, error) + func (fake *FakeCloud) InfoCallCount() int + func (fake *FakeCloud) InfoCalls(stub func() (cloud.CpiInfo, error)) + func (fake *FakeCloud) InfoReturns(result1 cloud.CpiInfo, result2 error) + func (fake *FakeCloud) InfoReturnsOnCall(i int, result1 cloud.CpiInfo, result2 error) + func (fake *FakeCloud) Invocations() map[string][][]interface{} + func (fake *FakeCloud) SetDiskMetadata(arg1 string, arg2 cloud.DiskMetadata) error + func (fake *FakeCloud) SetDiskMetadataArgsForCall(i int) (string, cloud.DiskMetadata) + func (fake *FakeCloud) SetDiskMetadataCallCount() int + func (fake *FakeCloud) SetDiskMetadataCalls(stub func(string, cloud.DiskMetadata) error) + func (fake *FakeCloud) SetDiskMetadataReturns(result1 error) + func (fake *FakeCloud) SetDiskMetadataReturnsOnCall(i int, result1 error) + func (fake *FakeCloud) SetVMMetadata(arg1 string, arg2 cloud.VMMetadata) error + func (fake *FakeCloud) SetVMMetadataArgsForCall(i int) (string, cloud.VMMetadata) + func (fake *FakeCloud) SetVMMetadataCallCount() int + func (fake *FakeCloud) SetVMMetadataCalls(stub func(string, cloud.VMMetadata) error) + func (fake *FakeCloud) SetVMMetadataReturns(result1 error) + func (fake *FakeCloud) SetVMMetadataReturnsOnCall(i int, result1 error) + func (fake *FakeCloud) String() string + func (fake *FakeCloud) StringCallCount() int + func (fake *FakeCloud) StringCalls(stub func() string) + func (fake *FakeCloud) StringReturns(result1 string) + func (fake *FakeCloud) StringReturnsOnCall(i int, result1 string) + type FakeFactory struct + NewCloudStub func(installation.Installation, string, int) (cloud.Cloud, error) + func (fake *FakeFactory) Invocations() map[string][][]interface{} + func (fake *FakeFactory) NewCloud(arg1 installation.Installation, arg2 string, arg3 int) (cloud.Cloud, error) + func (fake *FakeFactory) NewCloudArgsForCall(i int) (installation.Installation, string, int) + func (fake *FakeFactory) NewCloudCallCount() int + func (fake *FakeFactory) NewCloudCalls(stub func(installation.Installation, string, int) (cloud.Cloud, error)) + func (fake *FakeFactory) NewCloudReturns(result1 cloud.Cloud, result2 error) + func (fake *FakeFactory) NewCloudReturnsOnCall(i int, result1 cloud.Cloud, result2 error)