mocks

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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 Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func (*Manager) Create

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

Create provides a mock function with given fields: _a0

func (*Manager) Delete

func (_m *Manager) Delete(name string, options *metav1.DeleteOptions) error

Delete provides a mock function with given fields: name, options

func (*Manager) Get

func (_m *Manager) Get(name string, options metav1.GetOptions) (*v1.Secret, error)

Get provides a mock function with given fields: name, options

func (*Manager) Update

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

Update provides a mock function with given fields: _a0

type Repository

type Repository struct {
	mock.Mock
}

Repository is an autogenerated mock type for the Repository type

func (*Repository) Create

func (_m *Repository) Create(remoteEnvironment string, name string, clientID string, clientSecret string, serviceID string) apperrors.AppError

Create provides a mock function with given fields: remoteEnvironment, name, clientID, clientSecret, serviceID

func (*Repository) Delete

func (_m *Repository) Delete(name string) apperrors.AppError

Delete provides a mock function with given fields: name

func (*Repository) Get

func (_m *Repository) Get(remoteEnvironment string, name string) (string, string, apperrors.AppError)

Get provides a mock function with given fields: remoteEnvironment, name

func (*Repository) Upsert

func (_m *Repository) Upsert(remoteEnvironment string, name string, clientID string, clientSecret string, secretID string) apperrors.AppError

Upsert provides a mock function with given fields: remoteEnvironment, name, clientID, clientSecret, secretID

Jump to

Keyboard shortcuts

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