Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func NewFactory( cfg config.Config, accountQuerier *account_querier.Querier, accountWriter *account_writer.Writer, roleQuerier *role_querier.Querier, roleWriter *role_writer.Writer, roleAssigner *account_role_assign.Manager, accessKeys *access_key.Repository, pluginReader *plugin_reader.Reader, ) *Factory
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func New ¶
func New( logger *slog.Logger, installationID plugin.InstallationID, manifest *plugin.Validated, apiBaseURL url.URL, accountQuerier *account_querier.Querier, accountWriter *account_writer.Writer, roleQuerier *role_querier.Querier, roleWriter *role_writer.Writer, roleAssigner *account_role_assign.Manager, accessKeys *access_key.Repository, pluginReader *plugin_reader.Reader, ) *Handler
func (*Handler) Handle ¶
func (h *Handler) Handle(ctx context.Context, req rpc.PluginToHostRequestUnion) (*rpc.PluginToHostResponse, error)
func (*Handler) OnDisconnect ¶
func (h *Handler) OnDisconnect()
Click to show internal directories.
Click to hide internal directories.