Documentation ¶
Index ¶
- type Cluster
- func (c *Cluster) AdminServerAddress(context.Context, *testing.T) string
- func (c *Cluster) Close(ctx context.Context, t *testing.T)
- func (c *Cluster) Controller() *controller.Controller
- func (c *Cluster) GetStorageNodeByNodeName(t *testing.T, nodeName string) *storagenode.Node
- func (c *Cluster) MetadataRepositoryAddress(_ context.Context, t *testing.T) string
- func (c *Cluster) SetNumMetadataRepositories(_ context.Context, t *testing.T, desired int)
- func (c *Cluster) Setup(_ context.Context, t *testing.T)
- func (c *Cluster) StartAdminServer(_ context.Context, t *testing.T)
- func (c *Cluster) StartMetadataRepositoryNodes(ctx context.Context, t *testing.T, desired int)
- func (c *Cluster) StartStorageNode(_ context.Context, t *testing.T, nodeName string) bool
- func (c *Cluster) StartStorageNodes(_ context.Context, t *testing.T, desired int)
- func (c *Cluster) StopAdminServer(_ context.Context, t *testing.T)
- func (c *Cluster) StopMetadataRepositoryNodes(ctx context.Context, t *testing.T)
- func (c *Cluster) StopStorageNode(_ context.Context, t *testing.T, snid types.StorageNodeID) (nodeName string)
- func (c *Cluster) StopStorageNodes(_ context.Context, t *testing.T)
- func (c *Cluster) String() string
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
func (*Cluster) AdminServerAddress ¶
func (*Cluster) Controller ¶
func (c *Cluster) Controller() *controller.Controller
func (*Cluster) GetStorageNodeByNodeName ¶
func (*Cluster) MetadataRepositoryAddress ¶
func (*Cluster) SetNumMetadataRepositories ¶
func (*Cluster) StartAdminServer ¶
func (*Cluster) StartMetadataRepositoryNodes ¶
func (*Cluster) StartStorageNode ¶
func (*Cluster) StartStorageNodes ¶
func (*Cluster) StopAdminServer ¶
func (*Cluster) StopMetadataRepositoryNodes ¶
func (*Cluster) StopStorageNode ¶
func (*Cluster) StopStorageNodes ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func WithAdminExecutable ¶
func WithCommonConfig ¶
Click to show internal directories.
Click to hide internal directories.