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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessServiceManager

type AccessServiceManager struct {
	mock.Mock
}

AccessServiceManager is an autogenerated mock type for the AccessServiceManager type

func (*AccessServiceManager) Create

func (_m *AccessServiceManager) Create(application string, serviceId string, serviceName string) apperrors.AppError

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

func (*AccessServiceManager) Delete

func (_m *AccessServiceManager) Delete(serviceName string) apperrors.AppError

Delete provides a mock function with given fields: serviceName

func (*AccessServiceManager) Upsert

func (_m *AccessServiceManager) Upsert(application string, serviceId string, serviceName string) apperrors.AppError

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

type ServiceInterface

type ServiceInterface struct {
	mock.Mock
}

ServiceInterface is an autogenerated mock type for the ServiceInterface type

func (*ServiceInterface) Create

func (_m *ServiceInterface) Create(_a0 *v1.Service) (*v1.Service, error)

Create provides a mock function with given fields: _a0

func (*ServiceInterface) Delete

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

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

Jump to

Keyboard shortcuts

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