Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultReplicationFactor = 3 DefaultNumMetaRepos = 3 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster interface { Setup(ctx context.Context, t *testing.T) StartAdminServer(ctx context.Context, t *testing.T) StopAdminServer(ctx context.Context, t *testing.T) AdminServerAddress(ctx context.Context, t *testing.T) string StartMetadataRepositoryNodes(ctx context.Context, t *testing.T, desired int) StopMetadataRepositoryNodes(ctx context.Context, t *testing.T) SetNumMetadataRepositories(ctx context.Context, t *testing.T, desired int) MetadataRepositoryAddress(ctx context.Context, t *testing.T) string StartStorageNodes(ctx context.Context, t *testing.T, desired int) StopStorageNodes(ctx context.Context, t *testing.T) StartStorageNode(ctx context.Context, t *testing.T, nodeName string) bool StopStorageNode(ctx context.Context, t *testing.T, snid types.StorageNodeID) (nodeName string) Controller() *controller.Controller String() string Close(ctx context.Context, t *testing.T) }
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (Config) NumMetaRepos ¶
func (Config) NumStorageNodes ¶
func (Config) ReplicationFactor ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func NumStorageNodes ¶
func WithClusterID ¶
func WithLogger ¶
func WithReplicationFactor ¶
Click to show internal directories.
Click to hide internal directories.