mocks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntityStore

type EntityStore struct {
	mock.Mock
}

EntityStore is an autogenerated mock type for the EntityStore type

func (*EntityStore) Add

func (_m *EntityStore) Add(entity entitystore.Entity) (string, error)

Add provides a mock function with given fields: entity

func (*EntityStore) Delete

func (_m *EntityStore) Delete(organizationID string, id string, entity entitystore.Entity) error

Delete provides a mock function with given fields: organizationID, id, entity

func (*EntityStore) Get

func (_m *EntityStore) Get(organizationID string, key string, entity entitystore.Entity) error

Get provides a mock function with given fields: organizationID, key, entity

func (*EntityStore) List

func (_m *EntityStore) List(organizationID string, filter entitystore.Filter, entities interface{}) error

List provides a mock function with given fields: organizationID, filter, entities

func (*EntityStore) Update

func (_m *EntityStore) Update(lastRevision uint64, entity entitystore.Entity) (int64, error)

Update provides a mock function with given fields: lastRevision, entity

func (*EntityStore) UpdateWithError

func (_m *EntityStore) UpdateWithError(e entitystore.Entity, err error)

UpdateWithError provides a mock function with given fields: e, err

type SecretInterface

type SecretInterface struct {
	mock.Mock
}

SecretInterface is an autogenerated mock type for the SecretInterface type

func (*SecretInterface) Create

func (_m *SecretInterface) Create(_a0 *v1.Secret) (*v1.Secret, error)

Create provides a mock function with given fields: _a0

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) Update

func (_m *SecretInterface) Update(_a0 *v1.Secret) (*v1.Secret, error)

Update provides a mock function with given fields: _a0

func (*SecretInterface) Watch

Watch provides a mock function with given fields: opts

type SecretsService

type SecretsService struct {
	mock.Mock
}

SecretsService is an autogenerated mock type for the SecretsService type

func (*SecretsService) AddSecret

func (_m *SecretsService) AddSecret(secret models.Secret) (*models.Secret, error)

AddSecret provides a mock function with given fields: secret

func (*SecretsService) DeleteSecret

func (_m *SecretsService) DeleteSecret(name string) error

DeleteSecret provides a mock function with given fields: name

func (*SecretsService) GetSecret

func (_m *SecretsService) GetSecret(name string) (*models.Secret, error)

GetSecret provides a mock function with given fields: name

func (*SecretsService) GetSecrets

func (_m *SecretsService) GetSecrets() ([]*models.Secret, error)

GetSecrets provides a mock function with given fields:

func (*SecretsService) UpdateSecret

func (_m *SecretsService) UpdateSecret(secret models.Secret) (*models.Secret, error)

UpdateSecret provides a mock function with given fields: secret

Jump to

Keyboard shortcuts

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