support limit

This commit is contained in:
Rongsong Shen 2026-01-12 15:20:51 +08:00
parent bef32ace38
commit ecf1916d78
33 changed files with 3036 additions and 243 deletions

View file

@ -28,14 +28,6 @@ typedef struct {
int port;
} master_candidate_t;
typedef struct {
char* name;
char* prov_type;
char* conf_path;
char* script_path;
char* script_option;
} scaler_config_t;
typedef struct {
char* clustername;
int port;
@ -51,9 +43,9 @@ typedef struct {
int nqueues;
xce_queue_t** queues;
int nugroups;
xce_group_t** ugroups;
xce_group_config_t** ugroups;
int nhgroups;
xce_group_t** hgroups;
xce_group_config_t** hgroups;
int nhconfigs;
xce_hostconfig_t** hconfigs;
jobmgr_config_t* jobmgr;
@ -63,6 +55,8 @@ typedef struct {
xstrings_config_t* xstrings;
int nhproviders;
scaler_config_t** hproviders;
int nlimits;
xce_limit_config_t** limits;
} cluster_config_t;
#endif