Documentation
¶
Index ¶
- type MockConfigMapStore
- type MockConfigMapStore_Expecter
- func (_e *MockConfigMapStore_Expecter) GetConfigmapByNameAndNamespace(name interface{}, namespace interface{}) *MockConfigMapStore_GetConfigmapByNameAndNamespace_Call
- func (_e *MockConfigMapStore_Expecter) Run() *MockConfigMapStore_Run_Call
- func (_e *MockConfigMapStore_Expecter) Stop() *MockConfigMapStore_Stop_Call
- type MockConfigMapStore_GetConfigmapByNameAndNamespace_Call
- func (_c *MockConfigMapStore_GetConfigmapByNameAndNamespace_Call) Return(configMap *v1.ConfigMap, err error) *MockConfigMapStore_GetConfigmapByNameAndNamespace_Call
- func (_c *MockConfigMapStore_GetConfigmapByNameAndNamespace_Call) Run(run func(name string, namespace string)) *MockConfigMapStore_GetConfigmapByNameAndNamespace_Call
- func (_c *MockConfigMapStore_GetConfigmapByNameAndNamespace_Call) RunAndReturn(run func(name string, namespace string) (*v1.ConfigMap, error)) *MockConfigMapStore_GetConfigmapByNameAndNamespace_Call
- type MockConfigMapStore_Run_Call
- type MockConfigMapStore_Stop_Call
- type MockSecretStore
- type MockSecretStore_Expecter
- type MockSecretStore_GetSecretByNameAndNamespace_Call
- func (_c *MockSecretStore_GetSecretByNameAndNamespace_Call) Return(secret *v1.Secret, err error) *MockSecretStore_GetSecretByNameAndNamespace_Call
- func (_c *MockSecretStore_GetSecretByNameAndNamespace_Call) Run(run func(name string, namespace string)) *MockSecretStore_GetSecretByNameAndNamespace_Call
- func (_c *MockSecretStore_GetSecretByNameAndNamespace_Call) RunAndReturn(run func(name string, namespace string) (*v1.Secret, error)) *MockSecretStore_GetSecretByNameAndNamespace_Call
- type MockSecretStore_Run_Call
- type MockSecretStore_Stop_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConfigMapStore ¶
MockConfigMapStore is an autogenerated mock type for the ConfigMapStore type
func NewMockConfigMapStore ¶
func NewMockConfigMapStore(t interface {
mock.TestingT
Cleanup(func())
}) *MockConfigMapStore
NewMockConfigMapStore creates a new instance of MockConfigMapStore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockConfigMapStore) EXPECT ¶
func (_m *MockConfigMapStore) EXPECT() *MockConfigMapStore_Expecter
func (*MockConfigMapStore) GetConfigmapByNameAndNamespace ¶
func (_mock *MockConfigMapStore) GetConfigmapByNameAndNamespace(name string, namespace string) (*v1.ConfigMap, error)
GetConfigmapByNameAndNamespace provides a mock function for the type MockConfigMapStore
func (*MockConfigMapStore) Run ¶
func (_mock *MockConfigMapStore) Run() error
Run provides a mock function for the type MockConfigMapStore
func (*MockConfigMapStore) Stop ¶
func (_mock *MockConfigMapStore) Stop()
Stop provides a mock function for the type MockConfigMapStore
type MockConfigMapStore_Expecter ¶
type MockConfigMapStore_Expecter struct {
// contains filtered or unexported fields
}
func (*MockConfigMapStore_Expecter) GetConfigmapByNameAndNamespace ¶
func (_e *MockConfigMapStore_Expecter) GetConfigmapByNameAndNamespace(name interface{}, namespace interface{}) *MockConfigMapStore_GetConfigmapByNameAndNamespace_Call
GetConfigmapByNameAndNamespace is a helper method to define mock.On call
- name string
- namespace string
func (*MockConfigMapStore_Expecter) Run ¶
func (_e *MockConfigMapStore_Expecter) Run() *MockConfigMapStore_Run_Call
Run is a helper method to define mock.On call
func (*MockConfigMapStore_Expecter) Stop ¶
func (_e *MockConfigMapStore_Expecter) Stop() *MockConfigMapStore_Stop_Call
Stop is a helper method to define mock.On call
type MockConfigMapStore_GetConfigmapByNameAndNamespace_Call ¶
MockConfigMapStore_GetConfigmapByNameAndNamespace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConfigmapByNameAndNamespace'
func (*MockConfigMapStore_GetConfigmapByNameAndNamespace_Call) Return ¶
func (_c *MockConfigMapStore_GetConfigmapByNameAndNamespace_Call) Return(configMap *v1.ConfigMap, err error) *MockConfigMapStore_GetConfigmapByNameAndNamespace_Call
func (*MockConfigMapStore_GetConfigmapByNameAndNamespace_Call) Run ¶
func (_c *MockConfigMapStore_GetConfigmapByNameAndNamespace_Call) Run(run func(name string, namespace string)) *MockConfigMapStore_GetConfigmapByNameAndNamespace_Call
func (*MockConfigMapStore_GetConfigmapByNameAndNamespace_Call) RunAndReturn ¶
func (_c *MockConfigMapStore_GetConfigmapByNameAndNamespace_Call) RunAndReturn(run func(name string, namespace string) (*v1.ConfigMap, error)) *MockConfigMapStore_GetConfigmapByNameAndNamespace_Call
type MockConfigMapStore_Run_Call ¶
MockConfigMapStore_Run_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Run'
func (*MockConfigMapStore_Run_Call) Return ¶
func (_c *MockConfigMapStore_Run_Call) Return(err error) *MockConfigMapStore_Run_Call
func (*MockConfigMapStore_Run_Call) Run ¶
func (_c *MockConfigMapStore_Run_Call) Run(run func()) *MockConfigMapStore_Run_Call
func (*MockConfigMapStore_Run_Call) RunAndReturn ¶
func (_c *MockConfigMapStore_Run_Call) RunAndReturn(run func() error) *MockConfigMapStore_Run_Call
type MockConfigMapStore_Stop_Call ¶
MockConfigMapStore_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'
func (*MockConfigMapStore_Stop_Call) Return ¶
func (_c *MockConfigMapStore_Stop_Call) Return() *MockConfigMapStore_Stop_Call
func (*MockConfigMapStore_Stop_Call) Run ¶
func (_c *MockConfigMapStore_Stop_Call) Run(run func()) *MockConfigMapStore_Stop_Call
func (*MockConfigMapStore_Stop_Call) RunAndReturn ¶
func (_c *MockConfigMapStore_Stop_Call) RunAndReturn(run func()) *MockConfigMapStore_Stop_Call
type MockSecretStore ¶
MockSecretStore is an autogenerated mock type for the SecretStore type
func NewMockSecretStore ¶
func NewMockSecretStore(t interface {
mock.TestingT
Cleanup(func())
}) *MockSecretStore
NewMockSecretStore creates a new instance of MockSecretStore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockSecretStore) EXPECT ¶
func (_m *MockSecretStore) EXPECT() *MockSecretStore_Expecter
func (*MockSecretStore) GetSecretByNameAndNamespace ¶
func (_mock *MockSecretStore) GetSecretByNameAndNamespace(name string, namespace string) (*v1.Secret, error)
GetSecretByNameAndNamespace provides a mock function for the type MockSecretStore
func (*MockSecretStore) Run ¶
func (_mock *MockSecretStore) Run() error
Run provides a mock function for the type MockSecretStore
func (*MockSecretStore) Stop ¶
func (_mock *MockSecretStore) Stop()
Stop provides a mock function for the type MockSecretStore
type MockSecretStore_Expecter ¶
type MockSecretStore_Expecter struct {
// contains filtered or unexported fields
}
func (*MockSecretStore_Expecter) GetSecretByNameAndNamespace ¶
func (_e *MockSecretStore_Expecter) GetSecretByNameAndNamespace(name interface{}, namespace interface{}) *MockSecretStore_GetSecretByNameAndNamespace_Call
GetSecretByNameAndNamespace is a helper method to define mock.On call
- name string
- namespace string
func (*MockSecretStore_Expecter) Run ¶
func (_e *MockSecretStore_Expecter) Run() *MockSecretStore_Run_Call
Run is a helper method to define mock.On call
func (*MockSecretStore_Expecter) Stop ¶
func (_e *MockSecretStore_Expecter) Stop() *MockSecretStore_Stop_Call
Stop is a helper method to define mock.On call
type MockSecretStore_GetSecretByNameAndNamespace_Call ¶
MockSecretStore_GetSecretByNameAndNamespace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSecretByNameAndNamespace'
func (*MockSecretStore_GetSecretByNameAndNamespace_Call) Return ¶
func (_c *MockSecretStore_GetSecretByNameAndNamespace_Call) Return(secret *v1.Secret, err error) *MockSecretStore_GetSecretByNameAndNamespace_Call
func (*MockSecretStore_GetSecretByNameAndNamespace_Call) Run ¶
func (_c *MockSecretStore_GetSecretByNameAndNamespace_Call) Run(run func(name string, namespace string)) *MockSecretStore_GetSecretByNameAndNamespace_Call
func (*MockSecretStore_GetSecretByNameAndNamespace_Call) RunAndReturn ¶
func (_c *MockSecretStore_GetSecretByNameAndNamespace_Call) RunAndReturn(run func(name string, namespace string) (*v1.Secret, error)) *MockSecretStore_GetSecretByNameAndNamespace_Call
type MockSecretStore_Run_Call ¶
MockSecretStore_Run_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Run'
func (*MockSecretStore_Run_Call) Return ¶
func (_c *MockSecretStore_Run_Call) Return(err error) *MockSecretStore_Run_Call
func (*MockSecretStore_Run_Call) Run ¶
func (_c *MockSecretStore_Run_Call) Run(run func()) *MockSecretStore_Run_Call
func (*MockSecretStore_Run_Call) RunAndReturn ¶
func (_c *MockSecretStore_Run_Call) RunAndReturn(run func() error) *MockSecretStore_Run_Call
type MockSecretStore_Stop_Call ¶
MockSecretStore_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'
func (*MockSecretStore_Stop_Call) Return ¶
func (_c *MockSecretStore_Stop_Call) Return() *MockSecretStore_Stop_Call
func (*MockSecretStore_Stop_Call) Run ¶
func (_c *MockSecretStore_Stop_Call) Run(run func()) *MockSecretStore_Stop_Call
func (*MockSecretStore_Stop_Call) RunAndReturn ¶
func (_c *MockSecretStore_Stop_Call) RunAndReturn(run func()) *MockSecretStore_Stop_Call