Documentation ¶
Index ¶
- type HelmChartCacheMock
- func (mock *HelmChartCacheMock) AddIndexer(indexName string, indexer v1.HelmChartIndexer)
- func (mock *HelmChartCacheMock) AddIndexerCalls() []struct{ ... }
- func (mock *HelmChartCacheMock) Get(namespace string, name string) (*v1a.HelmChart, error)
- func (mock *HelmChartCacheMock) GetByIndex(indexName string, key string) ([]*v1a.HelmChart, error)
- func (mock *HelmChartCacheMock) GetByIndexCalls() []struct{ ... }
- func (mock *HelmChartCacheMock) GetCalls() []struct{ ... }
- func (mock *HelmChartCacheMock) List(namespace string, selector labels.Selector) ([]*v1a.HelmChart, error)
- func (mock *HelmChartCacheMock) ListCalls() []struct{ ... }
- type HelmChartClientMock
- func (mock *HelmChartClientMock) Create(in1 *v1a.HelmChart) (*v1a.HelmChart, error)
- func (mock *HelmChartClientMock) CreateCalls() []struct{ ... }
- func (mock *HelmChartClientMock) Delete(namespace string, name string, options *v1b.DeleteOptions) error
- func (mock *HelmChartClientMock) DeleteCalls() []struct{ ... }
- func (mock *HelmChartClientMock) Get(namespace string, name string, options v1b.GetOptions) (*v1a.HelmChart, error)
- func (mock *HelmChartClientMock) GetCalls() []struct{ ... }
- func (mock *HelmChartClientMock) List(namespace string, opts v1b.ListOptions) (*v1a.HelmChartList, error)
- func (mock *HelmChartClientMock) ListCalls() []struct{ ... }
- func (mock *HelmChartClientMock) Patch(namespace string, name string, pt types.PatchType, data []byte, ...) (*v1a.HelmChart, error)
- func (mock *HelmChartClientMock) PatchCalls() []struct{ ... }
- func (mock *HelmChartClientMock) Update(in1 *v1a.HelmChart) (*v1a.HelmChart, error)
- func (mock *HelmChartClientMock) UpdateCalls() []struct{ ... }
- func (mock *HelmChartClientMock) UpdateStatus(in1 *v1a.HelmChart) (*v1a.HelmChart, error)
- func (mock *HelmChartClientMock) UpdateStatusCalls() []struct{ ... }
- func (mock *HelmChartClientMock) Watch(namespace string, opts v1b.ListOptions) (watch.Interface, error)
- func (mock *HelmChartClientMock) WatchCalls() []struct{ ... }
- type HelmChartControllerMock
- func (mock *HelmChartControllerMock) AddGenericHandler(ctx context.Context, name string, handler generic.Handler)
- func (mock *HelmChartControllerMock) AddGenericHandlerCalls() []struct{ ... }
- func (mock *HelmChartControllerMock) AddGenericRemoveHandler(ctx context.Context, name string, handler generic.Handler)
- func (mock *HelmChartControllerMock) AddGenericRemoveHandlerCalls() []struct{ ... }
- func (mock *HelmChartControllerMock) Cache() v1.HelmChartCache
- func (mock *HelmChartControllerMock) CacheCalls() []struct{}
- func (mock *HelmChartControllerMock) Create(in1 *v1a.HelmChart) (*v1a.HelmChart, error)
- func (mock *HelmChartControllerMock) CreateCalls() []struct{ ... }
- func (mock *HelmChartControllerMock) Delete(namespace string, name string, options *v1b.DeleteOptions) error
- func (mock *HelmChartControllerMock) DeleteCalls() []struct{ ... }
- func (mock *HelmChartControllerMock) Enqueue(namespace string, name string)
- func (mock *HelmChartControllerMock) EnqueueCalls() []struct{ ... }
- func (mock *HelmChartControllerMock) Get(namespace string, name string, options v1b.GetOptions) (*v1a.HelmChart, error)
- func (mock *HelmChartControllerMock) GetCalls() []struct{ ... }
- func (mock *HelmChartControllerMock) GroupVersionKind() schema.GroupVersionKind
- func (mock *HelmChartControllerMock) GroupVersionKindCalls() []struct{}
- func (mock *HelmChartControllerMock) Informer() cache.SharedIndexInformer
- func (mock *HelmChartControllerMock) InformerCalls() []struct{}
- func (mock *HelmChartControllerMock) List(namespace string, opts v1b.ListOptions) (*v1a.HelmChartList, error)
- func (mock *HelmChartControllerMock) ListCalls() []struct{ ... }
- func (mock *HelmChartControllerMock) OnChange(ctx context.Context, name string, sync v1.HelmChartHandler)
- func (mock *HelmChartControllerMock) OnChangeCalls() []struct{ ... }
- func (mock *HelmChartControllerMock) OnRemove(ctx context.Context, name string, sync v1.HelmChartHandler)
- func (mock *HelmChartControllerMock) OnRemoveCalls() []struct{ ... }
- func (mock *HelmChartControllerMock) Patch(namespace string, name string, pt types.PatchType, data []byte, ...) (*v1a.HelmChart, error)
- func (mock *HelmChartControllerMock) PatchCalls() []struct{ ... }
- func (mock *HelmChartControllerMock) Update(in1 *v1a.HelmChart) (*v1a.HelmChart, error)
- func (mock *HelmChartControllerMock) UpdateCalls() []struct{ ... }
- func (mock *HelmChartControllerMock) UpdateStatus(in1 *v1a.HelmChart) (*v1a.HelmChart, error)
- func (mock *HelmChartControllerMock) UpdateStatusCalls() []struct{ ... }
- func (mock *HelmChartControllerMock) Updater() generic.Updater
- func (mock *HelmChartControllerMock) UpdaterCalls() []struct{}
- func (mock *HelmChartControllerMock) Watch(namespace string, opts v1b.ListOptions) (watch.Interface, error)
- func (mock *HelmChartControllerMock) WatchCalls() []struct{ ... }
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelmChartCacheMock ¶
type HelmChartCacheMock struct { // AddIndexerFunc mocks the AddIndexer method. AddIndexerFunc func(indexName string, indexer v1.HelmChartIndexer) // GetFunc mocks the Get method. GetFunc func(namespace string, name string) (*v1a.HelmChart, error) // GetByIndexFunc mocks the GetByIndex method. GetByIndexFunc func(indexName string, key string) ([]*v1a.HelmChart, error) // ListFunc mocks the List method. ListFunc func(namespace string, selector labels.Selector) ([]*v1a.HelmChart, error) // contains filtered or unexported fields }
HelmChartCacheMock is a mock implementation of HelmChartCache.
func TestSomethingThatUsesHelmChartCache(t *testing.T) { // make and configure a mocked HelmChartCache mockedHelmChartCache := &HelmChartCacheMock{ AddIndexerFunc: func(indexName string, indexer v1.HelmChartIndexer) { panic("mock out the AddIndexer method") }, GetFunc: func(namespace string, name string) (*v1a.HelmChart, error) { panic("mock out the Get method") }, GetByIndexFunc: func(indexName string, key string) ([]*v1a.HelmChart, error) { panic("mock out the GetByIndex method") }, ListFunc: func(namespace string, selector labels.Selector) ([]*v1a.HelmChart, error) { panic("mock out the List method") }, } // use mockedHelmChartCache in code that requires HelmChartCache // and then make assertions. }
func (*HelmChartCacheMock) AddIndexer ¶
func (mock *HelmChartCacheMock) AddIndexer(indexName string, indexer v1.HelmChartIndexer)
AddIndexer calls AddIndexerFunc.
func (*HelmChartCacheMock) AddIndexerCalls ¶
func (mock *HelmChartCacheMock) AddIndexerCalls() []struct { IndexName string Indexer v1.HelmChartIndexer }
AddIndexerCalls gets all the calls that were made to AddIndexer. Check the length with:
len(mockedHelmChartCache.AddIndexerCalls())
func (*HelmChartCacheMock) GetByIndex ¶
GetByIndex calls GetByIndexFunc.
func (*HelmChartCacheMock) GetByIndexCalls ¶
func (mock *HelmChartCacheMock) GetByIndexCalls() []struct { IndexName string Key string }
GetByIndexCalls gets all the calls that were made to GetByIndex. Check the length with:
len(mockedHelmChartCache.GetByIndexCalls())
func (*HelmChartCacheMock) GetCalls ¶
func (mock *HelmChartCacheMock) GetCalls() []struct { Namespace string Name string }
GetCalls gets all the calls that were made to Get. Check the length with:
len(mockedHelmChartCache.GetCalls())
type HelmChartClientMock ¶
type HelmChartClientMock struct { // CreateFunc mocks the Create method. CreateFunc func(in1 *v1a.HelmChart) (*v1a.HelmChart, error) // DeleteFunc mocks the Delete method. DeleteFunc func(namespace string, name string, options *v1b.DeleteOptions) error // GetFunc mocks the Get method. GetFunc func(namespace string, name string, options v1b.GetOptions) (*v1a.HelmChart, error) // ListFunc mocks the List method. ListFunc func(namespace string, opts v1b.ListOptions) (*v1a.HelmChartList, error) // PatchFunc mocks the Patch method. PatchFunc func(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1a.HelmChart, error) // UpdateFunc mocks the Update method. UpdateFunc func(in1 *v1a.HelmChart) (*v1a.HelmChart, error) // UpdateStatusFunc mocks the UpdateStatus method. UpdateStatusFunc func(in1 *v1a.HelmChart) (*v1a.HelmChart, error) // WatchFunc mocks the Watch method. WatchFunc func(namespace string, opts v1b.ListOptions) (watch.Interface, error) // contains filtered or unexported fields }
HelmChartClientMock is a mock implementation of HelmChartClient.
func TestSomethingThatUsesHelmChartClient(t *testing.T) { // make and configure a mocked HelmChartClient mockedHelmChartClient := &HelmChartClientMock{ CreateFunc: func(in1 *v1a.HelmChart) (*v1a.HelmChart, error) { panic("mock out the Create method") }, DeleteFunc: func(namespace string, name string, options *v1b.DeleteOptions) error { panic("mock out the Delete method") }, GetFunc: func(namespace string, name string, options v1b.GetOptions) (*v1a.HelmChart, error) { panic("mock out the Get method") }, ListFunc: func(namespace string, opts v1b.ListOptions) (*v1a.HelmChartList, error) { panic("mock out the List method") }, PatchFunc: func(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1a.HelmChart, error) { panic("mock out the Patch method") }, UpdateFunc: func(in1 *v1a.HelmChart) (*v1a.HelmChart, error) { panic("mock out the Update method") }, UpdateStatusFunc: func(in1 *v1a.HelmChart) (*v1a.HelmChart, error) { panic("mock out the UpdateStatus method") }, WatchFunc: func(namespace string, opts v1b.ListOptions) (watch.Interface, error) { panic("mock out the Watch method") }, } // use mockedHelmChartClient in code that requires HelmChartClient // and then make assertions. }
func (*HelmChartClientMock) CreateCalls ¶
func (mock *HelmChartClientMock) CreateCalls() []struct { In1 *v1a.HelmChart }
CreateCalls gets all the calls that were made to Create. Check the length with:
len(mockedHelmChartClient.CreateCalls())
func (*HelmChartClientMock) Delete ¶
func (mock *HelmChartClientMock) Delete(namespace string, name string, options *v1b.DeleteOptions) error
Delete calls DeleteFunc.
func (*HelmChartClientMock) DeleteCalls ¶
func (mock *HelmChartClientMock) DeleteCalls() []struct { Namespace string Name string Options *v1b.DeleteOptions }
DeleteCalls gets all the calls that were made to Delete. Check the length with:
len(mockedHelmChartClient.DeleteCalls())
func (*HelmChartClientMock) Get ¶
func (mock *HelmChartClientMock) Get(namespace string, name string, options v1b.GetOptions) (*v1a.HelmChart, error)
Get calls GetFunc.
func (*HelmChartClientMock) GetCalls ¶
func (mock *HelmChartClientMock) GetCalls() []struct { Namespace string Name string Options v1b.GetOptions }
GetCalls gets all the calls that were made to Get. Check the length with:
len(mockedHelmChartClient.GetCalls())
func (*HelmChartClientMock) List ¶
func (mock *HelmChartClientMock) List(namespace string, opts v1b.ListOptions) (*v1a.HelmChartList, error)
List calls ListFunc.
func (*HelmChartClientMock) ListCalls ¶
func (mock *HelmChartClientMock) ListCalls() []struct { Namespace string Opts v1b.ListOptions }
ListCalls gets all the calls that were made to List. Check the length with:
len(mockedHelmChartClient.ListCalls())
func (*HelmChartClientMock) Patch ¶
func (mock *HelmChartClientMock) Patch(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1a.HelmChart, error)
Patch calls PatchFunc.
func (*HelmChartClientMock) PatchCalls ¶
func (mock *HelmChartClientMock) PatchCalls() []struct { Namespace string Name string Pt types.PatchType Data []byte Subresources []string }
PatchCalls gets all the calls that were made to Patch. Check the length with:
len(mockedHelmChartClient.PatchCalls())
func (*HelmChartClientMock) UpdateCalls ¶
func (mock *HelmChartClientMock) UpdateCalls() []struct { In1 *v1a.HelmChart }
UpdateCalls gets all the calls that were made to Update. Check the length with:
len(mockedHelmChartClient.UpdateCalls())
func (*HelmChartClientMock) UpdateStatus ¶
UpdateStatus calls UpdateStatusFunc.
func (*HelmChartClientMock) UpdateStatusCalls ¶
func (mock *HelmChartClientMock) UpdateStatusCalls() []struct { In1 *v1a.HelmChart }
UpdateStatusCalls gets all the calls that were made to UpdateStatus. Check the length with:
len(mockedHelmChartClient.UpdateStatusCalls())
func (*HelmChartClientMock) Watch ¶
func (mock *HelmChartClientMock) Watch(namespace string, opts v1b.ListOptions) (watch.Interface, error)
Watch calls WatchFunc.
func (*HelmChartClientMock) WatchCalls ¶
func (mock *HelmChartClientMock) WatchCalls() []struct { Namespace string Opts v1b.ListOptions }
WatchCalls gets all the calls that were made to Watch. Check the length with:
len(mockedHelmChartClient.WatchCalls())
type HelmChartControllerMock ¶
type HelmChartControllerMock struct { // AddGenericHandlerFunc mocks the AddGenericHandler method. AddGenericHandlerFunc func(ctx context.Context, name string, handler generic.Handler) // AddGenericRemoveHandlerFunc mocks the AddGenericRemoveHandler method. AddGenericRemoveHandlerFunc func(ctx context.Context, name string, handler generic.Handler) // CacheFunc mocks the Cache method. CacheFunc func() v1.HelmChartCache // CreateFunc mocks the Create method. CreateFunc func(in1 *v1a.HelmChart) (*v1a.HelmChart, error) // DeleteFunc mocks the Delete method. DeleteFunc func(namespace string, name string, options *v1b.DeleteOptions) error // EnqueueFunc mocks the Enqueue method. EnqueueFunc func(namespace string, name string) // GetFunc mocks the Get method. GetFunc func(namespace string, name string, options v1b.GetOptions) (*v1a.HelmChart, error) // GroupVersionKindFunc mocks the GroupVersionKind method. GroupVersionKindFunc func() schema.GroupVersionKind // InformerFunc mocks the Informer method. InformerFunc func() cache.SharedIndexInformer // ListFunc mocks the List method. ListFunc func(namespace string, opts v1b.ListOptions) (*v1a.HelmChartList, error) // OnChangeFunc mocks the OnChange method. OnChangeFunc func(ctx context.Context, name string, sync v1.HelmChartHandler) // OnRemoveFunc mocks the OnRemove method. OnRemoveFunc func(ctx context.Context, name string, sync v1.HelmChartHandler) // PatchFunc mocks the Patch method. PatchFunc func(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1a.HelmChart, error) // UpdateFunc mocks the Update method. UpdateFunc func(in1 *v1a.HelmChart) (*v1a.HelmChart, error) // UpdateStatusFunc mocks the UpdateStatus method. UpdateStatusFunc func(in1 *v1a.HelmChart) (*v1a.HelmChart, error) // UpdaterFunc mocks the Updater method. UpdaterFunc func() generic.Updater // WatchFunc mocks the Watch method. WatchFunc func(namespace string, opts v1b.ListOptions) (watch.Interface, error) // contains filtered or unexported fields }
HelmChartControllerMock is a mock implementation of HelmChartController.
func TestSomethingThatUsesHelmChartController(t *testing.T) { // make and configure a mocked HelmChartController mockedHelmChartController := &HelmChartControllerMock{ AddGenericHandlerFunc: func(ctx context.Context, name string, handler generic.Handler) { panic("mock out the AddGenericHandler method") }, AddGenericRemoveHandlerFunc: func(ctx context.Context, name string, handler generic.Handler) { panic("mock out the AddGenericRemoveHandler method") }, CacheFunc: func() v1.HelmChartCache { panic("mock out the Cache method") }, CreateFunc: func(in1 *v1a.HelmChart) (*v1a.HelmChart, error) { panic("mock out the Create method") }, DeleteFunc: func(namespace string, name string, options *v1b.DeleteOptions) error { panic("mock out the Delete method") }, EnqueueFunc: func(namespace string, name string) { panic("mock out the Enqueue method") }, GetFunc: func(namespace string, name string, options v1b.GetOptions) (*v1a.HelmChart, error) { panic("mock out the Get method") }, GroupVersionKindFunc: func() schema.GroupVersionKind { panic("mock out the GroupVersionKind method") }, InformerFunc: func() cache.SharedIndexInformer { panic("mock out the Informer method") }, ListFunc: func(namespace string, opts v1b.ListOptions) (*v1a.HelmChartList, error) { panic("mock out the List method") }, OnChangeFunc: func(ctx context.Context, name string, sync v1.HelmChartHandler) { panic("mock out the OnChange method") }, OnRemoveFunc: func(ctx context.Context, name string, sync v1.HelmChartHandler) { panic("mock out the OnRemove method") }, PatchFunc: func(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1a.HelmChart, error) { panic("mock out the Patch method") }, UpdateFunc: func(in1 *v1a.HelmChart) (*v1a.HelmChart, error) { panic("mock out the Update method") }, UpdateStatusFunc: func(in1 *v1a.HelmChart) (*v1a.HelmChart, error) { panic("mock out the UpdateStatus method") }, UpdaterFunc: func() generic.Updater { panic("mock out the Updater method") }, WatchFunc: func(namespace string, opts v1b.ListOptions) (watch.Interface, error) { panic("mock out the Watch method") }, } // use mockedHelmChartController in code that requires HelmChartController // and then make assertions. }
func (*HelmChartControllerMock) AddGenericHandler ¶
func (mock *HelmChartControllerMock) AddGenericHandler(ctx context.Context, name string, handler generic.Handler)
AddGenericHandler calls AddGenericHandlerFunc.
func (*HelmChartControllerMock) AddGenericHandlerCalls ¶
func (mock *HelmChartControllerMock) AddGenericHandlerCalls() []struct { Ctx context.Context Name string Handler generic.Handler }
AddGenericHandlerCalls gets all the calls that were made to AddGenericHandler. Check the length with:
len(mockedHelmChartController.AddGenericHandlerCalls())
func (*HelmChartControllerMock) AddGenericRemoveHandler ¶
func (mock *HelmChartControllerMock) AddGenericRemoveHandler(ctx context.Context, name string, handler generic.Handler)
AddGenericRemoveHandler calls AddGenericRemoveHandlerFunc.
func (*HelmChartControllerMock) AddGenericRemoveHandlerCalls ¶
func (mock *HelmChartControllerMock) AddGenericRemoveHandlerCalls() []struct { Ctx context.Context Name string Handler generic.Handler }
AddGenericRemoveHandlerCalls gets all the calls that were made to AddGenericRemoveHandler. Check the length with:
len(mockedHelmChartController.AddGenericRemoveHandlerCalls())
func (*HelmChartControllerMock) Cache ¶
func (mock *HelmChartControllerMock) Cache() v1.HelmChartCache
Cache calls CacheFunc.
func (*HelmChartControllerMock) CacheCalls ¶
func (mock *HelmChartControllerMock) CacheCalls() []struct { }
CacheCalls gets all the calls that were made to Cache. Check the length with:
len(mockedHelmChartController.CacheCalls())
func (*HelmChartControllerMock) CreateCalls ¶
func (mock *HelmChartControllerMock) CreateCalls() []struct { In1 *v1a.HelmChart }
CreateCalls gets all the calls that were made to Create. Check the length with:
len(mockedHelmChartController.CreateCalls())
func (*HelmChartControllerMock) Delete ¶
func (mock *HelmChartControllerMock) Delete(namespace string, name string, options *v1b.DeleteOptions) error
Delete calls DeleteFunc.
func (*HelmChartControllerMock) DeleteCalls ¶
func (mock *HelmChartControllerMock) DeleteCalls() []struct { Namespace string Name string Options *v1b.DeleteOptions }
DeleteCalls gets all the calls that were made to Delete. Check the length with:
len(mockedHelmChartController.DeleteCalls())
func (*HelmChartControllerMock) Enqueue ¶
func (mock *HelmChartControllerMock) Enqueue(namespace string, name string)
Enqueue calls EnqueueFunc.
func (*HelmChartControllerMock) EnqueueCalls ¶
func (mock *HelmChartControllerMock) EnqueueCalls() []struct { Namespace string Name string }
EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:
len(mockedHelmChartController.EnqueueCalls())
func (*HelmChartControllerMock) Get ¶
func (mock *HelmChartControllerMock) Get(namespace string, name string, options v1b.GetOptions) (*v1a.HelmChart, error)
Get calls GetFunc.
func (*HelmChartControllerMock) GetCalls ¶
func (mock *HelmChartControllerMock) GetCalls() []struct { Namespace string Name string Options v1b.GetOptions }
GetCalls gets all the calls that were made to Get. Check the length with:
len(mockedHelmChartController.GetCalls())
func (*HelmChartControllerMock) GroupVersionKind ¶
func (mock *HelmChartControllerMock) GroupVersionKind() schema.GroupVersionKind
GroupVersionKind calls GroupVersionKindFunc.
func (*HelmChartControllerMock) GroupVersionKindCalls ¶
func (mock *HelmChartControllerMock) GroupVersionKindCalls() []struct { }
GroupVersionKindCalls gets all the calls that were made to GroupVersionKind. Check the length with:
len(mockedHelmChartController.GroupVersionKindCalls())
func (*HelmChartControllerMock) Informer ¶
func (mock *HelmChartControllerMock) Informer() cache.SharedIndexInformer
Informer calls InformerFunc.
func (*HelmChartControllerMock) InformerCalls ¶
func (mock *HelmChartControllerMock) InformerCalls() []struct { }
InformerCalls gets all the calls that were made to Informer. Check the length with:
len(mockedHelmChartController.InformerCalls())
func (*HelmChartControllerMock) List ¶
func (mock *HelmChartControllerMock) List(namespace string, opts v1b.ListOptions) (*v1a.HelmChartList, error)
List calls ListFunc.
func (*HelmChartControllerMock) ListCalls ¶
func (mock *HelmChartControllerMock) ListCalls() []struct { Namespace string Opts v1b.ListOptions }
ListCalls gets all the calls that were made to List. Check the length with:
len(mockedHelmChartController.ListCalls())
func (*HelmChartControllerMock) OnChange ¶
func (mock *HelmChartControllerMock) OnChange(ctx context.Context, name string, sync v1.HelmChartHandler)
OnChange calls OnChangeFunc.
func (*HelmChartControllerMock) OnChangeCalls ¶
func (mock *HelmChartControllerMock) OnChangeCalls() []struct { Ctx context.Context Name string Sync v1.HelmChartHandler }
OnChangeCalls gets all the calls that were made to OnChange. Check the length with:
len(mockedHelmChartController.OnChangeCalls())
func (*HelmChartControllerMock) OnRemove ¶
func (mock *HelmChartControllerMock) OnRemove(ctx context.Context, name string, sync v1.HelmChartHandler)
OnRemove calls OnRemoveFunc.
func (*HelmChartControllerMock) OnRemoveCalls ¶
func (mock *HelmChartControllerMock) OnRemoveCalls() []struct { Ctx context.Context Name string Sync v1.HelmChartHandler }
OnRemoveCalls gets all the calls that were made to OnRemove. Check the length with:
len(mockedHelmChartController.OnRemoveCalls())
func (*HelmChartControllerMock) Patch ¶
func (mock *HelmChartControllerMock) Patch(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1a.HelmChart, error)
Patch calls PatchFunc.
func (*HelmChartControllerMock) PatchCalls ¶
func (mock *HelmChartControllerMock) PatchCalls() []struct { Namespace string Name string Pt types.PatchType Data []byte Subresources []string }
PatchCalls gets all the calls that were made to Patch. Check the length with:
len(mockedHelmChartController.PatchCalls())
func (*HelmChartControllerMock) UpdateCalls ¶
func (mock *HelmChartControllerMock) UpdateCalls() []struct { In1 *v1a.HelmChart }
UpdateCalls gets all the calls that were made to Update. Check the length with:
len(mockedHelmChartController.UpdateCalls())
func (*HelmChartControllerMock) UpdateStatus ¶
UpdateStatus calls UpdateStatusFunc.
func (*HelmChartControllerMock) UpdateStatusCalls ¶
func (mock *HelmChartControllerMock) UpdateStatusCalls() []struct { In1 *v1a.HelmChart }
UpdateStatusCalls gets all the calls that were made to UpdateStatus. Check the length with:
len(mockedHelmChartController.UpdateStatusCalls())
func (*HelmChartControllerMock) Updater ¶
func (mock *HelmChartControllerMock) Updater() generic.Updater
Updater calls UpdaterFunc.
func (*HelmChartControllerMock) UpdaterCalls ¶
func (mock *HelmChartControllerMock) UpdaterCalls() []struct { }
UpdaterCalls gets all the calls that were made to Updater. Check the length with:
len(mockedHelmChartController.UpdaterCalls())
func (*HelmChartControllerMock) Watch ¶
func (mock *HelmChartControllerMock) Watch(namespace string, opts v1b.ListOptions) (watch.Interface, error)
Watch calls WatchFunc.
func (*HelmChartControllerMock) WatchCalls ¶
func (mock *HelmChartControllerMock) WatchCalls() []struct { Namespace string Opts v1b.ListOptions }
WatchCalls gets all the calls that were made to Watch. Check the length with:
len(mockedHelmChartController.WatchCalls())