Documentation ¶
Index ¶
- type EntityStore
- func (_m *EntityStore) Add(ctx context.Context, entity entitystore.Entity) (string, error)
- func (_m *EntityStore) Delete(ctx context.Context, organizationID string, id string, ...) error
- func (_m *EntityStore) Find(ctx context.Context, organizationID string, key string, ...) (bool, error)
- func (_m *EntityStore) Get(ctx context.Context, organizationID string, key string, ...) error
- func (_m *EntityStore) List(ctx context.Context, organizationID string, opts entitystore.Options, ...) error
- func (_m *EntityStore) ListGlobal(ctx context.Context, opts entitystore.Options, entities interface{}) error
- func (_m *EntityStore) SoftDelete(ctx context.Context, entity entitystore.Entity) error
- func (_m *EntityStore) Update(ctx context.Context, lastRevision uint64, entity entitystore.Entity) (int64, error)
- func (_m *EntityStore) UpdateWithError(ctx context.Context, e entitystore.Entity, err error)
- type SecretInterface
- func (_m *SecretInterface) Create(_a0 *v1.Secret) (*v1.Secret, error)
- func (_m *SecretInterface) Delete(name string, options *metav1.DeleteOptions) error
- func (_m *SecretInterface) DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
- func (_m *SecretInterface) Get(name string, options metav1.GetOptions) (*v1.Secret, error)
- func (_m *SecretInterface) List(opts metav1.ListOptions) (*v1.SecretList, error)
- func (_m *SecretInterface) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (*v1.Secret, error)
- func (_m *SecretInterface) Update(_a0 *v1.Secret) (*v1.Secret, error)
- func (_m *SecretInterface) Watch(opts metav1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityStore ¶
EntityStore is an autogenerated mock type for the EntityStore type
func (*EntityStore) Add ¶
func (_m *EntityStore) Add(ctx context.Context, entity entitystore.Entity) (string, error)
Add provides a mock function with given fields: ctx, entity
func (*EntityStore) Delete ¶
func (_m *EntityStore) Delete(ctx context.Context, organizationID string, id string, entity entitystore.Entity) error
Delete provides a mock function with given fields: ctx, organizationID, id, entity
func (*EntityStore) Find ¶ added in v0.1.13
func (_m *EntityStore) Find(ctx context.Context, organizationID string, key string, opts entitystore.Options, entity entitystore.Entity) (bool, error)
Find provides a mock function with given fields: ctx, organizationID, key, opts, entity
func (*EntityStore) Get ¶
func (_m *EntityStore) Get(ctx context.Context, organizationID string, key string, opts entitystore.Options, entity entitystore.Entity) error
Get provides a mock function with given fields: ctx, organizationID, key, opts, entity
func (*EntityStore) List ¶
func (_m *EntityStore) List(ctx context.Context, organizationID string, opts entitystore.Options, entities interface{}) error
List provides a mock function with given fields: ctx, organizationID, opts, entities
func (*EntityStore) ListGlobal ¶ added in v0.1.18
func (_m *EntityStore) ListGlobal(ctx context.Context, opts entitystore.Options, entities interface{}) error
ListGlobal provides a mock function with given fields: ctx, opts, entities
func (*EntityStore) SoftDelete ¶ added in v0.1.13
func (_m *EntityStore) SoftDelete(ctx context.Context, entity entitystore.Entity) error
SoftDelete provides a mock function with given fields: ctx, entity
func (*EntityStore) Update ¶
func (_m *EntityStore) Update(ctx context.Context, lastRevision uint64, entity entitystore.Entity) (int64, error)
Update provides a mock function with given fields: ctx, lastRevision, entity
func (*EntityStore) UpdateWithError ¶
func (_m *EntityStore) UpdateWithError(ctx context.Context, e entitystore.Entity, err error)
UpdateWithError provides a mock function with given fields: ctx, e, err
type SecretInterface ¶
SecretInterface is an autogenerated mock type for the SecretInterface type
func (*SecretInterface) Delete ¶
func (_m *SecretInterface) Delete(name string, options *metav1.DeleteOptions) error
Delete provides a mock function with given fields: name, options
func (*SecretInterface) DeleteCollection ¶
func (_m *SecretInterface) DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
DeleteCollection provides a mock function with given fields: options, listOptions
func (*SecretInterface) Get ¶
func (_m *SecretInterface) Get(name string, options metav1.GetOptions) (*v1.Secret, error)
Get provides a mock function with given fields: name, options
func (*SecretInterface) List ¶
func (_m *SecretInterface) List(opts metav1.ListOptions) (*v1.SecretList, error)
List provides a mock function with given fields: opts
func (*SecretInterface) Patch ¶
func (_m *SecretInterface) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (*v1.Secret, error)
Patch provides a mock function with given fields: name, pt, data, subresources
func (*SecretInterface) Watch ¶
func (_m *SecretInterface) Watch(opts metav1.ListOptions) (watch.Interface, error)
Watch provides a mock function with given fields: opts