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

Struct PFStateController

internal/control_plane/autoscaling/controller.go:37–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35)
36
37type PFStateController struct {
38 EndpointLock sync.Mutex
39
40 ServiceName string
41
42 AutoscalingRunning int32
43 DesiredStateChannel chan int
44
45 ScalingMetadata AutoscalingMetadata
46 Endpoints []*core.Endpoint
47
48 Period time.Duration
49 StopCh chan struct{}
50}
51
52func NewPerFunctionStateController(scalingChannel chan int, serviceInfo *proto.ServiceInfo, period time.Duration) *PFStateController {
53 return &PFStateController{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected