mocks

package
v0.0.0-...-a52e8f6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 5 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, appUID types.UID, serviceId string, serviceName string) apperrors.AppError

Create provides a mock function with given fields: application, appUID, 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, appUID types.UID, serviceId string, serviceName string) apperrors.AppError

Upsert provides a mock function with given fields: application, appUID, 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