mocks

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

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(secret *v1.Secret) (*v1.Secret, error)

Create provides a mock function with given fields: secret

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(secret *v1.Secret) (*v1.Secret, error)

Update provides a mock function with given fields: secret

type Repository

type Repository struct {
	mock.Mock
}

Repository is an autogenerated mock type for the Repository type

func (*Repository) Create

func (_m *Repository) Create(application string, name string, serviceID string, data strategy.SecretData) apperrors.AppError

Create provides a mock function with given fields: application, name, serviceID, data

func (*Repository) Delete

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

Delete provides a mock function with given fields: name

func (*Repository) Get

Get provides a mock function with given fields: name

func (*Repository) Upsert

func (_m *Repository) Upsert(application string, name string, secretID string, data strategy.SecretData) apperrors.AppError

Upsert provides a mock function with given fields: application, name, secretID, data

type RequestParametersService

type RequestParametersService struct {
	mock.Mock
}

RequestParametersService is an autogenerated mock type for the RequestParametersService type

func (*RequestParametersService) Create

func (_m *RequestParametersService) Create(application string, serviceID string, requestParameters *model.RequestParameters) (string, apperrors.AppError)

Create provides a mock function with given fields: application, serviceID, requestParameters

func (*RequestParametersService) Delete

func (_m *RequestParametersService) Delete(application string, serviceId string) apperrors.AppError

Delete provides a mock function with given fields: application, serviceId

func (*RequestParametersService) Get

Get provides a mock function with given fields: secretName

func (*RequestParametersService) Upsert

func (_m *RequestParametersService) Upsert(application string, serviceID string, requestParameters *model.RequestParameters) (string, apperrors.AppError)

Upsert provides a mock function with given fields: application, serviceID, requestParameters

type Service

type Service struct {
	mock.Mock
}

Service is an autogenerated mock type for the Service type

func (*Service) Create

func (_m *Service) Create(application string, serviceID string, credentials *model.Credentials) (applications.Credentials, apperrors.AppError)

Create provides a mock function with given fields: application, serviceID, credentials

func (*Service) Delete

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

Delete provides a mock function with given fields: name

func (*Service) Get

func (_m *Service) Get(application string, credentials applications.Credentials) (model.Credentials, apperrors.AppError)

Get provides a mock function with given fields: application, credentials

func (*Service) Upsert

func (_m *Service) Upsert(application string, serviceID string, credentials *model.Credentials) (applications.Credentials, apperrors.AppError)

Upsert provides a mock function with given fields: application, serviceID, credentials

Jump to

Keyboard shortcuts

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