Documentation ¶
Index ¶
- type LocalContent
- func (l *LocalContent) AddCRD(ctx context.Context, crd *unstructured.Unstructured) error
- func (l *LocalContent) ClientRequestHandlers() []octant.ClientRequestHandler
- func (l *LocalContent) Content(ctx context.Context, contentPath string, opts module.ContentOptions) (component.ContentResponse, error)
- func (l *LocalContent) ContentPath() string
- func (l *LocalContent) Description() string
- func (l *LocalContent) Generators() []octant.Generator
- func (l *LocalContent) GroupVersionKindPath(namespace, apiVersion, kind, name string) (string, error)
- func (l *LocalContent) GvkFromPath(contentPath, namespace string) (schema.GroupVersionKind, error)
- func (l *LocalContent) Name() string
- func (l *LocalContent) Navigation(ctx context.Context, namespace, root string) ([]navigation.Navigation, error)
- func (l *LocalContent) RemoveCRD(ctx context.Context, crd *unstructured.Unstructured) error
- func (l *LocalContent) ResetCRDs(ctx context.Context) error
- func (l *LocalContent) Root() string
- func (l *LocalContent) SetContext(ctx context.Context, contextName string) error
- func (l *LocalContent) SetNamespace(namespace string) error
- func (l *LocalContent) Start() error
- func (l *LocalContent) Stop()
- func (l *LocalContent) SupportedGroupVersionKind() []schema.GroupVersionKind
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalContent ¶
type LocalContent struct {
// contains filtered or unexported fields
}
func New ¶
func New(root string) *LocalContent
func (*LocalContent) AddCRD ¶
func (l *LocalContent) AddCRD(ctx context.Context, crd *unstructured.Unstructured) error
func (*LocalContent) ClientRequestHandlers ¶
func (l *LocalContent) ClientRequestHandlers() []octant.ClientRequestHandler
func (*LocalContent) Content ¶
func (l *LocalContent) Content(ctx context.Context, contentPath string, opts module.ContentOptions) (component.ContentResponse, error)
func (*LocalContent) ContentPath ¶
func (l *LocalContent) ContentPath() string
func (*LocalContent) Description ¶ added in v0.17.0
func (l *LocalContent) Description() string
func (*LocalContent) Generators ¶
func (l *LocalContent) Generators() []octant.Generator
Generators allow modules to send events to the frontend.
func (*LocalContent) GroupVersionKindPath ¶
func (l *LocalContent) GroupVersionKindPath(namespace, apiVersion, kind, name string) (string, error)
func (*LocalContent) GvkFromPath ¶ added in v0.17.0
func (l *LocalContent) GvkFromPath(contentPath, namespace string) (schema.GroupVersionKind, error)
func (*LocalContent) Name ¶
func (l *LocalContent) Name() string
func (*LocalContent) Navigation ¶
func (l *LocalContent) Navigation(ctx context.Context, namespace, root string) ([]navigation.Navigation, error)
func (*LocalContent) RemoveCRD ¶
func (l *LocalContent) RemoveCRD(ctx context.Context, crd *unstructured.Unstructured) error
func (*LocalContent) Root ¶
func (l *LocalContent) Root() string
func (*LocalContent) SetContext ¶
func (l *LocalContent) SetContext(ctx context.Context, contextName string) error
func (*LocalContent) SetNamespace ¶
func (l *LocalContent) SetNamespace(namespace string) error
func (*LocalContent) Start ¶
func (l *LocalContent) Start() error
func (*LocalContent) Stop ¶
func (l *LocalContent) Stop()
func (*LocalContent) SupportedGroupVersionKind ¶
func (l *LocalContent) SupportedGroupVersionKind() []schema.GroupVersionKind
Click to show internal directories.
Click to hide internal directories.