configuration

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 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) ActionPaths added in v0.7.0

func (c *Configuration) ActionPaths() map[string]action.DispatcherFunc

func (Configuration) AddCRD

func (Configuration) ClientRequestHandlers added in v0.7.0

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 (Configuration) ResetCRDs added in v0.7.0

func (c Configuration) ResetCRDs(ctx context.Context) 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 added in v0.7.0

type ObjectDeleter struct {
	// contains filtered or unexported fields
}

func NewObjectDeleter added in v0.7.0

func NewObjectDeleter(logger log.Logger, clusterClient store.Store) *ObjectDeleter

func (*ObjectDeleter) ActionName added in v0.7.0

func (d *ObjectDeleter) ActionName() string

func (*ObjectDeleter) Handle added in v0.7.0

func (d *ObjectDeleter) Handle(ctx context.Context, alerter action.Alerter, payload action.Payload) error

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, namespace string, options describer.Options) (component.ContentResponse, error)

Describe describes a list of plugins

func (*PluginListDescriber) PathFilters

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

func (*PluginListDescriber) Reset added in v0.6.0

func (d *PluginListDescriber) Reset(ctx context.Context) error

Jump to

Keyboard shortcuts

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