explorer

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Formatter

type Formatter struct {
}

func NewFormatter

func NewFormatter() *Formatter

func (*Formatter) Formatter

func (f *Formatter) Formatter(request *types.APIRequest, resource *types.RawResource)

type Store

type Store struct {
	empty.Store
}

Store holds explorer's API state.

func (*Store) ByID

func (s *Store) ByID(_ *types.APIRequest, schema *types.APISchema, id string) (types.APIObject, error)

ByID returns explorer setting by ID.

func (*Store) List

func (s *Store) List(_ *types.APIRequest, schema *types.APISchema) (types.APIObjectList, error)

List returns all K3s explorer settings

func (*Store) Watch

func (s *Store) Watch(apiOp *types.APIRequest, schema *types.APISchema, _ types.WatchRequest) (chan types.APIEvent, error)

Watch explorer settings change

Jump to

Keyboard shortcuts

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