Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RemoteConnectionHandler ¶
func NewInstrumentedRemotesHandler ¶
func NewInstrumentedRemotesHandler(log *zap.Logger, reg prometheus.Registerer, kv kv.Store, svc RemoteConnectionService) *RemoteConnectionHandler
func (*RemoteConnectionHandler) Prefix ¶
func (h *RemoteConnectionHandler) Prefix() string
type RemoteConnectionService ¶
type RemoteConnectionService interface { // ListRemoteConnections returns all info about registered remote InfluxDB connections matching a filter. ListRemoteConnections(context.Context, influxdb.RemoteConnectionListFilter) (*influxdb.RemoteConnections, error) // CreateRemoteConnection registers a new remote InfluxDB connection. CreateRemoteConnection(context.Context, influxdb.CreateRemoteConnectionRequest) (*influxdb.RemoteConnection, error) // GetRemoteConnection returns metadata about the remote InfluxDB connection with the given ID. GetRemoteConnection(context.Context, platform.ID) (*influxdb.RemoteConnection, error) // UpdateRemoteConnection updates the settings for the remote InfluxDB connection with the given ID. UpdateRemoteConnection(context.Context, platform.ID, influxdb.UpdateRemoteConnectionRequest) (*influxdb.RemoteConnection, error) // DeleteRemoteConnection deletes all info for the remote InfluxDB connection with the given ID. DeleteRemoteConnection(context.Context, platform.ID) error }
Click to show internal directories.
Click to hide internal directories.