mocks

package
v1.15.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnqueueOwner added in v1.15.1

type EnqueueOwner struct {
	mock.Mock
}

EnqueueOwner is an autogenerated mock type for the EnqueueOwner type

func NewEnqueueOwner added in v1.15.1

func NewEnqueueOwner(t interface {
	mock.TestingT
	Cleanup(func())
}) *EnqueueOwner

NewEnqueueOwner creates a new instance of EnqueueOwner. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*EnqueueOwner) EXPECT added in v1.15.1

func (_m *EnqueueOwner) EXPECT() *EnqueueOwner_Expecter

func (*EnqueueOwner) Execute added in v1.15.1

func (_m *EnqueueOwner) Execute(id types.NamespacedName) error

Execute provides a mock function with given fields: id

type EnqueueOwner_Execute_Call added in v1.15.1

type EnqueueOwner_Execute_Call struct {
	*mock.Call
}

EnqueueOwner_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'

func (*EnqueueOwner_Execute_Call) Return added in v1.15.1

func (*EnqueueOwner_Execute_Call) Run added in v1.15.1

func (*EnqueueOwner_Execute_Call) RunAndReturn added in v1.15.1

type EnqueueOwner_Expecter added in v1.15.1

type EnqueueOwner_Expecter struct {
	// contains filtered or unexported fields
}

func (*EnqueueOwner_Expecter) Execute added in v1.15.1

func (_e *EnqueueOwner_Expecter) Execute(id interface{}) *EnqueueOwner_Execute_Call

Execute is a helper method to define mock.On call

  • id types.NamespacedName

type EventsRecorder

type EventsRecorder struct {
	mock.Mock
}

EventsRecorder is an autogenerated mock type for the EventsRecorder type

func NewEventsRecorder added in v1.15.1

func NewEventsRecorder(t interface {
	mock.TestingT
	Cleanup(func())
}) *EventsRecorder

NewEventsRecorder creates a new instance of EventsRecorder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*EventsRecorder) EXPECT added in v1.15.1

func (*EventsRecorder) RecordRaw

func (_m *EventsRecorder) RecordRaw(ctx context.Context, ev core.PhaseInfo) error

RecordRaw provides a mock function with given fields: ctx, ev

type EventsRecorder_Expecter added in v1.15.1

type EventsRecorder_Expecter struct {
	// contains filtered or unexported fields
}

func (*EventsRecorder_Expecter) RecordRaw added in v1.15.1

func (_e *EventsRecorder_Expecter) RecordRaw(ctx interface{}, ev interface{}) *EventsRecorder_RecordRaw_Call

RecordRaw is a helper method to define mock.On call

  • ctx context.Context
  • ev core.PhaseInfo

type EventsRecorder_RecordRaw_Call added in v1.15.1

type EventsRecorder_RecordRaw_Call struct {
	*mock.Call
}

EventsRecorder_RecordRaw_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecordRaw'

func (*EventsRecorder_RecordRaw_Call) Return added in v1.15.1

func (*EventsRecorder_RecordRaw_Call) Run added in v1.15.1

func (*EventsRecorder_RecordRaw_Call) RunAndReturn added in v1.15.1

type FakeKubeCache

type FakeKubeCache struct {
	// Reader acts as a client to objects stored in the cache.
	client.Reader

	// Informers loads informers and adds field indices.
	cache.Informers

	Cache map[string]runtime.Object
	// contains filtered or unexported fields
}

func NewFakeKubeCache

func NewFakeKubeCache() *FakeKubeCache

func (*FakeKubeCache) Create

func (m *FakeKubeCache) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) (err error)

func (*FakeKubeCache) Delete

func (m *FakeKubeCache) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error

func (*FakeKubeCache) Get

func (*FakeKubeCache) GetInformer

func (m *FakeKubeCache) GetInformer(ctx context.Context, obj client.Object, opts ...cache.InformerGetOption) (cache.Informer, error)

func (*FakeKubeCache) GetInformerForKind

func (m *FakeKubeCache) GetInformerForKind(ctx context.Context, gvk schema.GroupVersionKind, opts ...cache.InformerGetOption) (cache.Informer, error)

func (*FakeKubeCache) IndexField

func (m *FakeKubeCache) IndexField(ctx context.Context, obj client.Object, field string, extractValue client.IndexerFunc) error

func (*FakeKubeCache) List

func (m *FakeKubeCache) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error

func (*FakeKubeCache) Start

func (m *FakeKubeCache) Start(ctx context.Context) error

func (*FakeKubeCache) Update

func (m *FakeKubeCache) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error

func (*FakeKubeCache) WaitForCacheSync

func (m *FakeKubeCache) WaitForCacheSync(ctx context.Context) bool

type FakeKubeClient

type FakeKubeClient struct {
	client.Reader
	client.Writer
	client.StatusClient
	client.SubResourceClientConstructor

	Cache map[string]runtime.Object
	// contains filtered or unexported fields
}

func NewFakeKubeClient

func NewFakeKubeClient() *FakeKubeClient

func (*FakeKubeClient) Create

func (m *FakeKubeClient) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) (err error)

func (*FakeKubeClient) Delete

func (m *FakeKubeClient) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error

func (*FakeKubeClient) DeleteAllOf

func (*FakeKubeClient) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error

DeleteAllOf deletes all objects of the given type matching the given options.

func (*FakeKubeClient) Get

func (*FakeKubeClient) GroupVersionKindFor added in v1.9.35

func (m *FakeKubeClient) GroupVersionKindFor(obj runtime.Object) (schema.GroupVersionKind, error)

GroupVersionKindFor returns the GroupVersionKind for the given object.

func (*FakeKubeClient) IsObjectNamespaced added in v1.9.35

func (m *FakeKubeClient) IsObjectNamespaced(obj runtime.Object) (bool, error)

IsObjectNamespaced returns true if the GroupVersionKind of the object is namespaced.

func (*FakeKubeClient) List

func (m *FakeKubeClient) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error

func (*FakeKubeClient) Patch

func (*FakeKubeClient) Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) error

Patch patches the given obj in the Kubernetes cluster. obj must be a struct pointer so that obj can be updated with the content returned by the Server.

func (*FakeKubeClient) RESTMapper

func (*FakeKubeClient) RESTMapper() meta.RESTMapper

func (*FakeKubeClient) Scheme

func (*FakeKubeClient) Scheme() *runtime.Scheme

func (*FakeKubeClient) Status

func (*FakeKubeClient) Update

func (m *FakeKubeClient) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error

type KubeClient

type KubeClient struct {
	mock.Mock
}

KubeClient is an autogenerated mock type for the KubeClient type

func NewKubeClient added in v1.15.1

func NewKubeClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *KubeClient

NewKubeClient creates a new instance of KubeClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*KubeClient) EXPECT added in v1.15.1

func (_m *KubeClient) EXPECT() *KubeClient_Expecter

func (*KubeClient) GetCache

func (_m *KubeClient) GetCache() cache.Cache

GetCache provides a mock function with given fields:

func (*KubeClient) GetClient

func (_m *KubeClient) GetClient() client.Client

GetClient provides a mock function with given fields:

type KubeClient_Expecter added in v1.15.1

type KubeClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*KubeClient_Expecter) GetCache added in v1.15.1

GetCache is a helper method to define mock.On call

func (*KubeClient_Expecter) GetClient added in v1.15.1

GetClient is a helper method to define mock.On call

type KubeClient_GetCache_Call added in v1.15.1

type KubeClient_GetCache_Call struct {
	*mock.Call
}

KubeClient_GetCache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCache'

func (*KubeClient_GetCache_Call) Return added in v1.15.1

func (*KubeClient_GetCache_Call) Run added in v1.15.1

func (*KubeClient_GetCache_Call) RunAndReturn added in v1.15.1

func (_c *KubeClient_GetCache_Call) RunAndReturn(run func() cache.Cache) *KubeClient_GetCache_Call

type KubeClient_GetClient_Call added in v1.15.1

type KubeClient_GetClient_Call struct {
	*mock.Call
}

KubeClient_GetClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClient'

func (*KubeClient_GetClient_Call) Return added in v1.15.1

func (*KubeClient_GetClient_Call) Run added in v1.15.1

func (*KubeClient_GetClient_Call) RunAndReturn added in v1.15.1

func (_c *KubeClient_GetClient_Call) RunAndReturn(run func() client.Client) *KubeClient_GetClient_Call

type Plugin

type Plugin struct {
	mock.Mock
}

Plugin is an autogenerated mock type for the Plugin type

func NewPlugin added in v1.15.1

func NewPlugin(t interface {
	mock.TestingT
	Cleanup(func())
}) *Plugin

NewPlugin creates a new instance of Plugin. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Plugin) Abort

func (_m *Plugin) Abort(ctx context.Context, tCtx core.TaskExecutionContext) error

Abort provides a mock function with given fields: ctx, tCtx

func (*Plugin) EXPECT added in v1.15.1

func (_m *Plugin) EXPECT() *Plugin_Expecter

func (*Plugin) Finalize

func (_m *Plugin) Finalize(ctx context.Context, tCtx core.TaskExecutionContext) error

Finalize provides a mock function with given fields: ctx, tCtx

func (*Plugin) GetID

func (_m *Plugin) GetID() string

GetID provides a mock function with given fields:

func (*Plugin) GetProperties

func (_m *Plugin) GetProperties() core.PluginProperties

GetProperties provides a mock function with given fields:

func (*Plugin) Handle

Handle provides a mock function with given fields: ctx, tCtx

type PluginLoader added in v1.15.1

type PluginLoader struct {
	mock.Mock
}

PluginLoader is an autogenerated mock type for the PluginLoader type

func NewPluginLoader added in v1.15.1

func NewPluginLoader(t interface {
	mock.TestingT
	Cleanup(func())
}) *PluginLoader

NewPluginLoader creates a new instance of PluginLoader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PluginLoader) EXPECT added in v1.15.1

func (_m *PluginLoader) EXPECT() *PluginLoader_Expecter

func (*PluginLoader) Execute added in v1.15.1

func (_m *PluginLoader) Execute(ctx context.Context, iCtx core.SetupContext) (core.Plugin, error)

Execute provides a mock function with given fields: ctx, iCtx

type PluginLoader_Execute_Call added in v1.15.1

type PluginLoader_Execute_Call struct {
	*mock.Call
}

PluginLoader_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'

func (*PluginLoader_Execute_Call) Return added in v1.15.1

func (*PluginLoader_Execute_Call) Run added in v1.15.1

func (*PluginLoader_Execute_Call) RunAndReturn added in v1.15.1

type PluginLoader_Expecter added in v1.15.1

type PluginLoader_Expecter struct {
	// contains filtered or unexported fields
}

func (*PluginLoader_Expecter) Execute added in v1.15.1

func (_e *PluginLoader_Expecter) Execute(ctx interface{}, iCtx interface{}) *PluginLoader_Execute_Call

Execute is a helper method to define mock.On call

  • ctx context.Context
  • iCtx core.SetupContext

type PluginStateReader

type PluginStateReader struct {
	mock.Mock
}

PluginStateReader is an autogenerated mock type for the PluginStateReader type

func NewPluginStateReader added in v1.15.1

func NewPluginStateReader(t interface {
	mock.TestingT
	Cleanup(func())
}) *PluginStateReader

NewPluginStateReader creates a new instance of PluginStateReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PluginStateReader) EXPECT added in v1.15.1

func (*PluginStateReader) Get

func (_m *PluginStateReader) Get(t interface{}) (uint8, error)

Get provides a mock function with given fields: t

func (*PluginStateReader) GetStateVersion

func (_m *PluginStateReader) GetStateVersion() uint8

GetStateVersion provides a mock function with given fields:

type PluginStateReader_Expecter added in v1.15.1

type PluginStateReader_Expecter struct {
	// contains filtered or unexported fields
}

func (*PluginStateReader_Expecter) Get added in v1.15.1

Get is a helper method to define mock.On call

  • t interface{}

func (*PluginStateReader_Expecter) GetStateVersion added in v1.15.1

GetStateVersion is a helper method to define mock.On call

type PluginStateReader_GetStateVersion_Call added in v1.15.1

type PluginStateReader_GetStateVersion_Call struct {
	*mock.Call
}

PluginStateReader_GetStateVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStateVersion'

func (*PluginStateReader_GetStateVersion_Call) Return added in v1.15.1

func (*PluginStateReader_GetStateVersion_Call) Run added in v1.15.1

func (*PluginStateReader_GetStateVersion_Call) RunAndReturn added in v1.15.1

type PluginStateReader_Get_Call added in v1.15.1

type PluginStateReader_Get_Call struct {
	*mock.Call
}

PluginStateReader_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*PluginStateReader_Get_Call) Return added in v1.15.1

func (_c *PluginStateReader_Get_Call) Return(stateVersion uint8, err error) *PluginStateReader_Get_Call

func (*PluginStateReader_Get_Call) Run added in v1.15.1

func (_c *PluginStateReader_Get_Call) Run(run func(t interface{})) *PluginStateReader_Get_Call

func (*PluginStateReader_Get_Call) RunAndReturn added in v1.15.1

func (_c *PluginStateReader_Get_Call) RunAndReturn(run func(interface{}) (uint8, error)) *PluginStateReader_Get_Call

type PluginStateWriter

type PluginStateWriter struct {
	mock.Mock
}

PluginStateWriter is an autogenerated mock type for the PluginStateWriter type

func NewPluginStateWriter added in v1.15.1

func NewPluginStateWriter(t interface {
	mock.TestingT
	Cleanup(func())
}) *PluginStateWriter

NewPluginStateWriter creates a new instance of PluginStateWriter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PluginStateWriter) EXPECT added in v1.15.1

func (*PluginStateWriter) Put

func (_m *PluginStateWriter) Put(stateVersion uint8, v interface{}) error

Put provides a mock function with given fields: stateVersion, v

func (*PluginStateWriter) Reset

func (_m *PluginStateWriter) Reset() error

Reset provides a mock function with given fields:

type PluginStateWriter_Expecter added in v1.15.1

type PluginStateWriter_Expecter struct {
	// contains filtered or unexported fields
}

func (*PluginStateWriter_Expecter) Put added in v1.15.1

func (_e *PluginStateWriter_Expecter) Put(stateVersion interface{}, v interface{}) *PluginStateWriter_Put_Call

Put is a helper method to define mock.On call

  • stateVersion uint8
  • v interface{}

func (*PluginStateWriter_Expecter) Reset added in v1.15.1

Reset is a helper method to define mock.On call

type PluginStateWriter_Put_Call added in v1.15.1

type PluginStateWriter_Put_Call struct {
	*mock.Call
}

PluginStateWriter_Put_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Put'

func (*PluginStateWriter_Put_Call) Return added in v1.15.1

func (*PluginStateWriter_Put_Call) Run added in v1.15.1

func (_c *PluginStateWriter_Put_Call) Run(run func(stateVersion uint8, v interface{})) *PluginStateWriter_Put_Call

func (*PluginStateWriter_Put_Call) RunAndReturn added in v1.15.1

func (_c *PluginStateWriter_Put_Call) RunAndReturn(run func(uint8, interface{}) error) *PluginStateWriter_Put_Call

type PluginStateWriter_Reset_Call added in v1.15.1

type PluginStateWriter_Reset_Call struct {
	*mock.Call
}

PluginStateWriter_Reset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reset'

func (*PluginStateWriter_Reset_Call) Return added in v1.15.1

func (*PluginStateWriter_Reset_Call) Run added in v1.15.1

func (*PluginStateWriter_Reset_Call) RunAndReturn added in v1.15.1

func (_c *PluginStateWriter_Reset_Call) RunAndReturn(run func() error) *PluginStateWriter_Reset_Call

type Plugin_Abort_Call added in v1.15.1

type Plugin_Abort_Call struct {
	*mock.Call
}

Plugin_Abort_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Abort'

func (*Plugin_Abort_Call) Return added in v1.15.1

func (_c *Plugin_Abort_Call) Return(_a0 error) *Plugin_Abort_Call

func (*Plugin_Abort_Call) Run added in v1.15.1

func (*Plugin_Abort_Call) RunAndReturn added in v1.15.1

type Plugin_Expecter added in v1.15.1

type Plugin_Expecter struct {
	// contains filtered or unexported fields
}

func (*Plugin_Expecter) Abort added in v1.15.1

func (_e *Plugin_Expecter) Abort(ctx interface{}, tCtx interface{}) *Plugin_Abort_Call

Abort is a helper method to define mock.On call

  • ctx context.Context
  • tCtx core.TaskExecutionContext

func (*Plugin_Expecter) Finalize added in v1.15.1

func (_e *Plugin_Expecter) Finalize(ctx interface{}, tCtx interface{}) *Plugin_Finalize_Call

Finalize is a helper method to define mock.On call

  • ctx context.Context
  • tCtx core.TaskExecutionContext

func (*Plugin_Expecter) GetID added in v1.15.1

func (_e *Plugin_Expecter) GetID() *Plugin_GetID_Call

GetID is a helper method to define mock.On call

func (*Plugin_Expecter) GetProperties added in v1.15.1

func (_e *Plugin_Expecter) GetProperties() *Plugin_GetProperties_Call

GetProperties is a helper method to define mock.On call

func (*Plugin_Expecter) Handle added in v1.15.1

func (_e *Plugin_Expecter) Handle(ctx interface{}, tCtx interface{}) *Plugin_Handle_Call

Handle is a helper method to define mock.On call

  • ctx context.Context
  • tCtx core.TaskExecutionContext

type Plugin_Finalize_Call added in v1.15.1

type Plugin_Finalize_Call struct {
	*mock.Call
}

Plugin_Finalize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Finalize'

func (*Plugin_Finalize_Call) Return added in v1.15.1

func (*Plugin_Finalize_Call) Run added in v1.15.1

func (*Plugin_Finalize_Call) RunAndReturn added in v1.15.1

type Plugin_GetID_Call added in v1.15.1

type Plugin_GetID_Call struct {
	*mock.Call
}

Plugin_GetID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetID'

func (*Plugin_GetID_Call) Return added in v1.15.1

func (_c *Plugin_GetID_Call) Return(_a0 string) *Plugin_GetID_Call

func (*Plugin_GetID_Call) Run added in v1.15.1

func (_c *Plugin_GetID_Call) Run(run func()) *Plugin_GetID_Call

func (*Plugin_GetID_Call) RunAndReturn added in v1.15.1

func (_c *Plugin_GetID_Call) RunAndReturn(run func() string) *Plugin_GetID_Call

type Plugin_GetProperties_Call added in v1.15.1

type Plugin_GetProperties_Call struct {
	*mock.Call
}

Plugin_GetProperties_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProperties'

func (*Plugin_GetProperties_Call) Return added in v1.15.1

func (*Plugin_GetProperties_Call) Run added in v1.15.1

func (*Plugin_GetProperties_Call) RunAndReturn added in v1.15.1

type Plugin_Handle_Call added in v1.15.1

type Plugin_Handle_Call struct {
	*mock.Call
}

Plugin_Handle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Handle'

func (*Plugin_Handle_Call) Return added in v1.15.1

func (*Plugin_Handle_Call) Run added in v1.15.1

func (*Plugin_Handle_Call) RunAndReturn added in v1.15.1

type ResourceManager

type ResourceManager struct {
	mock.Mock
}

ResourceManager is an autogenerated mock type for the ResourceManager type

func NewResourceManager added in v1.15.1

func NewResourceManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *ResourceManager

NewResourceManager creates a new instance of ResourceManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ResourceManager) AllocateResource

func (_m *ResourceManager) AllocateResource(ctx context.Context, namespace core.ResourceNamespace, allocationToken string, constraintsSpec core.ResourceConstraintsSpec) (core.AllocationStatus, error)

AllocateResource provides a mock function with given fields: ctx, namespace, allocationToken, constraintsSpec

func (*ResourceManager) EXPECT added in v1.15.1

func (*ResourceManager) GetID

func (_m *ResourceManager) GetID() string

GetID provides a mock function with given fields:

func (*ResourceManager) ReleaseResource

func (_m *ResourceManager) ReleaseResource(ctx context.Context, namespace core.ResourceNamespace, allocationToken string) error

ReleaseResource provides a mock function with given fields: ctx, namespace, allocationToken

type ResourceManager_AllocateResource_Call added in v1.15.1

type ResourceManager_AllocateResource_Call struct {
	*mock.Call
}

ResourceManager_AllocateResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllocateResource'

func (*ResourceManager_AllocateResource_Call) Return added in v1.15.1

func (*ResourceManager_AllocateResource_Call) Run added in v1.15.1

type ResourceManager_Expecter added in v1.15.1

type ResourceManager_Expecter struct {
	// contains filtered or unexported fields
}

func (*ResourceManager_Expecter) AllocateResource added in v1.15.1

func (_e *ResourceManager_Expecter) AllocateResource(ctx interface{}, namespace interface{}, allocationToken interface{}, constraintsSpec interface{}) *ResourceManager_AllocateResource_Call

AllocateResource is a helper method to define mock.On call

  • ctx context.Context
  • namespace core.ResourceNamespace
  • allocationToken string
  • constraintsSpec core.ResourceConstraintsSpec

func (*ResourceManager_Expecter) GetID added in v1.15.1

GetID is a helper method to define mock.On call

func (*ResourceManager_Expecter) ReleaseResource added in v1.15.1

func (_e *ResourceManager_Expecter) ReleaseResource(ctx interface{}, namespace interface{}, allocationToken interface{}) *ResourceManager_ReleaseResource_Call

ReleaseResource is a helper method to define mock.On call

  • ctx context.Context
  • namespace core.ResourceNamespace
  • allocationToken string

type ResourceManager_GetID_Call added in v1.15.1

type ResourceManager_GetID_Call struct {
	*mock.Call
}

ResourceManager_GetID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetID'

func (*ResourceManager_GetID_Call) Return added in v1.15.1

func (*ResourceManager_GetID_Call) Run added in v1.15.1

func (*ResourceManager_GetID_Call) RunAndReturn added in v1.15.1

func (_c *ResourceManager_GetID_Call) RunAndReturn(run func() string) *ResourceManager_GetID_Call

type ResourceManager_ReleaseResource_Call added in v1.15.1

type ResourceManager_ReleaseResource_Call struct {
	*mock.Call
}

ResourceManager_ReleaseResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReleaseResource'

func (*ResourceManager_ReleaseResource_Call) Return added in v1.15.1

func (*ResourceManager_ReleaseResource_Call) Run added in v1.15.1

func (*ResourceManager_ReleaseResource_Call) RunAndReturn added in v1.15.1

type ResourceNegotiator

type ResourceNegotiator struct {
	mock.Mock
}

ResourceRegistrar is an autogenerated mock type for the ResourceRegistrar type

func (*ResourceNegotiator) OnRegisterResourceQuota

func (_m *ResourceNegotiator) OnRegisterResourceQuota(ctx context.Context, namespace core.ResourceNamespace, quota int) *ResourceNegotiator_RegisterResourceQuota

func (*ResourceNegotiator) OnRegisterResourceQuotaMatch

func (_m *ResourceNegotiator) OnRegisterResourceQuotaMatch(matchers ...interface{}) *ResourceNegotiator_RegisterResourceQuota

func (*ResourceNegotiator) RegisterResourceQuota

func (_m *ResourceNegotiator) RegisterResourceQuota(ctx context.Context, namespace core.ResourceNamespace, quota int) error

RegisterResourceQuota provides a mock function with given fields: ctx, namespace, quota

type ResourceNegotiator_RegisterResourceQuota

type ResourceNegotiator_RegisterResourceQuota struct {
	*mock.Call
}

func (ResourceNegotiator_RegisterResourceQuota) Return

type ResourceRegistrar

type ResourceRegistrar struct {
	mock.Mock
}

ResourceRegistrar is an autogenerated mock type for the ResourceRegistrar type

func NewResourceRegistrar added in v1.15.1

func NewResourceRegistrar(t interface {
	mock.TestingT
	Cleanup(func())
}) *ResourceRegistrar

NewResourceRegistrar creates a new instance of ResourceRegistrar. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ResourceRegistrar) EXPECT added in v1.15.1

func (*ResourceRegistrar) RegisterResourceQuota

func (_m *ResourceRegistrar) RegisterResourceQuota(ctx context.Context, namespace core.ResourceNamespace, quota int) error

RegisterResourceQuota provides a mock function with given fields: ctx, namespace, quota

type ResourceRegistrar_Expecter added in v1.15.1

type ResourceRegistrar_Expecter struct {
	// contains filtered or unexported fields
}

func (*ResourceRegistrar_Expecter) RegisterResourceQuota added in v1.15.1

func (_e *ResourceRegistrar_Expecter) RegisterResourceQuota(ctx interface{}, namespace interface{}, quota interface{}) *ResourceRegistrar_RegisterResourceQuota_Call

RegisterResourceQuota is a helper method to define mock.On call

  • ctx context.Context
  • namespace core.ResourceNamespace
  • quota int

type ResourceRegistrar_RegisterResourceQuota_Call added in v1.15.1

type ResourceRegistrar_RegisterResourceQuota_Call struct {
	*mock.Call
}

ResourceRegistrar_RegisterResourceQuota_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterResourceQuota'

func (*ResourceRegistrar_RegisterResourceQuota_Call) Return added in v1.15.1

func (*ResourceRegistrar_RegisterResourceQuota_Call) Run added in v1.15.1

func (*ResourceRegistrar_RegisterResourceQuota_Call) RunAndReturn added in v1.15.1

type SecretManager

type SecretManager struct {
	mock.Mock
}

SecretManager is an autogenerated mock type for the SecretManager type

func NewSecretManager added in v1.15.1

func NewSecretManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *SecretManager

NewSecretManager creates a new instance of SecretManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SecretManager) EXPECT added in v1.15.1

func (_m *SecretManager) EXPECT() *SecretManager_Expecter

func (*SecretManager) Get

func (_m *SecretManager) Get(ctx context.Context, key string) (string, error)

Get provides a mock function with given fields: ctx, key

type SecretManager_Expecter added in v1.15.1

type SecretManager_Expecter struct {
	// contains filtered or unexported fields
}

func (*SecretManager_Expecter) Get added in v1.15.1

func (_e *SecretManager_Expecter) Get(ctx interface{}, key interface{}) *SecretManager_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • key string

type SecretManager_Get_Call added in v1.15.1

type SecretManager_Get_Call struct {
	*mock.Call
}

SecretManager_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*SecretManager_Get_Call) Return added in v1.15.1

func (*SecretManager_Get_Call) Run added in v1.15.1

func (*SecretManager_Get_Call) RunAndReturn added in v1.15.1

type SetupContext

type SetupContext struct {
	mock.Mock
}

SetupContext is an autogenerated mock type for the SetupContext type

func NewSetupContext added in v1.15.1

func NewSetupContext(t interface {
	mock.TestingT
	Cleanup(func())
}) *SetupContext

NewSetupContext creates a new instance of SetupContext. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SetupContext) EXPECT added in v1.15.1

func (_m *SetupContext) EXPECT() *SetupContext_Expecter

func (*SetupContext) EnqueueOwner

func (_m *SetupContext) EnqueueOwner() core.EnqueueOwner

EnqueueOwner provides a mock function with given fields:

func (*SetupContext) KubeClient

func (_m *SetupContext) KubeClient() core.KubeClient

KubeClient provides a mock function with given fields:

func (*SetupContext) MetricsScope

func (_m *SetupContext) MetricsScope() promutils.Scope

MetricsScope provides a mock function with given fields:

func (*SetupContext) OwnerKind

func (_m *SetupContext) OwnerKind() string

OwnerKind provides a mock function with given fields:

func (*SetupContext) ResourceRegistrar

func (_m *SetupContext) ResourceRegistrar() core.ResourceRegistrar

ResourceRegistrar provides a mock function with given fields:

func (*SetupContext) SecretManager

func (_m *SetupContext) SecretManager() core.SecretManager

SecretManager provides a mock function with given fields:

type SetupContext_EnqueueOwner_Call added in v1.15.1

type SetupContext_EnqueueOwner_Call struct {
	*mock.Call
}

SetupContext_EnqueueOwner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnqueueOwner'

func (*SetupContext_EnqueueOwner_Call) Return added in v1.15.1

func (*SetupContext_EnqueueOwner_Call) Run added in v1.15.1

func (*SetupContext_EnqueueOwner_Call) RunAndReturn added in v1.15.1

type SetupContext_Expecter added in v1.15.1

type SetupContext_Expecter struct {
	// contains filtered or unexported fields
}

func (*SetupContext_Expecter) EnqueueOwner added in v1.15.1

EnqueueOwner is a helper method to define mock.On call

func (*SetupContext_Expecter) KubeClient added in v1.15.1

KubeClient is a helper method to define mock.On call

func (*SetupContext_Expecter) MetricsScope added in v1.15.1

MetricsScope is a helper method to define mock.On call

func (*SetupContext_Expecter) OwnerKind added in v1.15.1

OwnerKind is a helper method to define mock.On call

func (*SetupContext_Expecter) ResourceRegistrar added in v1.15.1

ResourceRegistrar is a helper method to define mock.On call

func (*SetupContext_Expecter) SecretManager added in v1.15.1

SecretManager is a helper method to define mock.On call

type SetupContext_KubeClient_Call added in v1.15.1

type SetupContext_KubeClient_Call struct {
	*mock.Call
}

SetupContext_KubeClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'KubeClient'

func (*SetupContext_KubeClient_Call) Return added in v1.15.1

func (*SetupContext_KubeClient_Call) Run added in v1.15.1

func (*SetupContext_KubeClient_Call) RunAndReturn added in v1.15.1

type SetupContext_MetricsScope_Call added in v1.15.1

type SetupContext_MetricsScope_Call struct {
	*mock.Call
}

SetupContext_MetricsScope_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricsScope'

func (*SetupContext_MetricsScope_Call) Return added in v1.15.1

func (*SetupContext_MetricsScope_Call) Run added in v1.15.1

func (*SetupContext_MetricsScope_Call) RunAndReturn added in v1.15.1

type SetupContext_OwnerKind_Call added in v1.15.1

type SetupContext_OwnerKind_Call struct {
	*mock.Call
}

SetupContext_OwnerKind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OwnerKind'

func (*SetupContext_OwnerKind_Call) Return added in v1.15.1

func (*SetupContext_OwnerKind_Call) Run added in v1.15.1

func (*SetupContext_OwnerKind_Call) RunAndReturn added in v1.15.1

func (_c *SetupContext_OwnerKind_Call) RunAndReturn(run func() string) *SetupContext_OwnerKind_Call

type SetupContext_ResourceRegistrar_Call added in v1.15.1

type SetupContext_ResourceRegistrar_Call struct {
	*mock.Call
}

SetupContext_ResourceRegistrar_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResourceRegistrar'

func (*SetupContext_ResourceRegistrar_Call) Return added in v1.15.1

func (*SetupContext_ResourceRegistrar_Call) Run added in v1.15.1

func (*SetupContext_ResourceRegistrar_Call) RunAndReturn added in v1.15.1

type SetupContext_SecretManager_Call added in v1.15.1

type SetupContext_SecretManager_Call struct {
	*mock.Call
}

SetupContext_SecretManager_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SecretManager'

func (*SetupContext_SecretManager_Call) Return added in v1.15.1

func (*SetupContext_SecretManager_Call) Run added in v1.15.1

func (*SetupContext_SecretManager_Call) RunAndReturn added in v1.15.1

type SignalAsync added in v1.15.1

type SignalAsync struct {
	mock.Mock
}

SignalAsync is an autogenerated mock type for the SignalAsync type

func NewSignalAsync added in v1.15.1

func NewSignalAsync(t interface {
	mock.TestingT
	Cleanup(func())
}) *SignalAsync

NewSignalAsync creates a new instance of SignalAsync. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SignalAsync) EXPECT added in v1.15.1

func (_m *SignalAsync) EXPECT() *SignalAsync_Expecter

func (*SignalAsync) Execute added in v1.15.1

func (_m *SignalAsync) Execute(ctx context.Context)

Execute provides a mock function with given fields: ctx

type SignalAsync_Execute_Call added in v1.15.1

type SignalAsync_Execute_Call struct {
	*mock.Call
}

SignalAsync_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'

func (*SignalAsync_Execute_Call) Return added in v1.15.1

func (*SignalAsync_Execute_Call) Run added in v1.15.1

func (*SignalAsync_Execute_Call) RunAndReturn added in v1.15.1

type SignalAsync_Expecter added in v1.15.1

type SignalAsync_Expecter struct {
	// contains filtered or unexported fields
}

func (*SignalAsync_Expecter) Execute added in v1.15.1

func (_e *SignalAsync_Expecter) Execute(ctx interface{}) *SignalAsync_Execute_Call

Execute is a helper method to define mock.On call

  • ctx context.Context

type TaskExecutionContext

type TaskExecutionContext struct {
	mock.Mock
}

TaskExecutionContext is an autogenerated mock type for the TaskExecutionContext type

func NewTaskExecutionContext added in v1.15.1

func NewTaskExecutionContext(t interface {
	mock.TestingT
	Cleanup(func())
}) *TaskExecutionContext

NewTaskExecutionContext creates a new instance of TaskExecutionContext. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TaskExecutionContext) Catalog

Catalog provides a mock function with given fields:

func (*TaskExecutionContext) DataStore

func (_m *TaskExecutionContext) DataStore() *storage.DataStore

DataStore provides a mock function with given fields:

func (*TaskExecutionContext) EXPECT added in v1.15.1

func (*TaskExecutionContext) EventsRecorder

func (_m *TaskExecutionContext) EventsRecorder() core.EventsRecorder

EventsRecorder provides a mock function with given fields:

func (*TaskExecutionContext) InputReader

func (_m *TaskExecutionContext) InputReader() io.InputReader

InputReader provides a mock function with given fields:

func (*TaskExecutionContext) OutputWriter

func (_m *TaskExecutionContext) OutputWriter() io.OutputWriter

OutputWriter provides a mock function with given fields:

func (*TaskExecutionContext) PluginStateReader

func (_m *TaskExecutionContext) PluginStateReader() core.PluginStateReader

