Documentation
¶
Index ¶
- func GenerateManifestZipResponse(w http.ResponseWriter, manifestsMap map[string][]byte, ch *ConnectionsHandler, ...)
- func NewRouter(ctx context.Context, deps HandlerDeps) *http.ServeMux
- type ArgoCDHandler
- type ConnectionsHandler
- func (ch *ConnectionsHandler) DeleteConnectionByName(ctx context.Context) http.HandlerFunc
- func (ch *ConnectionsHandler) GenerateManifestsForGivenConnection() http.HandlerFunc
- func (ch *ConnectionsHandler) GetConnectionByName(ctx context.Context) http.HandlerFunc
- func (ch *ConnectionsHandler) GetConnectionStatus(ctx context.Context) http.HandlerFunc
- func (ch *ConnectionsHandler) SaveConnectionData(ctx context.Context) http.HandlerFunc
- type DatadogHandler
- type HandlerDeps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateManifestZipResponse ¶
func GenerateManifestZipResponse(w http.ResponseWriter, manifestsMap map[string][]byte, ch *ConnectionsHandler, connectionName string)
Types ¶
type ArgoCDHandler ¶
type ArgoCDHandler struct {
// contains filtered or unexported fields
}
func NewArgoCDHandler ¶
func NewArgoCDHandler(theIntegration integration.Integration[integration.ArgoCDIntegrationData], k8sNamespace string, logger *zap.Logger) *ArgoCDHandler
func (*ArgoCDHandler) DeleteIntegration ¶
func (ah *ArgoCDHandler) DeleteIntegration(ctx context.Context) http.HandlerFunc
func (*ArgoCDHandler) GetIntegrations ¶
func (ah *ArgoCDHandler) GetIntegrations(ctx context.Context) http.HandlerFunc
func (*ArgoCDHandler) PutIntegrationData ¶
func (ah *ArgoCDHandler) PutIntegrationData(ctx context.Context) http.HandlerFunc
type ConnectionsHandler ¶
type ConnectionsHandler struct {
// contains filtered or unexported fields
}
func NewConnectionsHandler ¶
func NewConnectionsHandler( octantConnection connection.Connection[connection.OctantConnectionData], k8sNamespace string, logger *zap.Logger, ) *ConnectionsHandler
func (*ConnectionsHandler) DeleteConnectionByName ¶
func (ch *ConnectionsHandler) DeleteConnectionByName(ctx context.Context) http.HandlerFunc
func (*ConnectionsHandler) GenerateManifestsForGivenConnection ¶
func (ch *ConnectionsHandler) GenerateManifestsForGivenConnection() http.HandlerFunc
func (*ConnectionsHandler) GetConnectionByName ¶
func (ch *ConnectionsHandler) GetConnectionByName(ctx context.Context) http.HandlerFunc
func (*ConnectionsHandler) GetConnectionStatus ¶
func (ch *ConnectionsHandler) GetConnectionStatus(ctx context.Context) http.HandlerFunc
func (*ConnectionsHandler) SaveConnectionData ¶
func (ch *ConnectionsHandler) SaveConnectionData(ctx context.Context) http.HandlerFunc
type DatadogHandler ¶
type DatadogHandler struct {
// contains filtered or unexported fields
}
func NewDatadogHandler ¶
func NewDatadogHandler(theIntegration integration.Integration[integration.DataDogIntegrationData], k8sNamespace string, logger *zap.Logger) *DatadogHandler
func (*DatadogHandler) DeleteIntegration ¶
func (dh *DatadogHandler) DeleteIntegration(ctx context.Context) http.HandlerFunc
func (*DatadogHandler) GetIntegrations ¶
func (dh *DatadogHandler) GetIntegrations(ctx context.Context) http.HandlerFunc
func (*DatadogHandler) PutIntegrationData ¶
func (dh *DatadogHandler) PutIntegrationData(ctx context.Context) http.HandlerFunc
type HandlerDeps ¶
type HandlerDeps struct {
Logger *zap.Logger
ValkeyClient valkey.Client
VariableReader *datacorevariables.ValkeyAdapter
SlowValueReadThreshold time.Duration
AuditAdapter *audit.AuditAdapter
EventPublisher publisher.Publisher
ConfigMapController *datacorekube.HubConfigMapController
Deduper *adapter.Deduper
OpAMPServer *opamp.OpAMPControlServer
K8sClient kubernetes.Interface
K8sNamespace string
HTTPClient *http.Client
PrometheusClient promv1.API
}
Click to show internal directories.
Click to hide internal directories.