Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockApply
- func (m *MockApply) Apply(set *objectset.ObjectSet) error
- func (m *MockApply) ApplyObjects(objs ...runtime.Object) error
- func (m *MockApply) DryRun(objs ...runtime.Object) (apply.Plan, error)
- func (m *MockApply) EXPECT() *MockApplyMockRecorder
- func (m *MockApply) FindOwner(obj runtime.Object) (runtime.Object, error)
- func (m *MockApply) PurgeOrphan(obj runtime.Object) error
- func (m *MockApply) WithCacheTypeFactory(factory apply.InformerFactory) apply.Apply
- func (m *MockApply) WithCacheTypes(igs ...apply.InformerGetter) apply.Apply
- func (m *MockApply) WithContext(ctx context.Context) apply.Apply
- func (m *MockApply) WithDefaultNamespace(ns string) apply.Apply
- func (m *MockApply) WithDiffPatch(gvk schema.GroupVersionKind, namespace, name string, patch []byte) apply.Apply
- func (m *MockApply) WithDynamicLookup() apply.Apply
- func (m *MockApply) WithGVK(gvks ...schema.GroupVersionKind) apply.Apply
- func (m *MockApply) WithIgnorePreviousApplied() apply.Apply
- func (m *MockApply) WithInjector(injs ...injectors.ConfigInjector) apply.Apply
- func (m *MockApply) WithInjectorName(injs ...string) apply.Apply
- func (m *MockApply) WithListerNamespace(ns string) apply.Apply
- func (m *MockApply) WithNoDelete() apply.Apply
- func (m *MockApply) WithNoDeleteGVK(gvks ...schema.GroupVersionKind) apply.Apply
- func (m *MockApply) WithOwner(obj runtime.Object) apply.Apply
- func (m *MockApply) WithOwnerKey(key string, gvk schema.GroupVersionKind) apply.Apply
- func (m *MockApply) WithPatcher(gvk schema.GroupVersionKind, patchers apply.Patcher) apply.Apply
- func (m *MockApply) WithRateLimiting(ratelimitingQps float32) apply.Apply
- func (m *MockApply) WithReconciler(gvk schema.GroupVersionKind, reconciler apply.Reconciler) apply.Apply
- func (m *MockApply) WithRestrictClusterScoped() apply.Apply
- func (m *MockApply) WithSetID(id string) apply.Apply
- func (m *MockApply) WithSetOwnerReference(controller, block bool) apply.Apply
- func (m *MockApply) WithStrictCaching() apply.Apply
- type MockApplyMockRecorder
- func (mr *MockApplyMockRecorder) Apply(set any) *gomock.Call
- func (mr *MockApplyMockRecorder) ApplyObjects(objs ...any) *gomock.Call
- func (mr *MockApplyMockRecorder) DryRun(objs ...any) *gomock.Call
- func (mr *MockApplyMockRecorder) FindOwner(obj any) *gomock.Call
- func (mr *MockApplyMockRecorder) PurgeOrphan(obj any) *gomock.Call
- func (mr *MockApplyMockRecorder) WithCacheTypeFactory(factory any) *gomock.Call
- func (mr *MockApplyMockRecorder) WithCacheTypes(igs ...any) *gomock.Call
- func (mr *MockApplyMockRecorder) WithContext(ctx any) *gomock.Call
- func (mr *MockApplyMockRecorder) WithDefaultNamespace(ns any) *gomock.Call
- func (mr *MockApplyMockRecorder) WithDiffPatch(gvk, namespace, name, patch any) *gomock.Call
- func (mr *MockApplyMockRecorder) WithDynamicLookup() *gomock.Call
- func (mr *MockApplyMockRecorder) WithGVK(gvks ...any) *gomock.Call
- func (mr *MockApplyMockRecorder) WithIgnorePreviousApplied() *gomock.Call
- func (mr *MockApplyMockRecorder) WithInjector(injs ...any) *gomock.Call
- func (mr *MockApplyMockRecorder) WithInjectorName(injs ...any) *gomock.Call
- func (mr *MockApplyMockRecorder) WithListerNamespace(ns any) *gomock.Call
- func (mr *MockApplyMockRecorder) WithNoDelete() *gomock.Call
- func (mr *MockApplyMockRecorder) WithNoDeleteGVK(gvks ...any) *gomock.Call
- func (mr *MockApplyMockRecorder) WithOwner(obj any) *gomock.Call
- func (mr *MockApplyMockRecorder) WithOwnerKey(key, gvk any) *gomock.Call
- func (mr *MockApplyMockRecorder) WithPatcher(gvk, patchers any) *gomock.Call
- func (mr *MockApplyMockRecorder) WithRateLimiting(ratelimitingQps any) *gomock.Call
- func (mr *MockApplyMockRecorder) WithReconciler(gvk, reconciler any) *gomock.Call
- func (mr *MockApplyMockRecorder) WithRestrictClusterScoped() *gomock.Call
- func (mr *MockApplyMockRecorder) WithSetID(id any) *gomock.Call
- func (mr *MockApplyMockRecorder) WithSetOwnerReference(controller, block any) *gomock.Call
- func (mr *MockApplyMockRecorder) WithStrictCaching() *gomock.Call
- type MockCapabilityDetector
- type MockCapabilityDetectorMockRecorder
- type MockClientConfig
- func (m *MockClientConfig) ClientConfig() (*rest.Config, error)
- func (m *MockClientConfig) ConfigAccess() clientcmd.ConfigAccess
- func (m *MockClientConfig) EXPECT() *MockClientConfigMockRecorder
- func (m *MockClientConfig) Namespace() (string, bool, error)
- func (m *MockClientConfig) RawConfig() (api.Config, error)
- type MockClientConfigMockRecorder
- type MockEventRecorder
- func (m *MockEventRecorder) AnnotatedEventf(arg0 runtime.Object, arg1 map[string]string, arg2, arg3, arg4 string, ...)
- func (m *MockEventRecorder) EXPECT() *MockEventRecorderMockRecorder
- func (m *MockEventRecorder) Event(arg0 runtime.Object, arg1, arg2, arg3 string)
- func (m *MockEventRecorder) Eventf(arg0 runtime.Object, arg1, arg2, arg3 string, arg4 ...interface{})
- type MockEventRecorderMockRecorder
- func (mr *MockEventRecorderMockRecorder) AnnotatedEventf(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call
- func (mr *MockEventRecorderMockRecorder) Event(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockEventRecorderMockRecorder) Eventf(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
- type MockHelmDeployer
- func (m *MockHelmDeployer) Delete(ctx context.Context, name string) error
- func (m *MockHelmDeployer) DeleteRelease(ctx context.Context, deployed helmdeployer.DeployedBundle) error
- func (m *MockHelmDeployer) EXPECT() *MockHelmDeployerMockRecorder
- func (m *MockHelmDeployer) ListDeployments(list helmdeployer.ListAction) ([]helmdeployer.DeployedBundle, error)
- func (m *MockHelmDeployer) NewListAction() helmdeployer.ListAction
- type MockHelmDeployerMockRecorder
- func (mr *MockHelmDeployerMockRecorder) Delete(ctx, name any) *gomock.Call
- func (mr *MockHelmDeployerMockRecorder) DeleteRelease(ctx, deployed any) *gomock.Call
- func (mr *MockHelmDeployerMockRecorder) ListDeployments(list any) *gomock.Call
- func (mr *MockHelmDeployerMockRecorder) NewListAction() *gomock.Call
- type MockK8sClient
- func (m *MockK8sClient) Apply(ctx context.Context, obj runtime.ApplyConfiguration, ...) error
- func (m *MockK8sClient) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error
- func (m *MockK8sClient) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error
- func (m *MockK8sClient) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error
- func (m *MockK8sClient) EXPECT() *MockK8sClientMockRecorder
- func (m *MockK8sClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, ...) error
- func (m *MockK8sClient) GroupVersionKindFor(obj runtime.Object) (schema.GroupVersionKind, error)
- func (m *MockK8sClient) IsObjectNamespaced(obj runtime.Object) (bool, error)
- func (m *MockK8sClient) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
- func (m *MockK8sClient) Patch(ctx context.Context, obj client.Object, patch client.Patch, ...) error
- func (m *MockK8sClient) RESTMapper() meta.RESTMapper
- func (m *MockK8sClient) Scheme() *runtime.Scheme
- func (m *MockK8sClient) Status() client.SubResourceWriter
- func (m *MockK8sClient) SubResource(subResource string) client.SubResourceClient
- func (m *MockK8sClient) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error
- type MockK8sClientMockRecorder
- func (mr *MockK8sClientMockRecorder) Apply(ctx, obj any, opts ...any) *gomock.Call
- func (mr *MockK8sClientMockRecorder) Create(ctx, obj any, opts ...any) *gomock.Call
- func (mr *MockK8sClientMockRecorder) Delete(ctx, obj any, opts ...any) *gomock.Call
- func (mr *MockK8sClientMockRecorder) DeleteAllOf(ctx, obj any, opts ...any) *gomock.Call
- func (mr *MockK8sClientMockRecorder) Get(ctx, key, obj any, opts ...any) *gomock.Call
- func (mr *MockK8sClientMockRecorder) GroupVersionKindFor(obj any) *gomock.Call
- func (mr *MockK8sClientMockRecorder) IsObjectNamespaced(obj any) *gomock.Call
- func (mr *MockK8sClientMockRecorder) List(ctx, list any, opts ...any) *gomock.Call
- func (mr *MockK8sClientMockRecorder) Patch(ctx, obj, patch any, opts ...any) *gomock.Call
- func (mr *MockK8sClientMockRecorder) RESTMapper() *gomock.Call
- func (mr *MockK8sClientMockRecorder) Scheme() *gomock.Call
- func (mr *MockK8sClientMockRecorder) Status() *gomock.Call
- func (mr *MockK8sClientMockRecorder) SubResource(subResource any) *gomock.Call
- func (mr *MockK8sClientMockRecorder) Update(ctx, obj any, opts ...any) *gomock.Call
- type MockLogSink
- func (m *MockLogSink) EXPECT() *MockLogSinkMockRecorder
- func (m *MockLogSink) Enabled(level int) bool
- func (m *MockLogSink) Error(err error, msg string, keysAndValues ...any)
- func (m *MockLogSink) Info(level int, msg string, keysAndValues ...any)
- func (m *MockLogSink) Init(info logr.RuntimeInfo)
- func (m *MockLogSink) WithName(name string) logr.LogSink
- func (m *MockLogSink) WithValues(keysAndValues ...any) logr.LogSink
- type MockLogSinkMockRecorder
- func (mr *MockLogSinkMockRecorder) Enabled(level any) *gomock.Call
- func (mr *MockLogSinkMockRecorder) Error(err, msg any, keysAndValues ...any) *gomock.Call
- func (mr *MockLogSinkMockRecorder) Info(level, msg any, keysAndValues ...any) *gomock.Call
- func (mr *MockLogSinkMockRecorder) Init(info any) *gomock.Call
- func (mr *MockLogSinkMockRecorder) WithName(name any) *gomock.Call
- func (mr *MockLogSinkMockRecorder) WithValues(keysAndValues ...any) *gomock.Call
- type MockOCIClient
- type MockOCIClientMockRecorder
- type MockReader
- type MockReaderMockRecorder
- type MockScheduledJob
- type MockScheduledJobMockRecorder
- type MockScheduler
- func (m *MockScheduler) Clear() error
- func (m *MockScheduler) DeleteJob(jobKey *quartz.JobKey) error
- func (m *MockScheduler) EXPECT() *MockSchedulerMockRecorder
- func (m *MockScheduler) GetJobKeys(arg0 ...quartz.Matcher[quartz.ScheduledJob]) ([]*quartz.JobKey, error)
- func (m *MockScheduler) GetScheduledJob(jobKey *quartz.JobKey) (quartz.ScheduledJob, error)
- func (m *MockScheduler) IsStarted() bool
- func (m *MockScheduler) PauseJob(jobKey *quartz.JobKey) error
- func (m *MockScheduler) ResumeJob(jobKey *quartz.JobKey) error
- func (m *MockScheduler) ScheduleJob(jobDetail *quartz.JobDetail, trigger quartz.Trigger) error
- func (m *MockScheduler) Start(arg0 context.Context)
- func (m *MockScheduler) Stop()
- func (m *MockScheduler) Wait(arg0 context.Context)
- type MockSchedulerMockRecorder
- func (mr *MockSchedulerMockRecorder) Clear() *gomock.Call
- func (mr *MockSchedulerMockRecorder) DeleteJob(jobKey any) *gomock.Call
- func (mr *MockSchedulerMockRecorder) GetJobKeys(arg0 ...any) *gomock.Call
- func (mr *MockSchedulerMockRecorder) GetScheduledJob(jobKey any) *gomock.Call
- func (mr *MockSchedulerMockRecorder) IsStarted() *gomock.Call
- func (mr *MockSchedulerMockRecorder) PauseJob(jobKey any) *gomock.Call
- func (mr *MockSchedulerMockRecorder) ResumeJob(jobKey any) *gomock.Call
- func (mr *MockSchedulerMockRecorder) ScheduleJob(jobDetail, trigger any) *gomock.Call
- func (mr *MockSchedulerMockRecorder) Start(arg0 any) *gomock.Call
- func (mr *MockSchedulerMockRecorder) Stop() *gomock.Call
- func (mr *MockSchedulerMockRecorder) Wait(arg0 any) *gomock.Call
- type MockStatusWriter
- func (m *MockStatusWriter) Apply(ctx context.Context, obj runtime.ApplyConfiguration, ...) error
- func (m *MockStatusWriter) Create(ctx context.Context, obj, subResource client.Object, ...) error
- func (m *MockStatusWriter) EXPECT() *MockStatusWriterMockRecorder
- func (m *MockStatusWriter) Patch(ctx context.Context, obj client.Object, patch client.Patch, ...) error
- func (m *MockStatusWriter) Update(ctx context.Context, obj client.Object, opts ...client.SubResourceUpdateOption) error
- type MockStatusWriterMockRecorder
- func (mr *MockStatusWriterMockRecorder) Apply(ctx, obj any, opts ...any) *gomock.Call
- func (mr *MockStatusWriterMockRecorder) Create(ctx, obj, subResource any, opts ...any) *gomock.Call
- func (mr *MockStatusWriterMockRecorder) Patch(ctx, obj, patch any, opts ...any) *gomock.Call
- func (mr *MockStatusWriterMockRecorder) Update(ctx, obj any, opts ...any) *gomock.Call
- type MockStore
- type MockStoreMockRecorder
- type MockStrategy
- type MockStrategyMockRecorder
- type MockSubmoduleFetcher
- type MockSubmoduleFetcherMockRecorder
- type MockTarget
- func (m *MockTarget) EXPECT() *MockTargetMockRecorder
- func (m *MockTarget) Exists(arg0 context.Context, arg1 v1.Descriptor) (bool, error)
- func (m *MockTarget) Fetch(arg0 context.Context, arg1 v1.Descriptor) (io.ReadCloser, error)
- func (m *MockTarget) Push(arg0 context.Context, arg1 v1.Descriptor, arg2 io.Reader) error
- func (m *MockTarget) Resolve(arg0 context.Context, arg1 string) (v1.Descriptor, error)
- func (m *MockTarget) Tag(arg0 context.Context, arg1 v1.Descriptor, arg2 string) error
- type MockTargetBuilder
- type MockTargetBuilderMockRecorder
- type MockTargetMockRecorder
- func (mr *MockTargetMockRecorder) Exists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTargetMockRecorder) Fetch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTargetMockRecorder) Push(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTargetMockRecorder) Resolve(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTargetMockRecorder) Tag(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApply ¶ added in v0.15.0
type MockApply struct {
// contains filtered or unexported fields
}
MockApply is a mock of Apply interface.
func NewMockApply ¶ added in v0.15.0
func NewMockApply(ctrl *gomock.Controller) *MockApply
NewMockApply creates a new mock instance.
func (*MockApply) ApplyObjects ¶ added in v0.15.0
ApplyObjects mocks base method.
func (*MockApply) EXPECT ¶ added in v0.15.0
func (m *MockApply) EXPECT() *MockApplyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockApply) PurgeOrphan ¶ added in v0.15.0
PurgeOrphan mocks base method.
func (*MockApply) WithCacheTypeFactory ¶ added in v0.15.0
func (m *MockApply) WithCacheTypeFactory(factory apply.InformerFactory) apply.Apply
WithCacheTypeFactory mocks base method.
func (*MockApply) WithCacheTypes ¶ added in v0.15.0
func (m *MockApply) WithCacheTypes(igs ...apply.InformerGetter) apply.Apply
WithCacheTypes mocks base method.
func (*MockApply) WithContext ¶ added in v0.15.0
WithContext mocks base method.
func (*MockApply) WithDefaultNamespace ¶ added in v0.15.0
WithDefaultNamespace mocks base method.
func (*MockApply) WithDiffPatch ¶ added in v0.15.0
func (m *MockApply) WithDiffPatch(gvk schema.GroupVersionKind, namespace, name string, patch []byte) apply.Apply
WithDiffPatch mocks base method.
func (*MockApply) WithDynamicLookup ¶ added in v0.15.0
WithDynamicLookup mocks base method.
func (*MockApply) WithGVK ¶ added in v0.15.0
func (m *MockApply) WithGVK(gvks ...schema.GroupVersionKind) apply.Apply
WithGVK mocks base method.
func (*MockApply) WithIgnorePreviousApplied ¶ added in v0.15.0
WithIgnorePreviousApplied mocks base method.
func (*MockApply) WithInjector ¶ added in v0.15.0
func (m *MockApply) WithInjector(injs ...injectors.ConfigInjector) apply.Apply
WithInjector mocks base method.
func (*MockApply) WithInjectorName ¶ added in v0.15.0
WithInjectorName mocks base method.
func (*MockApply) WithListerNamespace ¶ added in v0.15.0
WithListerNamespace mocks base method.
func (*MockApply) WithNoDelete ¶ added in v0.15.0
WithNoDelete mocks base method.
func (*MockApply) WithNoDeleteGVK ¶ added in v0.15.0
func (m *MockApply) WithNoDeleteGVK(gvks ...schema.GroupVersionKind) apply.Apply
WithNoDeleteGVK mocks base method.
func (*MockApply) WithOwnerKey ¶ added in v0.15.0
WithOwnerKey mocks base method.
func (*MockApply) WithPatcher ¶ added in v0.15.0
WithPatcher mocks base method.
func (*MockApply) WithRateLimiting ¶ added in v0.15.0
WithRateLimiting mocks base method.
func (*MockApply) WithReconciler ¶ added in v0.15.0
func (m *MockApply) WithReconciler(gvk schema.GroupVersionKind, reconciler apply.Reconciler) apply.Apply
WithReconciler mocks base method.
func (*MockApply) WithRestrictClusterScoped ¶ added in v0.15.0
WithRestrictClusterScoped mocks base method.
func (*MockApply) WithSetOwnerReference ¶ added in v0.15.0
WithSetOwnerReference mocks base method.
func (*MockApply) WithStrictCaching ¶ added in v0.15.0
WithStrictCaching mocks base method.
type MockApplyMockRecorder ¶ added in v0.15.0
type MockApplyMockRecorder struct {
// contains filtered or unexported fields
}
MockApplyMockRecorder is the mock recorder for MockApply.
func (*MockApplyMockRecorder) Apply ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) Apply(set any) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockApplyMockRecorder) ApplyObjects ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) ApplyObjects(objs ...any) *gomock.Call
ApplyObjects indicates an expected call of ApplyObjects.
func (*MockApplyMockRecorder) DryRun ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) DryRun(objs ...any) *gomock.Call
DryRun indicates an expected call of DryRun.
func (*MockApplyMockRecorder) FindOwner ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) FindOwner(obj any) *gomock.Call
FindOwner indicates an expected call of FindOwner.
func (*MockApplyMockRecorder) PurgeOrphan ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) PurgeOrphan(obj any) *gomock.Call
PurgeOrphan indicates an expected call of PurgeOrphan.
func (*MockApplyMockRecorder) WithCacheTypeFactory ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) WithCacheTypeFactory(factory any) *gomock.Call
WithCacheTypeFactory indicates an expected call of WithCacheTypeFactory.
func (*MockApplyMockRecorder) WithCacheTypes ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) WithCacheTypes(igs ...any) *gomock.Call
WithCacheTypes indicates an expected call of WithCacheTypes.
func (*MockApplyMockRecorder) WithContext ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) WithContext(ctx any) *gomock.Call
WithContext indicates an expected call of WithContext.
func (*MockApplyMockRecorder) WithDefaultNamespace ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) WithDefaultNamespace(ns any) *gomock.Call
WithDefaultNamespace indicates an expected call of WithDefaultNamespace.
func (*MockApplyMockRecorder) WithDiffPatch ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) WithDiffPatch(gvk, namespace, name, patch any) *gomock.Call
WithDiffPatch indicates an expected call of WithDiffPatch.
func (*MockApplyMockRecorder) WithDynamicLookup ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) WithDynamicLookup() *gomock.Call
WithDynamicLookup indicates an expected call of WithDynamicLookup.
func (*MockApplyMockRecorder) WithGVK ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) WithGVK(gvks ...any) *gomock.Call
WithGVK indicates an expected call of WithGVK.
func (*MockApplyMockRecorder) WithIgnorePreviousApplied ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) WithIgnorePreviousApplied() *gomock.Call
WithIgnorePreviousApplied indicates an expected call of WithIgnorePreviousApplied.
func (*MockApplyMockRecorder) WithInjector ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) WithInjector(injs ...any) *gomock.Call
WithInjector indicates an expected call of WithInjector.
func (*MockApplyMockRecorder) WithInjectorName ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) WithInjectorName(injs ...any) *gomock.Call
WithInjectorName indicates an expected call of WithInjectorName.
func (*MockApplyMockRecorder) WithListerNamespace ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) WithListerNamespace(ns any) *gomock.Call
WithListerNamespace indicates an expected call of WithListerNamespace.
func (*MockApplyMockRecorder) WithNoDelete ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) WithNoDelete() *gomock.Call
WithNoDelete indicates an expected call of WithNoDelete.
func (*MockApplyMockRecorder) WithNoDeleteGVK ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) WithNoDeleteGVK(gvks ...any) *gomock.Call
WithNoDeleteGVK indicates an expected call of WithNoDeleteGVK.
func (*MockApplyMockRecorder) WithOwner ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) WithOwner(obj any) *gomock.Call
WithOwner indicates an expected call of WithOwner.
func (*MockApplyMockRecorder) WithOwnerKey ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) WithOwnerKey(key, gvk any) *gomock.Call
WithOwnerKey indicates an expected call of WithOwnerKey.
func (*MockApplyMockRecorder) WithPatcher ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) WithPatcher(gvk, patchers any) *gomock.Call
WithPatcher indicates an expected call of WithPatcher.
func (*MockApplyMockRecorder) WithRateLimiting ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) WithRateLimiting(ratelimitingQps any) *gomock.Call
WithRateLimiting indicates an expected call of WithRateLimiting.
func (*MockApplyMockRecorder) WithReconciler ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) WithReconciler(gvk, reconciler any) *gomock.Call
WithReconciler indicates an expected call of WithReconciler.
func (*MockApplyMockRecorder) WithRestrictClusterScoped ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) WithRestrictClusterScoped() *gomock.Call
WithRestrictClusterScoped indicates an expected call of WithRestrictClusterScoped.
func (*MockApplyMockRecorder) WithSetID ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) WithSetID(id any) *gomock.Call
WithSetID indicates an expected call of WithSetID.
func (*MockApplyMockRecorder) WithSetOwnerReference ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) WithSetOwnerReference(controller, block any) *gomock.Call
WithSetOwnerReference indicates an expected call of WithSetOwnerReference.
func (*MockApplyMockRecorder) WithStrictCaching ¶ added in v0.15.0
func (mr *MockApplyMockRecorder) WithStrictCaching() *gomock.Call
WithStrictCaching indicates an expected call of WithStrictCaching.
type MockCapabilityDetector ¶ added in v0.15.0
type MockCapabilityDetector struct {
// contains filtered or unexported fields
}
MockCapabilityDetector is a mock of CapabilityDetector interface.
func NewMockCapabilityDetector ¶ added in v0.15.0
func NewMockCapabilityDetector(ctrl *gomock.Controller) *MockCapabilityDetector
NewMockCapabilityDetector creates a new mock instance.
func (*MockCapabilityDetector) ChooseStrategy ¶ added in v0.15.0
func (m *MockCapabilityDetector) ChooseStrategy(caps *capability.Capabilities) capability.StrategyType
ChooseStrategy mocks base method.
func (*MockCapabilityDetector) Detect ¶ added in v0.15.0
func (m *MockCapabilityDetector) Detect(url string, auth transport.AuthMethod) (*capability.Capabilities, error)
Detect mocks base method.
func (*MockCapabilityDetector) EXPECT ¶ added in v0.15.0
func (m *MockCapabilityDetector) EXPECT() *MockCapabilityDetectorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCapabilityDetectorMockRecorder ¶ added in v0.15.0
type MockCapabilityDetectorMockRecorder struct {
// contains filtered or unexported fields
}
MockCapabilityDetectorMockRecorder is the mock recorder for MockCapabilityDetector.
func (*MockCapabilityDetectorMockRecorder) ChooseStrategy ¶ added in v0.15.0
func (mr *MockCapabilityDetectorMockRecorder) ChooseStrategy(caps any) *gomock.Call
ChooseStrategy indicates an expected call of ChooseStrategy.
type MockClientConfig ¶ added in v0.15.0
type MockClientConfig struct {
// contains filtered or unexported fields
}
MockClientConfig is a mock of ClientConfig interface.
func NewMockClientConfig ¶ added in v0.15.0
func NewMockClientConfig(ctrl *gomock.Controller) *MockClientConfig
NewMockClientConfig creates a new mock instance.
func (*MockClientConfig) ClientConfig ¶ added in v0.15.0
func (m *MockClientConfig) ClientConfig() (*rest.Config, error)
ClientConfig mocks base method.
func (*MockClientConfig) ConfigAccess ¶ added in v0.15.0
func (m *MockClientConfig) ConfigAccess() clientcmd.ConfigAccess
ConfigAccess mocks base method.
func (*MockClientConfig) EXPECT ¶ added in v0.15.0
func (m *MockClientConfig) EXPECT() *MockClientConfigMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockClientConfigMockRecorder ¶ added in v0.15.0
type MockClientConfigMockRecorder struct {
// contains filtered or unexported fields
}
MockClientConfigMockRecorder is the mock recorder for MockClientConfig.
func (*MockClientConfigMockRecorder) ClientConfig ¶ added in v0.15.0
func (mr *MockClientConfigMockRecorder) ClientConfig() *gomock.Call
ClientConfig indicates an expected call of ClientConfig.
func (*MockClientConfigMockRecorder) ConfigAccess ¶ added in v0.15.0
func (mr *MockClientConfigMockRecorder) ConfigAccess() *gomock.Call
ConfigAccess indicates an expected call of ConfigAccess.
func (*MockClientConfigMockRecorder) Namespace ¶ added in v0.15.0
func (mr *MockClientConfigMockRecorder) Namespace() *gomock.Call
Namespace indicates an expected call of Namespace.
func (*MockClientConfigMockRecorder) RawConfig ¶ added in v0.15.0
func (mr *MockClientConfigMockRecorder) RawConfig() *gomock.Call
RawConfig indicates an expected call of RawConfig.
type MockEventRecorder ¶ added in v0.10.1
type MockEventRecorder struct {
// contains filtered or unexported fields
}
MockEventRecorder is a mock of EventRecorder interface.
func NewMockEventRecorder ¶ added in v0.10.1
func NewMockEventRecorder(ctrl *gomock.Controller) *MockEventRecorder
NewMockEventRecorder creates a new mock instance.
func (*MockEventRecorder) AnnotatedEventf ¶ added in v0.10.1
func (m *MockEventRecorder) AnnotatedEventf(arg0 runtime.Object, arg1 map[string]string, arg2, arg3, arg4 string, arg5 ...interface{})
AnnotatedEventf mocks base method.
func (*MockEventRecorder) EXPECT ¶ added in v0.10.1
func (m *MockEventRecorder) EXPECT() *MockEventRecorderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockEventRecorderMockRecorder ¶ added in v0.10.1
type MockEventRecorderMockRecorder struct {
// contains filtered or unexported fields
}
MockEventRecorderMockRecorder is the mock recorder for MockEventRecorder.
func (*MockEventRecorderMockRecorder) AnnotatedEventf ¶ added in v0.10.1
func (mr *MockEventRecorderMockRecorder) AnnotatedEventf(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call
AnnotatedEventf indicates an expected call of AnnotatedEventf.
func (*MockEventRecorderMockRecorder) Event ¶ added in v0.10.1
func (mr *MockEventRecorderMockRecorder) Event(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Event indicates an expected call of Event.
func (*MockEventRecorderMockRecorder) Eventf ¶ added in v0.10.1
func (mr *MockEventRecorderMockRecorder) Eventf(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
Eventf indicates an expected call of Eventf.
type MockHelmDeployer ¶ added in v0.10.2
type MockHelmDeployer struct {
// contains filtered or unexported fields
}
MockHelmDeployer is a mock of HelmDeployer interface.
func NewMockHelmDeployer ¶ added in v0.10.2
func NewMockHelmDeployer(ctrl *gomock.Controller) *MockHelmDeployer
NewMockHelmDeployer creates a new mock instance.
func (*MockHelmDeployer) Delete ¶ added in v0.10.2
func (m *MockHelmDeployer) Delete(ctx context.Context, name string) error
Delete mocks base method.
func (*MockHelmDeployer) DeleteRelease ¶ added in v0.10.2
func (m *MockHelmDeployer) DeleteRelease(ctx context.Context, deployed helmdeployer.DeployedBundle) error
DeleteRelease mocks base method.
func (*MockHelmDeployer) EXPECT ¶ added in v0.10.2
func (m *MockHelmDeployer) EXPECT() *MockHelmDeployerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHelmDeployer) ListDeployments ¶ added in v0.10.2
func (m *MockHelmDeployer) ListDeployments(list helmdeployer.ListAction) ([]helmdeployer.DeployedBundle, error)
ListDeployments mocks base method.
func (*MockHelmDeployer) NewListAction ¶ added in v0.10.2
func (m *MockHelmDeployer) NewListAction() helmdeployer.ListAction
NewListAction mocks base method.
type MockHelmDeployerMockRecorder ¶ added in v0.10.2
type MockHelmDeployerMockRecorder struct {
// contains filtered or unexported fields
}
MockHelmDeployerMockRecorder is the mock recorder for MockHelmDeployer.
func (*MockHelmDeployerMockRecorder) Delete ¶ added in v0.10.2
func (mr *MockHelmDeployerMockRecorder) Delete(ctx, name any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockHelmDeployerMockRecorder) DeleteRelease ¶ added in v0.10.2
func (mr *MockHelmDeployerMockRecorder) DeleteRelease(ctx, deployed any) *gomock.Call
DeleteRelease indicates an expected call of DeleteRelease.
func (*MockHelmDeployerMockRecorder) ListDeployments ¶ added in v0.10.2
func (mr *MockHelmDeployerMockRecorder) ListDeployments(list any) *gomock.Call
ListDeployments indicates an expected call of ListDeployments.
func (*MockHelmDeployerMockRecorder) NewListAction ¶ added in v0.10.2
func (mr *MockHelmDeployerMockRecorder) NewListAction() *gomock.Call
NewListAction indicates an expected call of NewListAction.
type MockK8sClient ¶ added in v0.14.0
type MockK8sClient struct {
// contains filtered or unexported fields
}
MockK8sClient is a mock of Client interface.
func NewMockK8sClient ¶ added in v0.14.0
func NewMockK8sClient(ctrl *gomock.Controller) *MockK8sClient
NewMockK8sClient creates a new mock instance.
func (*MockK8sClient) Apply ¶ added in v0.14.0
func (m *MockK8sClient) Apply(ctx context.Context, obj runtime.ApplyConfiguration, opts ...client.ApplyOption) error
Apply mocks base method.
func (*MockK8sClient) Create ¶ added in v0.14.0
func (m *MockK8sClient) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error
Create mocks base method.
func (*MockK8sClient) Delete ¶ added in v0.14.0
func (m *MockK8sClient) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error
Delete mocks base method.
func (*MockK8sClient) DeleteAllOf ¶ added in v0.14.0
func (m *MockK8sClient) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error
DeleteAllOf mocks base method.
func (*MockK8sClient) EXPECT ¶ added in v0.14.0
func (m *MockK8sClient) EXPECT() *MockK8sClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockK8sClient) Get ¶ added in v0.14.0
func (m *MockK8sClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error
Get mocks base method.
func (*MockK8sClient) GroupVersionKindFor ¶ added in v0.14.0
func (m *MockK8sClient) GroupVersionKindFor(obj runtime.Object) (schema.GroupVersionKind, error)
GroupVersionKindFor mocks base method.
func (*MockK8sClient) IsObjectNamespaced ¶ added in v0.14.0
func (m *MockK8sClient) IsObjectNamespaced(obj runtime.Object) (bool, error)
IsObjectNamespaced mocks base method.
func (*MockK8sClient) List ¶ added in v0.14.0
func (m *MockK8sClient) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
List mocks base method.
func (*MockK8sClient) Patch ¶ added in v0.14.0
func (m *MockK8sClient) Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) error
Patch mocks base method.
func (*MockK8sClient) RESTMapper ¶ added in v0.14.0
func (m *MockK8sClient) RESTMapper() meta.RESTMapper
RESTMapper mocks base method.
func (*MockK8sClient) Scheme ¶ added in v0.14.0
func (m *MockK8sClient) Scheme() *runtime.Scheme
Scheme mocks base method.
func (*MockK8sClient) Status ¶ added in v0.14.0
func (m *MockK8sClient) Status() client.SubResourceWriter
Status mocks base method.
func (*MockK8sClient) SubResource ¶ added in v0.14.0
func (m *MockK8sClient) SubResource(subResource string) client.SubResourceClient
SubResource mocks base method.
func (*MockK8sClient) Update ¶ added in v0.14.0
func (m *MockK8sClient) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error
Update mocks base method.
type MockK8sClientMockRecorder ¶ added in v0.14.0
type MockK8sClientMockRecorder struct {
// contains filtered or unexported fields
}
MockK8sClientMockRecorder is the mock recorder for MockK8sClient.
func (*MockK8sClientMockRecorder) Apply ¶ added in v0.14.0
func (mr *MockK8sClientMockRecorder) Apply(ctx, obj any, opts ...any) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockK8sClientMockRecorder) Create ¶ added in v0.14.0
func (mr *MockK8sClientMockRecorder) Create(ctx, obj any, opts ...any) *gomock.Call
Create indicates an expected call of Create.
func (*MockK8sClientMockRecorder) Delete ¶ added in v0.14.0
func (mr *MockK8sClientMockRecorder) Delete(ctx, obj any, opts ...any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockK8sClientMockRecorder) DeleteAllOf ¶ added in v0.14.0
func (mr *MockK8sClientMockRecorder) DeleteAllOf(ctx, obj any, opts ...any) *gomock.Call
DeleteAllOf indicates an expected call of DeleteAllOf.
func (*MockK8sClientMockRecorder) Get ¶ added in v0.14.0
func (mr *MockK8sClientMockRecorder) Get(ctx, key, obj any, opts ...any) *gomock.Call
Get indicates an expected call of Get.
func (*MockK8sClientMockRecorder) GroupVersionKindFor ¶ added in v0.14.0
func (mr *MockK8sClientMockRecorder) GroupVersionKindFor(obj any) *gomock.Call
GroupVersionKindFor indicates an expected call of GroupVersionKindFor.
func (*MockK8sClientMockRecorder) IsObjectNamespaced ¶ added in v0.14.0
func (mr *MockK8sClientMockRecorder) IsObjectNamespaced(obj any) *gomock.Call
IsObjectNamespaced indicates an expected call of IsObjectNamespaced.
func (*MockK8sClientMockRecorder) List ¶ added in v0.14.0
func (mr *MockK8sClientMockRecorder) List(ctx, list any, opts ...any) *gomock.Call
List indicates an expected call of List.
func (*MockK8sClientMockRecorder) Patch ¶ added in v0.14.0
func (mr *MockK8sClientMockRecorder) Patch(ctx, obj, patch any, opts ...any) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockK8sClientMockRecorder) RESTMapper ¶ added in v0.14.0
func (mr *MockK8sClientMockRecorder) RESTMapper() *gomock.Call
RESTMapper indicates an expected call of RESTMapper.
func (*MockK8sClientMockRecorder) Scheme ¶ added in v0.14.0
func (mr *MockK8sClientMockRecorder) Scheme() *gomock.Call
Scheme indicates an expected call of Scheme.
func (*MockK8sClientMockRecorder) Status ¶ added in v0.14.0
func (mr *MockK8sClientMockRecorder) Status() *gomock.Call
Status indicates an expected call of Status.
func (*MockK8sClientMockRecorder) SubResource ¶ added in v0.14.0
func (mr *MockK8sClientMockRecorder) SubResource(subResource any) *gomock.Call
SubResource indicates an expected call of SubResource.
type MockLogSink ¶ added in v0.15.0
type MockLogSink struct {
// contains filtered or unexported fields
}
MockLogSink is a mock of LogSink interface.
func NewMockLogSink ¶ added in v0.15.0
func NewMockLogSink(ctrl *gomock.Controller) *MockLogSink
NewMockLogSink creates a new mock instance.
func (*MockLogSink) EXPECT ¶ added in v0.15.0
func (m *MockLogSink) EXPECT() *MockLogSinkMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLogSink) Enabled ¶ added in v0.15.0
func (m *MockLogSink) Enabled(level int) bool
Enabled mocks base method.
func (*MockLogSink) Error ¶ added in v0.15.0
func (m *MockLogSink) Error(err error, msg string, keysAndValues ...any)
Error mocks base method.
func (*MockLogSink) Info ¶ added in v0.15.0
func (m *MockLogSink) Info(level int, msg string, keysAndValues ...any)
Info mocks base method.
func (*MockLogSink) Init ¶ added in v0.15.0
func (m *MockLogSink) Init(info logr.RuntimeInfo)
Init mocks base method.
func (*MockLogSink) WithName ¶ added in v0.15.0
func (m *MockLogSink) WithName(name string) logr.LogSink
WithName mocks base method.
func (*MockLogSink) WithValues ¶ added in v0.15.0
func (m *MockLogSink) WithValues(keysAndValues ...any) logr.LogSink
WithValues mocks base method.
type MockLogSinkMockRecorder ¶ added in v0.15.0
type MockLogSinkMockRecorder struct {
// contains filtered or unexported fields
}
MockLogSinkMockRecorder is the mock recorder for MockLogSink.
func (*MockLogSinkMockRecorder) Enabled ¶ added in v0.15.0
func (mr *MockLogSinkMockRecorder) Enabled(level any) *gomock.Call
Enabled indicates an expected call of Enabled.
func (*MockLogSinkMockRecorder) Error ¶ added in v0.15.0
func (mr *MockLogSinkMockRecorder) Error(err, msg any, keysAndValues ...any) *gomock.Call
Error indicates an expected call of Error.
func (*MockLogSinkMockRecorder) Info ¶ added in v0.15.0
func (mr *MockLogSinkMockRecorder) Info(level, msg any, keysAndValues ...any) *gomock.Call
Info indicates an expected call of Info.
func (*MockLogSinkMockRecorder) Init ¶ added in v0.15.0
func (mr *MockLogSinkMockRecorder) Init(info any) *gomock.Call
Init indicates an expected call of Init.
func (*MockLogSinkMockRecorder) WithName ¶ added in v0.15.0
func (mr *MockLogSinkMockRecorder) WithName(name any) *gomock.Call
WithName indicates an expected call of WithName.
func (*MockLogSinkMockRecorder) WithValues ¶ added in v0.15.0
func (mr *MockLogSinkMockRecorder) WithValues(keysAndValues ...any) *gomock.Call
WithValues indicates an expected call of WithValues.
type MockOCIClient ¶ added in v0.13.1
type MockOCIClient struct {
// contains filtered or unexported fields
}
MockOCIClient is a mock of Client interface.
func NewMockOCIClient ¶ added in v0.13.1
func NewMockOCIClient(ctrl *gomock.Controller) *MockOCIClient
NewMockOCIClient creates a new mock instance.
func (*MockOCIClient) EXPECT ¶ added in v0.13.1
func (m *MockOCIClient) EXPECT() *MockOCIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockOCIClientMockRecorder ¶ added in v0.13.1
type MockOCIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockOCIClientMockRecorder is the mock recorder for MockOCIClient.
type MockReader ¶ added in v0.13.1
type MockReader struct {
// contains filtered or unexported fields
}
MockReader is a mock of Reader interface.
func NewMockReader ¶ added in v0.13.1
func NewMockReader(ctrl *gomock.Controller) *MockReader
NewMockReader creates a new mock instance.
func (*MockReader) EXPECT ¶ added in v0.13.1
func (m *MockReader) EXPECT() *MockReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReader) Get ¶ added in v0.13.1
func (m *MockReader) Get(arg0 context.Context, arg1 types.NamespacedName, arg2 client.Object, arg3 ...client.GetOption) error
Get mocks base method.
func (*MockReader) List ¶ added in v0.13.1
func (m *MockReader) List(arg0 context.Context, arg1 client.ObjectList, arg2 ...client.ListOption) error
List mocks base method.
type MockReaderMockRecorder ¶ added in v0.13.1
type MockReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockReaderMockRecorder is the mock recorder for MockReader.
func (*MockReaderMockRecorder) Get ¶ added in v0.13.1
func (mr *MockReaderMockRecorder) Get(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockReaderMockRecorder) List ¶ added in v0.13.1
func (mr *MockReaderMockRecorder) List(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
List indicates an expected call of List.
type MockScheduledJob ¶ added in v0.13.0
type MockScheduledJob struct {
// contains filtered or unexported fields
}
MockScheduledJob is a mock of ScheduledJob interface.
func NewMockScheduledJob ¶ added in v0.13.0
func NewMockScheduledJob(ctrl *gomock.Controller) *MockScheduledJob
NewMockScheduledJob creates a new mock instance.
func (*MockScheduledJob) EXPECT ¶ added in v0.13.0
func (m *MockScheduledJob) EXPECT() *MockScheduledJobMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockScheduledJob) JobDetail ¶ added in v0.13.0
func (m *MockScheduledJob) JobDetail() *quartz.JobDetail
JobDetail mocks base method.
func (*MockScheduledJob) NextRunTime ¶ added in v0.13.0
func (m *MockScheduledJob) NextRunTime() int64
NextRunTime mocks base method.
func (*MockScheduledJob) Trigger ¶ added in v0.13.0
func (m *MockScheduledJob) Trigger() quartz.Trigger
Trigger mocks base method.
type MockScheduledJobMockRecorder ¶ added in v0.13.0
type MockScheduledJobMockRecorder struct {
// contains filtered or unexported fields
}
MockScheduledJobMockRecorder is the mock recorder for MockScheduledJob.
func (*MockScheduledJobMockRecorder) JobDetail ¶ added in v0.13.0
func (mr *MockScheduledJobMockRecorder) JobDetail() *gomock.Call
JobDetail indicates an expected call of JobDetail.
func (*MockScheduledJobMockRecorder) NextRunTime ¶ added in v0.13.0
func (mr *MockScheduledJobMockRecorder) NextRunTime() *gomock.Call
NextRunTime indicates an expected call of NextRunTime.
func (*MockScheduledJobMockRecorder) Trigger ¶ added in v0.13.0
func (mr *MockScheduledJobMockRecorder) Trigger() *gomock.Call
Trigger indicates an expected call of Trigger.
type MockScheduler ¶ added in v0.13.0
type MockScheduler struct {
// contains filtered or unexported fields
}
MockScheduler is a mock of Scheduler interface.
func NewMockScheduler ¶ added in v0.13.0
func NewMockScheduler(ctrl *gomock.Controller) *MockScheduler
NewMockScheduler creates a new mock instance.
func (*MockScheduler) Clear ¶ added in v0.13.0
func (m *MockScheduler) Clear() error
Clear mocks base method.
func (*MockScheduler) DeleteJob ¶ added in v0.13.0
func (m *MockScheduler) DeleteJob(jobKey *quartz.JobKey) error
DeleteJob mocks base method.
func (*MockScheduler) EXPECT ¶ added in v0.13.0
func (m *MockScheduler) EXPECT() *MockSchedulerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockScheduler) GetJobKeys ¶ added in v0.13.0
func (m *MockScheduler) GetJobKeys(arg0 ...quartz.Matcher[quartz.ScheduledJob]) ([]*quartz.JobKey, error)
GetJobKeys mocks base method.
func (*MockScheduler) GetScheduledJob ¶ added in v0.13.0
func (m *MockScheduler) GetScheduledJob(jobKey *quartz.JobKey) (quartz.ScheduledJob, error)
GetScheduledJob mocks base method.
func (*MockScheduler) IsStarted ¶ added in v0.13.0
func (m *MockScheduler) IsStarted() bool
IsStarted mocks base method.
func (*MockScheduler) PauseJob ¶ added in v0.13.0
func (m *MockScheduler) PauseJob(jobKey *quartz.JobKey) error
PauseJob mocks base method.
func (*MockScheduler) ResumeJob ¶ added in v0.13.0
func (m *MockScheduler) ResumeJob(jobKey *quartz.JobKey) error
ResumeJob mocks base method.
func (*MockScheduler) ScheduleJob ¶ added in v0.13.0
ScheduleJob mocks base method.
func (*MockScheduler) Start ¶ added in v0.13.0
func (m *MockScheduler) Start(arg0 context.Context)
Start mocks base method.
func (*MockScheduler) Stop ¶ added in v0.13.0
func (m *MockScheduler) Stop()
Stop mocks base method.
func (*MockScheduler) Wait ¶ added in v0.13.0
func (m *MockScheduler) Wait(arg0 context.Context)
Wait mocks base method.
type MockSchedulerMockRecorder ¶ added in v0.13.0
type MockSchedulerMockRecorder struct {
// contains filtered or unexported fields
}
MockSchedulerMockRecorder is the mock recorder for MockScheduler.
func (*MockSchedulerMockRecorder) Clear ¶ added in v0.13.0
func (mr *MockSchedulerMockRecorder) Clear() *gomock.Call
Clear indicates an expected call of Clear.
func (*MockSchedulerMockRecorder) DeleteJob ¶ added in v0.13.0
func (mr *MockSchedulerMockRecorder) DeleteJob(jobKey any) *gomock.Call
DeleteJob indicates an expected call of DeleteJob.
func (*MockSchedulerMockRecorder) GetJobKeys ¶ added in v0.13.0
func (mr *MockSchedulerMockRecorder) GetJobKeys(arg0 ...any) *gomock.Call
GetJobKeys indicates an expected call of GetJobKeys.
func (*MockSchedulerMockRecorder) GetScheduledJob ¶ added in v0.13.0
func (mr *MockSchedulerMockRecorder) GetScheduledJob(jobKey any) *gomock.Call
GetScheduledJob indicates an expected call of GetScheduledJob.
func (*MockSchedulerMockRecorder) IsStarted ¶ added in v0.13.0
func (mr *MockSchedulerMockRecorder) IsStarted() *gomock.Call
IsStarted indicates an expected call of IsStarted.
func (*MockSchedulerMockRecorder) PauseJob ¶ added in v0.13.0
func (mr *MockSchedulerMockRecorder) PauseJob(jobKey any) *gomock.Call
PauseJob indicates an expected call of PauseJob.
func (*MockSchedulerMockRecorder) ResumeJob ¶ added in v0.13.0
func (mr *MockSchedulerMockRecorder) ResumeJob(jobKey any) *gomock.Call
ResumeJob indicates an expected call of ResumeJob.
func (*MockSchedulerMockRecorder) ScheduleJob ¶ added in v0.13.0
func (mr *MockSchedulerMockRecorder) ScheduleJob(jobDetail, trigger any) *gomock.Call
ScheduleJob indicates an expected call of ScheduleJob.
func (*MockSchedulerMockRecorder) Start ¶ added in v0.13.0
func (mr *MockSchedulerMockRecorder) Start(arg0 any) *gomock.Call
Start indicates an expected call of Start.
func (*MockSchedulerMockRecorder) Stop ¶ added in v0.13.0
func (mr *MockSchedulerMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
type MockStatusWriter ¶ added in v0.14.0
type MockStatusWriter struct {
// contains filtered or unexported fields
}
MockStatusWriter is a mock of SubResourceWriter interface.
func NewMockStatusWriter ¶ added in v0.14.0
func NewMockStatusWriter(ctrl *gomock.Controller) *MockStatusWriter
NewMockStatusWriter creates a new mock instance.
func (*MockStatusWriter) Apply ¶ added in v0.15.0
func (m *MockStatusWriter) Apply(ctx context.Context, obj runtime.ApplyConfiguration, opts ...client.SubResourceApplyOption) error
Apply mocks base method.
func (*MockStatusWriter) Create ¶ added in v0.14.0
func (m *MockStatusWriter) Create(ctx context.Context, obj, subResource client.Object, opts ...client.SubResourceCreateOption) error
Create mocks base method.
func (*MockStatusWriter) EXPECT ¶ added in v0.14.0
func (m *MockStatusWriter) EXPECT() *MockStatusWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStatusWriter) Patch ¶ added in v0.14.0
func (m *MockStatusWriter) Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.SubResourcePatchOption) error
Patch mocks base method.
func (*MockStatusWriter) Update ¶ added in v0.14.0
func (m *MockStatusWriter) Update(ctx context.Context, obj client.Object, opts ...client.SubResourceUpdateOption) error
Update mocks base method.
type MockStatusWriterMockRecorder ¶ added in v0.14.0
type MockStatusWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockStatusWriterMockRecorder is the mock recorder for MockStatusWriter.
func (*MockStatusWriterMockRecorder) Apply ¶ added in v0.15.0
func (mr *MockStatusWriterMockRecorder) Apply(ctx, obj any, opts ...any) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockStatusWriterMockRecorder) Create ¶ added in v0.14.0
func (mr *MockStatusWriterMockRecorder) Create(ctx, obj, subResource any, opts ...any) *gomock.Call
Create indicates an expected call of Create.
type MockStore ¶ added in v0.14.0
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface.
func NewMockStore ¶ added in v0.14.0
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance.
func (*MockStore) EXPECT ¶ added in v0.14.0
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockStoreMockRecorder ¶ added in v0.14.0
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
type MockStrategy ¶ added in v0.15.0
type MockStrategy struct {
// contains filtered or unexported fields
}
MockStrategy is a mock of Strategy interface.
func NewMockStrategy ¶ added in v0.15.0
func NewMockStrategy(ctrl *gomock.Controller) *MockStrategy
NewMockStrategy creates a new mock instance.
func (*MockStrategy) EXPECT ¶ added in v0.15.0
func (m *MockStrategy) EXPECT() *MockStrategyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStrategy) Execute ¶ added in v0.15.0
func (m *MockStrategy) Execute(ctx context.Context, r *git.Repository, CommitHash plumbing.Hash) error
Execute mocks base method.
func (*MockStrategy) Type ¶ added in v0.15.0
func (m *MockStrategy) Type() capability.StrategyType
Type mocks base method.
type MockStrategyMockRecorder ¶ added in v0.15.0
type MockStrategyMockRecorder struct {
// contains filtered or unexported fields
}
MockStrategyMockRecorder is the mock recorder for MockStrategy.
func (*MockStrategyMockRecorder) Execute ¶ added in v0.15.0
func (mr *MockStrategyMockRecorder) Execute(ctx, r, CommitHash any) *gomock.Call
Execute indicates an expected call of Execute.
func (*MockStrategyMockRecorder) Type ¶ added in v0.15.0
func (mr *MockStrategyMockRecorder) Type() *gomock.Call
Type indicates an expected call of Type.
type MockSubmoduleFetcher ¶ added in v0.15.0
type MockSubmoduleFetcher struct {
// contains filtered or unexported fields
}
MockSubmoduleFetcher is a mock of SubmoduleFetcher interface.
func NewMockSubmoduleFetcher ¶ added in v0.15.0
func NewMockSubmoduleFetcher(ctrl *gomock.Controller) *MockSubmoduleFetcher
NewMockSubmoduleFetcher creates a new mock instance.
func (*MockSubmoduleFetcher) EXPECT ¶ added in v0.15.0
func (m *MockSubmoduleFetcher) EXPECT() *MockSubmoduleFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSubmoduleFetcherMockRecorder ¶ added in v0.15.0
type MockSubmoduleFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockSubmoduleFetcherMockRecorder is the mock recorder for MockSubmoduleFetcher.
type MockTarget ¶ added in v0.10.0
type MockTarget struct {
// contains filtered or unexported fields
}
MockTarget is a mock of Target interface.
func NewMockTarget ¶ added in v0.10.0
func NewMockTarget(ctrl *gomock.Controller) *MockTarget
NewMockTarget creates a new mock instance.
func (*MockTarget) EXPECT ¶ added in v0.10.0
func (m *MockTarget) EXPECT() *MockTargetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTarget) Exists ¶ added in v0.10.0
func (m *MockTarget) Exists(arg0 context.Context, arg1 v1.Descriptor) (bool, error)
Exists mocks base method.
func (*MockTarget) Fetch ¶ added in v0.10.0
func (m *MockTarget) Fetch(arg0 context.Context, arg1 v1.Descriptor) (io.ReadCloser, error)
Fetch mocks base method.
func (*MockTarget) Push ¶ added in v0.10.0
func (m *MockTarget) Push(arg0 context.Context, arg1 v1.Descriptor, arg2 io.Reader) error
Push mocks base method.
func (*MockTarget) Resolve ¶ added in v0.10.0
func (m *MockTarget) Resolve(arg0 context.Context, arg1 string) (v1.Descriptor, error)
Resolve mocks base method.
func (*MockTarget) Tag ¶ added in v0.10.0
func (m *MockTarget) Tag(arg0 context.Context, arg1 v1.Descriptor, arg2 string) error
Tag mocks base method.
type MockTargetBuilder ¶ added in v0.14.0
type MockTargetBuilder struct {
// contains filtered or unexported fields
}
MockTargetBuilder is a mock of TargetBuilder interface.
func NewMockTargetBuilder ¶ added in v0.14.0
func NewMockTargetBuilder(ctrl *gomock.Controller) *MockTargetBuilder
NewMockTargetBuilder creates a new mock instance.
func (*MockTargetBuilder) EXPECT ¶ added in v0.14.0
func (m *MockTargetBuilder) EXPECT() *MockTargetBuilderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTargetBuilderMockRecorder ¶ added in v0.14.0
type MockTargetBuilderMockRecorder struct {
// contains filtered or unexported fields
}
MockTargetBuilderMockRecorder is the mock recorder for MockTargetBuilder.
type MockTargetMockRecorder ¶ added in v0.10.0
type MockTargetMockRecorder struct {
// contains filtered or unexported fields
}
MockTargetMockRecorder is the mock recorder for MockTarget.
func (*MockTargetMockRecorder) Exists ¶ added in v0.10.0
func (mr *MockTargetMockRecorder) Exists(arg0, arg1 interface{}) *gomock.Call
Exists indicates an expected call of Exists.
func (*MockTargetMockRecorder) Fetch ¶ added in v0.10.0
func (mr *MockTargetMockRecorder) Fetch(arg0, arg1 interface{}) *gomock.Call
Fetch indicates an expected call of Fetch.
func (*MockTargetMockRecorder) Push ¶ added in v0.10.0
func (mr *MockTargetMockRecorder) Push(arg0, arg1, arg2 interface{}) *gomock.Call
Push indicates an expected call of Push.
func (*MockTargetMockRecorder) Resolve ¶ added in v0.10.0
func (mr *MockTargetMockRecorder) Resolve(arg0, arg1 interface{}) *gomock.Call
Resolve indicates an expected call of Resolve.
func (*MockTargetMockRecorder) Tag ¶ added in v0.10.0
func (mr *MockTargetMockRecorder) Tag(arg0, arg1, arg2 interface{}) *gomock.Call
Tag indicates an expected call of Tag.