settings

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	empty.Store
}

Store holds settings's API state.

func (*Store) ByID

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

ByID get setting information by name

func (*Store) List

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

List all settings

func (*Store) Update

func (s *Store) Update(apiOp *types.APIRequest, schema *types.APISchema, data types.APIObject, id string) (types.APIObject, error)

Update settings value

func (*Store) Watch added in v0.6.0

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

Watch watches Settings.

Jump to

Keyboard shortcuts

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