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.
34 lines
603 B
34 lines
603 B
package scaffold
|
|
|
|
import (
|
|
_ "embed"
|
|
"strings"
|
|
|
|
"github.com/seaweedfs/seaweedfs/weed/cluster/maintenance"
|
|
)
|
|
|
|
func init() {
|
|
Master = strings.ReplaceAll(masterTemplate, "{{DEFAULT_MAINTENANCE_SCRIPTS}}", maintenance.DefaultMasterMaintenanceScripts)
|
|
}
|
|
|
|
//go:embed filer.toml
|
|
var Filer string
|
|
|
|
//go:embed notification.toml
|
|
var Notification string
|
|
|
|
//go:embed replication.toml
|
|
var Replication string
|
|
|
|
//go:embed security.toml
|
|
var Security string
|
|
|
|
//go:embed master.toml
|
|
var masterTemplate string
|
|
var Master string
|
|
|
|
//go:embed shell.toml
|
|
var Shell string
|
|
|
|
//go:embed credential.toml
|
|
var Credential string
|