Documentation ¶
Index ¶
- type RouteManagerIface
- func (_m *RouteManagerIface) Create(instanceId string, domain string, origin string, path string, ...) (*models.Route, error)
- func (_m *RouteManagerIface) DeleteOrphanedCerts()
- func (_m *RouteManagerIface) Disable(route *models.Route) error
- func (_m *RouteManagerIface) Get(instanceId string) (*models.Route, error)
- func (_m *RouteManagerIface) GetDNSInstructions(route *models.Route) ([]string, error)
- func (_m *RouteManagerIface) Poll(route *models.Route) error
- func (_m *RouteManagerIface) Renew(route *models.Route) error
- func (_m *RouteManagerIface) RenewAll()
- func (_m *RouteManagerIface) Update(instanceId string, domain string, origin string, path string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RouteManagerIface ¶
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