mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
25 lines
394 B
Go
25 lines
394 B
Go
package lbagent
|
|
|
|
import (
|
|
"sync"
|
|
|
|
agentmodels "yunion.io/x/onecloud/pkg/lbagent/models"
|
|
)
|
|
|
|
type LbagentCmdType uintptr
|
|
|
|
const (
|
|
LbagentCmdUseCorpus LbagentCmdType = iota
|
|
)
|
|
|
|
type LbagentCmdUseCorpusData struct {
|
|
Corpus *agentmodels.LoadbalancerCorpus
|
|
AgentParams *agentmodels.AgentParams
|
|
Wg sync.WaitGroup
|
|
}
|
|
|
|
type LbagentCmd struct {
|
|
Type LbagentCmdType
|
|
Data interface{}
|
|
}
|