Documentation
¶
Index ¶
- type ModuleMock
- func (mmGetChart *ModuleMock) GetChart() (cp1 *chart.Chart)
- func (mmGetChart *ModuleMock) GetChartAfterCounter() uint64
- func (mmGetChart *ModuleMock) GetChartBeforeCounter() uint64
- func (mmGetName *ModuleMock) GetName() (s1 string)
- func (mmGetName *ModuleMock) GetNameAfterCounter() uint64
- func (mmGetName *ModuleMock) GetNameBeforeCounter() uint64
- func (mmGetNamespace *ModuleMock) GetNamespace() (s1 string)
- func (mmGetNamespace *ModuleMock) GetNamespaceAfterCounter() uint64
- func (mmGetNamespace *ModuleMock) GetNamespaceBeforeCounter() uint64
- func (mmGetObjectStore *ModuleMock) GetObjectStore() (up1 *storage.UnstructuredObjectStore)
- func (mmGetObjectStore *ModuleMock) GetObjectStoreAfterCounter() uint64
- func (mmGetObjectStore *ModuleMock) GetObjectStoreBeforeCounter() uint64
- func (mmGetPath *ModuleMock) GetPath() (s1 string)
- func (mmGetPath *ModuleMock) GetPathAfterCounter() uint64
- func (mmGetPath *ModuleMock) GetPathBeforeCounter() uint64
- func (mmGetStorage *ModuleMock) GetStorage() (m1 map[storage.ResourceIndex]storage.StoreObject)
- func (mmGetStorage *ModuleMock) GetStorageAfterCounter() uint64
- func (mmGetStorage *ModuleMock) GetStorageBeforeCounter() uint64
- func (mmGetWerfFile *ModuleMock) GetWerfFile() (s1 string)
- func (mmGetWerfFile *ModuleMock) GetWerfFileAfterCounter() uint64
- func (mmGetWerfFile *ModuleMock) GetWerfFileBeforeCounter() uint64
- func (m *ModuleMock) MinimockFinish()
- func (m *ModuleMock) MinimockGetChartDone() bool
- func (m *ModuleMock) MinimockGetChartInspect()
- func (m *ModuleMock) MinimockGetNameDone() bool
- func (m *ModuleMock) MinimockGetNameInspect()
- func (m *ModuleMock) MinimockGetNamespaceDone() bool
- func (m *ModuleMock) MinimockGetNamespaceInspect()
- func (m *ModuleMock) MinimockGetObjectStoreDone() bool
- func (m *ModuleMock) MinimockGetObjectStoreInspect()
- func (m *ModuleMock) MinimockGetPathDone() bool
- func (m *ModuleMock) MinimockGetPathInspect()
- func (m *ModuleMock) MinimockGetStorageDone() bool
- func (m *ModuleMock) MinimockGetStorageInspect()
- func (m *ModuleMock) MinimockGetWerfFileDone() bool
- func (m *ModuleMock) MinimockGetWerfFileInspect()
- func (m *ModuleMock) MinimockWait(timeout mm_time.Duration)
- type ModuleMockGetChartExpectation
- type ModuleMockGetChartResults
- type ModuleMockGetNameExpectation
- type ModuleMockGetNameResults
- type ModuleMockGetNamespaceExpectation
- type ModuleMockGetNamespaceResults
- type ModuleMockGetObjectStoreExpectation
- type ModuleMockGetObjectStoreResults
- type ModuleMockGetPathExpectation
- type ModuleMockGetPathResults
- type ModuleMockGetStorageExpectation
- type ModuleMockGetStorageResults
- type ModuleMockGetWerfFileExpectation
- type ModuleMockGetWerfFileResults
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleMock ¶
type ModuleMock struct {
GetChartMock mModuleMockGetChart
GetNameMock mModuleMockGetName
GetNamespaceMock mModuleMockGetNamespace
GetObjectStoreMock mModuleMockGetObjectStore
GetPathMock mModuleMockGetPath
GetStorageMock mModuleMockGetStorage
GetWerfFileMock mModuleMockGetWerfFile
// contains filtered or unexported fields
}
ModuleMock implements mm_pkg.Module
func NewModuleMock ¶
func NewModuleMock(t minimock.Tester) *ModuleMock
NewModuleMock returns a mock for mm_pkg.Module
func (*ModuleMock) GetChart ¶
func (mmGetChart *ModuleMock) GetChart() (cp1 *chart.Chart)
GetChart implements mm_pkg.Module
func (*ModuleMock) GetChartAfterCounter ¶
func (mmGetChart *ModuleMock) GetChartAfterCounter() uint64
GetChartAfterCounter returns a count of finished ModuleMock.GetChart invocations
func (*ModuleMock) GetChartBeforeCounter ¶
func (mmGetChart *ModuleMock) GetChartBeforeCounter() uint64
GetChartBeforeCounter returns a count of ModuleMock.GetChart invocations
func (*ModuleMock) GetName ¶
func (mmGetName *ModuleMock) GetName() (s1 string)
GetName implements mm_pkg.Module
func (*ModuleMock) GetNameAfterCounter ¶
func (mmGetName *ModuleMock) GetNameAfterCounter() uint64
GetNameAfterCounter returns a count of finished ModuleMock.GetName invocations
func (*ModuleMock) GetNameBeforeCounter ¶
func (mmGetName *ModuleMock) GetNameBeforeCounter() uint64
GetNameBeforeCounter returns a count of ModuleMock.GetName invocations
func (*ModuleMock) GetNamespace ¶
func (mmGetNamespace *ModuleMock) GetNamespace() (s1 string)
GetNamespace implements mm_pkg.Module
func (*ModuleMock) GetNamespaceAfterCounter ¶
func (mmGetNamespace *ModuleMock) GetNamespaceAfterCounter() uint64
GetNamespaceAfterCounter returns a count of finished ModuleMock.GetNamespace invocations
func (*ModuleMock) GetNamespaceBeforeCounter ¶
func (mmGetNamespace *ModuleMock) GetNamespaceBeforeCounter() uint64
GetNamespaceBeforeCounter returns a count of ModuleMock.GetNamespace invocations
func (*ModuleMock) GetObjectStore ¶
func (mmGetObjectStore *ModuleMock) GetObjectStore() (up1 *storage.UnstructuredObjectStore)
GetObjectStore implements mm_pkg.Module
func (*ModuleMock) GetObjectStoreAfterCounter ¶
func (mmGetObjectStore *ModuleMock) GetObjectStoreAfterCounter() uint64
GetObjectStoreAfterCounter returns a count of finished ModuleMock.GetObjectStore invocations
func (*ModuleMock) GetObjectStoreBeforeCounter ¶
func (mmGetObjectStore *ModuleMock) GetObjectStoreBeforeCounter() uint64
GetObjectStoreBeforeCounter returns a count of ModuleMock.GetObjectStore invocations
func (*ModuleMock) GetPath ¶
func (mmGetPath *ModuleMock) GetPath() (s1 string)
GetPath implements mm_pkg.Module
func (*ModuleMock) GetPathAfterCounter ¶
func (mmGetPath *ModuleMock) GetPathAfterCounter() uint64
GetPathAfterCounter returns a count of finished ModuleMock.GetPath invocations
func (*ModuleMock) GetPathBeforeCounter ¶
func (mmGetPath *ModuleMock) GetPathBeforeCounter() uint64
GetPathBeforeCounter returns a count of ModuleMock.GetPath invocations
func (*ModuleMock) GetStorage ¶
func (mmGetStorage *ModuleMock) GetStorage() (m1 map[storage.ResourceIndex]storage.StoreObject)
GetStorage implements mm_pkg.Module
func (*ModuleMock) GetStorageAfterCounter ¶
func (mmGetStorage *ModuleMock) GetStorageAfterCounter() uint64
GetStorageAfterCounter returns a count of finished ModuleMock.GetStorage invocations
func (*ModuleMock) GetStorageBeforeCounter ¶
func (mmGetStorage *ModuleMock) GetStorageBeforeCounter() uint64
GetStorageBeforeCounter returns a count of ModuleMock.GetStorage invocations
func (*ModuleMock) GetWerfFile ¶
func (mmGetWerfFile *ModuleMock) GetWerfFile() (s1 string)
GetWerfFile implements mm_pkg.Module
func (*ModuleMock) GetWerfFileAfterCounter ¶
func (mmGetWerfFile *ModuleMock) GetWerfFileAfterCounter() uint64
GetWerfFileAfterCounter returns a count of finished ModuleMock.GetWerfFile invocations
func (*ModuleMock) GetWerfFileBeforeCounter ¶
func (mmGetWerfFile *ModuleMock) GetWerfFileBeforeCounter() uint64
GetWerfFileBeforeCounter returns a count of ModuleMock.GetWerfFile invocations
func (*ModuleMock) MinimockFinish ¶
func (m *ModuleMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*ModuleMock) MinimockGetChartDone ¶
func (m *ModuleMock) MinimockGetChartDone() bool
MinimockGetChartDone returns true if the count of the GetChart invocations corresponds the number of defined expectations
func (*ModuleMock) MinimockGetChartInspect ¶
func (m *ModuleMock) MinimockGetChartInspect()
MinimockGetChartInspect logs each unmet expectation
func (*ModuleMock) MinimockGetNameDone ¶
func (m *ModuleMock) MinimockGetNameDone() bool
MinimockGetNameDone returns true if the count of the GetName invocations corresponds the number of defined expectations
func (*ModuleMock) MinimockGetNameInspect ¶
func (m *ModuleMock) MinimockGetNameInspect()
MinimockGetNameInspect logs each unmet expectation
func (*ModuleMock) MinimockGetNamespaceDone ¶
func (m *ModuleMock) MinimockGetNamespaceDone() bool
MinimockGetNamespaceDone returns true if the count of the GetNamespace invocations corresponds the number of defined expectations
func (*ModuleMock) MinimockGetNamespaceInspect ¶
func (m *ModuleMock) MinimockGetNamespaceInspect()
MinimockGetNamespaceInspect logs each unmet expectation
func (*ModuleMock) MinimockGetObjectStoreDone ¶
func (m *ModuleMock) MinimockGetObjectStoreDone() bool
MinimockGetObjectStoreDone returns true if the count of the GetObjectStore invocations corresponds the number of defined expectations
func (*ModuleMock) MinimockGetObjectStoreInspect ¶
func (m *ModuleMock) MinimockGetObjectStoreInspect()
MinimockGetObjectStoreInspect logs each unmet expectation
func (*ModuleMock) MinimockGetPathDone ¶
func (m *ModuleMock) MinimockGetPathDone() bool
MinimockGetPathDone returns true if the count of the GetPath invocations corresponds the number of defined expectations
func (*ModuleMock) MinimockGetPathInspect ¶
func (m *ModuleMock) MinimockGetPathInspect()
MinimockGetPathInspect logs each unmet expectation
func (*ModuleMock) MinimockGetStorageDone ¶
func (m *ModuleMock) MinimockGetStorageDone() bool
MinimockGetStorageDone returns true if the count of the GetStorage invocations corresponds the number of defined expectations
func (*ModuleMock) MinimockGetStorageInspect ¶
func (m *ModuleMock) MinimockGetStorageInspect()
MinimockGetStorageInspect logs each unmet expectation
func (*ModuleMock) MinimockGetWerfFileDone ¶
func (m *ModuleMock) MinimockGetWerfFileDone() bool
MinimockGetWerfFileDone returns true if the count of the GetWerfFile invocations corresponds the number of defined expectations
func (*ModuleMock) MinimockGetWerfFileInspect ¶
func (m *ModuleMock) MinimockGetWerfFileInspect()
MinimockGetWerfFileInspect logs each unmet expectation
func (*ModuleMock) MinimockWait ¶
func (m *ModuleMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
type ModuleMockGetChartExpectation ¶
type ModuleMockGetChartExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ModuleMockGetChartExpectation specifies expectation struct of the Module.GetChart
type ModuleMockGetChartResults ¶
type ModuleMockGetChartResults struct {
// contains filtered or unexported fields
}
ModuleMockGetChartResults contains results of the Module.GetChart
type ModuleMockGetNameExpectation ¶
type ModuleMockGetNameExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ModuleMockGetNameExpectation specifies expectation struct of the Module.GetName
type ModuleMockGetNameResults ¶
type ModuleMockGetNameResults struct {
// contains filtered or unexported fields
}
ModuleMockGetNameResults contains results of the Module.GetName
type ModuleMockGetNamespaceExpectation ¶
type ModuleMockGetNamespaceExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ModuleMockGetNamespaceExpectation specifies expectation struct of the Module.GetNamespace
type ModuleMockGetNamespaceResults ¶
type ModuleMockGetNamespaceResults struct {
// contains filtered or unexported fields
}
ModuleMockGetNamespaceResults contains results of the Module.GetNamespace
type ModuleMockGetObjectStoreExpectation ¶
type ModuleMockGetObjectStoreExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ModuleMockGetObjectStoreExpectation specifies expectation struct of the Module.GetObjectStore
type ModuleMockGetObjectStoreResults ¶
type ModuleMockGetObjectStoreResults struct {
// contains filtered or unexported fields
}
ModuleMockGetObjectStoreResults contains results of the Module.GetObjectStore
type ModuleMockGetPathExpectation ¶
type ModuleMockGetPathExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ModuleMockGetPathExpectation specifies expectation struct of the Module.GetPath
type ModuleMockGetPathResults ¶
type ModuleMockGetPathResults struct {
// contains filtered or unexported fields
}
ModuleMockGetPathResults contains results of the Module.GetPath
type ModuleMockGetStorageExpectation ¶
type ModuleMockGetStorageExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ModuleMockGetStorageExpectation specifies expectation struct of the Module.GetStorage
type ModuleMockGetStorageResults ¶
type ModuleMockGetStorageResults struct {
// contains filtered or unexported fields
}
ModuleMockGetStorageResults contains results of the Module.GetStorage
type ModuleMockGetWerfFileExpectation ¶
type ModuleMockGetWerfFileExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ModuleMockGetWerfFileExpectation specifies expectation struct of the Module.GetWerfFile
type ModuleMockGetWerfFileResults ¶
type ModuleMockGetWerfFileResults struct {
// contains filtered or unexported fields
}
ModuleMockGetWerfFileResults contains results of the Module.GetWerfFile