Documentation
¶
Overview ¶
Package port is a package that defines the ports for the application layer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminUsecase ¶
type AdminUsecase interface {
ApplyRawConfig(ctx context.Context, targetInstanceUID uuid.UUID, config any) error
}
AdminUsecase is a use case that handles admin operations.
type FetchServerToAgentUsecase ¶
type FetchServerToAgentUsecase interface {
FetchServerToAgent(ctx context.Context, instanceUID uuid.UUID) (*protobufs.ServerToAgent, error)
}
FetchServerToAgentUsecase is a use case that fetches a message from the connection.
type HandleAgentToServerUsecase ¶
type HandleAgentToServerUsecase interface {
HandleAgentToServer(ctx context.Context, agentToServer *protobufs.AgentToServer) error
}
HandleAgentToServerUsecase is a use case that handles a message from the connection.
type OpAMPUsecase ¶
type OpAMPUsecase interface {
HandleAgentToServerUsecase
FetchServerToAgentUsecase
}
OpAMPUsecase covers OpAMP protocol This usecase should be called by the adapter.
Click to show internal directories.
Click to hide internal directories.