mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-31 18:10:50 +01:00
feat: added modules
This commit is contained in:
13
core/interfaces/node_config_service.go
Normal file
13
core/interfaces/node_config_service.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package interfaces
|
||||
|
||||
type NodeConfigService interface {
|
||||
WithConfigPath
|
||||
Init() error
|
||||
Reload() error
|
||||
GetBasicNodeInfo() Entity
|
||||
GetNodeKey() string
|
||||
GetNodeName() string
|
||||
IsMaster() bool
|
||||
GetAuthKey() string
|
||||
GetMaxRunners() int
|
||||
}
|
||||
Reference in New Issue
Block a user