K8s/Dashboards: Implement dashboards as StorageBackend (#90295)

This commit is contained in:
Ryan McKinley
2024-07-17 10:49:23 -07:00
committed by GitHub
parent 9459e29775
commit f409f8c169
20 changed files with 1757 additions and 629 deletions
+13 -2
View File
@@ -5,8 +5,9 @@ import (
)
var (
_ DiagnosticsServer = &noopService{}
_ LifecycleHooks = &noopService{}
_ DiagnosticsServer = (*noopService)(nil)
_ ResourceIndexServer = (*noopService)(nil)
_ LifecycleHooks = (*noopService)(nil)
)
// noopService is a helper implementation to simplify tests
@@ -39,3 +40,13 @@ func (n *noopService) Read(context.Context, *ReadRequest) (*ReadResponse, error)
func (n *noopService) List(context.Context, *ListRequest) (*ListResponse, error) {
return nil, ErrNotImplementedYet
}
// History implements ResourceServer.
func (n *noopService) History(context.Context, *HistoryRequest) (*HistoryResponse, error) {
return nil, ErrNotImplementedYet
}
// Origin implements ResourceServer.
func (n *noopService) Origin(context.Context, *OriginRequest) (*OriginResponse, error) {
return nil, ErrNotImplementedYet
}