configuration

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

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 New

func New(ctx context.Context, options Options) *Configuration

func (Configuration) AddCRD

func (*Configuration) Content

func (c *Configuration) Content(ctx context.Context, contentPath, prefix, namespace 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) Handlers

func (c *Configuration) Handlers(ctx context.Context) map[string]http.Handler

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 (*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 Options

type Options struct {
	DashConfig     config.Dash
	KubeConfigPath 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, prefix, namespace string, options describer.Options) (component.ContentResponse, error)

Describe describes a list of plugins

func (*PluginListDescriber) PathFilters

func (d *PluginListDescriber) PathFilters() []describer.PathFilter

Jump to

Keyboard shortcuts

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