PluginStateReader provides a mock function with given fields:

func (*TaskExecutionContext) PluginStateWriter

func (_m *TaskExecutionContext) PluginStateWriter() core.PluginStateWriter

PluginStateWriter provides a mock function with given fields:

func (*TaskExecutionContext) ResourceManager

func (_m *TaskExecutionContext) ResourceManager() core.ResourceManager

ResourceManager provides a mock function with given fields:

func (*TaskExecutionContext) SecretManager

func (_m *TaskExecutionContext) SecretManager() core.SecretManager

SecretManager provides a mock function with given fields:

func (*TaskExecutionContext) TaskExecutionMetadata

func (_m *TaskExecutionContext) TaskExecutionMetadata() core.TaskExecutionMetadata

TaskExecutionMetadata provides a mock function with given fields:

func (*TaskExecutionContext) TaskReader

func (_m *TaskExecutionContext) TaskReader() core.TaskReader

TaskReader provides a mock function with given fields:

func (*TaskExecutionContext) TaskRefreshIndicator

func (_m *TaskExecutionContext) TaskRefreshIndicator() core.SignalAsync

TaskRefreshIndicator provides a mock function with given fields:

type TaskExecutionContext_Catalog_Call added in v1.15.1

type TaskExecutionContext_Catalog_Call struct {
	*mock.Call
}

TaskExecutionContext_Catalog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Catalog'

func (*TaskExecutionContext_Catalog_Call) Return added in v1.15.1

func (*TaskExecutionContext_Catalog_Call) Run added in v1.15.1

func (*TaskExecutionContext_Catalog_Call) RunAndReturn added in v1.15.1

type TaskExecutionContext_DataStore_Call added in v1.15.1

type TaskExecutionContext_DataStore_Call struct {
	*mock.Call
}

TaskExecutionContext_DataStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DataStore'

func (*TaskExecutionContext_DataStore_Call) Return added in v1.15.1

func (*TaskExecutionContext_DataStore_Call) Run added in v1.15.1

func (*TaskExecutionContext_DataStore_Call) RunAndReturn added in v1.15.1

type TaskExecutionContext_EventsRecorder_Call added in v1.15.1

type TaskExecutionContext_EventsRecorder_Call struct {
	*mock.Call
}

TaskExecutionContext_EventsRecorder_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EventsRecorder'

func (*TaskExecutionContext_EventsRecorder_Call) Return added in v1.15.1

func (*TaskExecutionContext_EventsRecorder_Call) Run added in v1.15.1

func (*TaskExecutionContext_EventsRecorder_Call) RunAndReturn added in v1.15.1

type TaskExecutionContext_Expecter added in v1.15.1

type TaskExecutionContext_Expecter struct {
	// contains filtered or unexported fields
}

func (*TaskExecutionContext_Expecter) Catalog added in v1.15.1

Catalog is a helper method to define mock.On call

func (*TaskExecutionContext_Expecter) DataStore added in v1.15.1

DataStore is a helper method to define mock.On call

func (*TaskExecutionContext_Expecter) EventsRecorder added in v1.15.1

EventsRecorder is a helper method to define mock.On call

func (*TaskExecutionContext_Expecter) InputReader added in v1.15.1

InputReader is a helper method to define mock.On call

func (*TaskExecutionContext_Expecter) OutputWriter added in v1.15.1

OutputWriter is a helper method to define mock.On call

func (*TaskExecutionContext_Expecter) PluginStateReader added in v1.15.1

PluginStateReader is a helper method to define mock.On call

func (*TaskExecutionContext_Expecter) PluginStateWriter added in v1.15.1

PluginStateWriter is a helper method to define mock.On call

func (*TaskExecutionContext_Expecter) ResourceManager added in v1.15.1

ResourceManager is a helper method to define mock.On call

func (*TaskExecutionContext_Expecter) SecretManager added in v1.15.1

SecretManager is a helper method to define mock.On call

func (*TaskExecutionContext_Expecter) TaskExecutionMetadata added in v1.15.1

TaskExecutionMetadata is a helper method to define mock.On call

func (*TaskExecutionContext_Expecter) TaskReader added in v1.15.1

TaskReader is a helper method to define mock.On call

func (*TaskExecutionContext_Expecter) TaskRefreshIndicator added in v1.15.1

TaskRefreshIndicator is a helper method to define mock.On call

type TaskExecutionContext_InputReader_Call added in v1.15.1

type TaskExecutionContext_InputReader_Call struct {
	*mock.Call
}

TaskExecutionContext_InputReader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InputReader'

func (*TaskExecutionContext_InputReader_Call) Return added in v1.15.1

func (*TaskExecutionContext_InputReader_Call) Run added in v1.15.1

func (*TaskExecutionContext_InputReader_Call) RunAndReturn added in v1.15.1

type TaskExecutionContext_OutputWriter_Call added in v1.15.1

type TaskExecutionContext_OutputWriter_Call struct {
	*mock.Call
}

TaskExecutionContext_OutputWriter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OutputWriter'

func (*TaskExecutionContext_OutputWriter_Call) Return added in v1.15.1

func (*TaskExecutionContext_OutputWriter_Call) Run added in v1.15.1

func (*TaskExecutionContext_OutputWriter_Call) RunAndReturn added in v1.15.1

type TaskExecutionContext_PluginStateReader_Call added in v1.15.1

type TaskExecutionContext_PluginStateReader_Call struct {
	*mock.Call
}

TaskExecutionContext_PluginStateReader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PluginStateReader'

func (*TaskExecutionContext_PluginStateReader_Call) Return added in v1.15.1

func (*TaskExecutionContext_PluginStateReader_Call) Run added in v1.15.1

func (*TaskExecutionContext_PluginStateReader_Call) RunAndReturn added in v1.15.1

type TaskExecutionContext_PluginStateWriter_Call added in v1.15.1

type TaskExecutionContext_PluginStateWriter_Call struct {
	*mock.Call
}

TaskExecutionContext_PluginStateWriter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PluginStateWriter'

func (*TaskExecutionContext_PluginStateWriter_Call) Return added in v1.15.1

func (*TaskExecutionContext_PluginStateWriter_Call) Run added in v1.15.1

func (*TaskExecutionContext_PluginStateWriter_Call) RunAndReturn added in v1.15.1

type TaskExecutionContext_ResourceManager_Call added in v1.15.1

type TaskExecutionContext_ResourceManager_Call struct {
	*mock.Call
}

TaskExecutionContext_ResourceManager_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResourceManager'

func (*TaskExecutionContext_ResourceManager_Call) Return added in v1.15.1

func (*TaskExecutionContext_ResourceManager_Call) Run added in v1.15.1

func (*TaskExecutionContext_ResourceManager_Call) RunAndReturn added in v1.15.1

type TaskExecutionContext_SecretManager_Call added in v1.15.1

type TaskExecutionContext_SecretManager_Call struct {
	*mock.Call
}

TaskExecutionContext_SecretManager_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SecretManager'

func (*TaskExecutionContext_SecretManager_Call) Return added in v1.15.1

func (*TaskExecutionContext_SecretManager_Call) Run added in v1.15.1

func (*TaskExecutionContext_SecretManager_Call) RunAndReturn added in v1.15.1

type TaskExecutionContext_TaskExecutionMetadata_Call added in v1.15.1

type TaskExecutionContext_TaskExecutionMetadata_Call struct {
	*mock.Call
}

TaskExecutionContext_TaskExecutionMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TaskExecutionMetadata'

func (*TaskExecutionContext_TaskExecutionMetadata_Call) Return added in v1.15.1

func (*TaskExecutionContext_TaskExecutionMetadata_Call) Run added in v1.15.1

func (*TaskExecutionContext_TaskExecutionMetadata_Call) RunAndReturn added in v1.15.1

type TaskExecutionContext_TaskReader_Call added in v1.15.1

type TaskExecutionContext_TaskReader_Call struct {
	*mock.Call
}

TaskExecutionContext_TaskReader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TaskReader'

func (*TaskExecutionContext_TaskReader_Call) Return added in v1.15.1

func (*TaskExecutionContext_TaskReader_Call) Run added in v1.15.1

func (*TaskExecutionContext_TaskReader_Call) RunAndReturn added in v1.15.1

type TaskExecutionContext_TaskRefreshIndicator_Call added in v1.15.1

type TaskExecutionContext_TaskRefreshIndicator_Call struct {
	*mock.Call
}

TaskExecutionContext_TaskRefreshIndicator_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TaskRefreshIndicator'

func (*TaskExecutionContext_TaskRefreshIndicator_Call) Return added in v1.15.1

func (*TaskExecutionContext_TaskRefreshIndicator_Call) Run added in v1.15.1

