Documentation
¶
Index ¶
- type EdgeletAPI
- func (l *EdgeletAPI) GetModuleIndex() int
- func (l *EdgeletAPI) GetName() string
- func (l *EdgeletAPI) NotifyMicroserviceConfigChanged(changedUUIDs []string)
- func (l *EdgeletAPI) NotifyResourceLimitsChanged()
- func (l *EdgeletAPI) Start() error
- func (l *EdgeletAPI) Stop() error
- func (l *EdgeletAPI) Update()
- type Router
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EdgeletAPI ¶
type EdgeletAPI struct {
// contains filtered or unexported fields
}
EdgeletAPI is the main Edgelet API module
func GetInstance ¶
func GetInstance() *EdgeletAPI
GetInstance returns the singleton EdgeletAPI instance
func (*EdgeletAPI) GetModuleIndex ¶
func (l *EdgeletAPI) GetModuleIndex() int
GetModuleIndex returns the module index
func (*EdgeletAPI) NotifyMicroserviceConfigChanged ¶
func (l *EdgeletAPI) NotifyMicroserviceConfigChanged(changedUUIDs []string)
NotifyMicroserviceConfigChanged pushes control signals to workloads whose config changed.
func (*EdgeletAPI) NotifyResourceLimitsChanged ¶
func (l *EdgeletAPI) NotifyResourceLimitsChanged()
NotifyResourceLimitsChanged pushes resource-limit signals to all connected workloads.
func (*EdgeletAPI) Update ¶
func (l *EdgeletAPI) Update()
Update is called when agent configuration changes (hot reload).
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
Router handles HTTP routing
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents the HTTP/WebSocket server
func (*Server) Ready ¶
func (s *Server) Ready() <-chan struct{}
Ready returns a channel closed once all API listeners are bound.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.