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: 4 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 ChecknothingInterface

type ChecknothingInterface struct {
	mock.Mock
}

ChecknothingInterface is an autogenerated mock type for the ChecknothingInterface type

func (*ChecknothingInterface) Create

Create provides a mock function with given fields: _a0

func (*ChecknothingInterface) Delete

func (_m *ChecknothingInterface) Delete(name string, options *v1.DeleteOptions) error

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

type DenierInterface

type DenierInterface struct {
	mock.Mock
}

DenierInterface is an autogenerated mock type for the DenierInterface type

func (*DenierInterface) Create

func (_m *DenierInterface) Create(_a0 *v1alpha2.Denier) (*v1alpha2.Denier, error)

Create provides a mock function with given fields: _a0

func (*DenierInterface) Delete

func (_m *DenierInterface) Delete(name string, options *v1.DeleteOptions) error

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

type Repository

type Repository struct {
	mock.Mock
}

Repository is an autogenerated mock type for the Repository type

func (*Repository) CreateCheckNothing

func (_m *Repository) CreateCheckNothing(application string, serviceId string, name string) apperrors.AppError

CreateCheckNothing provides a mock function with given fields: application, serviceId, name

func (*Repository) CreateDenier

func (_m *Repository) CreateDenier(application string, serviceId string, name string) apperrors.AppError

CreateDenier provides a mock function with given fields: application, serviceId, name

func (*Repository) CreateRule

func (_m *Repository) CreateRule(application string, serviceId string, name string) apperrors.AppError

CreateRule provides a mock function with given fields: application, serviceId, name

func (*Repository) DeleteCheckNothing

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

DeleteCheckNothing provides a mock function with given fields: name

func (*Repository) DeleteDenier

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

DeleteDenier provides a mock function with given fields: name

func (*Repository) DeleteRule

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

DeleteRule provides a mock function with given fields: name

func (*Repository) UpsertCheckNothing

func (_m *Repository) UpsertCheckNothing(application string, serviceId string, name string) apperrors.AppError

UpsertCheckNothing provides a mock function with given fields: application, serviceId, name

func (*Repository) UpsertDenier

func (_m *Repository) UpsertDenier(application string, serviceId string, name string) apperrors.AppError

UpsertDenier provides a mock function with given fields: application, serviceId, name

func (*Repository) UpsertRule

func (_m *Repository) UpsertRule(application string, serviceId string, name string) apperrors.AppError

UpsertRule provides a mock function with given fields: application, serviceId, name

type RuleInterface

type RuleInterface struct {
	mock.Mock
}

RuleInterface is an autogenerated mock type for the RuleInterface type

func (*RuleInterface) Create

func (_m *RuleInterface) Create(_a0 *v1alpha2.Rule) (*v1alpha2.Rule, error)

Create provides a mock function with given fields: _a0

func (*RuleInterface) Delete

func (_m *RuleInterface) Delete(name string, options *v1.DeleteOptions) error

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

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, resourceName string) apperrors.AppError

Create provides a mock function with given fields: application, serviceId, resourceName

func (*Service) Delete

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

Delete provides a mock function with given fields: resourceName

func (*Service) Upsert

func (_m *Service) Upsert(application string, serviceId string, resourceName string) apperrors.AppError

Upsert provides a mock function with given fields: application, serviceId, resourceName

Jump to

Keyboard shortcuts

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