MCPcopy Create free account
hub / github.com/eth-easl/dirigent / CpApiServerCreationArguments

Struct CpApiServerCreationArguments

api/control_plane_api_server.go:53–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53type CpApiServerCreationArguments struct {
54 Client persistence.PersistenceLayer
55 OutputFile string
56 PlacementPolicy placement_policy.PlacementPolicy
57 DataplaneCreator core.DataplaneFactory
58 WorkerNodeCreator core.WorkerNodeFactory
59 Cfg *config2.ControlPlaneConfig
60}
61
62func CreateNewCpApiServer(args *CpApiServerCreationArguments) (*CpApiServer, chan leader_election.AnnounceLeadership) {
63 cp := control_plane.NewControlPlane(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected