You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
488 B
18 lines
488 B
package balance
|
|
|
|
import (
|
|
"github.com/seaweedfs/seaweedfs/weed/worker/tasks"
|
|
)
|
|
|
|
// SchemaProvider implements the TaskConfigSchemaProvider interface for balance tasks
|
|
type SchemaProvider struct{}
|
|
|
|
// GetConfigSchema returns the schema for balance task configuration
|
|
func (p *SchemaProvider) GetConfigSchema() *tasks.TaskConfigSchema {
|
|
return GetConfigSchema()
|
|
}
|
|
|
|
// init registers the balance schema provider
|
|
func init() {
|
|
tasks.RegisterTaskConfigSchema("balance", &SchemaProvider{})
|
|
}
|