Versions in this module Expand all Collapse all v0 v0.7.0 Sep 28, 2019 v0.1.1 Sep 24, 2019 Changes in this version + func GenerateComponent(ctx context.Context, details Details, selected types.UID) (*component.ResourceViewer, error) + type Details interface + AdjacencyList func() (*component.AdjList, error) + Nodes func(ctx context.Context) (component.Nodes, error) + type Handler struct + func NewHandler(dashConfig config.Dash, options ...HandlerOption) (*Handler, error) + func (h *Handler) AddEdge(ctx context.Context, from, to *unstructured.Unstructured) error + func (h *Handler) AdjacencyList() (*component.AdjList, error) + func (h *Handler) Nodes(ctx context.Context) (component.Nodes, error) + func (h *Handler) Process(ctx context.Context, object *unstructured.Unstructured) error + type HandlerObjectStatus struct + func NewHandlerObjectStatus(objectStore store.Store, pluginManager plugin.ManagerInterface) *HandlerObjectStatus + func (h *HandlerObjectStatus) Status(ctx context.Context, object runtime.Object) (*objectstatus.ObjectStatus, error) + type HandlerOption func(h *Handler) + func SetHandlerObjectStatus(objectStatus ObjectStatus) HandlerOption + type ObjectStatus interface + Status func(ctx context.Context, object runtime.Object) (*objectstatus.ObjectStatus, error) + type ResourceViewer struct + func New(dashConfig config.Dash, opts ...ViewerOpt) (*ResourceViewer, error) + func (rv *ResourceViewer) Visit(ctx context.Context, object runtime.Object) (*component.ResourceViewer, error) + type ViewerOpt func(*ResourceViewer) error + func WithDefaultQueryer(dashConfig config.Dash, q queryer.Queryer) ViewerOpt