Documentation ¶
Index ¶
- type EventsRecorder
- type EventsRecorder_RecordRaw
- type FakeKubeClient
- func (m *FakeKubeClient) Create(ctx context.Context, obj runtime.Object, opts ...client.CreateOption) (err error)
- func (m *FakeKubeClient) Delete(ctx context.Context, obj runtime.Object, opts ...client.DeleteOption) error
- func (*FakeKubeClient) DeleteAllOf(ctx context.Context, obj runtime.Object, opts ...client.DeleteAllOfOption) error
- func (m *FakeKubeClient) Get(ctx context.Context, key client.ObjectKey, out runtime.Object) error
- func (m *FakeKubeClient) List(ctx context.Context, list runtime.Object, opts ...client.ListOption) error
- func (*FakeKubeClient) Patch(ctx context.Context, obj runtime.Object, patch client.Patch, ...) error
- func (*FakeKubeClient) Status() client.StatusWriter
- func (m *FakeKubeClient) Update(ctx context.Context, obj runtime.Object, opts ...client.UpdateOption) error
- type KubeClient
- func (_m *KubeClient) GetCache() cache.Cache
- func (_m *KubeClient) GetClient() client.Client
- func (_m *KubeClient) OnGetCache() *KubeClient_GetCache
- func (_m *KubeClient) OnGetCacheMatch(matchers ...interface{}) *KubeClient_GetCache
- func (_m *KubeClient) OnGetClient() *KubeClient_GetClient
- func (_m *KubeClient) OnGetClientMatch(matchers ...interface{}) *KubeClient_GetClient
- type KubeClient_GetCache
- type KubeClient_GetClient
- type Plugin
- func (_m *Plugin) Abort(ctx context.Context, tCtx core.TaskExecutionContext) error
- func (_m *Plugin) Finalize(ctx context.Context, tCtx core.TaskExecutionContext) error
- func (_m *Plugin) GetID() string
- func (_m *Plugin) GetProperties() core.PluginProperties
- func (_m *Plugin) Handle(ctx context.Context, tCtx core.TaskExecutionContext) (core.Transition, error)
- func (_m *Plugin) OnAbort(ctx context.Context, tCtx core.TaskExecutionContext) *Plugin_Abort
- func (_m *Plugin) OnAbortMatch(matchers ...interface{}) *Plugin_Abort
- func (_m *Plugin) OnFinalize(ctx context.Context, tCtx core.TaskExecutionContext) *Plugin_Finalize
- func (_m *Plugin) OnFinalizeMatch(matchers ...interface{}) *Plugin_Finalize
- func (_m *Plugin) OnGetID() *Plugin_GetID
- func (_m *Plugin) OnGetIDMatch(matchers ...interface{}) *Plugin_GetID
- func (_m *Plugin) OnGetProperties() *Plugin_GetProperties
- func (_m *Plugin) OnGetPropertiesMatch(matchers ...interface{}) *Plugin_GetProperties
- func (_m *Plugin) OnHandle(ctx context.Context, tCtx core.TaskExecutionContext) *Plugin_Handle
- func (_m *Plugin) OnHandleMatch(matchers ...interface{}) *Plugin_Handle
- type PluginStateReader
- func (_m *PluginStateReader) Get(t interface{}) (uint8, error)
- func (_m *PluginStateReader) GetStateVersion() uint8
- func (_m *PluginStateReader) OnGet(t interface{}) *PluginStateReader_Get
- func (_m *PluginStateReader) OnGetMatch(matchers ...interface{}) *PluginStateReader_Get
- func (_m *PluginStateReader) OnGetStateVersion() *PluginStateReader_GetStateVersion
- func (_m *PluginStateReader) OnGetStateVersionMatch(matchers ...interface{}) *PluginStateReader_GetStateVersion
- type PluginStateReader_Get
- type PluginStateReader_GetStateVersion
- type PluginStateWriter
- func (_m *PluginStateWriter) OnPut(stateVersion uint8, v interface{}) *PluginStateWriter_Put
- func (_m *PluginStateWriter) OnPutMatch(matchers ...interface{}) *PluginStateWriter_Put
- func (_m *PluginStateWriter) OnReset() *PluginStateWriter_Reset
- func (_m *PluginStateWriter) OnResetMatch(matchers ...interface{}) *PluginStateWriter_Reset
- func (_m *PluginStateWriter) Put(stateVersion uint8, v interface{}) error
- func (_m *PluginStateWriter) Reset() error
- type PluginStateWriter_Put
- type PluginStateWriter_Reset
- type Plugin_Abort
- type Plugin_Finalize
- type Plugin_GetID
- type Plugin_GetProperties
- type Plugin_Handle
- type ResourceManager
- func (_m *ResourceManager) AllocateResource(ctx context.Context, namespace core.ResourceNamespace, allocationToken string, ...) (core.AllocationStatus, error)
- func (_m *ResourceManager) GetID() string
- func (_m *ResourceManager) OnAllocateResource(ctx context.Context, namespace core.ResourceNamespace, allocationToken string, ...) *ResourceManager_AllocateResource
- func (_m *ResourceManager) OnAllocateResourceMatch(matchers ...interface{}) *ResourceManager_AllocateResource
- func (_m *ResourceManager) OnGetID() *ResourceManager_GetID
- func (_m *ResourceManager) OnGetIDMatch(matchers ...interface{}) *ResourceManager_GetID
- func (_m *ResourceManager) OnReleaseResource(ctx context.Context, namespace core.ResourceNamespace, allocationToken string) *ResourceManager_ReleaseResource
- func (_m *ResourceManager) OnReleaseResourceMatch(matchers ...interface{}) *ResourceManager_ReleaseResource
- func (_m *ResourceManager) ReleaseResource(ctx context.Context, namespace core.ResourceNamespace, allocationToken string) error
- type ResourceManager_AllocateResource
- type ResourceManager_GetID
- type ResourceManager_ReleaseResource
- type ResourceNegotiator
- func (_m *ResourceNegotiator) OnRegisterResourceQuota(ctx context.Context, namespace core.ResourceNamespace, quota int) *ResourceNegotiator_RegisterResourceQuota
- func (_m *ResourceNegotiator) OnRegisterResourceQuotaMatch(matchers ...interface{}) *ResourceNegotiator_RegisterResourceQuota
- func (_m *ResourceNegotiator) RegisterResourceQuota(ctx context.Context, namespace core.ResourceNamespace, quota int) error
- type ResourceNegotiator_RegisterResourceQuota
- type ResourceRegistrar
- func (_m *ResourceRegistrar) OnRegisterResourceQuota(ctx context.Context, namespace core.ResourceNamespace, quota int) *ResourceRegistrar_RegisterResourceQuota
- func (_m *ResourceRegistrar) OnRegisterResourceQuotaMatch(matchers ...interface{}) *ResourceRegistrar_RegisterResourceQuota
- func (_m *ResourceRegistrar) RegisterResourceQuota(ctx context.Context, namespace core.ResourceNamespace, quota int) error
- type ResourceRegistrar_RegisterResourceQuota
- type SecretManager
- type SecretManager_Get
- type SetupContext
- func (_m *SetupContext) EnqueueOwner() core.EnqueueOwner
- func (_m *SetupContext) KubeClient() core.KubeClient
- func (_m *SetupContext) MetricsScope() promutils.Scope
- func (_m *SetupContext) OnEnqueueOwner() *SetupContext_EnqueueOwner
- func (_m *SetupContext) OnEnqueueOwnerMatch(matchers ...interface{}) *SetupContext_EnqueueOwner
- func (_m *SetupContext) OnKubeClient() *SetupContext_KubeClient
- func (_m *SetupContext) OnKubeClientMatch(matchers ...interface{}) *SetupContext_KubeClient
- func (_m *SetupContext) OnMetricsScope() *SetupContext_MetricsScope
- func (_m *SetupContext) OnMetricsScopeMatch(matchers ...interface{}) *SetupContext_MetricsScope
- func (_m *SetupContext) OnOwnerKind() *SetupContext_OwnerKind
- func (_m *SetupContext) OnOwnerKindMatch(matchers ...interface{}) *SetupContext_OwnerKind
- func (_m *SetupContext) OnResourceRegistrar() *SetupContext_ResourceRegistrar
- func (_m *SetupContext) OnResourceRegistrarMatch(matchers ...interface{}) *SetupContext_ResourceRegistrar
- func (_m *SetupContext) OnSecretManager() *SetupContext_SecretManager
- func (_m *SetupContext) OnSecretManagerMatch(matchers ...interface{}) *SetupContext_SecretManager
- func (_m *SetupContext) OwnerKind() string
- func (_m *SetupContext) ResourceRegistrar() core.ResourceRegistrar
- func (_m *SetupContext) SecretManager() core.SecretManager
- type SetupContext_EnqueueOwner
- type SetupContext_KubeClient
- type SetupContext_MetricsScope
- type SetupContext_OwnerKind
- type SetupContext_ResourceRegistrar
- type SetupContext_SecretManager
- type TaskExecutionContext
- func (_m *TaskExecutionContext) Catalog() catalog.AsyncClient
- func (_m *TaskExecutionContext) DataStore() *storage.DataStore
- func (_m *TaskExecutionContext) EventsRecorder() core.EventsRecorder
- func (_m *TaskExecutionContext) InputReader() io.InputReader
- func (_m *TaskExecutionContext) MaxDatasetSizeBytes() int64
- func (_m *TaskExecutionContext) OnCatalog() *TaskExecutionContext_Catalog
- func (_m *TaskExecutionContext) OnCatalogMatch(matchers ...interface{}) *TaskExecutionContext_Catalog
- func (_m *TaskExecutionContext) OnDataStore() *TaskExecutionContext_DataStore
- func (_m *TaskExecutionContext) OnDataStoreMatch(matchers ...interface{}) *TaskExecutionContext_DataStore
- func (_m *TaskExecutionContext) OnEventsRecorder() *TaskExecutionContext_EventsRecorder
- func (_m *TaskExecutionContext) OnEventsRecorderMatch(matchers ...interface{}) *TaskExecutionContext_EventsRecorder
- func (_m *TaskExecutionContext) OnInputReader() *TaskExecutionContext_InputReader
- func (_m *TaskExecutionContext) OnInputReaderMatch(matchers ...interface{}) *TaskExecutionContext_InputReader
- func (_m *TaskExecutionContext) OnMaxDatasetSizeBytes() *TaskExecutionContext_MaxDatasetSizeBytes
- func (_m *TaskExecutionContext) OnMaxDatasetSizeBytesMatch(matchers ...interface{}) *TaskExecutionContext_MaxDatasetSizeBytes
- func (_m *TaskExecutionContext) OnOutputWriter() *TaskExecutionContext_OutputWriter
- func (_m *TaskExecutionContext) OnOutputWriterMatch(matchers ...interface{}) *TaskExecutionContext_OutputWriter
- func (_m *TaskExecutionContext) OnPluginStateReader() *TaskExecutionContext_PluginStateReader
- func (_m *TaskExecutionContext) OnPluginStateReaderMatch(matchers ...interface{}) *TaskExecutionContext_PluginStateReader
- func (_m *TaskExecutionContext) OnPluginStateWriter() *TaskExecutionContext_PluginStateWriter
- func (_m *TaskExecutionContext) OnPluginStateWriterMatch(matchers ...interface{}) *TaskExecutionContext_PluginStateWriter
- func (_m *TaskExecutionContext) OnResourceManager() *TaskExecutionContext_ResourceManager
- func (_m *TaskExecutionContext) OnResourceManagerMatch(matchers ...interface{}) *TaskExecutionContext_ResourceManager
- func (_m *TaskExecutionContext) OnSecretManager() *TaskExecutionContext_SecretManager
- func (_m *TaskExecutionContext) OnSecretManagerMatch(matchers ...interface{}) *TaskExecutionContext_SecretManager
- func (_m *TaskExecutionContext) OnTaskExecutionMetadata() *TaskExecutionContext_TaskExecutionMetadata
- func (_m *TaskExecutionContext) OnTaskExecutionMetadataMatch(matchers ...interface{}) *TaskExecutionContext_TaskExecutionMetadata
- func (_m *TaskExecutionContext) OnTaskReader() *TaskExecutionContext_TaskReader
- func (_m *TaskExecutionContext) OnTaskReaderMatch(matchers ...interface{}) *TaskExecutionContext_TaskReader
- func (_m *TaskExecutionContext) OnTaskRefreshIndicator() *TaskExecutionContext_TaskRefreshIndicator
- func (_m *TaskExecutionContext) OnTaskRefreshIndicatorMatch(matchers ...interface{}) *TaskExecutionContext_TaskRefreshIndicator
- func (_m *TaskExecutionContext) OutputWriter() io.OutputWriter
- func (_m *TaskExecutionContext) PluginStateReader() core.PluginStateReader
- func (_m *TaskExecutionContext) PluginStateWriter() core.PluginStateWriter
- func (_m *TaskExecutionContext) ResourceManager() core.ResourceManager
- func (_m *TaskExecutionContext) SecretManager() core.SecretManager
- func (_m *TaskExecutionContext) TaskExecutionMetadata() core.TaskExecutionMetadata
- func (_m *TaskExecutionContext) TaskReader() core.TaskReader
- func (_m *TaskExecutionContext) TaskRefreshIndicator() core.SignalAsync
- type TaskExecutionContext_Catalog
- type TaskExecutionContext_DataStore
- type TaskExecutionContext_EventsRecorder
- type TaskExecutionContext_InputReader
- type TaskExecutionContext_MaxDatasetSizeBytes
- type TaskExecutionContext_OutputWriter
- type TaskExecutionContext_PluginStateReader
- type TaskExecutionContext_PluginStateWriter
- type TaskExecutionContext_ResourceManager
- type TaskExecutionContext_SecretManager
- type TaskExecutionContext_TaskExecutionMetadata
- type TaskExecutionContext_TaskReader
- type TaskExecutionContext_TaskRefreshIndicator
- type TaskExecutionID
- func (_m *TaskExecutionID) GetGeneratedName() string
- func (_m *TaskExecutionID) GetID() flyteidlcore.TaskExecutionIdentifier
- func (_m *TaskExecutionID) OnGetGeneratedName() *TaskExecutionID_GetGeneratedName
- func (_m *TaskExecutionID) OnGetGeneratedNameMatch(matchers ...interface{}) *TaskExecutionID_GetGeneratedName
- func (_m *TaskExecutionID) OnGetID() *TaskExecutionID_GetID
- func (_m *TaskExecutionID) OnGetIDMatch(matchers ...interface{}) *TaskExecutionID_GetID
- type TaskExecutionID_GetGeneratedName
- type TaskExecutionID_GetID
- type TaskExecutionMetadata
- func (_m *TaskExecutionMetadata) GetAnnotations() map[string]string
- func (_m *TaskExecutionMetadata) GetK8sServiceAccount() string
- func (_m *TaskExecutionMetadata) GetLabels() map[string]string
- func (_m *TaskExecutionMetadata) GetMaxAttempts() uint32
- func (_m *TaskExecutionMetadata) GetNamespace() string
- func (_m *TaskExecutionMetadata) GetOverrides() core.TaskOverrides
- func (_m *TaskExecutionMetadata) GetOwnerID() types.NamespacedName
- func (_m *TaskExecutionMetadata) GetOwnerReference() v1.OwnerReference
- func (_m *TaskExecutionMetadata) GetTaskExecutionID() core.TaskExecutionID
- func (_m *TaskExecutionMetadata) IsInterruptible() bool
- func (_m *TaskExecutionMetadata) OnGetAnnotations() *TaskExecutionMetadata_GetAnnotations
- func (_m *TaskExecutionMetadata) OnGetAnnotationsMatch(matchers ...interface{}) *TaskExecutionMetadata_GetAnnotations
- func (_m *TaskExecutionMetadata) OnGetK8sServiceAccount() *TaskExecutionMetadata_GetK8sServiceAccount
- func (_m *TaskExecutionMetadata) OnGetK8sServiceAccountMatch(matchers ...interface{}) *TaskExecutionMetadata_GetK8sServiceAccount
- func (_m *TaskExecutionMetadata) OnGetLabels() *TaskExecutionMetadata_GetLabels
- func (_m *TaskExecutionMetadata) OnGetLabelsMatch(matchers ...interface{}) *TaskExecutionMetadata_GetLabels
- func (_m *TaskExecutionMetadata) OnGetMaxAttempts() *TaskExecutionMetadata_GetMaxAttempts
- func (_m *TaskExecutionMetadata) OnGetMaxAttemptsMatch(matchers ...interface{}) *TaskExecutionMetadata_GetMaxAttempts
- func (_m *TaskExecutionMetadata) OnGetNamespace() *TaskExecutionMetadata_GetNamespace
- func (_m *TaskExecutionMetadata) OnGetNamespaceMatch(matchers ...interface{}) *TaskExecutionMetadata_GetNamespace
- func (_m *TaskExecutionMetadata) OnGetOverrides() *TaskExecutionMetadata_GetOverrides
- func (_m *TaskExecutionMetadata) OnGetOverridesMatch(matchers ...interface{}) *TaskExecutionMetadata_GetOverrides
- func (_m *TaskExecutionMetadata) OnGetOwnerID() *TaskExecutionMetadata_GetOwnerID
- func (_m *TaskExecutionMetadata) OnGetOwnerIDMatch(matchers ...interface{}) *TaskExecutionMetadata_GetOwnerID
- func (_m *TaskExecutionMetadata) OnGetOwnerReference() *TaskExecutionMetadata_GetOwnerReference
- func (_m *TaskExecutionMetadata) OnGetOwnerReferenceMatch(matchers ...interface{}) *TaskExecutionMetadata_GetOwnerReference
- func (_m *TaskExecutionMetadata) OnGetTaskExecutionID() *TaskExecutionMetadata_GetTaskExecutionID
- func (_m *TaskExecutionMetadata) OnGetTaskExecutionIDMatch(matchers ...interface{}) *TaskExecutionMetadata_GetTaskExecutionID
- func (_m *TaskExecutionMetadata) OnIsInterruptible() *TaskExecutionMetadata_IsInterruptible
- func (_m *TaskExecutionMetadata) OnIsInterruptibleMatch(matchers ...interface{}) *TaskExecutionMetadata_IsInterruptible
- type TaskExecutionMetadata_GetAnnotations
- type TaskExecutionMetadata_GetK8sServiceAccount
- type TaskExecutionMetadata_GetLabels
- type TaskExecutionMetadata_GetMaxAttempts
- type TaskExecutionMetadata_GetNamespace
- type TaskExecutionMetadata_GetOverrides
- type TaskExecutionMetadata_GetOwnerID
- type TaskExecutionMetadata_GetOwnerReference
- type TaskExecutionMetadata_GetTaskExecutionID
- type TaskExecutionMetadata_IsInterruptible
- type TaskOverrides
- func (_m *TaskOverrides) GetConfig() *v1.ConfigMap
- func (_m *TaskOverrides) GetResources() *v1.ResourceRequirements
- func (_m *TaskOverrides) OnGetConfig() *TaskOverrides_GetConfig
- func (_m *TaskOverrides) OnGetConfigMatch(matchers ...interface{}) *TaskOverrides_GetConfig
- func (_m *TaskOverrides) OnGetResources() *TaskOverrides_GetResources
- func (_m *TaskOverrides) OnGetResourcesMatch(matchers ...interface{}) *TaskOverrides_GetResources
- type TaskOverrides_GetConfig
- type TaskOverrides_GetResources
- type TaskReader
- type TaskReader_Read
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventsRecorder ¶
EventsRecorder is an autogenerated mock type for the EventsRecorder type
func (*EventsRecorder) OnRecordRaw ¶
func (_m *EventsRecorder) OnRecordRaw(ctx context.Context, ev core.PhaseInfo) *EventsRecorder_RecordRaw
func (*EventsRecorder) OnRecordRawMatch ¶
func (_m *EventsRecorder) OnRecordRawMatch(matchers ...interface{}) *EventsRecorder_RecordRaw
type EventsRecorder_RecordRaw ¶
func (EventsRecorder_RecordRaw) Return ¶
func (_m EventsRecorder_RecordRaw) Return(_a0 error) *EventsRecorder_RecordRaw
type FakeKubeClient ¶
type FakeKubeClient struct { 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 runtime.Object, opts ...client.CreateOption) (err error)
func (*FakeKubeClient) Delete ¶
func (m *FakeKubeClient) Delete(ctx context.Context, obj runtime.Object, opts ...client.DeleteOption) error
func (*FakeKubeClient) DeleteAllOf ¶
func (*FakeKubeClient) DeleteAllOf(ctx context.Context, obj runtime.Object, opts ...client.DeleteAllOfOption) error
DeleteAllOf deletes all objects of the given type matching the given options.
func (*FakeKubeClient) List ¶
func (m *FakeKubeClient) List(ctx context.Context, list runtime.Object, opts ...client.ListOption) error
func (*FakeKubeClient) Patch ¶
func (*FakeKubeClient) Patch(ctx context.Context, obj runtime.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) Status ¶
func (*FakeKubeClient) Status() client.StatusWriter
func (*FakeKubeClient) Update ¶
func (m *FakeKubeClient) Update(ctx context.Context, obj runtime.Object, opts ...client.UpdateOption) error
type KubeClient ¶
KubeClient is an autogenerated mock type for the KubeClient type
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:
func (*KubeClient) OnGetCache ¶
func (_m *KubeClient) OnGetCache() *KubeClient_GetCache
func (*KubeClient) OnGetCacheMatch ¶
func (_m *KubeClient) OnGetCacheMatch(matchers ...interface{}) *KubeClient_GetCache
func (*KubeClient) OnGetClient ¶
func (_m *KubeClient) OnGetClient() *KubeClient_GetClient
func (*KubeClient) OnGetClientMatch ¶
func (_m *KubeClient) OnGetClientMatch(matchers ...interface{}) *KubeClient_GetClient
type KubeClient_GetCache ¶
func (KubeClient_GetCache) Return ¶
func (_m KubeClient_GetCache) Return(_a0 cache.Cache) *KubeClient_GetCache
type KubeClient_GetClient ¶
func (KubeClient_GetClient) Return ¶
func (_m KubeClient_GetClient) Return(_a0 client.Client) *KubeClient_GetClient
type Plugin ¶
Plugin is an autogenerated mock type for the Plugin type
func (*Plugin) GetProperties ¶
func (_m *Plugin) GetProperties() core.PluginProperties
GetProperties provides a mock function with given fields:
func (*Plugin) Handle ¶
func (_m *Plugin) Handle(ctx context.Context, tCtx core.TaskExecutionContext) (core.Transition, error)
Handle provides a mock function with given fields: ctx, tCtx
func (*Plugin) OnAbort ¶
func (_m *Plugin) OnAbort(ctx context.Context, tCtx core.TaskExecutionContext) *Plugin_Abort
func (*Plugin) OnAbortMatch ¶
func (_m *Plugin) OnAbortMatch(matchers ...interface{}) *Plugin_Abort
func (*Plugin) OnFinalize ¶
func (_m *Plugin) OnFinalize(ctx context.Context, tCtx core.TaskExecutionContext) *Plugin_Finalize
func (*Plugin) OnFinalizeMatch ¶
func (_m *Plugin) OnFinalizeMatch(matchers ...interface{}) *Plugin_Finalize
func (*Plugin) OnGetID ¶
func (_m *Plugin) OnGetID() *Plugin_GetID
func (*Plugin) OnGetIDMatch ¶
func (_m *Plugin) OnGetIDMatch(matchers ...interface{}) *Plugin_GetID
func (*Plugin) OnGetProperties ¶
func (_m *Plugin) OnGetProperties() *Plugin_GetProperties
func (*Plugin) OnGetPropertiesMatch ¶
func (_m *Plugin) OnGetPropertiesMatch(matchers ...interface{}) *Plugin_GetProperties
func (*Plugin) OnHandle ¶
func (_m *Plugin) OnHandle(ctx context.Context, tCtx core.TaskExecutionContext) *Plugin_Handle
func (*Plugin) OnHandleMatch ¶
func (_m *Plugin) OnHandleMatch(matchers ...interface{}) *Plugin_Handle
type PluginStateReader ¶
PluginStateReader is an autogenerated mock type for the PluginStateReader type
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:
func (*PluginStateReader) OnGet ¶
func (_m *PluginStateReader) OnGet(t interface{}) *PluginStateReader_Get
func (*PluginStateReader) OnGetMatch ¶
func (_m *PluginStateReader) OnGetMatch(matchers ...interface{}) *PluginStateReader_Get
func (*PluginStateReader) OnGetStateVersion ¶
func (_m *PluginStateReader) OnGetStateVersion() *PluginStateReader_GetStateVersion
func (*PluginStateReader) OnGetStateVersionMatch ¶
func (_m *PluginStateReader) OnGetStateVersionMatch(matchers ...interface{}) *PluginStateReader_GetStateVersion
type PluginStateReader_Get ¶
func (PluginStateReader_Get) Return ¶
func (_m PluginStateReader_Get) Return(stateVersion uint8, err error) *PluginStateReader_Get
type PluginStateReader_GetStateVersion ¶
func (PluginStateReader_GetStateVersion) Return ¶
func (_m PluginStateReader_GetStateVersion) Return(_a0 uint8) *PluginStateReader_GetStateVersion
type PluginStateWriter ¶
PluginStateWriter is an autogenerated mock type for the PluginStateWriter type
func (*PluginStateWriter) OnPut ¶
func (_m *PluginStateWriter) OnPut(stateVersion uint8, v interface{}) *PluginStateWriter_Put
func (*PluginStateWriter) OnPutMatch ¶
func (_m *PluginStateWriter) OnPutMatch(matchers ...interface{}) *PluginStateWriter_Put
func (*PluginStateWriter) OnReset ¶
func (_m *PluginStateWriter) OnReset() *PluginStateWriter_Reset
func (*PluginStateWriter) OnResetMatch ¶
func (_m *PluginStateWriter) OnResetMatch(matchers ...interface{}) *PluginStateWriter_Reset
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_Put ¶
func (PluginStateWriter_Put) Return ¶
func (_m PluginStateWriter_Put) Return(_a0 error) *PluginStateWriter_Put
type PluginStateWriter_Reset ¶
func (PluginStateWriter_Reset) Return ¶
func (_m PluginStateWriter_Reset) Return(_a0 error) *PluginStateWriter_Reset
type Plugin_Abort ¶
func (Plugin_Abort) Return ¶
func (_m Plugin_Abort) Return(_a0 error) *Plugin_Abort
type Plugin_Finalize ¶
func (Plugin_Finalize) Return ¶
func (_m Plugin_Finalize) Return(_a0 error) *Plugin_Finalize
type Plugin_GetID ¶
func (Plugin_GetID) Return ¶
func (_m Plugin_GetID) Return(_a0 string) *Plugin_GetID
type Plugin_GetProperties ¶
func (Plugin_GetProperties) Return ¶
func (_m Plugin_GetProperties) Return(_a0 core.PluginProperties) *Plugin_GetProperties
type Plugin_Handle ¶
func (Plugin_Handle) Return ¶
func (_m Plugin_Handle) Return(_a0 core.Transition, _a1 error) *Plugin_Handle
type ResourceManager ¶
ResourceManager is an autogenerated mock type for the ResourceManager type
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) GetID ¶ added in v0.2.7
func (_m *ResourceManager) GetID() string
GetID provides a mock function with given fields:
func (*ResourceManager) OnAllocateResource ¶
func (_m *ResourceManager) OnAllocateResource(ctx context.Context, namespace core.ResourceNamespace, allocationToken string, constraintsSpec core.ResourceConstraintsSpec) *ResourceManager_AllocateResource
func (*ResourceManager) OnAllocateResourceMatch ¶
func (_m *ResourceManager) OnAllocateResourceMatch(matchers ...interface{}) *ResourceManager_AllocateResource
func (*ResourceManager) OnGetID ¶ added in v0.2.7
func (_m *ResourceManager) OnGetID() *ResourceManager_GetID
func (*ResourceManager) OnGetIDMatch ¶ added in v0.2.7
func (_m *ResourceManager) OnGetIDMatch(matchers ...interface{}) *ResourceManager_GetID
func (*ResourceManager) OnReleaseResource ¶
func (_m *ResourceManager) OnReleaseResource(ctx context.Context, namespace core.ResourceNamespace, allocationToken string) *ResourceManager_ReleaseResource
func (*ResourceManager) OnReleaseResourceMatch ¶
func (_m *ResourceManager) OnReleaseResourceMatch(matchers ...interface{}) *ResourceManager_ReleaseResource
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 ¶
func (ResourceManager_AllocateResource) Return ¶
func (_m ResourceManager_AllocateResource) Return(_a0 core.AllocationStatus, _a1 error) *ResourceManager_AllocateResource
type ResourceManager_GetID ¶ added in v0.2.7
func (ResourceManager_GetID) Return ¶ added in v0.2.7
func (_m ResourceManager_GetID) Return(_a0 string) *ResourceManager_GetID
type ResourceManager_ReleaseResource ¶
func (ResourceManager_ReleaseResource) Return ¶
func (_m ResourceManager_ReleaseResource) Return(_a0 error) *ResourceManager_ReleaseResource
type ResourceNegotiator ¶
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 ¶
func (ResourceNegotiator_RegisterResourceQuota) Return ¶
func (_m ResourceNegotiator_RegisterResourceQuota) Return(_a0 error) *ResourceNegotiator_RegisterResourceQuota
type ResourceRegistrar ¶
ResourceRegistrar is an autogenerated mock type for the ResourceRegistrar type
func (*ResourceRegistrar) OnRegisterResourceQuota ¶
func (_m *ResourceRegistrar) OnRegisterResourceQuota(ctx context.Context, namespace core.ResourceNamespace, quota int) *ResourceRegistrar_RegisterResourceQuota
func (*ResourceRegistrar) OnRegisterResourceQuotaMatch ¶
func (_m *ResourceRegistrar) OnRegisterResourceQuotaMatch(matchers ...interface{}) *ResourceRegistrar_RegisterResourceQuota
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_RegisterResourceQuota ¶
func (ResourceRegistrar_RegisterResourceQuota) Return ¶
func (_m ResourceRegistrar_RegisterResourceQuota) Return(_a0 error) *ResourceRegistrar_RegisterResourceQuota
type SecretManager ¶
SecretManager is an autogenerated mock type for the SecretManager type
func (*SecretManager) OnGet ¶
func (_m *SecretManager) OnGet(ctx context.Context, key string) *SecretManager_Get
func (*SecretManager) OnGetMatch ¶
func (_m *SecretManager) OnGetMatch(matchers ...interface{}) *SecretManager_Get
type SecretManager_Get ¶
func (SecretManager_Get) Return ¶
func (_m SecretManager_Get) Return(_a0 string, _a1 error) *SecretManager_Get
type SetupContext ¶
SetupContext is an autogenerated mock type for the SetupContext type
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) OnEnqueueOwner ¶
func (_m *SetupContext) OnEnqueueOwner() *SetupContext_EnqueueOwner
func (*SetupContext) OnEnqueueOwnerMatch ¶
func (_m *SetupContext) OnEnqueueOwnerMatch(matchers ...interface{}) *SetupContext_EnqueueOwner
func (*SetupContext) OnKubeClient ¶
func (_m *SetupContext) OnKubeClient() *SetupContext_KubeClient
func (*SetupContext) OnKubeClientMatch ¶
func (_m *SetupContext) OnKubeClientMatch(matchers ...interface{}) *SetupContext_KubeClient
func (*SetupContext) OnMetricsScope ¶
func (_m *SetupContext) OnMetricsScope() *SetupContext_MetricsScope
func (*SetupContext) OnMetricsScopeMatch ¶
func (_m *SetupContext) OnMetricsScopeMatch(matchers ...interface{}) *SetupContext_MetricsScope
func (*SetupContext) OnOwnerKind ¶
func (_m *SetupContext) OnOwnerKind() *SetupContext_OwnerKind
func (*SetupContext) OnOwnerKindMatch ¶
func (_m *SetupContext) OnOwnerKindMatch(matchers ...interface{}) *SetupContext_OwnerKind
func (*SetupContext) OnResourceRegistrar ¶
func (_m *SetupContext) OnResourceRegistrar() *SetupContext_ResourceRegistrar
func (*SetupContext) OnResourceRegistrarMatch ¶
func (_m *SetupContext) OnResourceRegistrarMatch(matchers ...interface{}) *SetupContext_ResourceRegistrar
func (*SetupContext) OnSecretManager ¶
func (_m *SetupContext) OnSecretManager() *SetupContext_SecretManager
func (*SetupContext) OnSecretManagerMatch ¶
func (_m *SetupContext) OnSecretManagerMatch(matchers ...interface{}) *SetupContext_SecretManager
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 ¶
func (SetupContext_EnqueueOwner) Return ¶
func (_m SetupContext_EnqueueOwner) Return(_a0 core.EnqueueOwner) *SetupContext_EnqueueOwner
type SetupContext_KubeClient ¶
func (SetupContext_KubeClient) Return ¶
func (_m SetupContext_KubeClient) Return(_a0 core.KubeClient) *SetupContext_KubeClient
type SetupContext_MetricsScope ¶
func (SetupContext_MetricsScope) Return ¶
func (_m SetupContext_MetricsScope) Return(_a0 promutils.Scope) *SetupContext_MetricsScope
type SetupContext_OwnerKind ¶
func (SetupContext_OwnerKind) Return ¶
func (_m SetupContext_OwnerKind) Return(_a0 string) *SetupContext_OwnerKind
type SetupContext_ResourceRegistrar ¶
func (SetupContext_ResourceRegistrar) Return ¶
func (_m SetupContext_ResourceRegistrar) Return(_a0 core.ResourceRegistrar) *SetupContext_ResourceRegistrar
type SetupContext_SecretManager ¶
func (SetupContext_SecretManager) Return ¶
func (_m SetupContext_SecretManager) Return(_a0 core.SecretManager) *SetupContext_SecretManager
type TaskExecutionContext ¶
TaskExecutionContext is an autogenerated mock type for the TaskExecutionContext type
func (*TaskExecutionContext) Catalog ¶
func (_m *TaskExecutionContext) Catalog() catalog.AsyncClient
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) 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) MaxDatasetSizeBytes ¶
func (_m *TaskExecutionContext) MaxDatasetSizeBytes() int64
MaxDatasetSizeBytes provides a mock function with given fields:
func (*TaskExecutionContext) OnCatalog ¶
func (_m *TaskExecutionContext) OnCatalog() *TaskExecutionContext_Catalog
func (*TaskExecutionContext) OnCatalogMatch ¶
func (_m *TaskExecutionContext) OnCatalogMatch(matchers ...interface{}) *TaskExecutionContext_Catalog
func (*TaskExecutionContext) OnDataStore ¶
func (_m *TaskExecutionContext) OnDataStore() *TaskExecutionContext_DataStore
func (*TaskExecutionContext) OnDataStoreMatch ¶
func (_m *TaskExecutionContext) OnDataStoreMatch(matchers ...interface{}) *TaskExecutionContext_DataStore
func (*TaskExecutionContext) OnEventsRecorder ¶
func (_m *TaskExecutionContext) OnEventsRecorder() *TaskExecutionContext_EventsRecorder
func (*TaskExecutionContext) OnEventsRecorderMatch ¶
func (_m *TaskExecutionContext) OnEventsRecorderMatch(matchers ...interface{}) *TaskExecutionContext_EventsRecorder
func (*TaskExecutionContext) OnInputReader ¶
func (_m *TaskExecutionContext) OnInputReader() *TaskExecutionContext_InputReader
func (*TaskExecutionContext) OnInputReaderMatch ¶
func (_m *TaskExecutionContext) OnInputReaderMatch(matchers ...interface{}) *TaskExecutionContext_InputReader
func (*TaskExecutionContext) OnMaxDatasetSizeBytes ¶
func (_m *TaskExecutionContext) OnMaxDatasetSizeBytes() *TaskExecutionContext_MaxDatasetSizeBytes
func (*TaskExecutionContext) OnMaxDatasetSizeBytesMatch ¶
func (_m *TaskExecutionContext) OnMaxDatasetSizeBytesMatch(matchers ...interface{}) *TaskExecutionContext_MaxDatasetSizeBytes
func (*TaskExecutionContext) OnOutputWriter ¶
func (_m *TaskExecutionContext) OnOutputWriter() *TaskExecutionContext_OutputWriter
func (*TaskExecutionContext) OnOutputWriterMatch ¶
func (_m *TaskExecutionContext) OnOutputWriterMatch(matchers ...interface{}) *TaskExecutionContext_OutputWriter
func (*TaskExecutionContext) OnPluginStateReader ¶
func (_m *TaskExecutionContext) OnPluginStateReader() *TaskExecutionContext_PluginStateReader
func (*TaskExecutionContext) OnPluginStateReaderMatch ¶
func (_m *TaskExecutionContext) OnPluginStateReaderMatch(matchers ...interface{}) *TaskExecutionContext_PluginStateReader
func (*TaskExecutionContext) OnPluginStateWriter ¶
func (_m *TaskExecutionContext) OnPluginStateWriter() *TaskExecutionContext_PluginStateWriter
func (*TaskExecutionContext) OnPluginStateWriterMatch ¶
func (_m *TaskExecutionContext) OnPluginStateWriterMatch(matchers ...interface{}) *TaskExecutionContext_PluginStateWriter
func (*TaskExecutionContext) OnResourceManager ¶
func (_m *TaskExecutionContext) OnResourceManager() *TaskExecutionContext_ResourceManager
func (*TaskExecutionContext) OnResourceManagerMatch ¶
func (_m *TaskExecutionContext) OnResourceManagerMatch(matchers ...interface{}) *TaskExecutionContext_ResourceManager
func (*TaskExecutionContext) OnSecretManager ¶
func (_m *TaskExecutionContext) OnSecretManager() *TaskExecutionContext_SecretManager
func (*TaskExecutionContext) OnSecretManagerMatch ¶
func (_m *TaskExecutionContext) OnSecretManagerMatch(matchers ...interface{}) *TaskExecutionContext_SecretManager
func (*TaskExecutionContext) OnTaskExecutionMetadata ¶
func (_m *TaskExecutionContext) OnTaskExecutionMetadata() *TaskExecutionContext_TaskExecutionMetadata
func (*TaskExecutionContext) OnTaskExecutionMetadataMatch ¶
func (_m *TaskExecutionContext) OnTaskExecutionMetadataMatch(matchers ...interface{}) *TaskExecutionContext_TaskExecutionMetadata
func (*TaskExecutionContext) OnTaskReader ¶
func (_m *TaskExecutionContext) OnTaskReader() *TaskExecutionContext_TaskReader
func (*TaskExecutionContext) OnTaskReaderMatch ¶
func (_m *TaskExecutionContext) OnTaskReaderMatch(matchers ...interface{}) *TaskExecutionContext_TaskReader
func (*TaskExecutionContext) OnTaskRefreshIndicator ¶
func (_m *TaskExecutionContext) OnTaskRefreshIndicator() *TaskExecutionContext_TaskRefreshIndicator
func (*TaskExecutionContext) OnTaskRefreshIndicatorMatch ¶
func (_m *TaskExecutionContext) OnTaskRefreshIndicatorMatch(matchers ...interface{}) *TaskExecutionContext_TaskRefreshIndicator
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 ¶
func (TaskExecutionContext_Catalog) Return ¶
func (_m TaskExecutionContext_Catalog) Return(_a0 catalog.AsyncClient) *TaskExecutionContext_Catalog
type TaskExecutionContext_DataStore ¶
func (TaskExecutionContext_DataStore) Return ¶
func (_m TaskExecutionContext_DataStore) Return(_a0 *storage.DataStore) *TaskExecutionContext_DataStore
type TaskExecutionContext_EventsRecorder ¶
func (TaskExecutionContext_EventsRecorder) Return ¶
func (_m TaskExecutionContext_EventsRecorder) Return(_a0 core.EventsRecorder) *TaskExecutionContext_EventsRecorder
type TaskExecutionContext_InputReader ¶
func (TaskExecutionContext_InputReader) Return ¶
func (_m TaskExecutionContext_InputReader) Return(_a0 io.InputReader) *TaskExecutionContext_InputReader
type TaskExecutionContext_MaxDatasetSizeBytes ¶
func (TaskExecutionContext_MaxDatasetSizeBytes) Return ¶
func (_m TaskExecutionContext_MaxDatasetSizeBytes) Return(_a0 int64) *TaskExecutionContext_MaxDatasetSizeBytes
type TaskExecutionContext_OutputWriter ¶
func (TaskExecutionContext_OutputWriter) Return ¶
func (_m TaskExecutionContext_OutputWriter) Return(_a0 io.OutputWriter) *TaskExecutionContext_OutputWriter
type TaskExecutionContext_PluginStateReader ¶
func (TaskExecutionContext_PluginStateReader) Return ¶
func (_m TaskExecutionContext_PluginStateReader) Return(_a0 core.PluginStateReader) *TaskExecutionContext_PluginStateReader
type TaskExecutionContext_PluginStateWriter ¶
func (TaskExecutionContext_PluginStateWriter) Return ¶
func (_m TaskExecutionContext_PluginStateWriter) Return(_a0 core.PluginStateWriter) *TaskExecutionContext_PluginStateWriter
type TaskExecutionContext_ResourceManager ¶
func (TaskExecutionContext_ResourceManager) Return ¶
func (_m TaskExecutionContext_ResourceManager) Return(_a0 core.ResourceManager) *TaskExecutionContext_ResourceManager
type TaskExecutionContext_SecretManager ¶
func (TaskExecutionContext_SecretManager) Return ¶
func (_m TaskExecutionContext_SecretManager) Return(_a0 core.SecretManager) *TaskExecutionContext_SecretManager
type TaskExecutionContext_TaskExecutionMetadata ¶
type TaskExecutionContext_TaskReader ¶
func (TaskExecutionContext_TaskReader) Return ¶
func (_m TaskExecutionContext_TaskReader) Return(_a0 core.TaskReader) *TaskExecutionContext_TaskReader
type TaskExecutionContext_TaskRefreshIndicator ¶
func (TaskExecutionContext_TaskRefreshIndicator) Return ¶
func (_m TaskExecutionContext_TaskRefreshIndicator) Return(_a0 core.SignalAsync) *TaskExecutionContext_TaskRefreshIndicator
type TaskExecutionID ¶
TaskExecutionID is an autogenerated mock type for the TaskExecutionID type
func (*TaskExecutionID) GetGeneratedName ¶
func (_m *TaskExecutionID) GetGeneratedName() string
GetGeneratedName provides a mock function with given fields:
func (*TaskExecutionID) GetID ¶
func (_m *TaskExecutionID) GetID() flyteidlcore.TaskExecutionIdentifier
GetID provides a mock function with given fields:
func (*TaskExecutionID) OnGetGeneratedName ¶
func (_m *TaskExecutionID) OnGetGeneratedName() *TaskExecutionID_GetGeneratedName
func (*TaskExecutionID) OnGetGeneratedNameMatch ¶
func (_m *TaskExecutionID) OnGetGeneratedNameMatch(matchers ...interface{}) *TaskExecutionID_GetGeneratedName
func (*TaskExecutionID) OnGetID ¶
func (_m *TaskExecutionID) OnGetID() *TaskExecutionID_GetID
func (*TaskExecutionID) OnGetIDMatch ¶
func (_m *TaskExecutionID) OnGetIDMatch(matchers ...interface{}) *TaskExecutionID_GetID
type TaskExecutionID_GetGeneratedName ¶
func (TaskExecutionID_GetGeneratedName) Return ¶
func (_m TaskExecutionID_GetGeneratedName) Return(_a0 string) *TaskExecutionID_GetGeneratedName
type TaskExecutionID_GetID ¶
func (TaskExecutionID_GetID) Return ¶
func (_m TaskExecutionID_GetID) Return(_a0 flyteidlcore.TaskExecutionIdentifier) *TaskExecutionID_GetID
type TaskExecutionMetadata ¶
TaskExecutionMetadata is an autogenerated mock type for the TaskExecutionMetadata type
func (*TaskExecutionMetadata) GetAnnotations ¶
func (_m *TaskExecutionMetadata) GetAnnotations() map[string]string
GetAnnotations 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 ¶ added in v0.5.4
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) GetTaskExecutionID ¶
func (_m *TaskExecutionMetadata) GetTaskExecutionID() core.TaskExecutionID
GetTaskExecutionID provides a mock function with given fields:
func (*TaskExecutionMetadata) IsInterruptible ¶ added in v0.3.12
func (_m *TaskExecutionMetadata) IsInterruptible() bool
IsInterruptible provides a mock function with given fields:
func (*TaskExecutionMetadata) OnGetAnnotations ¶
func (_m *TaskExecutionMetadata) OnGetAnnotations() *TaskExecutionMetadata_GetAnnotations
func (*TaskExecutionMetadata) OnGetAnnotationsMatch ¶
func (_m *TaskExecutionMetadata) OnGetAnnotationsMatch(matchers ...interface{}) *TaskExecutionMetadata_GetAnnotations
func (*TaskExecutionMetadata) OnGetK8sServiceAccount ¶
func (_m *TaskExecutionMetadata) OnGetK8sServiceAccount() *TaskExecutionMetadata_GetK8sServiceAccount
func (*TaskExecutionMetadata) OnGetK8sServiceAccountMatch ¶
func (_m *TaskExecutionMetadata) OnGetK8sServiceAccountMatch(matchers ...interface{}) *TaskExecutionMetadata_GetK8sServiceAccount
func (*TaskExecutionMetadata) OnGetLabels ¶
func (_m *TaskExecutionMetadata) OnGetLabels() *TaskExecutionMetadata_GetLabels
func (*TaskExecutionMetadata) OnGetLabelsMatch ¶
func (_m *TaskExecutionMetadata) OnGetLabelsMatch(matchers ...interface{}) *TaskExecutionMetadata_GetLabels
func (*TaskExecutionMetadata) OnGetMaxAttempts ¶ added in v0.5.4
func (_m *TaskExecutionMetadata) OnGetMaxAttempts() *TaskExecutionMetadata_GetMaxAttempts
func (*TaskExecutionMetadata) OnGetMaxAttemptsMatch ¶ added in v0.5.4
func (_m *TaskExecutionMetadata) OnGetMaxAttemptsMatch(matchers ...interface{}) *TaskExecutionMetadata_GetMaxAttempts
func (*TaskExecutionMetadata) OnGetNamespace ¶
func (_m *TaskExecutionMetadata) OnGetNamespace() *TaskExecutionMetadata_GetNamespace
func (*TaskExecutionMetadata) OnGetNamespaceMatch ¶
func (_m *TaskExecutionMetadata) OnGetNamespaceMatch(matchers ...interface{}) *TaskExecutionMetadata_GetNamespace
func (*TaskExecutionMetadata) OnGetOverrides ¶
func (_m *TaskExecutionMetadata) OnGetOverrides() *TaskExecutionMetadata_GetOverrides
func (*TaskExecutionMetadata) OnGetOverridesMatch ¶
func (_m *TaskExecutionMetadata) OnGetOverridesMatch(matchers ...interface{}) *TaskExecutionMetadata_GetOverrides
func (*TaskExecutionMetadata) OnGetOwnerID ¶
func (_m *TaskExecutionMetadata) OnGetOwnerID() *TaskExecutionMetadata_GetOwnerID
func (*TaskExecutionMetadata) OnGetOwnerIDMatch ¶
func (_m *TaskExecutionMetadata) OnGetOwnerIDMatch(matchers ...interface{}) *TaskExecutionMetadata_GetOwnerID
func (*TaskExecutionMetadata) OnGetOwnerReference ¶
func (_m *TaskExecutionMetadata) OnGetOwnerReference() *TaskExecutionMetadata_GetOwnerReference
func (*TaskExecutionMetadata) OnGetOwnerReferenceMatch ¶
func (_m *TaskExecutionMetadata) OnGetOwnerReferenceMatch(matchers ...interface{}) *TaskExecutionMetadata_GetOwnerReference
func (*TaskExecutionMetadata) OnGetTaskExecutionID ¶
func (_m *TaskExecutionMetadata) OnGetTaskExecutionID() *TaskExecutionMetadata_GetTaskExecutionID
func (*TaskExecutionMetadata) OnGetTaskExecutionIDMatch ¶
func (_m *TaskExecutionMetadata) OnGetTaskExecutionIDMatch(matchers ...interface{}) *TaskExecutionMetadata_GetTaskExecutionID
func (*TaskExecutionMetadata) OnIsInterruptible ¶ added in v0.3.12
func (_m *TaskExecutionMetadata) OnIsInterruptible() *TaskExecutionMetadata_IsInterruptible
func (*TaskExecutionMetadata) OnIsInterruptibleMatch ¶ added in v0.3.12
func (_m *TaskExecutionMetadata) OnIsInterruptibleMatch(matchers ...interface{}) *TaskExecutionMetadata_IsInterruptible
type TaskExecutionMetadata_GetAnnotations ¶
func (TaskExecutionMetadata_GetAnnotations) Return ¶
func (_m TaskExecutionMetadata_GetAnnotations) Return(_a0 map[string]string) *TaskExecutionMetadata_GetAnnotations
type TaskExecutionMetadata_GetK8sServiceAccount ¶
func (TaskExecutionMetadata_GetK8sServiceAccount) Return ¶
func (_m TaskExecutionMetadata_GetK8sServiceAccount) Return(_a0 string) *TaskExecutionMetadata_GetK8sServiceAccount
type TaskExecutionMetadata_GetLabels ¶
func (TaskExecutionMetadata_GetLabels) Return ¶
func (_m TaskExecutionMetadata_GetLabels) Return(_a0 map[string]string) *TaskExecutionMetadata_GetLabels
type TaskExecutionMetadata_GetMaxAttempts ¶ added in v0.5.4
func (TaskExecutionMetadata_GetMaxAttempts) Return ¶ added in v0.5.4
func (_m TaskExecutionMetadata_GetMaxAttempts) Return(_a0 uint32) *TaskExecutionMetadata_GetMaxAttempts
type TaskExecutionMetadata_GetNamespace ¶
func (TaskExecutionMetadata_GetNamespace) Return ¶
func (_m TaskExecutionMetadata_GetNamespace) Return(_a0 string) *TaskExecutionMetadata_GetNamespace
type TaskExecutionMetadata_GetOverrides ¶
func (TaskExecutionMetadata_GetOverrides) Return ¶
func (_m TaskExecutionMetadata_GetOverrides) Return(_a0 core.TaskOverrides) *TaskExecutionMetadata_GetOverrides
type TaskExecutionMetadata_GetOwnerID ¶
func (TaskExecutionMetadata_GetOwnerID) Return ¶
func (_m TaskExecutionMetadata_GetOwnerID) Return(_a0 types.NamespacedName) *TaskExecutionMetadata_GetOwnerID
type TaskExecutionMetadata_GetOwnerReference ¶
func (TaskExecutionMetadata_GetOwnerReference) Return ¶
func (_m TaskExecutionMetadata_GetOwnerReference) Return(_a0 v1.OwnerReference) *TaskExecutionMetadata_GetOwnerReference
type TaskExecutionMetadata_GetTaskExecutionID ¶
func (TaskExecutionMetadata_GetTaskExecutionID) Return ¶
func (_m TaskExecutionMetadata_GetTaskExecutionID) Return(_a0 core.TaskExecutionID) *TaskExecutionMetadata_GetTaskExecutionID
type TaskExecutionMetadata_IsInterruptible ¶ added in v0.3.12
func (TaskExecutionMetadata_IsInterruptible) Return ¶ added in v0.3.12
func (_m TaskExecutionMetadata_IsInterruptible) Return(_a0 bool) *TaskExecutionMetadata_IsInterruptible
type TaskOverrides ¶
TaskOverrides is an autogenerated mock type for the TaskOverrides type
func (*TaskOverrides) GetConfig ¶
func (_m *TaskOverrides) GetConfig() *v1.ConfigMap
GetConfig provides a mock function with given fields:
func (*TaskOverrides) GetResources ¶
func (_m *TaskOverrides) GetResources() *v1.ResourceRequirements
GetResources provides a mock function with given fields:
func (*TaskOverrides) OnGetConfig ¶
func (_m *TaskOverrides) OnGetConfig() *TaskOverrides_GetConfig
func (*TaskOverrides) OnGetConfigMatch ¶
func (_m *TaskOverrides) OnGetConfigMatch(matchers ...interface{}) *TaskOverrides_GetConfig
func (*TaskOverrides) OnGetResources ¶
func (_m *TaskOverrides) OnGetResources() *TaskOverrides_GetResources
func (*TaskOverrides) OnGetResourcesMatch ¶
func (_m *TaskOverrides) OnGetResourcesMatch(matchers ...interface{}) *TaskOverrides_GetResources
type TaskOverrides_GetConfig ¶
func (TaskOverrides_GetConfig) Return ¶
func (_m TaskOverrides_GetConfig) Return(_a0 *v1.ConfigMap) *TaskOverrides_GetConfig
type TaskOverrides_GetResources ¶
func (TaskOverrides_GetResources) Return ¶
func (_m TaskOverrides_GetResources) Return(_a0 *v1.ResourceRequirements) *TaskOverrides_GetResources
type TaskReader ¶
TaskReader is an autogenerated mock type for the TaskReader type
func (*TaskReader) OnRead ¶
func (_m *TaskReader) OnRead(ctx context.Context) *TaskReader_Read
func (*TaskReader) OnReadMatch ¶
func (_m *TaskReader) OnReadMatch(matchers ...interface{}) *TaskReader_Read
func (*TaskReader) Read ¶
func (_m *TaskReader) Read(ctx context.Context) (*core.TaskTemplate, error)
Read provides a mock function with given fields: ctx
type TaskReader_Read ¶
func (TaskReader_Read) Return ¶
func (_m TaskReader_Read) Return(_a0 *core.TaskTemplate, _a1 error) *TaskReader_Read
Source Files ¶
- events_recorder.go
- fake_k8s_client.go
- kube_client.go
- plugin.go
- plugin_state_reader.go
- plugin_state_writer.go
- resource_manager.go
- resource_negotiator.go
- resource_registrar.go
- secret_manager.go
- setup_context.go
- task_execution_context.go
- task_execution_id.go
- task_execution_metadata.go
- task_overrides.go
- task_reader.go