Documentation
¶
Overview ¶
Package mock_v1 is a generated GoMock package.
Index ¶
- type MockClientset
- type MockClientsetMockRecorder
- type MockMulticlusterClientset
- type MockMulticlusterClientsetMockRecorder
- 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) 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) Settings ¶
func (mr *MockClientsetMockRecorder) Settings() *gomock.Call
Settings indicates an expected call of Settings.
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 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.