Documentation
¶
Overview ¶
Package clusteraccess gives tests one-line access to the context-taking topology accessors of ceph.Container and rgw. Each helper fails the test on an error, so a refused call is never mistaken for an empty topology.
Index ¶
- func ControlContainer(tb testing.TB, c *ceph.Container) testcontainers.Container
- func Gateways(tb testing.TB, c *ceph.Container) []*rgw.Gateway
- func InitialManager(tb testing.TB, c *ceph.Container) testcontainers.Container
- func Managers(tb testing.TB, c *ceph.Container) []*ceph.ManagerContainer
- func Monitors(tb testing.TB, c *ceph.Container) []*ceph.MonitorContainer
- func OSDs(tb testing.TB, c *ceph.Container) []*ceph.OSDContainer
- func RGWGateways(tb testing.TB, c *rgw.Container) []*rgw.Gateway
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ControlContainer ¶
ControlContainer returns the stable CLI container of c.
func InitialManager ¶
InitialManager returns the container of MGR a, the manager Run starts, or nil when no manager named a is a current candidate (it was removed, or the cluster started without managers and a later one has another name).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.