Documentation ¶
Index ¶
- type Plugin
- func (_m *Plugin) BuildIdentityResource(ctx context.Context, taskCtx core.TaskExecutionMetadata) (k8s.Resource, error)
- func (_m *Plugin) BuildResource(ctx context.Context, taskCtx core.TaskExecutionContext) (k8s.Resource, error)
- func (_m *Plugin) GetTaskPhase(ctx context.Context, pluginContext k8s.PluginContext, resource k8s.Resource) (core.PhaseInfo, error)
- func (_m *Plugin) OnBuildIdentityResource(ctx context.Context, taskCtx core.TaskExecutionMetadata) *Plugin_BuildIdentityResource
- func (_m *Plugin) OnBuildIdentityResourceMatch(matchers ...interface{}) *Plugin_BuildIdentityResource
- func (_m *Plugin) OnBuildResource(ctx context.Context, taskCtx core.TaskExecutionContext) *Plugin_BuildResource
- func (_m *Plugin) OnBuildResourceMatch(matchers ...interface{}) *Plugin_BuildResource
- func (_m *Plugin) OnGetTaskPhase(ctx context.Context, pluginContext k8s.PluginContext, resource k8s.Resource) *Plugin_GetTaskPhase
- func (_m *Plugin) OnGetTaskPhaseMatch(matchers ...interface{}) *Plugin_GetTaskPhase
- type PluginContext
- func (_m *PluginContext) DataStore() *storage.DataStore
- func (_m *PluginContext) InputReader() io.InputReader
- func (_m *PluginContext) MaxDatasetSizeBytes() int64
- func (_m *PluginContext) OnDataStore() *PluginContext_DataStore
- func (_m *PluginContext) OnDataStoreMatch(matchers ...interface{}) *PluginContext_DataStore
- func (_m *PluginContext) OnInputReader() *PluginContext_InputReader
- func (_m *PluginContext) OnInputReaderMatch(matchers ...interface{}) *PluginContext_InputReader
- func (_m *PluginContext) OnMaxDatasetSizeBytes() *PluginContext_MaxDatasetSizeBytes
- func (_m *PluginContext) OnMaxDatasetSizeBytesMatch(matchers ...interface{}) *PluginContext_MaxDatasetSizeBytes
- func (_m *PluginContext) OnOutputWriter() *PluginContext_OutputWriter
- func (_m *PluginContext) OnOutputWriterMatch(matchers ...interface{}) *PluginContext_OutputWriter
- func (_m *PluginContext) OnTaskReader() *PluginContext_TaskReader
- func (_m *PluginContext) OnTaskReaderMatch(matchers ...interface{}) *PluginContext_TaskReader
- func (_m *PluginContext) OutputWriter() io.OutputWriter
- func (_m *PluginContext) TaskReader() core.TaskReader
- type PluginContext_DataStore
- type PluginContext_InputReader
- type PluginContext_MaxDatasetSizeBytes
- type PluginContext_OutputWriter
- type PluginContext_TaskReader
- type Plugin_BuildIdentityResource
- type Plugin_BuildResource
- type Plugin_GetTaskPhase
- type Resource
- func (_m *Resource) DeepCopyObject() runtime.Object
- func (_m *Resource) GetAnnotations() map[string]string
- func (_m *Resource) GetClusterName() string
- func (_m *Resource) GetCreationTimestamp() v1.Time
- func (_m *Resource) GetDeletionGracePeriodSeconds() *int64
- func (_m *Resource) GetDeletionTimestamp() *v1.Time
- func (_m *Resource) GetFinalizers() []string
- func (_m *Resource) GetGenerateName() string
- func (_m *Resource) GetGeneration() int64
- func (_m *Resource) GetLabels() map[string]string
- func (_m *Resource) GetManagedFields() []v1.ManagedFieldsEntry
- func (_m *Resource) GetName() string
- func (_m *Resource) GetNamespace() string
- func (_m *Resource) GetObjectKind() schema.ObjectKind
- func (_m *Resource) GetOwnerReferences() []v1.OwnerReference
- func (_m *Resource) GetResourceVersion() string
- func (_m *Resource) GetSelfLink() string
- func (_m *Resource) GetUID() types.UID
- func (_m *Resource) GroupVersionKind() schema.GroupVersionKind
- func (_m *Resource) OnDeepCopyObject() *Resource_DeepCopyObject
- func (_m *Resource) OnDeepCopyObjectMatch(matchers ...interface{}) *Resource_DeepCopyObject
- func (_m *Resource) OnGetAnnotations() *Resource_GetAnnotations
- func (_m *Resource) OnGetAnnotationsMatch(matchers ...interface{}) *Resource_GetAnnotations
- func (_m *Resource) OnGetClusterName() *Resource_GetClusterName
- func (_m *Resource) OnGetClusterNameMatch(matchers ...interface{}) *Resource_GetClusterName
- func (_m *Resource) OnGetCreationTimestamp() *Resource_GetCreationTimestamp
- func (_m *Resource) OnGetCreationTimestampMatch(matchers ...interface{}) *Resource_GetCreationTimestamp
- func (_m *Resource) OnGetDeletionGracePeriodSeconds() *Resource_GetDeletionGracePeriodSeconds
- func (_m *Resource) OnGetDeletionGracePeriodSecondsMatch(matchers ...interface{}) *Resource_GetDeletionGracePeriodSeconds
- func (_m *Resource) OnGetDeletionTimestamp() *Resource_GetDeletionTimestamp
- func (_m *Resource) OnGetDeletionTimestampMatch(matchers ...interface{}) *Resource_GetDeletionTimestamp
- func (_m *Resource) OnGetFinalizers() *Resource_GetFinalizers
- func (_m *Resource) OnGetFinalizersMatch(matchers ...interface{}) *Resource_GetFinalizers
- func (_m *Resource) OnGetGenerateName() *Resource_GetGenerateName
- func (_m *Resource) OnGetGenerateNameMatch(matchers ...interface{}) *Resource_GetGenerateName
- func (_m *Resource) OnGetGeneration() *Resource_GetGeneration
- func (_m *Resource) OnGetGenerationMatch(matchers ...interface{}) *Resource_GetGeneration
- func (_m *Resource) OnGetLabels() *Resource_GetLabels
- func (_m *Resource) OnGetLabelsMatch(matchers ...interface{}) *Resource_GetLabels
- func (_m *Resource) OnGetManagedFields() *Resource_GetManagedFields
- func (_m *Resource) OnGetManagedFieldsMatch(matchers ...interface{}) *Resource_GetManagedFields
- func (_m *Resource) OnGetName() *Resource_GetName
- func (_m *Resource) OnGetNameMatch(matchers ...interface{}) *Resource_GetName
- func (_m *Resource) OnGetNamespace() *Resource_GetNamespace
- func (_m *Resource) OnGetNamespaceMatch(matchers ...interface{}) *Resource_GetNamespace
- func (_m *Resource) OnGetObjectKind() *Resource_GetObjectKind
- func (_m *Resource) OnGetObjectKindMatch(matchers ...interface{}) *Resource_GetObjectKind
- func (_m *Resource) OnGetOwnerReferences() *Resource_GetOwnerReferences
- func (_m *Resource) OnGetOwnerReferencesMatch(matchers ...interface{}) *Resource_GetOwnerReferences
- func (_m *Resource) OnGetResourceVersion() *Resource_GetResourceVersion
- func (_m *Resource) OnGetResourceVersionMatch(matchers ...interface{}) *Resource_GetResourceVersion
- func (_m *Resource) OnGetSelfLink() *Resource_GetSelfLink
- func (_m *Resource) OnGetSelfLinkMatch(matchers ...interface{}) *Resource_GetSelfLink
- func (_m *Resource) OnGetUID() *Resource_GetUID
- func (_m *Resource) OnGetUIDMatch(matchers ...interface{}) *Resource_GetUID
- func (_m *Resource) OnGroupVersionKind() *Resource_GroupVersionKind
- func (_m *Resource) OnGroupVersionKindMatch(matchers ...interface{}) *Resource_GroupVersionKind
- func (_m *Resource) SetAnnotations(annotations map[string]string)
- func (_m *Resource) SetClusterName(clusterName string)
- func (_m *Resource) SetCreationTimestamp(timestamp v1.Time)
- func (_m *Resource) SetDeletionGracePeriodSeconds(_a0 *int64)
- func (_m *Resource) SetDeletionTimestamp(timestamp *v1.Time)
- func (_m *Resource) SetFinalizers(finalizers []string)
- func (_m *Resource) SetGenerateName(name string)
- func (_m *Resource) SetGeneration(generation int64)
- func (_m *Resource) SetGroupVersionKind(kind schema.GroupVersionKind)
- func (_m *Resource) SetLabels(labels map[string]string)
- func (_m *Resource) SetManagedFields(managedFields []v1.ManagedFieldsEntry)
- func (_m *Resource) SetName(name string)
- func (_m *Resource) SetNamespace(namespace string)
- func (_m *Resource) SetOwnerReferences(_a0 []v1.OwnerReference)
- func (_m *Resource) SetResourceVersion(version string)
- func (_m *Resource) SetSelfLink(selfLink string)
- func (_m *Resource) SetUID(uid types.UID)
- type Resource_DeepCopyObject
- type Resource_GetAnnotations
- type Resource_GetClusterName
- type Resource_GetCreationTimestamp
- type Resource_GetDeletionGracePeriodSeconds
- type Resource_GetDeletionTimestamp
- type Resource_GetFinalizers
- type Resource_GetGenerateName
- type Resource_GetGeneration
- type Resource_GetLabels
- type Resource_GetManagedFields
- type Resource_GetName
- type Resource_GetNamespace
- type Resource_GetObjectKind
- type Resource_GetOwnerReferences
- type Resource_GetResourceVersion
- type Resource_GetSelfLink
- type Resource_GetUID
- type Resource_GroupVersionKind
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
Plugin is an autogenerated mock type for the Plugin type
func (*Plugin) BuildIdentityResource ¶
func (_m *Plugin) BuildIdentityResource(ctx context.Context, taskCtx core.TaskExecutionMetadata) (k8s.Resource, error)
BuildIdentityResource provides a mock function with given fields: ctx, taskCtx
func (*Plugin) BuildResource ¶
func (_m *Plugin) BuildResource(ctx context.Context, taskCtx core.TaskExecutionContext) (k8s.Resource, error)
BuildResource provides a mock function with given fields: ctx, taskCtx
func (*Plugin) GetTaskPhase ¶
func (_m *Plugin) GetTaskPhase(ctx context.Context, pluginContext k8s.PluginContext, resource k8s.Resource) (core.PhaseInfo, error)
GetTaskPhase provides a mock function with given fields: ctx, pluginContext, resource
func (*Plugin) OnBuildIdentityResource ¶
func (_m *Plugin) OnBuildIdentityResource(ctx context.Context, taskCtx core.TaskExecutionMetadata) *Plugin_BuildIdentityResource
func (*Plugin) OnBuildIdentityResourceMatch ¶
func (_m *Plugin) OnBuildIdentityResourceMatch(matchers ...interface{}) *Plugin_BuildIdentityResource
func (*Plugin) OnBuildResource ¶
func (_m *Plugin) OnBuildResource(ctx context.Context, taskCtx core.TaskExecutionContext) *Plugin_BuildResource
func (*Plugin) OnBuildResourceMatch ¶
func (_m *Plugin) OnBuildResourceMatch(matchers ...interface{}) *Plugin_BuildResource
func (*Plugin) OnGetTaskPhase ¶
func (_m *Plugin) OnGetTaskPhase(ctx context.Context, pluginContext k8s.PluginContext, resource k8s.Resource) *Plugin_GetTaskPhase
func (*Plugin) OnGetTaskPhaseMatch ¶
func (_m *Plugin) OnGetTaskPhaseMatch(matchers ...interface{}) *Plugin_GetTaskPhase
type PluginContext ¶
PluginContext is an autogenerated mock type for the PluginContext type
func (*PluginContext) DataStore ¶ added in v0.5.3
func (_m *PluginContext) DataStore() *storage.DataStore
DataStore provides a mock function with given fields:
func (*PluginContext) InputReader ¶
func (_m *PluginContext) InputReader() io.InputReader
InputReader provides a mock function with given fields:
func (*PluginContext) MaxDatasetSizeBytes ¶ added in v0.5.3
func (_m *PluginContext) MaxDatasetSizeBytes() int64
MaxDatasetSizeBytes provides a mock function with given fields:
func (*PluginContext) OnDataStore ¶ added in v0.5.3
func (_m *PluginContext) OnDataStore() *PluginContext_DataStore
func (*PluginContext) OnDataStoreMatch ¶ added in v0.5.3
func (_m *PluginContext) OnDataStoreMatch(matchers ...interface{}) *PluginContext_DataStore
func (*PluginContext) OnInputReader ¶
func (_m *PluginContext) OnInputReader() *PluginContext_InputReader
func (*PluginContext) OnInputReaderMatch ¶
func (_m *PluginContext) OnInputReaderMatch(matchers ...interface{}) *PluginContext_InputReader
func (*PluginContext) OnMaxDatasetSizeBytes ¶ added in v0.5.3
func (_m *PluginContext) OnMaxDatasetSizeBytes() *PluginContext_MaxDatasetSizeBytes
func (*PluginContext) OnMaxDatasetSizeBytesMatch ¶ added in v0.5.3
func (_m *PluginContext) OnMaxDatasetSizeBytesMatch(matchers ...interface{}) *PluginContext_MaxDatasetSizeBytes
func (*PluginContext) OnOutputWriter ¶
func (_m *PluginContext) OnOutputWriter() *PluginContext_OutputWriter
func (*PluginContext) OnOutputWriterMatch ¶
func (_m *PluginContext) OnOutputWriterMatch(matchers ...interface{}) *PluginContext_OutputWriter
func (*PluginContext) OnTaskReader ¶
func (_m *PluginContext) OnTaskReader() *PluginContext_TaskReader
func (*PluginContext) OnTaskReaderMatch ¶
func (_m *PluginContext) OnTaskReaderMatch(matchers ...interface{}) *PluginContext_TaskReader
func (*PluginContext) OutputWriter ¶
func (_m *PluginContext) OutputWriter() io.OutputWriter
OutputWriter provides a mock function with given fields:
func (*PluginContext) TaskReader ¶
func (_m *PluginContext) TaskReader() core.TaskReader
TaskReader provides a mock function with given fields:
type PluginContext_DataStore ¶ added in v0.5.3
func (PluginContext_DataStore) Return ¶ added in v0.5.3
func (_m PluginContext_DataStore) Return(_a0 *storage.DataStore) *PluginContext_DataStore
type PluginContext_InputReader ¶
func (PluginContext_InputReader) Return ¶
func (_m PluginContext_InputReader) Return(_a0 io.InputReader) *PluginContext_InputReader
type PluginContext_MaxDatasetSizeBytes ¶ added in v0.5.3
func (PluginContext_MaxDatasetSizeBytes) Return ¶ added in v0.5.3
func (_m PluginContext_MaxDatasetSizeBytes) Return(_a0 int64) *PluginContext_MaxDatasetSizeBytes
type PluginContext_OutputWriter ¶
func (PluginContext_OutputWriter) Return ¶
func (_m PluginContext_OutputWriter) Return(_a0 io.OutputWriter) *PluginContext_OutputWriter
type PluginContext_TaskReader ¶
func (PluginContext_TaskReader) Return ¶
func (_m PluginContext_TaskReader) Return(_a0 core.TaskReader) *PluginContext_TaskReader
type Plugin_BuildIdentityResource ¶
func (Plugin_BuildIdentityResource) Return ¶
func (_m Plugin_BuildIdentityResource) Return(_a0 k8s.Resource, _a1 error) *Plugin_BuildIdentityResource
type Plugin_BuildResource ¶
func (Plugin_BuildResource) Return ¶
func (_m Plugin_BuildResource) Return(_a0 k8s.Resource, _a1 error) *Plugin_BuildResource
type Plugin_GetTaskPhase ¶
func (Plugin_GetTaskPhase) Return ¶
func (_m Plugin_GetTaskPhase) Return(_a0 core.PhaseInfo, _a1 error) *Plugin_GetTaskPhase
type Resource ¶
Resource is an autogenerated mock type for the Resource type
func (*Resource) DeepCopyObject ¶
DeepCopyObject provides a mock function with given fields:
func (*Resource) GetAnnotations ¶
GetAnnotations provides a mock function with given fields:
func (*Resource) GetClusterName ¶
GetClusterName provides a mock function with given fields:
func (*Resource) GetCreationTimestamp ¶
GetCreationTimestamp provides a mock function with given fields:
func (*Resource) GetDeletionGracePeriodSeconds ¶
GetDeletionGracePeriodSeconds provides a mock function with given fields:
func (*Resource) GetDeletionTimestamp ¶
GetDeletionTimestamp provides a mock function with given fields:
func (*Resource) GetFinalizers ¶
GetFinalizers provides a mock function with given fields:
func (*Resource) GetGenerateName ¶
GetGenerateName provides a mock function with given fields:
func (*Resource) GetGeneration ¶
GetGeneration provides a mock function with given fields:
func (*Resource) GetManagedFields ¶
func (_m *Resource) GetManagedFields() []v1.ManagedFieldsEntry
GetManagedFields provides a mock function with given fields:
func (*Resource) GetNamespace ¶
GetNamespace provides a mock function with given fields:
func (*Resource) GetObjectKind ¶
func (_m *Resource) GetObjectKind() schema.ObjectKind
GetObjectKind provides a mock function with given fields:
func (*Resource) GetOwnerReferences ¶
func (_m *Resource) GetOwnerReferences() []v1.OwnerReference
GetOwnerReferences provides a mock function with given fields:
func (*Resource) GetResourceVersion ¶
GetResourceVersion provides a mock function with given fields:
func (*Resource) GetSelfLink ¶
GetSelfLink provides a mock function with given fields:
func (*Resource) GroupVersionKind ¶
func (_m *Resource) GroupVersionKind() schema.GroupVersionKind
GroupVersionKind provides a mock function with given fields:
func (*Resource) OnDeepCopyObject ¶
func (_m *Resource) OnDeepCopyObject() *Resource_DeepCopyObject
func (*Resource) OnDeepCopyObjectMatch ¶
func (_m *Resource) OnDeepCopyObjectMatch(matchers ...interface{}) *Resource_DeepCopyObject
func (*Resource) OnGetAnnotations ¶
func (_m *Resource) OnGetAnnotations() *Resource_GetAnnotations
func (*Resource) OnGetAnnotationsMatch ¶
func (_m *Resource) OnGetAnnotationsMatch(matchers ...interface{}) *Resource_GetAnnotations
func (*Resource) OnGetClusterName ¶
func (_m *Resource) OnGetClusterName() *Resource_GetClusterName
func (*Resource) OnGetClusterNameMatch ¶
func (_m *Resource) OnGetClusterNameMatch(matchers ...interface{}) *Resource_GetClusterName
func (*Resource) OnGetCreationTimestamp ¶
func (_m *Resource) OnGetCreationTimestamp() *Resource_GetCreationTimestamp
func (*Resource) OnGetCreationTimestampMatch ¶
func (_m *Resource) OnGetCreationTimestampMatch(matchers ...interface{}) *Resource_GetCreationTimestamp
func (*Resource) OnGetDeletionGracePeriodSeconds ¶
func (_m *Resource) OnGetDeletionGracePeriodSeconds() *Resource_GetDeletionGracePeriodSeconds
func (*Resource) OnGetDeletionGracePeriodSecondsMatch ¶
func (_m *Resource) OnGetDeletionGracePeriodSecondsMatch(matchers ...interface{}) *Resource_GetDeletionGracePeriodSeconds
func (*Resource) OnGetDeletionTimestamp ¶
func (_m *Resource) OnGetDeletionTimestamp() *Resource_GetDeletionTimestamp
func (*Resource) OnGetDeletionTimestampMatch ¶
func (_m *Resource) OnGetDeletionTimestampMatch(matchers ...interface{}) *Resource_GetDeletionTimestamp
func (*Resource) OnGetFinalizers ¶
func (_m *Resource) OnGetFinalizers() *Resource_GetFinalizers
func (*Resource) OnGetFinalizersMatch ¶
func (_m *Resource) OnGetFinalizersMatch(matchers ...interface{}) *Resource_GetFinalizers
func (*Resource) OnGetGenerateName ¶
func (_m *Resource) OnGetGenerateName() *Resource_GetGenerateName
func (*Resource) OnGetGenerateNameMatch ¶
func (_m *Resource) OnGetGenerateNameMatch(matchers ...interface{}) *Resource_GetGenerateName
func (*Resource) OnGetGeneration ¶
func (_m *Resource) OnGetGeneration() *Resource_GetGeneration
func (*Resource) OnGetGenerationMatch ¶
func (_m *Resource) OnGetGenerationMatch(matchers ...interface{}) *Resource_GetGeneration
func (*Resource) OnGetLabels ¶
func (_m *Resource) OnGetLabels() *Resource_GetLabels
func (*Resource) OnGetLabelsMatch ¶
func (_m *Resource) OnGetLabelsMatch(matchers ...interface{}) *Resource_GetLabels
func (*Resource) OnGetManagedFields ¶
func (_m *Resource) OnGetManagedFields() *Resource_GetManagedFields
func (*Resource) OnGetManagedFieldsMatch ¶
func (_m *Resource) OnGetManagedFieldsMatch(matchers ...interface{}) *Resource_GetManagedFields
func (*Resource) OnGetName ¶
func (_m *Resource) OnGetName() *Resource_GetName
func (*Resource) OnGetNameMatch ¶
func (_m *Resource) OnGetNameMatch(matchers ...interface{}) *Resource_GetName
func (*Resource) OnGetNamespace ¶
func (_m *Resource) OnGetNamespace() *Resource_GetNamespace
func (*Resource) OnGetNamespaceMatch ¶
func (_m *Resource) OnGetNamespaceMatch(matchers ...interface{}) *Resource_GetNamespace
func (*Resource) OnGetObjectKind ¶
func (_m *Resource) OnGetObjectKind() *Resource_GetObjectKind
func (*Resource) OnGetObjectKindMatch ¶
func (_m *Resource) OnGetObjectKindMatch(matchers ...interface{}) *Resource_GetObjectKind
func (*Resource) OnGetOwnerReferences ¶
func (_m *Resource) OnGetOwnerReferences() *Resource_GetOwnerReferences
func (*Resource) OnGetOwnerReferencesMatch ¶
func (_m *Resource) OnGetOwnerReferencesMatch(matchers ...interface{}) *Resource_GetOwnerReferences
func (*Resource) OnGetResourceVersion ¶
func (_m *Resource) OnGetResourceVersion() *Resource_GetResourceVersion
func (*Resource) OnGetResourceVersionMatch ¶
func (_m *Resource) OnGetResourceVersionMatch(matchers ...interface{}) *Resource_GetResourceVersion
func (*Resource) OnGetSelfLink ¶
func (_m *Resource) OnGetSelfLink() *Resource_GetSelfLink
func (*Resource) OnGetSelfLinkMatch ¶
func (_m *Resource) OnGetSelfLinkMatch(matchers ...interface{}) *Resource_GetSelfLink
func (*Resource) OnGetUID ¶
func (_m *Resource) OnGetUID() *Resource_GetUID
func (*Resource) OnGetUIDMatch ¶
func (_m *Resource) OnGetUIDMatch(matchers ...interface{}) *Resource_GetUID
func (*Resource) OnGroupVersionKind ¶
func (_m *Resource) OnGroupVersionKind() *Resource_GroupVersionKind
func (*Resource) OnGroupVersionKindMatch ¶
func (_m *Resource) OnGroupVersionKindMatch(matchers ...interface{}) *Resource_GroupVersionKind
func (*Resource) SetAnnotations ¶
SetAnnotations provides a mock function with given fields: annotations
func (*Resource) SetClusterName ¶
SetClusterName provides a mock function with given fields: clusterName
func (*Resource) SetCreationTimestamp ¶
SetCreationTimestamp provides a mock function with given fields: timestamp
func (*Resource) SetDeletionGracePeriodSeconds ¶
SetDeletionGracePeriodSeconds provides a mock function with given fields: _a0
func (*Resource) SetDeletionTimestamp ¶
SetDeletionTimestamp provides a mock function with given fields: timestamp
func (*Resource) SetFinalizers ¶
SetFinalizers provides a mock function with given fields: finalizers
func (*Resource) SetGenerateName ¶
SetGenerateName provides a mock function with given fields: name
func (*Resource) SetGeneration ¶
SetGeneration provides a mock function with given fields: generation
func (*Resource) SetGroupVersionKind ¶
func (_m *Resource) SetGroupVersionKind(kind schema.GroupVersionKind)
SetGroupVersionKind provides a mock function with given fields: kind
func (*Resource) SetManagedFields ¶
func (_m *Resource) SetManagedFields(managedFields []v1.ManagedFieldsEntry)
SetManagedFields provides a mock function with given fields: managedFields
func (*Resource) SetNamespace ¶
SetNamespace provides a mock function with given fields: namespace
func (*Resource) SetOwnerReferences ¶
func (_m *Resource) SetOwnerReferences(_a0 []v1.OwnerReference)
SetOwnerReferences provides a mock function with given fields: _a0
func (*Resource) SetResourceVersion ¶
SetResourceVersion provides a mock function with given fields: version
func (*Resource) SetSelfLink ¶
SetSelfLink provides a mock function with given fields: selfLink
type Resource_DeepCopyObject ¶
func (Resource_DeepCopyObject) Return ¶
func (_m Resource_DeepCopyObject) Return(_a0 runtime.Object) *Resource_DeepCopyObject
type Resource_GetAnnotations ¶
func (Resource_GetAnnotations) Return ¶
func (_m Resource_GetAnnotations) Return(_a0 map[string]string) *Resource_GetAnnotations
type Resource_GetClusterName ¶
func (Resource_GetClusterName) Return ¶
func (_m Resource_GetClusterName) Return(_a0 string) *Resource_GetClusterName
type Resource_GetCreationTimestamp ¶
func (Resource_GetCreationTimestamp) Return ¶
func (_m Resource_GetCreationTimestamp) Return(_a0 v1.Time) *Resource_GetCreationTimestamp
type Resource_GetDeletionGracePeriodSeconds ¶
func (Resource_GetDeletionGracePeriodSeconds) Return ¶
func (_m Resource_GetDeletionGracePeriodSeconds) Return(_a0 *int64) *Resource_GetDeletionGracePeriodSeconds
type Resource_GetDeletionTimestamp ¶
func (Resource_GetDeletionTimestamp) Return ¶
func (_m Resource_GetDeletionTimestamp) Return(_a0 *v1.Time) *Resource_GetDeletionTimestamp
type Resource_GetFinalizers ¶
func (Resource_GetFinalizers) Return ¶
func (_m Resource_GetFinalizers) Return(_a0 []string) *Resource_GetFinalizers
type Resource_GetGenerateName ¶
func (Resource_GetGenerateName) Return ¶
func (_m Resource_GetGenerateName) Return(_a0 string) *Resource_GetGenerateName
type Resource_GetGeneration ¶
func (Resource_GetGeneration) Return ¶
func (_m Resource_GetGeneration) Return(_a0 int64) *Resource_GetGeneration
type Resource_GetLabels ¶
func (Resource_GetLabels) Return ¶
func (_m Resource_GetLabels) Return(_a0 map[string]string) *Resource_GetLabels
type Resource_GetManagedFields ¶
func (Resource_GetManagedFields) Return ¶
func (_m Resource_GetManagedFields) Return(_a0 []v1.ManagedFieldsEntry) *Resource_GetManagedFields
type Resource_GetName ¶
func (Resource_GetName) Return ¶
func (_m Resource_GetName) Return(_a0 string) *Resource_GetName
type Resource_GetNamespace ¶
func (Resource_GetNamespace) Return ¶
func (_m Resource_GetNamespace) Return(_a0 string) *Resource_GetNamespace
type Resource_GetObjectKind ¶
func (Resource_GetObjectKind) Return ¶
func (_m Resource_GetObjectKind) Return(_a0 schema.ObjectKind) *Resource_GetObjectKind
type Resource_GetOwnerReferences ¶
func (Resource_GetOwnerReferences) Return ¶
func (_m Resource_GetOwnerReferences) Return(_a0 []v1.OwnerReference) *Resource_GetOwnerReferences
type Resource_GetResourceVersion ¶
func (Resource_GetResourceVersion) Return ¶
func (_m Resource_GetResourceVersion) Return(_a0 string) *Resource_GetResourceVersion
type Resource_GetSelfLink ¶
func (Resource_GetSelfLink) Return ¶
func (_m Resource_GetSelfLink) Return(_a0 string) *Resource_GetSelfLink
type Resource_GetUID ¶
func (Resource_GetUID) Return ¶
func (_m Resource_GetUID) Return(_a0 types.UID) *Resource_GetUID
type Resource_GroupVersionKind ¶
func (Resource_GroupVersionKind) Return ¶
func (_m Resource_GroupVersionKind) Return(_a0 schema.GroupVersionKind) *Resource_GroupVersionKind