mocks

package
v0.0.0-...-28c38e3 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RouteManagerIface

type RouteManagerIface struct {
	mock.Mock
}

RouteManagerIface is an autogenerated mock type for the RouteManagerIface type

func (*RouteManagerIface) Create

func (_m *RouteManagerIface) Create(instanceId string, domain string, origin string, path string, insecureOrigin bool, forwardedHeaders utils.Headers, forwardCookies bool, tags map[string]string) (*models.Route, error)

Create provides a mock function with given fields: instanceId, domain, origin, path, insecureOrigin, forwardedHeaders, forwardCookies, tags

func (*RouteManagerIface) DeleteOrphanedCerts

func (_m *RouteManagerIface) DeleteOrphanedCerts()

DeleteOrphanedCerts provides a mock function with given fields:

func (*RouteManagerIface) Disable

func (_m *RouteManagerIface) Disable(route *models.Route) error

Disable provides a mock function with given fields: route

func (*RouteManagerIface) Get

func (_m *RouteManagerIface) Get(instanceId string) (*models.Route, error)

Get provides a mock function with given fields: instanceId

func (*RouteManagerIface) GetDNSInstructions

func (_m *RouteManagerIface) GetDNSInstructions(route *models.Route) ([]string, error)

GetDNSInstructions provides a mock function with given fields: route

func (*RouteManagerIface) Poll

func (_m *RouteManagerIface) Poll(route *models.Route) error

Poll provides a mock function with given fields: route

func (*RouteManagerIface) Renew

func (_m *RouteManagerIface) Renew(route *models.Route) error

Renew provides a mock function with given fields: route

func (*RouteManagerIface) RenewAll

func (_m *RouteManagerIface) RenewAll()

RenewAll provides a mock function with given fields:

func (*RouteManagerIface) Update

func (_m *RouteManagerIface) Update(instanceId string, domain string, origin string, path string, insecureOrigin bool, forwardedHeaders utils.Headers, forwardCookies bool) error

Update provides a mock function with given fields: instanceId, domain, origin, path, insecureOrigin, forwardedHeaders, forwardCookies

Jump to

Keyboard shortcuts

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