func (*TaskExecutionContext_TaskRefreshIndicator_Call) RunAndReturn added in v1.15.1

type TaskExecutionID

type TaskExecutionID struct {
	mock.Mock
}

TaskExecutionID is an autogenerated mock type for the TaskExecutionID type

func NewTaskExecutionID added in v1.15.1

func NewTaskExecutionID(t interface {
	mock.TestingT
	Cleanup(func())
}) *TaskExecutionID

NewTaskExecutionID creates a new instance of TaskExecutionID. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TaskExecutionID) EXPECT added in v1.15.1

func (*TaskExecutionID) GetGeneratedName

func (_m *TaskExecutionID) GetGeneratedName() string

GetGeneratedName provides a mock function with given fields:

func (*TaskExecutionID) GetGeneratedNameWith

func (_m *TaskExecutionID) GetGeneratedNameWith(minLength int, maxLength int) (string, error)

GetGeneratedNameWith provides a mock function with given fields: minLength, maxLength

func (*TaskExecutionID) GetID

GetID provides a mock function with given fields:

func (*TaskExecutionID) GetUniqueNodeID added in v1.10.6

func (_m *TaskExecutionID) GetUniqueNodeID() string

GetUniqueNodeID provides a mock function with given fields:

type TaskExecutionID_Expecter added in v1.15.1

type TaskExecutionID_Expecter struct {
	// contains filtered or unexported fields
}

func (*TaskExecutionID_Expecter) GetGeneratedName added in v1.15.1

GetGeneratedName is a helper method to define mock.On call

func (*TaskExecutionID_Expecter) GetGeneratedNameWith added in v1.15.1

func (_e *TaskExecutionID_Expecter) GetGeneratedNameWith(minLength interface{}, maxLength interface{}) *TaskExecutionID_GetGeneratedNameWith_Call

GetGeneratedNameWith is a helper method to define mock.On call

  • minLength int
  • maxLength int

func (*TaskExecutionID_Expecter) GetID added in v1.15.1

GetID is a helper method to define mock.On call

func (*TaskExecutionID_Expecter) GetUniqueNodeID added in v1.15.1

GetUniqueNodeID is a helper method to define mock.On call

type TaskExecutionID_GetGeneratedNameWith_Call added in v1.15.1

type TaskExecutionID_GetGeneratedNameWith_Call struct {
	*mock.Call
}

TaskExecutionID_GetGeneratedNameWith_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGeneratedNameWith'

func (*TaskExecutionID_GetGeneratedNameWith_Call) Return added in v1.15.1

func (*TaskExecutionID_GetGeneratedNameWith_Call) Run added in v1.15.1

func (*TaskExecutionID_GetGeneratedNameWith_Call) RunAndReturn added in v1.15.1

type TaskExecutionID_GetGeneratedName_Call added in v1.15.1

type TaskExecutionID_GetGeneratedName_Call struct {
	*mock.Call
}

TaskExecutionID_GetGeneratedName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGeneratedName'

func (*TaskExecutionID_GetGeneratedName_Call) Return added in v1.15.1

func (*TaskExecutionID_GetGeneratedName_Call) Run added in v1.15.1

func (*TaskExecutionID_GetGeneratedName_Call) RunAndReturn added in v1.15.1

type TaskExecutionID_GetID_Call added in v1.15.1

type TaskExecutionID_GetID_Call struct {
	*mock.Call
}

TaskExecutionID_GetID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetID'

func (*TaskExecutionID_GetID_Call) Return added in v1.15.1

func (*TaskExecutionID_GetID_Call) Run added in v1.15.1

func (*TaskExecutionID_GetID_Call) RunAndReturn added in v1.15.1

type TaskExecutionID_GetUniqueNodeID_Call added in v1.15.1

type TaskExecutionID_GetUniqueNodeID_Call struct {
	*mock.Call
}

TaskExecutionID_GetUniqueNodeID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUniqueNodeID'

func (*TaskExecutionID_GetUniqueNodeID_Call) Return added in v1.15.1

func (*TaskExecutionID_GetUniqueNodeID_Call) Run added in v1.15.1

func (*TaskExecutionID_GetUniqueNodeID_Call) RunAndReturn added in v1.15.1

type TaskExecutionMetadata

type TaskExecutionMetadata struct {
	mock.Mock
}

TaskExecutionMetadata is an autogenerated mock type for the TaskExecutionMetadata type

func NewTaskExecutionMetadata added in v1.15.1

func NewTaskExecutionMetadata(t interface {
	mock.TestingT
	Cleanup(func())
}) *TaskExecutionMetadata

NewTaskExecutionMetadata creates a new instance of TaskExecutionMetadata. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TaskExecutionMetadata) EXPECT added in v1.15.1

func (*TaskExecutionMetadata) GetAnnotations

func (_m *TaskExecutionMetadata) GetAnnotations() map[string]string

GetAnnotations provides a mock function with given fields:

func (*TaskExecutionMetadata) GetConsoleURL added in v1.13.0

func (_m *TaskExecutionMetadata) GetConsoleURL() string

GetConsoleURL provides a mock function with given fields:

func (*TaskExecutionMetadata) GetEnvironmentVariables

func (_m *TaskExecutionMetadata) GetEnvironmentVariables() map[string]string

GetEnvironmentVariables provides a mock function with given fields:

func (*TaskExecutionMetadata) GetInterruptibleFailureThreshold

func (_m *TaskExecutionMetadata) GetInterruptibleFailureThreshold() int32

GetInterruptibleFailureThreshold provides a mock function with given fields:

func (*TaskExecutionMetadata) GetK8sServiceAccount

func (_m *TaskExecutionMetadata) GetK8sServiceAccount() string

GetK8sServiceAccount provides a mock function with given fields:

func (*TaskExecutionMetadata) GetLabels

func (_m *TaskExecutionMetadata) GetLabels() map[string]string

GetLabels provides a mock function with given fields:

func (*TaskExecutionMetadata) GetMaxAttempts

func (_m *TaskExecutionMetadata) GetMaxAttempts() uint32

GetMaxAttempts provides a mock function with given fields:

func (*TaskExecutionMetadata) GetNamespace

func (_m *TaskExecutionMetadata) GetNamespace() string

GetNamespace provides a mock function with given fields:

func (*TaskExecutionMetadata) GetOverrides

func (_m *TaskExecutionMetadata) GetOverrides() core.TaskOverrides

GetOverrides provides a mock function with given fields:

func (*TaskExecutionMetadata) GetOwnerID

func (_m *TaskExecutionMetadata) GetOwnerID() types.NamespacedName

GetOwnerID provides a mock function with given fields:

func (*TaskExecutionMetadata) GetOwnerReference

func (_m *TaskExecutionMetadata) GetOwnerReference() v1.OwnerReference

GetOwnerReference provides a mock function with given fields:

func (*TaskExecutionMetadata) GetPlatformResources

func (_m *TaskExecutionMetadata) GetPlatformResources() *corev1.ResourceRequirements

GetPlatformResources provides a mock function with given fields:

func (*TaskExecutionMetadata) GetSecurityContext

func (_m *TaskExecutionMetadata) GetSecurityContext() flyteidlcore.SecurityContext

GetSecurityContext provides a mock function with given fields:

func (*TaskExecutionMetadata) GetTaskExecutionID

func (_m *TaskExecutionMetadata) GetTaskExecutionID() core.TaskExecutionID

GetTaskExecutionID provides a mock function with given fields:

func (*TaskExecutionMetadata) IsInterruptible

func (_m *TaskExecutionMetadata) IsInterruptible() bool

IsInterruptible provides a mock function with given fields:

type TaskExecutionMetadata_Expecter added in v1.15.1

type TaskExecutionMetadata_Expecter struct {
	// contains filtered or unexported fields
}

func (*TaskExecutionMetadata_Expecter) GetAnnotations added in v1.15.1

GetAnnotations is a helper method to define mock.On call

func (*TaskExecutionMetadata_Expecter) GetConsoleURL added in v1.15.1

GetConsoleURL is a helper method to define mock.On call

func (*TaskExecutionMetadata_Expecter) GetEnvironmentVariables added in v1.15.1

GetEnvironmentVariables is a helper method to define mock.On call

func (*TaskExecutionMetadata_Expecter) GetInterruptibleFailureThreshold added in v1.15.1

GetInterruptibleFailureThreshold is a helper method to define mock.On call

func (*TaskExecutionMetadata_Expecter) GetK8sServiceAccount added in v1.15.1

GetK8sServiceAccount is a helper method to define mock.On call

func (*TaskExecutionMetadata_Expecter) GetLabels added in v1.15.1

GetLabels is a helper method to define mock.On call

func (*TaskExecutionMetadata_Expecter) GetMaxAttempts added in v1.15.1

