Documentation ¶
Overview ¶
Package mock_v1 is a generated GoMock package.
Index ¶
- type MockClientset
- type MockClientsetMockRecorder
- type MockDashboardClient
- func (m *MockDashboardClient) CreateDashboard(ctx context.Context, obj *v1.Dashboard, opts ...client.CreateOption) error
- func (m *MockDashboardClient) DeleteAllOfDashboard(ctx context.Context, opts ...client.DeleteAllOfOption) error
- func (m *MockDashboardClient) DeleteDashboard(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error
- func (m *MockDashboardClient) EXPECT() *MockDashboardClientMockRecorder
- func (m *MockDashboardClient) GetDashboard(ctx context.Context, key client.ObjectKey) (*v1.Dashboard, error)
- func (m *MockDashboardClient) ListDashboard(ctx context.Context, opts ...client.ListOption) (*v1.DashboardList, error)
- func (m *MockDashboardClient) PatchDashboard(ctx context.Context, obj *v1.Dashboard, patch client.Patch, ...) error
- func (m *MockDashboardClient) PatchDashboardStatus(ctx context.Context, obj *v1.Dashboard, patch client.Patch, ...) error
- func (m *MockDashboardClient) UpdateDashboard(ctx context.Context, obj *v1.Dashboard, opts ...client.UpdateOption) error
- func (m *MockDashboardClient) UpdateDashboardStatus(ctx context.Context, obj *v1.Dashboard, opts ...client.UpdateOption) error
- func (m *MockDashboardClient) UpsertDashboard(ctx context.Context, obj *v1.Dashboard, ...) error
- type MockDashboardClientMockRecorder
- func (mr *MockDashboardClientMockRecorder) CreateDashboard(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDashboardClientMockRecorder) DeleteAllOfDashboard(ctx interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDashboardClientMockRecorder) DeleteDashboard(ctx, key interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDashboardClientMockRecorder) GetDashboard(ctx, key interface{}) *gomock.Call
- func (mr *MockDashboardClientMockRecorder) ListDashboard(ctx interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDashboardClientMockRecorder) PatchDashboard(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDashboardClientMockRecorder) PatchDashboardStatus(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDashboardClientMockRecorder) UpdateDashboard(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDashboardClientMockRecorder) UpdateDashboardStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDashboardClientMockRecorder) UpsertDashboard(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
- type MockDashboardReader
- type MockDashboardReaderMockRecorder
- type MockDashboardStatusWriter
- func (m *MockDashboardStatusWriter) EXPECT() *MockDashboardStatusWriterMockRecorder
- func (m *MockDashboardStatusWriter) PatchDashboardStatus(ctx context.Context, obj *v1.Dashboard, patch client.Patch, ...) error
- func (m *MockDashboardStatusWriter) UpdateDashboardStatus(ctx context.Context, obj *v1.Dashboard, opts ...client.UpdateOption) error
- type MockDashboardStatusWriterMockRecorder
- type MockDashboardWriter
- func (m *MockDashboardWriter) CreateDashboard(ctx context.Context, obj *v1.Dashboard, opts ...client.CreateOption) error
- func (m *MockDashboardWriter) DeleteAllOfDashboard(ctx context.Context, opts ...client.DeleteAllOfOption) error
- func (m *MockDashboardWriter) DeleteDashboard(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error
- func (m *MockDashboardWriter) EXPECT() *MockDashboardWriterMockRecorder
- func (m *MockDashboardWriter) PatchDashboard(ctx context.Context, obj *v1.Dashboard, patch client.Patch, ...) error
- func (m *MockDashboardWriter) UpdateDashboard(ctx context.Context, obj *v1.Dashboard, opts ...client.UpdateOption) error
- func (m *MockDashboardWriter) UpsertDashboard(ctx context.Context, obj *v1.Dashboard, ...) error
- type MockDashboardWriterMockRecorder
- func (mr *MockDashboardWriterMockRecorder) CreateDashboard(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDashboardWriterMockRecorder) DeleteAllOfDashboard(ctx interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDashboardWriterMockRecorder) DeleteDashboard(ctx, key interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDashboardWriterMockRecorder) PatchDashboard(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDashboardWriterMockRecorder) UpdateDashboard(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDashboardWriterMockRecorder) UpsertDashboard(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
- type MockMulticlusterClientset
- type MockMulticlusterClientsetMockRecorder
- type MockMulticlusterDashboardClient
- type MockMulticlusterDashboardClientMockRecorder
- type MockMulticlusterSettingsClient
- type MockMulticlusterSettingsClientMockRecorder
- type MockSettingsClient
- func (m *MockSettingsClient) CreateSettings(ctx context.Context, obj *v1.Settings, opts ...client.CreateOption) error
- func (m *MockSettingsClient) DeleteAllOfSettings(ctx context.Context, opts ...client.DeleteAllOfOption) error
- func (m *MockSettingsClient) DeleteSettings(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error
- func (m *MockSettingsClient) EXPECT() *MockSettingsClientMockRecorder
- func (m *MockSettingsClient) GetSettings(ctx context.Context, key client.ObjectKey) (*v1.Settings, error)
- func (m *MockSettingsClient) ListSettings(ctx context.Context, opts ...client.ListOption) (*v1.SettingsList, error)
- func (m *MockSettingsClient) PatchSettings(ctx context.Context, obj *v1.Settings, patch client.Patch, ...) error
- func (m *MockSettingsClient) PatchSettingsStatus(ctx context.Context, obj *v1.Settings, patch client.Patch, ...) error
- func (m *MockSettingsClient) UpdateSettings(ctx context.Context, obj *v1.Settings, opts ...client.UpdateOption) error
- func (m *MockSettingsClient) UpdateSettingsStatus(ctx context.Context, obj *v1.Settings, opts ...client.UpdateOption) error
- func (m *MockSettingsClient) UpsertSettings(ctx context.Context, obj *v1.Settings, ...) error
- type MockSettingsClientMockRecorder
- func (mr *MockSettingsClientMockRecorder) CreateSettings(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSettingsClientMockRecorder) DeleteAllOfSettings(ctx interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSettingsClientMockRecorder) DeleteSettings(ctx, key interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSettingsClientMockRecorder) GetSettings(ctx, key interface{}) *gomock.Call
- func (mr *MockSettingsClientMockRecorder) ListSettings(ctx interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSettingsClientMockRecorder) PatchSettings(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSettingsClientMockRecorder) PatchSettingsStatus(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSettingsClientMockRecorder) UpdateSettings(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSettingsClientMockRecorder) UpdateSettingsStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSettingsClientMockRecorder) UpsertSettings(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
- type MockSettingsReader
- type MockSettingsReaderMockRecorder
- type MockSettingsStatusWriter
- func (m *MockSettingsStatusWriter) EXPECT() *MockSettingsStatusWriterMockRecorder
- func (m *MockSettingsStatusWriter) PatchSettingsStatus(ctx context.Context, obj *v1.Settings, patch client.Patch, ...) error
- func (m *MockSettingsStatusWriter) UpdateSettingsStatus(ctx context.Context, obj *v1.Settings, opts ...client.UpdateOption) error
- type MockSettingsStatusWriterMockRecorder
- type MockSettingsWriter
- func (m *MockSettingsWriter) CreateSettings(ctx context.Context, obj *v1.Settings, opts ...client.CreateOption) error
- func (m *MockSettingsWriter) DeleteAllOfSettings(ctx context.Context, opts ...client.DeleteAllOfOption) error
- func (m *MockSettingsWriter) DeleteSettings(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error
- func (m *MockSettingsWriter) EXPECT() *MockSettingsWriterMockRecorder
- func (m *MockSettingsWriter) PatchSettings(ctx context.Context, obj *v1.Settings, patch client.Patch, ...) error
- func (m *MockSettingsWriter) UpdateSettings(ctx context.Context, obj *v1.Settings, opts ...client.UpdateOption) error
- func (m *MockSettingsWriter) UpsertSettings(ctx context.Context, obj *v1.Settings, ...) error
- type MockSettingsWriterMockRecorder
- func (mr *MockSettingsWriterMockRecorder) CreateSettings(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSettingsWriterMockRecorder) DeleteAllOfSettings(ctx interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSettingsWriterMockRecorder) DeleteSettings(ctx, key interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSettingsWriterMockRecorder) PatchSettings(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSettingsWriterMockRecorder) UpdateSettings(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSettingsWriterMockRecorder) UpsertSettings(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientset ¶
type MockClientset struct {
// contains filtered or unexported fields
}
MockClientset is a mock of Clientset interface.
func NewMockClientset ¶
func NewMockClientset(ctrl *gomock.Controller) *MockClientset
NewMockClientset creates a new mock instance.
func (*MockClientset) Dashboards ¶ added in v1.1.0
func (m *MockClientset) Dashboards() v1.DashboardClient
Dashboards mocks base method.
func (*MockClientset) EXPECT ¶
func (m *MockClientset) EXPECT() *MockClientsetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientset) Settings ¶
func (m *MockClientset) Settings() v1.SettingsClient
Settings mocks base method.
type MockClientsetMockRecorder ¶
type MockClientsetMockRecorder struct {
// contains filtered or unexported fields
}
MockClientsetMockRecorder is the mock recorder for MockClientset.
func (*MockClientsetMockRecorder) Dashboards ¶ added in v1.1.0
func (mr *MockClientsetMockRecorder) Dashboards() *gomock.Call
Dashboards indicates an expected call of Dashboards.
func (*MockClientsetMockRecorder) Settings ¶
func (mr *MockClientsetMockRecorder) Settings() *gomock.Call
Settings indicates an expected call of Settings.
type MockDashboardClient ¶ added in v1.1.0
type MockDashboardClient struct {
// contains filtered or unexported fields
}
MockDashboardClient is a mock of DashboardClient interface.
func NewMockDashboardClient ¶ added in v1.1.0
func NewMockDashboardClient(ctrl *gomock.Controller) *MockDashboardClient
NewMockDashboardClient creates a new mock instance.
func (*MockDashboardClient) CreateDashboard ¶ added in v1.1.0
func (m *MockDashboardClient) CreateDashboard(ctx context.Context, obj *v1.Dashboard, opts ...client.CreateOption) error
CreateDashboard mocks base method.
func (*MockDashboardClient) DeleteAllOfDashboard ¶ added in v1.1.0
func (m *MockDashboardClient) DeleteAllOfDashboard(ctx context.Context, opts ...client.DeleteAllOfOption) error
DeleteAllOfDashboard mocks base method.
func (*MockDashboardClient) DeleteDashboard ¶ added in v1.1.0
func (m *MockDashboardClient) DeleteDashboard(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error
DeleteDashboard mocks base method.
func (*MockDashboardClient) EXPECT ¶ added in v1.1.0
func (m *MockDashboardClient) EXPECT() *MockDashboardClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDashboardClient) GetDashboard ¶ added in v1.1.0
func (m *MockDashboardClient) GetDashboard(ctx context.Context, key client.ObjectKey) (*v1.Dashboard, error)
GetDashboard mocks base method.
func (*MockDashboardClient) ListDashboard ¶ added in v1.1.0
func (m *MockDashboardClient) ListDashboard(ctx context.Context, opts ...client.ListOption) (*v1.DashboardList, error)
ListDashboard mocks base method.
func (*MockDashboardClient) PatchDashboard ¶ added in v1.1.0
func (m *MockDashboardClient) PatchDashboard(ctx context.Context, obj *v1.Dashboard, patch client.Patch, opts ...client.PatchOption) error
PatchDashboard mocks base method.
func (*MockDashboardClient) PatchDashboardStatus ¶ added in v1.1.0
func (m *MockDashboardClient) PatchDashboardStatus(ctx context.Context, obj *v1.Dashboard, patch client.Patch, opts ...client.PatchOption) error
PatchDashboardStatus mocks base method.
func (*MockDashboardClient) UpdateDashboard ¶ added in v1.1.0
func (m *MockDashboardClient) UpdateDashboard(ctx context.Context, obj *v1.Dashboard, opts ...client.UpdateOption) error
UpdateDashboard mocks base method.
func (*MockDashboardClient) UpdateDashboardStatus ¶ added in v1.1.0
func (m *MockDashboardClient) UpdateDashboardStatus(ctx context.Context, obj *v1.Dashboard, opts ...client.UpdateOption) error
UpdateDashboardStatus mocks base method.
func (*MockDashboardClient) UpsertDashboard ¶ added in v1.1.0
func (m *MockDashboardClient) UpsertDashboard(ctx context.Context, obj *v1.Dashboard, transitionFuncs ...v1.DashboardTransitionFunction) error
UpsertDashboard mocks base method.
type MockDashboardClientMockRecorder ¶ added in v1.1.0
type MockDashboardClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDashboardClientMockRecorder is the mock recorder for MockDashboardClient.
func (*MockDashboardClientMockRecorder) CreateDashboard ¶ added in v1.1.0
func (mr *MockDashboardClientMockRecorder) CreateDashboard(ctx, obj interface{}, opts ...interface{}) *gomock.Call
CreateDashboard indicates an expected call of CreateDashboard.
func (*MockDashboardClientMockRecorder) DeleteAllOfDashboard ¶ added in v1.1.0
func (mr *MockDashboardClientMockRecorder) DeleteAllOfDashboard(ctx interface{}, opts ...interface{}) *gomock.Call
DeleteAllOfDashboard indicates an expected call of DeleteAllOfDashboard.
func (*MockDashboardClientMockRecorder) DeleteDashboard ¶ added in v1.1.0
func (mr *MockDashboardClientMockRecorder) DeleteDashboard(ctx, key interface{}, opts ...interface{}) *gomock.Call
DeleteDashboard indicates an expected call of DeleteDashboard.
func (*MockDashboardClientMockRecorder) GetDashboard ¶ added in v1.1.0
func (mr *MockDashboardClientMockRecorder) GetDashboard(ctx, key interface{}) *gomock.Call
GetDashboard indicates an expected call of GetDashboard.
func (*MockDashboardClientMockRecorder) ListDashboard ¶ added in v1.1.0
func (mr *MockDashboardClientMockRecorder) ListDashboard(ctx interface{}, opts ...interface{}) *gomock.Call
ListDashboard indicates an expected call of ListDashboard.
func (*MockDashboardClientMockRecorder) PatchDashboard ¶ added in v1.1.0
func (mr *MockDashboardClientMockRecorder) PatchDashboard(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchDashboard indicates an expected call of PatchDashboard.
func (*MockDashboardClientMockRecorder) PatchDashboardStatus ¶ added in v1.1.0
func (mr *MockDashboardClientMockRecorder) PatchDashboardStatus(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchDashboardStatus indicates an expected call of PatchDashboardStatus.
func (*MockDashboardClientMockRecorder) UpdateDashboard ¶ added in v1.1.0
func (mr *MockDashboardClientMockRecorder) UpdateDashboard(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateDashboard indicates an expected call of UpdateDashboard.
func (*MockDashboardClientMockRecorder) UpdateDashboardStatus ¶ added in v1.1.0
func (mr *MockDashboardClientMockRecorder) UpdateDashboardStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateDashboardStatus indicates an expected call of UpdateDashboardStatus.
func (*MockDashboardClientMockRecorder) UpsertDashboard ¶ added in v1.1.0
func (mr *MockDashboardClientMockRecorder) UpsertDashboard(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
UpsertDashboard indicates an expected call of UpsertDashboard.
type MockDashboardReader ¶ added in v1.1.0
type MockDashboardReader struct {
// contains filtered or unexported fields
}
MockDashboardReader is a mock of DashboardReader interface.
func NewMockDashboardReader ¶ added in v1.1.0
func NewMockDashboardReader(ctrl *gomock.Controller) *MockDashboardReader
NewMockDashboardReader creates a new mock instance.
func (*MockDashboardReader) EXPECT ¶ added in v1.1.0
func (m *MockDashboardReader) EXPECT() *MockDashboardReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDashboardReader) GetDashboard ¶ added in v1.1.0
func (m *MockDashboardReader) GetDashboard(ctx context.Context, key client.ObjectKey) (*v1.Dashboard, error)
GetDashboard mocks base method.
func (*MockDashboardReader) ListDashboard ¶ added in v1.1.0
func (m *MockDashboardReader) ListDashboard(ctx context.Context, opts ...client.ListOption) (*v1.DashboardList, error)
ListDashboard mocks base method.
type MockDashboardReaderMockRecorder ¶ added in v1.1.0
type MockDashboardReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockDashboardReaderMockRecorder is the mock recorder for MockDashboardReader.
func (*MockDashboardReaderMockRecorder) GetDashboard ¶ added in v1.1.0
func (mr *MockDashboardReaderMockRecorder) GetDashboard(ctx, key interface{}) *gomock.Call
GetDashboard indicates an expected call of GetDashboard.
func (*MockDashboardReaderMockRecorder) ListDashboard ¶ added in v1.1.0
func (mr *MockDashboardReaderMockRecorder) ListDashboard(ctx interface{}, opts ...interface{}) *gomock.Call
ListDashboard indicates an expected call of ListDashboard.
type MockDashboardStatusWriter ¶ added in v1.1.0
type MockDashboardStatusWriter struct {
// contains filtered or unexported fields
}
MockDashboardStatusWriter is a mock of DashboardStatusWriter interface.
func NewMockDashboardStatusWriter ¶ added in v1.1.0
func NewMockDashboardStatusWriter(ctrl *gomock.Controller) *MockDashboardStatusWriter
NewMockDashboardStatusWriter creates a new mock instance.
func (*MockDashboardStatusWriter) EXPECT ¶ added in v1.1.0
func (m *MockDashboardStatusWriter) EXPECT() *MockDashboardStatusWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDashboardStatusWriter) PatchDashboardStatus ¶ added in v1.1.0
func (m *MockDashboardStatusWriter) PatchDashboardStatus(ctx context.Context, obj *v1.Dashboard, patch client.Patch, opts ...client.PatchOption) error
PatchDashboardStatus mocks base method.
func (*MockDashboardStatusWriter) UpdateDashboardStatus ¶ added in v1.1.0
func (m *MockDashboardStatusWriter) UpdateDashboardStatus(ctx context.Context, obj *v1.Dashboard, opts ...client.UpdateOption) error
UpdateDashboardStatus mocks base method.
type MockDashboardStatusWriterMockRecorder ¶ added in v1.1.0
type MockDashboardStatusWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockDashboardStatusWriterMockRecorder is the mock recorder for MockDashboardStatusWriter.
func (*MockDashboardStatusWriterMockRecorder) PatchDashboardStatus ¶ added in v1.1.0
func (mr *MockDashboardStatusWriterMockRecorder) PatchDashboardStatus(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchDashboardStatus indicates an expected call of PatchDashboardStatus.
func (*MockDashboardStatusWriterMockRecorder) UpdateDashboardStatus ¶ added in v1.1.0
func (mr *MockDashboardStatusWriterMockRecorder) UpdateDashboardStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateDashboardStatus indicates an expected call of UpdateDashboardStatus.
type MockDashboardWriter ¶ added in v1.1.0
type MockDashboardWriter struct {
// contains filtered or unexported fields
}
MockDashboardWriter is a mock of DashboardWriter interface.
func NewMockDashboardWriter ¶ added in v1.1.0
func NewMockDashboardWriter(ctrl *gomock.Controller) *MockDashboardWriter
NewMockDashboardWriter creates a new mock instance.
func (*MockDashboardWriter) CreateDashboard ¶ added in v1.1.0
func (m *MockDashboardWriter) CreateDashboard(ctx context.Context, obj *v1.Dashboard, opts ...client.CreateOption) error
CreateDashboard mocks base method.
func (*MockDashboardWriter) DeleteAllOfDashboard ¶ added in v1.1.0
func (m *MockDashboardWriter) DeleteAllOfDashboard(ctx context.Context, opts ...client.DeleteAllOfOption) error
DeleteAllOfDashboard mocks base method.
func (*MockDashboardWriter) DeleteDashboard ¶ added in v1.1.0
func (m *MockDashboardWriter) DeleteDashboard(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error
DeleteDashboard mocks base method.
func (*MockDashboardWriter) EXPECT ¶ added in v1.1.0
func (m *MockDashboardWriter) EXPECT() *MockDashboardWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDashboardWriter) PatchDashboard ¶ added in v1.1.0
func (m *MockDashboardWriter) PatchDashboard(ctx context.Context, obj *v1.Dashboard, patch client.Patch, opts ...client.PatchOption) error
PatchDashboard mocks base method.
func (*MockDashboardWriter) UpdateDashboard ¶ added in v1.1.0
func (m *MockDashboardWriter) UpdateDashboard(ctx context.Context, obj *v1.Dashboard, opts ...client.UpdateOption) error
UpdateDashboard mocks base method.
func (*MockDashboardWriter) UpsertDashboard ¶ added in v1.1.0
func (m *MockDashboardWriter) UpsertDashboard(ctx context.Context, obj *v1.Dashboard, transitionFuncs ...v1.DashboardTransitionFunction) error
UpsertDashboard mocks base method.
type MockDashboardWriterMockRecorder ¶ added in v1.1.0
type MockDashboardWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockDashboardWriterMockRecorder is the mock recorder for MockDashboardWriter.
func (*MockDashboardWriterMockRecorder) CreateDashboard ¶ added in v1.1.0
func (mr *MockDashboardWriterMockRecorder) CreateDashboard(ctx, obj interface{}, opts ...interface{}) *gomock.Call
CreateDashboard indicates an expected call of CreateDashboard.
func (*MockDashboardWriterMockRecorder) DeleteAllOfDashboard ¶ added in v1.1.0
func (mr *MockDashboardWriterMockRecorder) DeleteAllOfDashboard(ctx interface{}, opts ...interface{}) *gomock.Call
DeleteAllOfDashboard indicates an expected call of DeleteAllOfDashboard.
func (*MockDashboardWriterMockRecorder) DeleteDashboard ¶ added in v1.1.0
func (mr *MockDashboardWriterMockRecorder) DeleteDashboard(ctx, key interface{}, opts ...interface{}) *gomock.Call
DeleteDashboard indicates an expected call of DeleteDashboard.
func (*MockDashboardWriterMockRecorder) PatchDashboard ¶ added in v1.1.0
func (mr *MockDashboardWriterMockRecorder) PatchDashboard(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchDashboard indicates an expected call of PatchDashboard.
func (*MockDashboardWriterMockRecorder) UpdateDashboard ¶ added in v1.1.0
func (mr *MockDashboardWriterMockRecorder) UpdateDashboard(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateDashboard indicates an expected call of UpdateDashboard.
func (*MockDashboardWriterMockRecorder) UpsertDashboard ¶ added in v1.1.0
func (mr *MockDashboardWriterMockRecorder) UpsertDashboard(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
UpsertDashboard indicates an expected call of UpsertDashboard.
type MockMulticlusterClientset ¶
type MockMulticlusterClientset struct {
// contains filtered or unexported fields
}
MockMulticlusterClientset is a mock of MulticlusterClientset interface.
func NewMockMulticlusterClientset ¶
func NewMockMulticlusterClientset(ctrl *gomock.Controller) *MockMulticlusterClientset
NewMockMulticlusterClientset creates a new mock instance.
func (*MockMulticlusterClientset) Cluster ¶
func (m *MockMulticlusterClientset) Cluster(cluster string) (v1.Clientset, error)
Cluster mocks base method.
func (*MockMulticlusterClientset) EXPECT ¶
func (m *MockMulticlusterClientset) EXPECT() *MockMulticlusterClientsetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockMulticlusterClientsetMockRecorder ¶
type MockMulticlusterClientsetMockRecorder struct {
// contains filtered or unexported fields
}
MockMulticlusterClientsetMockRecorder is the mock recorder for MockMulticlusterClientset.
func (*MockMulticlusterClientsetMockRecorder) Cluster ¶
func (mr *MockMulticlusterClientsetMockRecorder) Cluster(cluster interface{}) *gomock.Call
Cluster indicates an expected call of Cluster.
type MockMulticlusterDashboardClient ¶ added in v1.1.0
type MockMulticlusterDashboardClient struct {
// contains filtered or unexported fields
}
MockMulticlusterDashboardClient is a mock of MulticlusterDashboardClient interface.
func NewMockMulticlusterDashboardClient ¶ added in v1.1.0
func NewMockMulticlusterDashboardClient(ctrl *gomock.Controller) *MockMulticlusterDashboardClient
NewMockMulticlusterDashboardClient creates a new mock instance.
func (*MockMulticlusterDashboardClient) Cluster ¶ added in v1.1.0
func (m *MockMulticlusterDashboardClient) Cluster(cluster string) (v1.DashboardClient, error)
Cluster mocks base method.
func (*MockMulticlusterDashboardClient) EXPECT ¶ added in v1.1.0
func (m *MockMulticlusterDashboardClient) EXPECT() *MockMulticlusterDashboardClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockMulticlusterDashboardClientMockRecorder ¶ added in v1.1.0
type MockMulticlusterDashboardClientMockRecorder struct {
// contains filtered or unexported fields
}
MockMulticlusterDashboardClientMockRecorder is the mock recorder for MockMulticlusterDashboardClient.
func (*MockMulticlusterDashboardClientMockRecorder) Cluster ¶ added in v1.1.0
func (mr *MockMulticlusterDashboardClientMockRecorder) Cluster(cluster interface{}) *gomock.Call
Cluster indicates an expected call of Cluster.
type MockMulticlusterSettingsClient ¶
type MockMulticlusterSettingsClient struct {
// contains filtered or unexported fields
}
MockMulticlusterSettingsClient is a mock of MulticlusterSettingsClient interface.
func NewMockMulticlusterSettingsClient ¶
func NewMockMulticlusterSettingsClient(ctrl *gomock.Controller) *MockMulticlusterSettingsClient
NewMockMulticlusterSettingsClient creates a new mock instance.
func (*MockMulticlusterSettingsClient) Cluster ¶
func (m *MockMulticlusterSettingsClient) Cluster(cluster string) (v1.SettingsClient, error)
Cluster mocks base method.
func (*MockMulticlusterSettingsClient) EXPECT ¶
func (m *MockMulticlusterSettingsClient) EXPECT() *MockMulticlusterSettingsClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockMulticlusterSettingsClientMockRecorder ¶
type MockMulticlusterSettingsClientMockRecorder struct {
// contains filtered or unexported fields
}
MockMulticlusterSettingsClientMockRecorder is the mock recorder for MockMulticlusterSettingsClient.
func (*MockMulticlusterSettingsClientMockRecorder) Cluster ¶
func (mr *MockMulticlusterSettingsClientMockRecorder) Cluster(cluster interface{}) *gomock.Call
Cluster indicates an expected call of Cluster.
type MockSettingsClient ¶
type MockSettingsClient struct {
// contains filtered or unexported fields
}
MockSettingsClient is a mock of SettingsClient interface.
func NewMockSettingsClient ¶
func NewMockSettingsClient(ctrl *gomock.Controller) *MockSettingsClient
NewMockSettingsClient creates a new mock instance.
func (*MockSettingsClient) CreateSettings ¶
func (m *MockSettingsClient) CreateSettings(ctx context.Context, obj *v1.Settings, opts ...client.CreateOption) error
CreateSettings mocks base method.
func (*MockSettingsClient) DeleteAllOfSettings ¶
func (m *MockSettingsClient) DeleteAllOfSettings(ctx context.Context, opts ...client.DeleteAllOfOption) error
DeleteAllOfSettings mocks base method.
func (*MockSettingsClient) DeleteSettings ¶
func (m *MockSettingsClient) DeleteSettings(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error
DeleteSettings mocks base method.
func (*MockSettingsClient) EXPECT ¶
func (m *MockSettingsClient) EXPECT() *MockSettingsClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSettingsClient) GetSettings ¶
func (m *MockSettingsClient) GetSettings(ctx context.Context, key client.ObjectKey) (*v1.Settings, error)
GetSettings mocks base method.
func (*MockSettingsClient) ListSettings ¶
func (m *MockSettingsClient) ListSettings(ctx context.Context, opts ...client.ListOption) (*v1.SettingsList, error)
ListSettings mocks base method.
func (*MockSettingsClient) PatchSettings ¶
func (m *MockSettingsClient) PatchSettings(ctx context.Context, obj *v1.Settings, patch client.Patch, opts ...client.PatchOption) error
PatchSettings mocks base method.
func (*MockSettingsClient) PatchSettingsStatus ¶
func (m *MockSettingsClient) PatchSettingsStatus(ctx context.Context, obj *v1.Settings, patch client.Patch, opts ...client.PatchOption) error
PatchSettingsStatus mocks base method.
func (*MockSettingsClient) UpdateSettings ¶
func (m *MockSettingsClient) UpdateSettings(ctx context.Context, obj *v1.Settings, opts ...client.UpdateOption) error
UpdateSettings mocks base method.
func (*MockSettingsClient) UpdateSettingsStatus ¶
func (m *MockSettingsClient) UpdateSettingsStatus(ctx context.Context, obj *v1.Settings, opts ...client.UpdateOption) error
UpdateSettingsStatus mocks base method.
func (*MockSettingsClient) UpsertSettings ¶
func (m *MockSettingsClient) UpsertSettings(ctx context.Context, obj *v1.Settings, transitionFuncs ...v1.SettingsTransitionFunction) error
UpsertSettings mocks base method.
type MockSettingsClientMockRecorder ¶
type MockSettingsClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSettingsClientMockRecorder is the mock recorder for MockSettingsClient.
func (*MockSettingsClientMockRecorder) CreateSettings ¶
func (mr *MockSettingsClientMockRecorder) CreateSettings(ctx, obj interface{}, opts ...interface{}) *gomock.Call
CreateSettings indicates an expected call of CreateSettings.
func (*MockSettingsClientMockRecorder) DeleteAllOfSettings ¶
func (mr *MockSettingsClientMockRecorder) DeleteAllOfSettings(ctx interface{}, opts ...interface{}) *gomock.Call
DeleteAllOfSettings indicates an expected call of DeleteAllOfSettings.
func (*MockSettingsClientMockRecorder) DeleteSettings ¶
func (mr *MockSettingsClientMockRecorder) DeleteSettings(ctx, key interface{}, opts ...interface{}) *gomock.Call
DeleteSettings indicates an expected call of DeleteSettings.
func (*MockSettingsClientMockRecorder) GetSettings ¶
func (mr *MockSettingsClientMockRecorder) GetSettings(ctx, key interface{}) *gomock.Call
GetSettings indicates an expected call of GetSettings.
func (*MockSettingsClientMockRecorder) ListSettings ¶
func (mr *MockSettingsClientMockRecorder) ListSettings(ctx interface{}, opts ...interface{}) *gomock.Call
ListSettings indicates an expected call of ListSettings.
func (*MockSettingsClientMockRecorder) PatchSettings ¶
func (mr *MockSettingsClientMockRecorder) PatchSettings(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchSettings indicates an expected call of PatchSettings.
func (*MockSettingsClientMockRecorder) PatchSettingsStatus ¶
func (mr *MockSettingsClientMockRecorder) PatchSettingsStatus(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchSettingsStatus indicates an expected call of PatchSettingsStatus.
func (*MockSettingsClientMockRecorder) UpdateSettings ¶
func (mr *MockSettingsClientMockRecorder) UpdateSettings(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateSettings indicates an expected call of UpdateSettings.
func (*MockSettingsClientMockRecorder) UpdateSettingsStatus ¶
func (mr *MockSettingsClientMockRecorder) UpdateSettingsStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateSettingsStatus indicates an expected call of UpdateSettingsStatus.
func (*MockSettingsClientMockRecorder) UpsertSettings ¶
func (mr *MockSettingsClientMockRecorder) UpsertSettings(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
UpsertSettings indicates an expected call of UpsertSettings.
type MockSettingsReader ¶
type MockSettingsReader struct {
// contains filtered or unexported fields
}
MockSettingsReader is a mock of SettingsReader interface.
func NewMockSettingsReader ¶
func NewMockSettingsReader(ctrl *gomock.Controller) *MockSettingsReader
NewMockSettingsReader creates a new mock instance.
func (*MockSettingsReader) EXPECT ¶
func (m *MockSettingsReader) EXPECT() *MockSettingsReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSettingsReader) GetSettings ¶
func (m *MockSettingsReader) GetSettings(ctx context.Context, key client.ObjectKey) (*v1.Settings, error)
GetSettings mocks base method.
func (*MockSettingsReader) ListSettings ¶
func (m *MockSettingsReader) ListSettings(ctx context.Context, opts ...client.ListOption) (*v1.SettingsList, error)
ListSettings mocks base method.
type MockSettingsReaderMockRecorder ¶
type MockSettingsReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockSettingsReaderMockRecorder is the mock recorder for MockSettingsReader.
func (*MockSettingsReaderMockRecorder) GetSettings ¶
func (mr *MockSettingsReaderMockRecorder) GetSettings(ctx, key interface{}) *gomock.Call
GetSettings indicates an expected call of GetSettings.
func (*MockSettingsReaderMockRecorder) ListSettings ¶
func (mr *MockSettingsReaderMockRecorder) ListSettings(ctx interface{}, opts ...interface{}) *gomock.Call
ListSettings indicates an expected call of ListSettings.
type MockSettingsStatusWriter ¶
type MockSettingsStatusWriter struct {
// contains filtered or unexported fields
}
MockSettingsStatusWriter is a mock of SettingsStatusWriter interface.
func NewMockSettingsStatusWriter ¶
func NewMockSettingsStatusWriter(ctrl *gomock.Controller) *MockSettingsStatusWriter
NewMockSettingsStatusWriter creates a new mock instance.
func (*MockSettingsStatusWriter) EXPECT ¶
func (m *MockSettingsStatusWriter) EXPECT() *MockSettingsStatusWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSettingsStatusWriter) PatchSettingsStatus ¶
func (m *MockSettingsStatusWriter) PatchSettingsStatus(ctx context.Context, obj *v1.Settings, patch client.Patch, opts ...client.PatchOption) error
PatchSettingsStatus mocks base method.
func (*MockSettingsStatusWriter) UpdateSettingsStatus ¶
func (m *MockSettingsStatusWriter) UpdateSettingsStatus(ctx context.Context, obj *v1.Settings, opts ...client.UpdateOption) error
UpdateSettingsStatus mocks base method.
type MockSettingsStatusWriterMockRecorder ¶
type MockSettingsStatusWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockSettingsStatusWriterMockRecorder is the mock recorder for MockSettingsStatusWriter.
func (*MockSettingsStatusWriterMockRecorder) PatchSettingsStatus ¶
func (mr *MockSettingsStatusWriterMockRecorder) PatchSettingsStatus(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchSettingsStatus indicates an expected call of PatchSettingsStatus.
func (*MockSettingsStatusWriterMockRecorder) UpdateSettingsStatus ¶
func (mr *MockSettingsStatusWriterMockRecorder) UpdateSettingsStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateSettingsStatus indicates an expected call of UpdateSettingsStatus.
type MockSettingsWriter ¶
type MockSettingsWriter struct {
// contains filtered or unexported fields
}
MockSettingsWriter is a mock of SettingsWriter interface.
func NewMockSettingsWriter ¶
func NewMockSettingsWriter(ctrl *gomock.Controller) *MockSettingsWriter
NewMockSettingsWriter creates a new mock instance.
func (*MockSettingsWriter) CreateSettings ¶
func (m *MockSettingsWriter) CreateSettings(ctx context.Context, obj *v1.Settings, opts ...client.CreateOption) error
CreateSettings mocks base method.
func (*MockSettingsWriter) DeleteAllOfSettings ¶
func (m *MockSettingsWriter) DeleteAllOfSettings(ctx context.Context, opts ...client.DeleteAllOfOption) error
DeleteAllOfSettings mocks base method.
func (*MockSettingsWriter) DeleteSettings ¶
func (m *MockSettingsWriter) DeleteSettings(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error
DeleteSettings mocks base method.
func (*MockSettingsWriter) EXPECT ¶
func (m *MockSettingsWriter) EXPECT() *MockSettingsWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSettingsWriter) PatchSettings ¶
func (m *MockSettingsWriter) PatchSettings(ctx context.Context, obj *v1.Settings, patch client.Patch, opts ...client.PatchOption) error
PatchSettings mocks base method.
func (*MockSettingsWriter) UpdateSettings ¶
func (m *MockSettingsWriter) UpdateSettings(ctx context.Context, obj *v1.Settings, opts ...client.UpdateOption) error
UpdateSettings mocks base method.
func (*MockSettingsWriter) UpsertSettings ¶
func (m *MockSettingsWriter) UpsertSettings(ctx context.Context, obj *v1.Settings, transitionFuncs ...v1.SettingsTransitionFunction) error
UpsertSettings mocks base method.
type MockSettingsWriterMockRecorder ¶
type MockSettingsWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockSettingsWriterMockRecorder is the mock recorder for MockSettingsWriter.
func (*MockSettingsWriterMockRecorder) CreateSettings ¶
func (mr *MockSettingsWriterMockRecorder) CreateSettings(ctx, obj interface{}, opts ...interface{}) *gomock.Call
CreateSettings indicates an expected call of CreateSettings.
func (*MockSettingsWriterMockRecorder) DeleteAllOfSettings ¶
func (mr *MockSettingsWriterMockRecorder) DeleteAllOfSettings(ctx interface{}, opts ...interface{}) *gomock.Call
DeleteAllOfSettings indicates an expected call of DeleteAllOfSettings.
func (*MockSettingsWriterMockRecorder) DeleteSettings ¶
func (mr *MockSettingsWriterMockRecorder) DeleteSettings(ctx, key interface{}, opts ...interface{}) *gomock.Call
DeleteSettings indicates an expected call of DeleteSettings.
func (*MockSettingsWriterMockRecorder) PatchSettings ¶
func (mr *MockSettingsWriterMockRecorder) PatchSettings(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchSettings indicates an expected call of PatchSettings.
func (*MockSettingsWriterMockRecorder) UpdateSettings ¶
func (mr *MockSettingsWriterMockRecorder) UpdateSettings(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateSettings indicates an expected call of UpdateSettings.
func (*MockSettingsWriterMockRecorder) UpsertSettings ¶
func (mr *MockSettingsWriterMockRecorder) UpsertSettings(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
UpsertSettings indicates an expected call of UpsertSettings.