Documentation ¶
Index ¶
- type Configuration
- func (c *Configuration) ActionPaths() map[string]action.DispatcherFunc
- func (c Configuration) AddCRD(ctx context.Context, crd *unstructured.Unstructured) error
- func (c Configuration) ClientRequestHandlers() []octant.ClientRequestHandler
- func (c *Configuration) Content(ctx context.Context, contentPath string, opts module.ContentOptions) (component.ContentResponse, error)
- func (c *Configuration) ContentPath() string
- func (c Configuration) Generators() []octant.Generator
- func (c Configuration) GroupVersionKindPath(namespace, apiVersion, kind, name string) (string, error)
- func (Configuration) Name() string
- func (c *Configuration) Navigation(ctx context.Context, namespace, root string) ([]navigation.Navigation, error)
- func (c Configuration) RemoveCRD(ctx context.Context, crd *unstructured.Unstructured) error
- func (c Configuration) ResetCRDs(ctx context.Context) error
- func (c *Configuration) SetContext(ctx context.Context, contextName string) error
- func (Configuration) SetNamespace(namespace string) error
- func (Configuration) Start() error
- func (Configuration) Stop()
- func (c Configuration) SupportedGroupVersionKind() []schema.GroupVersionKind
- type ObjectDeleter
- type Options
- type PluginListDescriber
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Options // contains filtered or unexported fields }
func (*Configuration) ActionPaths ¶
func (c *Configuration) ActionPaths() map[string]action.DispatcherFunc
func (Configuration) AddCRD ¶
func (c Configuration) AddCRD(ctx context.Context, crd *unstructured.Unstructured) error
func (Configuration) ClientRequestHandlers ¶
func (c Configuration) ClientRequestHandlers() []octant.ClientRequestHandler
func (*Configuration) Content ¶
func (c *Configuration) Content(ctx context.Context, contentPath string, opts module.ContentOptions) (component.ContentResponse, error)
func (*Configuration) ContentPath ¶
func (c *Configuration) ContentPath() string
func (Configuration) Generators ¶
func (c Configuration) Generators() []octant.Generator
Generators allow modules to send events to the frontend.
func (Configuration) GroupVersionKindPath ¶
func (c Configuration) GroupVersionKindPath(namespace, apiVersion, kind, name string) (string, error)
func (Configuration) Name ¶
func (Configuration) Name() string
func (*Configuration) Navigation ¶
func (c *Configuration) Navigation(ctx context.Context, namespace, root string) ([]navigation.Navigation, error)
func (Configuration) RemoveCRD ¶
func (c Configuration) RemoveCRD(ctx context.Context, crd *unstructured.Unstructured) error
func (*Configuration) SetContext ¶
func (c *Configuration) SetContext(ctx context.Context, contextName string) error
func (Configuration) SetNamespace ¶
func (Configuration) SetNamespace(namespace string) error
func (Configuration) Start ¶
func (Configuration) Start() error
func (Configuration) Stop ¶
func (Configuration) Stop()
func (Configuration) SupportedGroupVersionKind ¶
func (c Configuration) SupportedGroupVersionKind() []schema.GroupVersionKind
type ObjectDeleter ¶
type ObjectDeleter struct {
// contains filtered or unexported fields
}
func NewObjectDeleter ¶
func NewObjectDeleter(logger log.Logger, clusterClient store.Store) *ObjectDeleter
func (*ObjectDeleter) ActionName ¶
func (d *ObjectDeleter) ActionName() string
type PluginListDescriber ¶
type PluginListDescriber struct { }
PluginListDescriber describes a list of plugins
func NewPluginListDescriber ¶
func NewPluginListDescriber() *PluginListDescriber
func (*PluginListDescriber) Describe ¶
func (d *PluginListDescriber) Describe(ctx context.Context, namespace string, options describer.Options) (component.ContentResponse, error)
Describe describes a list of plugins
func (*PluginListDescriber) PathFilters ¶
func (d *PluginListDescriber) PathFilters() []describer.PathFilter
Click to show internal directories.
Click to hide internal directories.