Documentation
¶
Index ¶
- type BuildCacheMock
- func (mock *BuildCacheMock) AddIndexer(indexName string, indexer v1alpha1.BuildIndexer)
- func (mock *BuildCacheMock) AddIndexerCalls() []struct{ ... }
- func (mock *BuildCacheMock) Get(namespace string, name string) (*v1alpha1a.Build, error)
- func (mock *BuildCacheMock) GetByIndex(indexName string, key string) ([]*v1alpha1a.Build, error)
- func (mock *BuildCacheMock) GetByIndexCalls() []struct{ ... }
- func (mock *BuildCacheMock) GetCalls() []struct{ ... }
- func (mock *BuildCacheMock) List(namespace string, selector labels.Selector) ([]*v1alpha1a.Build, error)
- func (mock *BuildCacheMock) ListCalls() []struct{ ... }
- type BuildClientMock
- func (mock *BuildClientMock) Create(in1 *v1alpha1a.Build) (*v1alpha1a.Build, error)
- func (mock *BuildClientMock) CreateCalls() []struct{ ... }
- func (mock *BuildClientMock) Delete(namespace string, name string, options *v1.DeleteOptions) error
- func (mock *BuildClientMock) DeleteCalls() []struct{ ... }
- func (mock *BuildClientMock) Get(namespace string, name string, options v1.GetOptions) (*v1alpha1a.Build, error)
- func (mock *BuildClientMock) GetCalls() []struct{ ... }
- func (mock *BuildClientMock) List(namespace string, opts v1.ListOptions) (*v1alpha1a.BuildList, error)
- func (mock *BuildClientMock) ListCalls() []struct{ ... }
- func (mock *BuildClientMock) Patch(namespace string, name string, pt types.PatchType, data []byte, ...) (*v1alpha1a.Build, error)
- func (mock *BuildClientMock) PatchCalls() []struct{ ... }
- func (mock *BuildClientMock) Update(in1 *v1alpha1a.Build) (*v1alpha1a.Build, error)
- func (mock *BuildClientMock) UpdateCalls() []struct{ ... }
- func (mock *BuildClientMock) UpdateStatus(in1 *v1alpha1a.Build) (*v1alpha1a.Build, error)
- func (mock *BuildClientMock) UpdateStatusCalls() []struct{ ... }
- func (mock *BuildClientMock) Watch(namespace string, opts v1.ListOptions) (watch.Interface, error)
- func (mock *BuildClientMock) WatchCalls() []struct{ ... }
- type BuildControllerMock
- func (mock *BuildControllerMock) AddGenericHandler(ctx context.Context, name string, handler generic.Handler)
- func (mock *BuildControllerMock) AddGenericHandlerCalls() []struct{ ... }
- func (mock *BuildControllerMock) AddGenericRemoveHandler(ctx context.Context, name string, handler generic.Handler)
- func (mock *BuildControllerMock) AddGenericRemoveHandlerCalls() []struct{ ... }
- func (mock *BuildControllerMock) Cache() v1alpha1.BuildCache
- func (mock *BuildControllerMock) CacheCalls() []struct{}
- func (mock *BuildControllerMock) Create(in1 *v1alpha1a.Build) (*v1alpha1a.Build, error)
- func (mock *BuildControllerMock) CreateCalls() []struct{ ... }
- func (mock *BuildControllerMock) Delete(namespace string, name string, options *v1.DeleteOptions) error
- func (mock *BuildControllerMock) DeleteCalls() []struct{ ... }
- func (mock *BuildControllerMock) Enqueue(namespace string, name string)
- func (mock *BuildControllerMock) EnqueueCalls() []struct{ ... }
- func (mock *BuildControllerMock) Get(namespace string, name string, options v1.GetOptions) (*v1alpha1a.Build, error)
- func (mock *BuildControllerMock) GetCalls() []struct{ ... }
- func (mock *BuildControllerMock) GroupVersionKind() schema.GroupVersionKind
- func (mock *BuildControllerMock) GroupVersionKindCalls() []struct{}
- func (mock *BuildControllerMock) Informer() cache.SharedIndexInformer
- func (mock *BuildControllerMock) InformerCalls() []struct{}
- func (mock *BuildControllerMock) List(namespace string, opts v1.ListOptions) (*v1alpha1a.BuildList, error)
- func (mock *BuildControllerMock) ListCalls() []struct{ ... }
- func (mock *BuildControllerMock) OnChange(ctx context.Context, name string, sync v1alpha1.BuildHandler)
- func (mock *BuildControllerMock) OnChangeCalls() []struct{ ... }
- func (mock *BuildControllerMock) OnRemove(ctx context.Context, name string, sync v1alpha1.BuildHandler)
- func (mock *BuildControllerMock) OnRemoveCalls() []struct{ ... }
- func (mock *BuildControllerMock) Patch(namespace string, name string, pt types.PatchType, data []byte, ...) (*v1alpha1a.Build, error)
- func (mock *BuildControllerMock) PatchCalls() []struct{ ... }
- func (mock *BuildControllerMock) Update(in1 *v1alpha1a.Build) (*v1alpha1a.Build, error)
- func (mock *BuildControllerMock) UpdateCalls() []struct{ ... }
- func (mock *BuildControllerMock) UpdateStatus(in1 *v1alpha1a.Build) (*v1alpha1a.Build, error)
- func (mock *BuildControllerMock) UpdateStatusCalls() []struct{ ... }
- func (mock *BuildControllerMock) Updater() generic.Updater
- func (mock *BuildControllerMock) UpdaterCalls() []struct{}
- func (mock *BuildControllerMock) Watch(namespace string, opts v1.ListOptions) (watch.Interface, error)
- func (mock *BuildControllerMock) WatchCalls() []struct{ ... }
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildCacheMock ¶
type BuildCacheMock struct { // AddIndexerFunc mocks the AddIndexer method. AddIndexerFunc func(indexName string, indexer v1alpha1.BuildIndexer) // GetFunc mocks the Get method. GetFunc func(namespace string, name string) (*v1alpha1a.Build, error) // GetByIndexFunc mocks the GetByIndex method. GetByIndexFunc func(indexName string, key string) ([]*v1alpha1a.Build, error) // ListFunc mocks the List method. ListFunc func(namespace string, selector labels.Selector) ([]*v1alpha1a.Build, error) // contains filtered or unexported fields }
BuildCacheMock is a mock implementation of BuildCache.
func TestSomethingThatUsesBuildCache(t *testing.T) { // make and configure a mocked BuildCache mockedBuildCache := &BuildCacheMock{ AddIndexerFunc: func(indexName string, indexer v1alpha1.BuildIndexer) { panic("mock out the AddIndexer method") }, GetFunc: func(namespace string, name string) (*v1alpha1a.Build, error) { panic("mock out the Get method") }, GetByIndexFunc: func(indexName string, key string) ([]*v1alpha1a.Build, error) { panic("mock out the GetByIndex method") }, ListFunc: func(namespace string, selector labels.Selector) ([]*v1alpha1a.Build, error) { panic("mock out the List method") }, } // use mockedBuildCache in code that requires BuildCache // and then make assertions. }
func (*BuildCacheMock) AddIndexer ¶
func (mock *BuildCacheMock) AddIndexer(indexName string, indexer v1alpha1.BuildIndexer)
AddIndexer calls AddIndexerFunc.
func (*BuildCacheMock) AddIndexerCalls ¶
func (mock *BuildCacheMock) AddIndexerCalls() []struct { IndexName string Indexer v1alpha1.BuildIndexer }
AddIndexerCalls gets all the calls that were made to AddIndexer. Check the length with:
len(mockedBuildCache.AddIndexerCalls())
func (*BuildCacheMock) GetByIndex ¶
GetByIndex calls GetByIndexFunc.
func (*BuildCacheMock) GetByIndexCalls ¶
func (mock *BuildCacheMock) GetByIndexCalls() []struct { IndexName string Key string }
GetByIndexCalls gets all the calls that were made to GetByIndex. Check the length with:
len(mockedBuildCache.GetByIndexCalls())
func (*BuildCacheMock) GetCalls ¶
func (mock *BuildCacheMock) GetCalls() []struct { Namespace string Name string }
GetCalls gets all the calls that were made to Get. Check the length with:
len(mockedBuildCache.GetCalls())
type BuildClientMock ¶
type BuildClientMock struct { // CreateFunc mocks the Create method. CreateFunc func(in1 *v1alpha1a.Build) (*v1alpha1a.Build, error) // DeleteFunc mocks the Delete method. DeleteFunc func(namespace string, name string, options *v1.DeleteOptions) error // GetFunc mocks the Get method. GetFunc func(namespace string, name string, options v1.GetOptions) (*v1alpha1a.Build, error) // ListFunc mocks the List method. ListFunc func(namespace string, opts v1.ListOptions) (*v1alpha1a.BuildList, error) // PatchFunc mocks the Patch method. PatchFunc func(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1alpha1a.Build, error) // UpdateFunc mocks the Update method. UpdateFunc func(in1 *v1alpha1a.Build) (*v1alpha1a.Build, error) // UpdateStatusFunc mocks the UpdateStatus method. UpdateStatusFunc func(in1 *v1alpha1a.Build) (*v1alpha1a.Build, error) // WatchFunc mocks the Watch method. WatchFunc func(namespace string, opts v1.ListOptions) (watch.Interface, error) // contains filtered or unexported fields }
BuildClientMock is a mock implementation of BuildClient.
func TestSomethingThatUsesBuildClient(t *testing.T) { // make and configure a mocked BuildClient mockedBuildClient := &BuildClientMock{ CreateFunc: func(in1 *v1alpha1a.Build) (*v1alpha1a.Build, error) { panic("mock out the Create method") }, DeleteFunc: func(namespace string, name string, options *v1.DeleteOptions) error { panic("mock out the Delete method") }, GetFunc: func(namespace string, name string, options v1.GetOptions) (*v1alpha1a.Build, error) { panic("mock out the Get method") }, ListFunc: func(namespace string, opts v1.ListOptions) (*v1alpha1a.BuildList, error) { panic("mock out the List method") }, PatchFunc: func(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1alpha1a.Build, error) { panic("mock out the Patch method") }, UpdateFunc: func(in1 *v1alpha1a.Build) (*v1alpha1a.Build, error) { panic("mock out the Update method") }, UpdateStatusFunc: func(in1 *v1alpha1a.Build) (*v1alpha1a.Build, error) { panic("mock out the UpdateStatus method") }, WatchFunc: func(namespace string, opts v1.ListOptions) (watch.Interface, error) { panic("mock out the Watch method") }, } // use mockedBuildClient in code that requires BuildClient // and then make assertions. }
func (*BuildClientMock) CreateCalls ¶
func (mock *BuildClientMock) CreateCalls() []struct { In1 *v1alpha1a.Build }
CreateCalls gets all the calls that were made to Create. Check the length with:
len(mockedBuildClient.CreateCalls())
func (*BuildClientMock) Delete ¶
func (mock *BuildClientMock) Delete(namespace string, name string, options *v1.DeleteOptions) error
Delete calls DeleteFunc.
func (*BuildClientMock) DeleteCalls ¶
func (mock *BuildClientMock) DeleteCalls() []struct { Namespace string Name string Options *v1.DeleteOptions }
DeleteCalls gets all the calls that were made to Delete. Check the length with:
len(mockedBuildClient.DeleteCalls())
func (*BuildClientMock) Get ¶
func (mock *BuildClientMock) Get(namespace string, name string, options v1.GetOptions) (*v1alpha1a.Build, error)
Get calls GetFunc.
func (*BuildClientMock) GetCalls ¶
func (mock *BuildClientMock) GetCalls() []struct { Namespace string Name string Options v1.GetOptions }
GetCalls gets all the calls that were made to Get. Check the length with:
len(mockedBuildClient.GetCalls())
func (*BuildClientMock) List ¶
func (mock *BuildClientMock) List(namespace string, opts v1.ListOptions) (*v1alpha1a.BuildList, error)
List calls ListFunc.
func (*BuildClientMock) ListCalls ¶
func (mock *BuildClientMock) ListCalls() []struct { Namespace string Opts v1.ListOptions }
ListCalls gets all the calls that were made to List. Check the length with:
len(mockedBuildClient.ListCalls())
func (*BuildClientMock) Patch ¶
func (mock *BuildClientMock) Patch(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1alpha1a.Build, error)
Patch calls PatchFunc.
func (*BuildClientMock) PatchCalls ¶
func (mock *BuildClientMock) 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(mockedBuildClient.PatchCalls())
func (*BuildClientMock) UpdateCalls ¶
func (mock *BuildClientMock) UpdateCalls() []struct { In1 *v1alpha1a.Build }
UpdateCalls gets all the calls that were made to Update. Check the length with:
len(mockedBuildClient.UpdateCalls())
func (*BuildClientMock) UpdateStatus ¶
UpdateStatus calls UpdateStatusFunc.
func (*BuildClientMock) UpdateStatusCalls ¶
func (mock *BuildClientMock) UpdateStatusCalls() []struct { In1 *v1alpha1a.Build }
UpdateStatusCalls gets all the calls that were made to UpdateStatus. Check the length with:
len(mockedBuildClient.UpdateStatusCalls())
func (*BuildClientMock) Watch ¶
func (mock *BuildClientMock) Watch(namespace string, opts v1.ListOptions) (watch.Interface, error)
Watch calls WatchFunc.
func (*BuildClientMock) WatchCalls ¶
func (mock *BuildClientMock) WatchCalls() []struct { Namespace string Opts v1.ListOptions }
WatchCalls gets all the calls that were made to Watch. Check the length with:
len(mockedBuildClient.WatchCalls())
type BuildControllerMock ¶
type BuildControllerMock 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() v1alpha1.BuildCache // CreateFunc mocks the Create method. CreateFunc func(in1 *v1alpha1a.Build) (*v1alpha1a.Build, error) // DeleteFunc mocks the Delete method. DeleteFunc func(namespace string, name string, options *v1.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 v1.GetOptions) (*v1alpha1a.Build, 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 v1.ListOptions) (*v1alpha1a.BuildList, error) // OnChangeFunc mocks the OnChange method. OnChangeFunc func(ctx context.Context, name string, sync v1alpha1.BuildHandler) // OnRemoveFunc mocks the OnRemove method. OnRemoveFunc func(ctx context.Context, name string, sync v1alpha1.BuildHandler) // PatchFunc mocks the Patch method. PatchFunc func(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1alpha1a.Build, error) // UpdateFunc mocks the Update method. UpdateFunc func(in1 *v1alpha1a.Build) (*v1alpha1a.Build, error) // UpdateStatusFunc mocks the UpdateStatus method. UpdateStatusFunc func(in1 *v1alpha1a.Build) (*v1alpha1a.Build, error) // UpdaterFunc mocks the Updater method. UpdaterFunc func() generic.Updater // WatchFunc mocks the Watch method. WatchFunc func(namespace string, opts v1.ListOptions) (watch.Interface, error) // contains filtered or unexported fields }
BuildControllerMock is a mock implementation of BuildController.
func TestSomethingThatUsesBuildController(t *testing.T) { // make and configure a mocked BuildController mockedBuildController := &BuildControllerMock{ 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() v1alpha1.BuildCache { panic("mock out the Cache method") }, CreateFunc: func(in1 *v1alpha1a.Build) (*v1alpha1a.Build, error) { panic("mock out the Create method") }, DeleteFunc: func(namespace string, name string, options *v1.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 v1.GetOptions) (*v1alpha1a.Build, 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 v1.ListOptions) (*v1alpha1a.BuildList, error) { panic("mock out the List method") }, OnChangeFunc: func(ctx context.Context, name string, sync v1alpha1.BuildHandler) { panic("mock out the OnChange method") }, OnRemoveFunc: func(ctx context.Context, name string, sync v1alpha1.BuildHandler) { panic("mock out the OnRemove method") }, PatchFunc: func(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1alpha1a.Build, error) { panic("mock out the Patch method") }, UpdateFunc: func(in1 *v1alpha1a.Build) (*v1alpha1a.Build, error) { panic("mock out the Update method") }, UpdateStatusFunc: func(in1 *v1alpha1a.Build) (*v1alpha1a.Build, error) { panic("mock out the UpdateStatus method") }, UpdaterFunc: func() generic.Updater { panic("mock out the Updater method") }, WatchFunc: func(namespace string, opts v1.ListOptions) (watch.Interface, error) { panic("mock out the Watch method") }, } // use mockedBuildController in code that requires BuildController // and then make assertions. }
func (*BuildControllerMock) AddGenericHandler ¶
func (mock *BuildControllerMock) AddGenericHandler(ctx context.Context, name string, handler generic.Handler)
AddGenericHandler calls AddGenericHandlerFunc.
func (*BuildControllerMock) AddGenericHandlerCalls ¶
func (mock *BuildControllerMock) 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(mockedBuildController.AddGenericHandlerCalls())
func (*BuildControllerMock) AddGenericRemoveHandler ¶
func (mock *BuildControllerMock) AddGenericRemoveHandler(ctx context.Context, name string, handler generic.Handler)
AddGenericRemoveHandler calls AddGenericRemoveHandlerFunc.
func (*BuildControllerMock) AddGenericRemoveHandlerCalls ¶
func (mock *BuildControllerMock) 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(mockedBuildController.AddGenericRemoveHandlerCalls())
func (*BuildControllerMock) Cache ¶
func (mock *BuildControllerMock) Cache() v1alpha1.BuildCache
Cache calls CacheFunc.
func (*BuildControllerMock) CacheCalls ¶
func (mock *BuildControllerMock) CacheCalls() []struct { }
CacheCalls gets all the calls that were made to Cache. Check the length with:
len(mockedBuildController.CacheCalls())
func (*BuildControllerMock) CreateCalls ¶
func (mock *BuildControllerMock) CreateCalls() []struct { In1 *v1alpha1a.Build }
CreateCalls gets all the calls that were made to Create. Check the length with:
len(mockedBuildController.CreateCalls())
func (*BuildControllerMock) Delete ¶
func (mock *BuildControllerMock) Delete(namespace string, name string, options *v1.DeleteOptions) error
Delete calls DeleteFunc.
func (*BuildControllerMock) DeleteCalls ¶
func (mock *BuildControllerMock) DeleteCalls() []struct { Namespace string Name string Options *v1.DeleteOptions }
DeleteCalls gets all the calls that were made to Delete. Check the length with:
len(mockedBuildController.DeleteCalls())
func (*BuildControllerMock) Enqueue ¶
func (mock *BuildControllerMock) Enqueue(namespace string, name string)
Enqueue calls EnqueueFunc.
func (*BuildControllerMock) EnqueueCalls ¶
func (mock *BuildControllerMock) EnqueueCalls() []struct { Namespace string Name string }
EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:
len(mockedBuildController.EnqueueCalls())
func (*BuildControllerMock) Get ¶
func (mock *BuildControllerMock) Get(namespace string, name string, options v1.GetOptions) (*v1alpha1a.Build, error)
Get calls GetFunc.
func (*BuildControllerMock) GetCalls ¶
func (mock *BuildControllerMock) GetCalls() []struct { Namespace string Name string Options v1.GetOptions }
GetCalls gets all the calls that were made to Get. Check the length with:
len(mockedBuildController.GetCalls())
func (*BuildControllerMock) GroupVersionKind ¶
func (mock *BuildControllerMock) GroupVersionKind() schema.GroupVersionKind
GroupVersionKind calls GroupVersionKindFunc.
func (*BuildControllerMock) GroupVersionKindCalls ¶
func (mock *BuildControllerMock) GroupVersionKindCalls() []struct { }
GroupVersionKindCalls gets all the calls that were made to GroupVersionKind. Check the length with:
len(mockedBuildController.GroupVersionKindCalls())
func (*BuildControllerMock) Informer ¶
func (mock *BuildControllerMock) Informer() cache.SharedIndexInformer
Informer calls InformerFunc.
func (*BuildControllerMock) InformerCalls ¶
func (mock *BuildControllerMock) InformerCalls() []struct { }
InformerCalls gets all the calls that were made to Informer. Check the length with:
len(mockedBuildController.InformerCalls())
func (*BuildControllerMock) List ¶
func (mock *BuildControllerMock) List(namespace string, opts v1.ListOptions) (*v1alpha1a.BuildList, error)
List calls ListFunc.
func (*BuildControllerMock) ListCalls ¶
func (mock *BuildControllerMock) ListCalls() []struct { Namespace string Opts v1.ListOptions }
ListCalls gets all the calls that were made to List. Check the length with:
len(mockedBuildController.ListCalls())
func (*BuildControllerMock) OnChange ¶
func (mock *BuildControllerMock) OnChange(ctx context.Context, name string, sync v1alpha1.BuildHandler)
OnChange calls OnChangeFunc.
func (*BuildControllerMock) OnChangeCalls ¶
func (mock *BuildControllerMock) OnChangeCalls() []struct { Ctx context.Context Name string Sync v1alpha1.BuildHandler }
OnChangeCalls gets all the calls that were made to OnChange. Check the length with:
len(mockedBuildController.OnChangeCalls())
func (*BuildControllerMock) OnRemove ¶
func (mock *BuildControllerMock) OnRemove(ctx context.Context, name string, sync v1alpha1.BuildHandler)
OnRemove calls OnRemoveFunc.
func (*BuildControllerMock) OnRemoveCalls ¶
func (mock *BuildControllerMock) OnRemoveCalls() []struct { Ctx context.Context Name string Sync v1alpha1.BuildHandler }
OnRemoveCalls gets all the calls that were made to OnRemove. Check the length with:
len(mockedBuildController.OnRemoveCalls())
func (*BuildControllerMock) Patch ¶
func (mock *BuildControllerMock) Patch(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1alpha1a.Build, error)
Patch calls PatchFunc.
func (*BuildControllerMock) PatchCalls ¶
func (mock *BuildControllerMock) 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(mockedBuildController.PatchCalls())
func (*BuildControllerMock) UpdateCalls ¶
func (mock *BuildControllerMock) UpdateCalls() []struct { In1 *v1alpha1a.Build }
UpdateCalls gets all the calls that were made to Update. Check the length with:
len(mockedBuildController.UpdateCalls())
func (*BuildControllerMock) UpdateStatus ¶
UpdateStatus calls UpdateStatusFunc.
func (*BuildControllerMock) UpdateStatusCalls ¶
func (mock *BuildControllerMock) UpdateStatusCalls() []struct { In1 *v1alpha1a.Build }
UpdateStatusCalls gets all the calls that were made to UpdateStatus. Check the length with:
len(mockedBuildController.UpdateStatusCalls())
func (*BuildControllerMock) Updater ¶
func (mock *BuildControllerMock) Updater() generic.Updater
Updater calls UpdaterFunc.
func (*BuildControllerMock) UpdaterCalls ¶
func (mock *BuildControllerMock) UpdaterCalls() []struct { }
UpdaterCalls gets all the calls that were made to Updater. Check the length with:
len(mockedBuildController.UpdaterCalls())
func (*BuildControllerMock) Watch ¶
func (mock *BuildControllerMock) Watch(namespace string, opts v1.ListOptions) (watch.Interface, error)
Watch calls WatchFunc.
func (*BuildControllerMock) WatchCalls ¶
func (mock *BuildControllerMock) WatchCalls() []struct { Namespace string Opts v1.ListOptions }
WatchCalls gets all the calls that were made to Watch. Check the length with:
len(mockedBuildController.WatchCalls())