GetMaxAttempts is a helper method to define mock.On call

func (*TaskExecutionMetadata_Expecter) GetNamespace added in v1.15.1

GetNamespace is a helper method to define mock.On call

func (*TaskExecutionMetadata_Expecter) GetOverrides added in v1.15.1

GetOverrides is a helper method to define mock.On call

func (*TaskExecutionMetadata_Expecter) GetOwnerID added in v1.15.1

GetOwnerID is a helper method to define mock.On call

func (*TaskExecutionMetadata_Expecter) GetOwnerReference added in v1.15.1

GetOwnerReference is a helper method to define mock.On call

func (*TaskExecutionMetadata_Expecter) GetPlatformResources added in v1.15.1

GetPlatformResources is a helper method to define mock.On call

func (*TaskExecutionMetadata_Expecter) GetSecurityContext added in v1.15.1

GetSecurityContext is a helper method to define mock.On call

func (*TaskExecutionMetadata_Expecter) GetTaskExecutionID added in v1.15.1

GetTaskExecutionID is a helper method to define mock.On call

func (*TaskExecutionMetadata_Expecter) IsInterruptible added in v1.15.1

IsInterruptible is a helper method to define mock.On call

type TaskExecutionMetadata_GetAnnotations_Call added in v1.15.1

type TaskExecutionMetadata_GetAnnotations_Call struct {
	*mock.Call
}

TaskExecutionMetadata_GetAnnotations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAnnotations'

func (*TaskExecutionMetadata_GetAnnotations_Call) Return added in v1.15.1

func (*TaskExecutionMetadata_GetAnnotations_Call) Run added in v1.15.1

func (*TaskExecutionMetadata_GetAnnotations_Call) RunAndReturn added in v1.15.1

type TaskExecutionMetadata_GetConsoleURL_Call added in v1.15.1

type TaskExecutionMetadata_GetConsoleURL_Call struct {
	*mock.Call
}

TaskExecutionMetadata_GetConsoleURL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConsoleURL'

func (*TaskExecutionMetadata_GetConsoleURL_Call) Return added in v1.15.1

func (*TaskExecutionMetadata_GetConsoleURL_Call) Run added in v1.15.1

func (*TaskExecutionMetadata_GetConsoleURL_Call) RunAndReturn added in v1.15.1

type TaskExecutionMetadata_GetEnvironmentVariables_Call added in v1.15.1

type TaskExecutionMetadata_GetEnvironmentVariables_Call struct {
	*mock.Call
}

TaskExecutionMetadata_GetEnvironmentVariables_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEnvironmentVariables'

func (*TaskExecutionMetadata_GetEnvironmentVariables_Call) Return added in v1.15.1

func (*TaskExecutionMetadata_GetEnvironmentVariables_Call) Run added in v1.15.1

func (*TaskExecutionMetadata_GetEnvironmentVariables_Call) RunAndReturn added in v1.15.1

type TaskExecutionMetadata_GetInterruptibleFailureThreshold_Call added in v1.15.1

type TaskExecutionMetadata_GetInterruptibleFailureThreshold_Call struct {
	*mock.Call
}

TaskExecutionMetadata_GetInterruptibleFailureThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInterruptibleFailureThreshold'

func (*TaskExecutionMetadata_GetInterruptibleFailureThreshold_Call) Return added in v1.15.1

func (*TaskExecutionMetadata_GetInterruptibleFailureThreshold_Call) Run added in v1.15.1

func (*TaskExecutionMetadata_GetInterruptibleFailureThreshold_Call) RunAndReturn added in v1.15.1

type TaskExecutionMetadata_GetK8sServiceAccount_Call added in v1.15.1

type TaskExecutionMetadata_GetK8sServiceAccount_Call struct {
	*mock.Call
}

TaskExecutionMetadata_GetK8sServiceAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetK8sServiceAccount'

func (*TaskExecutionMetadata_GetK8sServiceAccount_Call) Return added in v1.15.1

func (*TaskExecutionMetadata_GetK8sServiceAccount_Call) Run added in v1.15.1

func (*TaskExecutionMetadata_GetK8sServiceAccount_Call) RunAndReturn added in v1.15.1

type TaskExecutionMetadata_GetLabels_Call added in v1.15.1

type TaskExecutionMetadata_GetLabels_Call struct {
	*mock.Call
}

TaskExecutionMetadata_GetLabels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLabels'

func (*TaskExecutionMetadata_GetLabels_Call) Return added in v1.15.1

func (*TaskExecutionMetadata_GetLabels_Call) Run added in v1.15.1

func (*TaskExecutionMetadata_GetLabels_Call) RunAndReturn added in v1.15.1

type TaskExecutionMetadata_GetMaxAttempts_Call added in v1.15.1

type TaskExecutionMetadata_GetMaxAttempts_Call struct {
	*mock.Call
}

TaskExecutionMetadata_GetMaxAttempts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMaxAttempts'

func (*TaskExecutionMetadata_GetMaxAttempts_Call) Return added in v1.15.1

func (*TaskExecutionMetadata_GetMaxAttempts_Call) Run added in v1.15.1

func (*TaskExecutionMetadata_GetMaxAttempts_Call) RunAndReturn added in v1.15.1

type TaskExecutionMetadata_GetNamespace_Call added in v1.15.1

type TaskExecutionMetadata_GetNamespace_Call struct {
	*mock.Call
}

TaskExecutionMetadata_GetNamespace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNamespace'

func (*TaskExecutionMetadata_GetNamespace_Call) Return added in v1.15.1

func (*TaskExecutionMetadata_GetNamespace_Call) Run added in v1.15.1

func (*TaskExecutionMetadata_GetNamespace_Call) RunAndReturn added in v1.15.1

type TaskExecutionMetadata_GetOverrides_Call added in v1.15.1

type TaskExecutionMetadata_GetOverrides_Call struct {
	*mock.Call
}

TaskExecutionMetadata_GetOverrides_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOverrides'

func (*TaskExecutionMetadata_GetOverrides_Call) Return added in v1.15.1

func (*TaskExecutionMetadata_GetOverrides_Call) Run added in v1.15.1

func (*TaskExecutionMetadata_GetOverrides_Call) RunAndReturn added in v1.15.1

type TaskExecutionMetadata_GetOwnerID_Call added in v1.15.1

type TaskExecutionMetadata_GetOwnerID_Call struct {
	*mock.Call
}

TaskExecutionMetadata_GetOwnerID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOwnerID'

func (*TaskExecutionMetadata_GetOwnerID_Call) Return added in v1.15.1

func (*TaskExecutionMetadata_GetOwnerID_Call) Run added in v1.15.1

func (*TaskExecutionMetadata_GetOwnerID_Call) RunAndReturn added in v1.15.1

type TaskExecutionMetadata_GetOwnerReference_Call added in v1.15.1

type TaskExecutionMetadata_GetOwnerReference_Call struct {
	*mock.Call
}

TaskExecutionMetadata_GetOwnerReference_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOwnerReference'

func (*TaskExecutionMetadata_GetOwnerReference_Call) Return added in v1.15.1

func (*TaskExecutionMetadata_GetOwnerReference_Call) Run added in v1.15.1

func (*TaskExecutionMetadata_GetOwnerReference_Call) RunAndReturn added in v1.15.1

type TaskExecutionMetadata_GetPlatformResources_Call added in v1.15.1

type TaskExecutionMetadata_GetPlatformResources_Call struct {
	*mock.Call
}

TaskExecutionMetadata_GetPlatformResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPlatformResources'

func (*TaskExecutionMetadata_GetPlatformResources_Call) Return added in v1.15.1

func (*TaskExecutionMetadata_GetPlatformResources_Call) Run added in v1.15.1

func (*TaskExecutionMetadata_GetPlatformResources_Call) RunAndReturn added in v1.15.1

type TaskExecutionMetadata_GetSecurityContext_Call added in v1.15.1

type TaskExecutionMetadata_GetSecurityContext_Call struct {
	*mock.Call
}

TaskExecutionMetadata_GetSecurityContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSecurityContext'

func (*TaskExecutionMetadata_GetSecurityContext_Call) Return added in v1.15.1

func (*TaskExecutionMetadata_GetSecurityContext_Call) Run added in v1.15.1

func (*TaskExecutionMetadata_GetSecurityContext_Call) RunAndReturn added in v1.15.1

type TaskExecutionMetadata_GetTaskExecutionID_Call added in v1.15.1

type TaskExecutionMetadata_GetTaskExecutionID_Call struct {
	*mock.Call
}

TaskExecutionMetadata_GetTaskExecutionID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTaskExecutionID'

func (*TaskExecutionMetadata_GetTaskExecutionID_Call) Return added in v1.15.1

