Documentation ¶
Index ¶
- Variables
- type RouterSuite
- func (s *RouterSuite) SetUpSuite(c *check.C)
- func (s *RouterSuite) SetUpTest(c *check.C)
- func (s *RouterSuite) TearDownSuite(c *check.C)
- func (s *RouterSuite) TearDownTest(c *check.C)
- func (s *RouterSuite) TestRemoveBackendAfterSwap(c *check.C)
- func (s *RouterSuite) TestRemoveBackendWithCName(c *check.C)
- func (s *RouterSuite) TestRemoveBackendWithoutRemoveRoutes(c *check.C)
- func (s *RouterSuite) TestRouteAddBackendAndRoute(c *check.C)
- func (s *RouterSuite) TestRouteAddDupBackend(c *check.C)
- func (s *RouterSuite) TestRouteAddDupCName(c *check.C)
- func (s *RouterSuite) TestRouteAddDupRoute(c *check.C)
- func (s *RouterSuite) TestRouteAddRouteInvalidBackend(c *check.C)
- func (s *RouterSuite) TestRouteRemoveRouteAndBackend(c *check.C)
- func (s *RouterSuite) TestRouteRemoveUnknownRoute(c *check.C)
- func (s *RouterSuite) TestSetCNameInvalidBackend(c *check.C)
- func (s *RouterSuite) TestSetCNameSubdomainError(c *check.C)
- func (s *RouterSuite) TestSetUnsetCName(c *check.C)
- func (s *RouterSuite) TestSwap(c *check.C)
- func (s *RouterSuite) TestSwapTwice(c *check.C)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrForcedFailure = errors.New("Forced failure")
View Source
var FakeRouter = newFakeRouter()
View Source
var HCRouter = hcRouter{/* contains filtered or unexported fields */}
Functions ¶
This section is empty.
Types ¶
type RouterSuite ¶
type RouterSuite struct { Router router.Router SetUpSuiteFunc func(c *check.C) SetUpTestFunc func(c *check.C) TearDownSuiteFunc func(c *check.C) TearDownTestFunc func(c *check.C) }
func (*RouterSuite) SetUpSuite ¶
func (s *RouterSuite) SetUpSuite(c *check.C)
func (*RouterSuite) SetUpTest ¶
func (s *RouterSuite) SetUpTest(c *check.C)
func (*RouterSuite) TearDownSuite ¶
func (s *RouterSuite) TearDownSuite(c *check.C)
func (*RouterSuite) TearDownTest ¶
func (s *RouterSuite) TearDownTest(c *check.C)
func (*RouterSuite) TestRemoveBackendAfterSwap ¶
func (s *RouterSuite) TestRemoveBackendAfterSwap(c *check.C)
func (*RouterSuite) TestRemoveBackendWithCName ¶
func (s *RouterSuite) TestRemoveBackendWithCName(c *check.C)
func (*RouterSuite) TestRemoveBackendWithoutRemoveRoutes ¶
func (s *RouterSuite) TestRemoveBackendWithoutRemoveRoutes(c *check.C)
func (*RouterSuite) TestRouteAddBackendAndRoute ¶
func (s *RouterSuite) TestRouteAddBackendAndRoute(c *check.C)
func (*RouterSuite) TestRouteAddDupBackend ¶
func (s *RouterSuite) TestRouteAddDupBackend(c *check.C)
func (*RouterSuite) TestRouteAddDupCName ¶
func (s *RouterSuite) TestRouteAddDupCName(c *check.C)
func (*RouterSuite) TestRouteAddDupRoute ¶
func (s *RouterSuite) TestRouteAddDupRoute(c *check.C)
func (*RouterSuite) TestRouteAddRouteInvalidBackend ¶
func (s *RouterSuite) TestRouteAddRouteInvalidBackend(c *check.C)
func (*RouterSuite) TestRouteRemoveRouteAndBackend ¶
func (s *RouterSuite) TestRouteRemoveRouteAndBackend(c *check.C)
func (*RouterSuite) TestRouteRemoveUnknownRoute ¶
func (s *RouterSuite) TestRouteRemoveUnknownRoute(c *check.C)
func (*RouterSuite) TestSetCNameInvalidBackend ¶
func (s *RouterSuite) TestSetCNameInvalidBackend(c *check.C)
func (*RouterSuite) TestSetCNameSubdomainError ¶
func (s *RouterSuite) TestSetCNameSubdomainError(c *check.C)
func (*RouterSuite) TestSetUnsetCName ¶
func (s *RouterSuite) TestSetUnsetCName(c *check.C)
func (*RouterSuite) TestSwap ¶
func (s *RouterSuite) TestSwap(c *check.C)
func (*RouterSuite) TestSwapTwice ¶
func (s *RouterSuite) TestSwapTwice(c *check.C)
Click to show internal directories.
Click to hide internal directories.