Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockPrometheusConfigClient
- func (m *MockPrometheusConfigClient) BaseClient() clients.ResourceClient
- func (m *MockPrometheusConfigClient) Delete(namespace, name string, opts clients.DeleteOpts) error
- func (m *MockPrometheusConfigClient) EXPECT() *MockPrometheusConfigClientMockRecorder
- func (m *MockPrometheusConfigClient) List(namespace string, opts clients.ListOpts) (v1.PrometheusConfigList, error)
- func (m *MockPrometheusConfigClient) Read(namespace, name string, opts clients.ReadOpts) (*v1.PrometheusConfig, error)
- func (m *MockPrometheusConfigClient) Register() error
- func (m *MockPrometheusConfigClient) Watch(namespace string, opts clients.WatchOpts) (<-chan v1.PrometheusConfigList, <-chan error, error)
- func (m *MockPrometheusConfigClient) Write(resource *v1.PrometheusConfig, opts clients.WriteOpts) (*v1.PrometheusConfig, error)
- type MockPrometheusConfigClientMockRecorder
- func (mr *MockPrometheusConfigClientMockRecorder) BaseClient() *gomock.Call
- func (mr *MockPrometheusConfigClientMockRecorder) Delete(namespace, name, opts interface{}) *gomock.Call
- func (mr *MockPrometheusConfigClientMockRecorder) List(namespace, opts interface{}) *gomock.Call
- func (mr *MockPrometheusConfigClientMockRecorder) Read(namespace, name, opts interface{}) *gomock.Call
- func (mr *MockPrometheusConfigClientMockRecorder) Register() *gomock.Call
- func (mr *MockPrometheusConfigClientMockRecorder) Watch(namespace, opts interface{}) *gomock.Call
- func (mr *MockPrometheusConfigClientMockRecorder) Write(resource, opts interface{}) *gomock.Call
- type MockPrometheusConfigReconciler
- type MockPrometheusConfigReconcilerMockRecorder
- type MockPrometheusConfigWatcher
- type MockPrometheusConfigWatcherMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPrometheusConfigClient ¶
type MockPrometheusConfigClient struct {
// contains filtered or unexported fields
}
MockPrometheusConfigClient is a mock of PrometheusConfigClient interface
func NewMockPrometheusConfigClient ¶
func NewMockPrometheusConfigClient(ctrl *gomock.Controller) *MockPrometheusConfigClient
NewMockPrometheusConfigClient creates a new mock instance
func (*MockPrometheusConfigClient) BaseClient ¶
func (m *MockPrometheusConfigClient) BaseClient() clients.ResourceClient
BaseClient mocks base method
func (*MockPrometheusConfigClient) Delete ¶
func (m *MockPrometheusConfigClient) Delete(namespace, name string, opts clients.DeleteOpts) error
Delete mocks base method
func (*MockPrometheusConfigClient) EXPECT ¶
func (m *MockPrometheusConfigClient) EXPECT() *MockPrometheusConfigClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPrometheusConfigClient) List ¶
func (m *MockPrometheusConfigClient) List(namespace string, opts clients.ListOpts) (v1.PrometheusConfigList, error)
List mocks base method
func (*MockPrometheusConfigClient) Read ¶
func (m *MockPrometheusConfigClient) Read(namespace, name string, opts clients.ReadOpts) (*v1.PrometheusConfig, error)
Read mocks base method
func (*MockPrometheusConfigClient) Register ¶
func (m *MockPrometheusConfigClient) Register() error
Register mocks base method
func (*MockPrometheusConfigClient) Watch ¶
func (m *MockPrometheusConfigClient) Watch(namespace string, opts clients.WatchOpts) (<-chan v1.PrometheusConfigList, <-chan error, error)
Watch mocks base method
func (*MockPrometheusConfigClient) Write ¶
func (m *MockPrometheusConfigClient) Write(resource *v1.PrometheusConfig, opts clients.WriteOpts) (*v1.PrometheusConfig, error)
Write mocks base method
type MockPrometheusConfigClientMockRecorder ¶
type MockPrometheusConfigClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPrometheusConfigClientMockRecorder is the mock recorder for MockPrometheusConfigClient
func (*MockPrometheusConfigClientMockRecorder) BaseClient ¶
func (mr *MockPrometheusConfigClientMockRecorder) BaseClient() *gomock.Call
BaseClient indicates an expected call of BaseClient
func (*MockPrometheusConfigClientMockRecorder) Delete ¶
func (mr *MockPrometheusConfigClientMockRecorder) Delete(namespace, name, opts interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockPrometheusConfigClientMockRecorder) List ¶
func (mr *MockPrometheusConfigClientMockRecorder) List(namespace, opts interface{}) *gomock.Call
List indicates an expected call of List
func (*MockPrometheusConfigClientMockRecorder) Read ¶
func (mr *MockPrometheusConfigClientMockRecorder) Read(namespace, name, opts interface{}) *gomock.Call
Read indicates an expected call of Read
func (*MockPrometheusConfigClientMockRecorder) Register ¶
func (mr *MockPrometheusConfigClientMockRecorder) Register() *gomock.Call
Register indicates an expected call of Register
func (*MockPrometheusConfigClientMockRecorder) Watch ¶
func (mr *MockPrometheusConfigClientMockRecorder) Watch(namespace, opts interface{}) *gomock.Call
Watch indicates an expected call of Watch
func (*MockPrometheusConfigClientMockRecorder) Write ¶
func (mr *MockPrometheusConfigClientMockRecorder) Write(resource, opts interface{}) *gomock.Call
Write indicates an expected call of Write
type MockPrometheusConfigReconciler ¶
type MockPrometheusConfigReconciler struct {
// contains filtered or unexported fields
}
MockPrometheusConfigReconciler is a mock of PrometheusConfigReconciler interface
func NewMockPrometheusConfigReconciler ¶
func NewMockPrometheusConfigReconciler(ctrl *gomock.Controller) *MockPrometheusConfigReconciler
NewMockPrometheusConfigReconciler creates a new mock instance
func (*MockPrometheusConfigReconciler) EXPECT ¶
func (m *MockPrometheusConfigReconciler) EXPECT() *MockPrometheusConfigReconcilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPrometheusConfigReconciler) Reconcile ¶
func (m *MockPrometheusConfigReconciler) Reconcile(namespace string, desiredResources v1.PrometheusConfigList, transition v1.TransitionPrometheusConfigFunc, opts clients.ListOpts) error
Reconcile mocks base method
type MockPrometheusConfigReconcilerMockRecorder ¶
type MockPrometheusConfigReconcilerMockRecorder struct {
// contains filtered or unexported fields
}
MockPrometheusConfigReconcilerMockRecorder is the mock recorder for MockPrometheusConfigReconciler
func (*MockPrometheusConfigReconcilerMockRecorder) Reconcile ¶
func (mr *MockPrometheusConfigReconcilerMockRecorder) Reconcile(namespace, desiredResources, transition, opts interface{}) *gomock.Call
Reconcile indicates an expected call of Reconcile
type MockPrometheusConfigWatcher ¶ added in v0.3.18
type MockPrometheusConfigWatcher struct {
// contains filtered or unexported fields
}
MockPrometheusConfigWatcher is a mock of PrometheusConfigWatcher interface
func NewMockPrometheusConfigWatcher ¶ added in v0.3.18
func NewMockPrometheusConfigWatcher(ctrl *gomock.Controller) *MockPrometheusConfigWatcher
NewMockPrometheusConfigWatcher creates a new mock instance
func (*MockPrometheusConfigWatcher) EXPECT ¶ added in v0.3.18
func (m *MockPrometheusConfigWatcher) EXPECT() *MockPrometheusConfigWatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPrometheusConfigWatcher) Watch ¶ added in v0.3.18
func (m *MockPrometheusConfigWatcher) Watch(namespace string, opts clients.WatchOpts) (<-chan v1.PrometheusConfigList, <-chan error, error)
Watch mocks base method
type MockPrometheusConfigWatcherMockRecorder ¶ added in v0.3.18
type MockPrometheusConfigWatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockPrometheusConfigWatcherMockRecorder is the mock recorder for MockPrometheusConfigWatcher
func (*MockPrometheusConfigWatcherMockRecorder) Watch ¶ added in v0.3.18
func (mr *MockPrometheusConfigWatcherMockRecorder) Watch(namespace, opts interface{}) *gomock.Call
Watch indicates an expected call of Watch