localcontent

package
v0.25.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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 (*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) ResetCRDs

func (l *LocalContent) ResetCRDs(ctx context.Context) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL