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
ListConnections(ctx context.Context) ([]*model.Connection, error)
}
AdminUsecase is a use case that handles admin operations.
type OpAMPUsecase ¶
type OpAMPUsecase interface {
OnConnected(ctx context.Context, conn opamptypes.Connection)
OnMessage(ctx context.Context, conn opamptypes.Connection, message *protobufs.AgentToServer) *protobufs.ServerToAgent
OnConnectionClose(conn opamptypes.Connection)
}
OpAMPUsecase is a use case that handles OpAMP protocol operations. Please see github.com/open-telemetry/opamp-go/server/types/ConnectionCallbacks.
Click to show internal directories.
Click to hide internal directories.