func (*TaskExecutionMetadata_GetTaskExecutionID_Call) Run added in v1.15.1

func (*TaskExecutionMetadata_GetTaskExecutionID_Call) RunAndReturn added in v1.15.1

type TaskExecutionMetadata_IsInterruptible_Call added in v1.15.1

type TaskExecutionMetadata_IsInterruptible_Call struct {
	*mock.Call
}

TaskExecutionMetadata_IsInterruptible_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsInterruptible'

func (*TaskExecutionMetadata_IsInterruptible_Call) Return added in v1.15.1

func (*TaskExecutionMetadata_IsInterruptible_Call) Run added in v1.15.1

func (*TaskExecutionMetadata_IsInterruptible_Call) RunAndReturn added in v1.15.1

type TaskOverrides

type TaskOverrides struct {
	mock.Mock
}

TaskOverrides is an autogenerated mock type for the TaskOverrides type

func NewTaskOverrides added in v1.15.1

func NewTaskOverrides(t interface {
	mock.TestingT
	Cleanup(func())
}) *TaskOverrides

NewTaskOverrides creates a new instance of TaskOverrides. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TaskOverrides) EXPECT added in v1.15.1

func (_m *TaskOverrides) EXPECT() *TaskOverrides_Expecter

func (*TaskOverrides) GetConfig

func (_m *TaskOverrides) GetConfig() *v1.ConfigMap

GetConfig provides a mock function with given fields:

func (*TaskOverrides) GetContainerImage added in v1.11.0

func (_m *TaskOverrides) GetContainerImage() string

GetContainerImage provides a mock function with given fields:

func (*TaskOverrides) GetExtendedResources added in v1.9.20

func (_m *TaskOverrides) GetExtendedResources() *flyteidlcore.ExtendedResources

GetExtendedResources provides a mock function with given fields:

func (*TaskOverrides) GetPodTemplate added in v1.15.0

func (_m *TaskOverrides) GetPodTemplate() *flyteidlcore.K8SPod

GetPodTemplate provides a mock function with given fields:

func (*TaskOverrides) GetResources

func (_m *TaskOverrides) GetResources() *v1.ResourceRequirements

GetResources provides a mock function with given fields:

type TaskOverrides_Expecter added in v1.15.1

type TaskOverrides_Expecter struct {
	// contains filtered or unexported fields
}

func (*TaskOverrides_Expecter) GetConfig added in v1.15.1

GetConfig is a helper method to define mock.On call

func (*TaskOverrides_Expecter) GetContainerImage added in v1.15.1

GetContainerImage is a helper method to define mock.On call

func (*TaskOverrides_Expecter) GetExtendedResources added in v1.15.1

GetExtendedResources is a helper method to define mock.On call

func (*TaskOverrides_Expecter) GetPodTemplate added in v1.15.1

GetPodTemplate is a helper method to define mock.On call

func (*TaskOverrides_Expecter) GetResources added in v1.15.1

GetResources is a helper method to define mock.On call

type TaskOverrides_GetConfig_Call added in v1.15.1

type TaskOverrides_GetConfig_Call struct {
	*mock.Call
}

TaskOverrides_GetConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConfig'

func (*TaskOverrides_GetConfig_Call) Return added in v1.15.1

func (*TaskOverrides_GetConfig_Call) Run added in v1.15.1

func (*TaskOverrides_GetConfig_Call) RunAndReturn added in v1.15.1

type TaskOverrides_GetContainerImage_Call added in v1.15.1

type TaskOverrides_GetContainerImage_Call struct {
	*mock.Call
}

TaskOverrides_GetContainerImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetContainerImage'

func (*TaskOverrides_GetContainerImage_Call) Return added in v1.15.1

func (*TaskOverrides_GetContainerImage_Call) Run added in v1.15.1

func (*TaskOverrides_GetContainerImage_Call) RunAndReturn added in v1.15.1

type TaskOverrides_GetExtendedResources_Call added in v1.15.1

type TaskOverrides_GetExtendedResources_Call struct {
	*mock.Call
}

TaskOverrides_GetExtendedResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetExtendedResources'

func (*TaskOverrides_GetExtendedResources_Call) Return added in v1.15.1

func (*TaskOverrides_GetExtendedResources_Call) Run added in v1.15.1

func (*TaskOverrides_GetExtendedResources_Call) RunAndReturn added in v1.15.1

type TaskOverrides_GetPodTemplate_Call added in v1.15.1

type TaskOverrides_GetPodTemplate_Call struct {
	*mock.Call
}

TaskOverrides_GetPodTemplate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPodTemplate'

func (*TaskOverrides_GetPodTemplate_Call) Return added in v1.15.1

func (*TaskOverrides_GetPodTemplate_Call) Run added in v1.15.1

func (*TaskOverrides_GetPodTemplate_Call) RunAndReturn added in v1.15.1

type TaskOverrides_GetResources_Call added in v1.15.1

type TaskOverrides_GetResources_Call struct {
	*mock.Call
}

TaskOverrides_GetResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetResources'

func (*TaskOverrides_GetResources_Call) Return added in v1.15.1

func (*TaskOverrides_GetResources_Call) Run added in v1.15.1

func (*TaskOverrides_GetResources_Call) RunAndReturn added in v1.15.1

type TaskReader

type TaskReader struct {
	mock.Mock
}

TaskReader is an autogenerated mock type for the TaskReader type

func NewTaskReader added in v1.15.1

func NewTaskReader(t interface {
	mock.TestingT
	Cleanup(func())
}) *TaskReader

NewTaskReader creates a new instance of TaskReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TaskReader) EXPECT added in v1.15.1

func (_m *TaskReader) EXPECT() *TaskReader_Expecter

func (*TaskReader) Path

Path provides a mock function with given fields: ctx

func (*TaskReader) Read

Read provides a mock function with given fields: ctx

type TaskReader_Expecter added in v1.15.1

type TaskReader_Expecter struct {
	// contains filtered or unexported fields
}

func (*TaskReader_Expecter) Path added in v1.15.1

func (_e *TaskReader_Expecter) Path(ctx interface{}) *TaskReader_Path_Call

Path is a helper method to define mock.On call

  • ctx context.Context

func (*TaskReader_Expecter) Read added in v1.15.1

func (_e *TaskReader_Expecter) Read(ctx interface{}) *TaskReader_Read_Call

Read is a helper method to define mock.On call

  • ctx context.Context

type TaskReader_Path_Call added in v1.15.1

type TaskReader_Path_Call struct {
	*mock.Call
}

TaskReader_Path_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Path'

func (*TaskReader_Path_Call) Return added in v1.15.1

func (*TaskReader_Path_Call) Run added in v1.15.1

func (_c *TaskReader_Path_Call) Run(run func(ctx context.Context)) *TaskReader_Path_Call

func (*TaskReader_Path_Call) RunAndReturn added in v1.15.1

type TaskReader_Read_Call added in v1.15.1

type TaskReader_Read_Call struct {
	*mock.Call
}

TaskReader_Read_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Read'

func (*TaskReader_Read_Call) Return added in v1.15.1

func (*TaskReader_Read_Call) Run added in v1.15.1

func (_c *TaskReader_Read_Call) Run(run func(ctx context.Context)) *TaskReader_Read_Call

func (*TaskReader_Read_Call) RunAndReturn added in v1.15.1

type TaskTemplatePath

type TaskTemplatePath struct {
	mock.Mock
}

TaskTemplatePath is an autogenerated mock type for the TaskTemplatePath type

func NewTaskTemplatePath added in v1.15.1

func NewTaskTemplatePath(t interface {
	mock.TestingT
	Cleanup(func())
}) *TaskTemplatePath

NewTaskTemplatePath creates a new instance of TaskTemplatePath. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TaskTemplatePath) EXPECT added in v1.15.1

func (*TaskTemplatePath) Path

Path provides a mock function with given fields: ctx

type TaskTemplatePath_Expecter added in v1.15.1

type TaskTemplatePath_Expecter struct {
	// contains filtered or unexported fields
}

func (*TaskTemplatePath_Expecter) Path added in v1.15.1

func (_e *TaskTemplatePath_Expecter) Path(ctx interface{}) *TaskTemplatePath_Path_Call

Path is a helper method to define mock.On call

  • ctx context.Context

type TaskTemplatePath_Path_Call added in v1.15.1

type TaskTemplatePath_Path_Call struct {
	*mock.Call
}

TaskTemplatePath_Path_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Path'

func (*TaskTemplatePath_Path_Call) Return added in v1.15.1

func (*TaskTemplatePath_Path_Call) Run added in v1.15.1

func (*TaskTemplatePath_Path_Call) RunAndReturn added in v1.15.1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL