Documentation ¶
Index ¶
- type Options
- type Overview
- func (co *Overview) ActionPaths() map[string]action.DispatcherFunc
- func (co *Overview) ClientRequestHandlers() []octant.ClientRequestHandler
- func (co *Overview) Content(ctx context.Context, contentPath string, opts module.ContentOptions) (component.ContentResponse, error)
- func (co *Overview) ContentPath() string
- func (co *Overview) Generators() []octant.Generator
- func (co *Overview) Name() string
- func (co *Overview) Navigation(ctx context.Context, namespace, root string) ([]navigation.Navigation, error)
- func (co *Overview) SetContext(ctx context.Context, contextName string) error
- func (co *Overview) SetNamespace(namespace string) error
- func (co *Overview) Start() error
- func (co *Overview) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Overview ¶
type Overview struct { *octant.ObjectPath // contains filtered or unexported fields }
Overview is an API for generating a cluster overview.
func (*Overview) ActionPaths ¶
func (co *Overview) ActionPaths() map[string]action.DispatcherFunc
ActionPaths contain the actions this module is responsible for.
func (*Overview) ClientRequestHandlers ¶
func (co *Overview) ClientRequestHandlers() []octant.ClientRequestHandler
func (*Overview) Content ¶
func (co *Overview) Content(ctx context.Context, contentPath string, opts module.ContentOptions) (component.ContentResponse, error)
Content serves content for overview.
func (*Overview) ContentPath ¶
ContentPath returns the content path for overview.
func (*Overview) Generators ¶
Generators allow modules to send events to the frontend.
func (*Overview) Navigation ¶
func (co *Overview) Navigation(ctx context.Context, namespace, root string) ([]navigation.Navigation, error)
Navigation returns navigation entries for overview.
func (*Overview) SetContext ¶
func (*Overview) SetNamespace ¶
SetNamespace sets the current namespace.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.