Documentation ¶
Index ¶
- type ClusterAssetGroupRepository
- type ResourceInterface
- func (_m *ResourceInterface) Create(ctx context.Context, obj *unstructured.Unstructured, options v1.CreateOptions, ...) (*unstructured.Unstructured, error)
- func (_m *ResourceInterface) Delete(ctx context.Context, name string, opts v1.DeleteOptions, ...) error
- func (_m *ResourceInterface) Get(ctx context.Context, name string, opts v1.GetOptions, subresources ...string) (*unstructured.Unstructured, error)
- func (_m *ResourceInterface) Update(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, ...) (*unstructured.Unstructured, error)
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterAssetGroupRepository ¶
ClusterAssetGroupRepository is an autogenerated mock type for the ClusterAssetGroupRepository type
func (*ClusterAssetGroupRepository) Delete ¶
func (_m *ClusterAssetGroupRepository) Delete(id string) apperrors.AppError
Delete provides a mock function with given fields: id
func (*ClusterAssetGroupRepository) Get ¶
func (_m *ClusterAssetGroupRepository) Get(id string) (clusterassetgroup.Entry, apperrors.AppError)
Get provides a mock function with given fields: id
func (*ClusterAssetGroupRepository) Upsert ¶
func (_m *ClusterAssetGroupRepository) Upsert(documentationTopic clusterassetgroup.Entry) apperrors.AppError
Upsert provides a mock function with given fields: documentationTopic
type ResourceInterface ¶
ResourceInterface is an autogenerated mock type for the ResourceInterface type
func (*ResourceInterface) Create ¶
func (_m *ResourceInterface) Create(ctx context.Context, obj *unstructured.Unstructured, options v1.CreateOptions, subresources ...string) (*unstructured.Unstructured, error)
Create provides a mock function with given fields: ctx, obj, options, subresources
func (*ResourceInterface) Delete ¶
func (_m *ResourceInterface) Delete(ctx context.Context, name string, opts v1.DeleteOptions, subresources ...string) error
Delete provides a mock function with given fields: ctx, name, opts, subresources
func (*ResourceInterface) Get ¶
func (_m *ResourceInterface) Get(ctx context.Context, name string, opts v1.GetOptions, subresources ...string) (*unstructured.Unstructured, error)
Get provides a mock function with given fields: ctx, name, opts, subresources
func (*ResourceInterface) Update ¶
func (_m *ResourceInterface) Update(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, subresources ...string) (*unstructured.Unstructured, error)
Update provides a mock function with given fields: ctx, obj, options, subresources
type Service ¶
Service is an autogenerated mock type for the Service type