Help us shape the future of Go! Take the 2026 Go Developer Survey

controller

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func New

func New(ctx context.Context, client *jellyapi.APIClient) *Controller

func (*Controller) GetLogEntries

func (c *Controller) GetLogEntries(startIdx, limit int32, minDate time.Time, json bool) error

func (*Controller) GetPublicSystemInfo

func (c *Controller) GetPublicSystemInfo() error

func (*Controller) GetSystemInfo

func (c *Controller) GetSystemInfo() error

func (*Controller) KeyCreate

func (c *Controller) KeyCreate(app string) error

func (*Controller) KeyDelete

func (c *Controller) KeyDelete(key string) error

func (*Controller) KeyList

func (c *Controller) KeyList(json bool) error

func (*Controller) LibraryDuplicates added in v0.4.0

func (c *Controller) LibraryDuplicates(term string, types []string, json bool) error

func (*Controller) LibraryScan

func (c *Controller) LibraryScan() error

func (*Controller) LibrarySearch added in v0.3.0

func (c *Controller) LibrarySearch(term string, types []string, json bool) error

func (*Controller) LibraryUnscraped

func (c *Controller) LibraryUnscraped(types []string, json bool) error

func (*Controller) SystemBackup added in v0.3.0

func (c *Controller) SystemBackup() error

func (*Controller) SystemRestart

func (c *Controller) SystemRestart() error

func (*Controller) SystemRestore added in v0.3.0

func (c *Controller) SystemRestore(backupDir string, unplayed, unfav bool) error

TODO: - Complete user restore - Playlists

func (*Controller) SystemShutdown

func (c *Controller) SystemShutdown() error

func (*Controller) TaskList added in v0.3.0

func (c *Controller) TaskList(json bool) error

func (*Controller) TaskStart added in v0.3.0

func (c *Controller) TaskStart(id string) error

func (*Controller) TaskStop added in v0.3.0

func (c *Controller) TaskStop(id string) error

func (*Controller) UserAdd

func (c *Controller) UserAdd(name, password string) error

func (*Controller) UserDel

func (c *Controller) UserDel(userID string) error

func (*Controller) UserDisable

func (c *Controller) UserDisable(userID string) error

func (*Controller) UserEnable

func (c *Controller) UserEnable(userID string) error

func (*Controller) UserList

func (c *Controller) UserList(json bool) error

func (*Controller) UserPolicy

func (c *Controller) UserPolicy(userID string) (*api.UserPolicy, error)

func (*Controller) UserSetAdmin

func (c *Controller) UserSetAdmin(userID string) error

func (*Controller) UserSetHidden

func (c *Controller) UserSetHidden(userID string) error

func (*Controller) UserUnsetAdmin

func (c *Controller) UserUnsetAdmin(userID string) error

func (*Controller) UserUnsetHidden

func (c *Controller) UserUnsetHidden(userID string) error

type NameID added in v0.4.0

type NameID struct {
	Name string
	ID   string
}

Jump to

Keyboard shortcuts

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