Documentation ¶
Index ¶
- type Client
- func (_m *Client) Create(ctx context.Context, obj runtime.Object, opts ...client.CreateOption) error
- func (_m *Client) Delete(ctx context.Context, obj runtime.Object, opts ...client.DeleteOption) error
- func (_m *Client) DeleteAllOf(ctx context.Context, obj runtime.Object, opts ...client.DeleteAllOfOption) error
- func (_m *Client) Get(ctx context.Context, key types.NamespacedName, obj runtime.Object) error
- func (_m *Client) List(ctx context.Context, list runtime.Object, opts ...client.ListOption) error
- func (_m *Client) Patch(ctx context.Context, obj runtime.Object, patch client.Patch, ...) error
- func (_m *Client) Update(ctx context.Context, obj runtime.Object, opts ...client.UpdateOption) error
- type Logger
- func (_m *Logger) Enabled() bool
- func (_m *Logger) Error(err error, msg string, keysAndValues ...interface{})
- func (_m *Logger) ExpectLoggedOnError(err error, msg string, keysAndValues ...interface{})
- func (_m *Logger) ExpectLoggedOnInfo(msg string, keysAndValues ...interface{})
- func (_m *Logger) ExpectLoggedWithValues(keysAndValues ...interface{})
- func (_m *Logger) Info(msg string, keysAndValues ...interface{})
- func (_m *Logger) V(level int) logr.InfoLogger
- func (_m *Logger) WithName(name string) logr.Logger
- func (_m *Logger) WithValues(keysAndValues ...interface{}) logr.Logger
- type StatusProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func (*Client) Create ¶
func (_m *Client) Create(ctx context.Context, obj runtime.Object, opts ...client.CreateOption) error
Create provides a mock function with given fields: ctx, obj, opts
func (*Client) Delete ¶
func (_m *Client) Delete(ctx context.Context, obj runtime.Object, opts ...client.DeleteOption) error
Delete provides a mock function with given fields: ctx, obj, opts
func (*Client) DeleteAllOf ¶
func (_m *Client) DeleteAllOf(ctx context.Context, obj runtime.Object, opts ...client.DeleteAllOfOption) error
DeleteAllOf provides a mock function with given fields: ctx, obj, opts
type Logger ¶
Logger is an autogenerated mock type for the Logger type
func (*Logger) ExpectLoggedOnError ¶
func (*Logger) ExpectLoggedOnInfo ¶
func (*Logger) ExpectLoggedWithValues ¶
func (_m *Logger) ExpectLoggedWithValues(keysAndValues ...interface{})
func (*Logger) V ¶
func (_m *Logger) V(level int) logr.InfoLogger
V provides a mock function with given fields: level
func (*Logger) WithValues ¶
WithValues provides a mock function with given fields: keysAndValues
type StatusProvider ¶
StatusProvider is an autogenerated mock type for the StatusProvider type
func (*StatusProvider) GetExecutionsInProgress ¶
func (_m *StatusProvider) GetExecutionsInProgress(suite v1alpha1.ClusterTestSuite) []v1alpha1.TestExecution
GetExecutionsInProgress provides a mock function with given fields: suite
func (*StatusProvider) MarkAsScheduled ¶
func (_m *StatusProvider) MarkAsScheduled(status v1alpha1.TestSuiteStatus, testName string, testNs string, podName string) (v1alpha1.TestSuiteStatus, error)
MarkAsScheduled provides a mock function with given fields: status, testName, testNs, podName