params

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: MIT Imports: 6 Imported by: 0

README

params

Package params is a thread-safe map data structure used as a key-value store for all nodes in cy's node tree.

Documentation

Overview

Code generated by gen.go; DO NOT EDIT.

Index

Constants

View Source
const (
	ParamAnimate                  = "animate"
	ParamAnimations               = "animations"
	ParamColorError               = "color-error"
	ParamColorInfo                = "color-info"
	ParamColorMap                 = "color-map"
	ParamColorWarn                = "color-warn"
	ParamDataDirectory            = "data-directory"
	ParamDefaultFrame             = "default-frame"
	ParamDefaultShell             = "default-shell"
	ParamInputFindActiveBg        = "input-find-active-bg"
	ParamInputFindActiveFg        = "input-find-active-fg"
	ParamInputFindInactiveBg      = "input-find-inactive-bg"
	ParamInputFindInactiveFg      = "input-find-inactive-fg"
	ParamInputPreviewBorder       = "input-preview-border"
	ParamInputPreviewBorderFg     = "input-preview-border-fg"
	ParamInputPromptBg            = "input-prompt-bg"
	ParamInputPromptFg            = "input-prompt-fg"
	ParamNumSearchWorkers         = "num-search-workers"
	ParamRemovePaneOnExit         = "remove-pane-on-exit"
	ParamReplayCopyBg             = "replay-copy-bg"
	ParamReplayCopyFg             = "replay-copy-fg"
	ParamReplayIncrementalBg      = "replay-incremental-bg"
	ParamReplayIncrementalFg      = "replay-incremental-fg"
	ParamReplayMatchActiveBg      = "replay-match-active-bg"
	ParamReplayMatchActiveFg      = "replay-match-active-fg"
	ParamReplayMatchInactiveBg    = "replay-match-inactive-bg"
	ParamReplayMatchInactiveFg    = "replay-match-inactive-fg"
	ParamReplayPlayBg             = "replay-play-bg"
	ParamReplayPlayFg             = "replay-play-fg"
	ParamReplaySelectionBg        = "replay-selection-bg"
	ParamReplaySelectionFg        = "replay-selection-fg"
	ParamReplayStatusBarBg        = "replay-status-bar-bg"
	ParamReplayStatusBarFg        = "replay-status-bar-fg"
	ParamReplayTextCopyMode       = "replay-text-copy-mode"
	ParamReplayTextPlayMode       = "replay-text-play-mode"
	ParamReplayTextTimeMode       = "replay-text-time-mode"
	ParamReplayTextVisualMode     = "replay-text-visual-mode"
	ParamReplayTimeBg             = "replay-time-bg"
	ParamReplayTimeFg             = "replay-time-fg"
	ParamReplayVisualBg           = "replay-visual-bg"
	ParamReplayVisualFg           = "replay-visual-fg"
	ParamSearchStatusBarBg        = "search-status-bar-bg"
	ParamSearchStatusBarFg        = "search-status-bar-fg"
	ParamSearchTextNoMatchesFound = "search-text-no-matches-found"
	ParamSearchTextSearching      = "search-text-searching"
	ParamSkipInput                = "---skip-input"
	ParamTerminalTextExited       = "terminal-text-exited"
	ParamTimestampFormat          = "timestamp-format"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultParam added in v0.2.0

type DefaultParam struct {
	Name      string
	Docstring string
	Default   interface{}
}

func DefaultParams added in v0.2.0

func DefaultParams() []DefaultParam

type Parameters

type Parameters struct {
	deadlock.RWMutex
	// contains filtered or unexported fields
}

func New

func New() *Parameters

func (*Parameters) Animate added in v0.2.0

func (p *Parameters) Animate() bool

func (*Parameters) Animations added in v0.2.0

func (p *Parameters) Animations() []string

func (*Parameters) ColorError added in v0.12.0

func (p *Parameters) ColorError() *style.Color

func (*Parameters) ColorInfo added in v0.12.0

func (p *Parameters) ColorInfo() *style.Color

func (*Parameters) ColorMap added in v1.0.0

func (p *Parameters) ColorMap() *style.ColorMap

func (*Parameters) ColorWarn added in v0.12.0

func (p *Parameters) ColorWarn() *style.Color

func (*Parameters) DataDirectory added in v0.2.0

func (p *Parameters) DataDirectory() string

func (*Parameters) DefaultFrame added in v0.2.0

func (p *Parameters) DefaultFrame() string

func (*Parameters) DefaultShell added in v0.2.0

func (p *Parameters) DefaultShell() string

func (*Parameters) Get

func (p *Parameters) Get(key string) (value interface{}, ok bool)

func (*Parameters) InputFindActiveBg added in v0.12.0

func (p *Parameters) InputFindActiveBg() *style.Color

func (*Parameters) InputFindActiveFg added in v0.12.0

func (p *Parameters) InputFindActiveFg() *style.Color

func (*Parameters) InputFindInactiveBg added in v0.12.0

func (p *Parameters) InputFindInactiveBg() *style.Color

func (*Parameters) InputFindInactiveFg added in v0.12.0

func (p *Parameters) InputFindInactiveFg() *style.Color

func (*Parameters) InputPreviewBorder added in v0.12.0

func (p *Parameters) InputPreviewBorder() *style.Border

func (*Parameters) InputPreviewBorderFg added in v0.12.0

func (p *Parameters) InputPreviewBorderFg() *style.Color

func (*Parameters) InputPromptBg added in v0.12.0

func (p *Parameters) InputPromptBg() *style.Color

func (*Parameters) InputPromptFg added in v0.12.0

func (p *Parameters) InputPromptFg() *style.Color

func (*Parameters) NewChild

func (p *Parameters) NewChild() *Parameters

func (*Parameters) NumSearchWorkers added in v0.10.0

func (p *Parameters) NumSearchWorkers() int

func (*Parameters) RemovePaneOnExit added in v0.4.0

func (p *Parameters) RemovePaneOnExit() bool

func (*Parameters) ReplayCopyBg added in v0.12.0

func (p *Parameters) ReplayCopyBg() *style.Color

func (*Parameters) ReplayCopyFg added in v0.12.0

func (p *Parameters) ReplayCopyFg() *style.Color

func (*Parameters) ReplayIncrementalBg added in v0.12.0

func (p *Parameters) ReplayIncrementalBg() *style.Color

func (*Parameters) ReplayIncrementalFg added in v0.12.0

func (p *Parameters) ReplayIncrementalFg() *style.Color

func (*Parameters) ReplayMatchActiveBg added in v0.12.0

func (p *Parameters) ReplayMatchActiveBg() *style.Color

func (*Parameters) ReplayMatchActiveFg added in v0.12.0

func (p *Parameters) ReplayMatchActiveFg() *style.Color

func (*Parameters) ReplayMatchInactiveBg added in v0.12.0

func (p *Parameters) ReplayMatchInactiveBg() *style.Color

func (*Parameters) ReplayMatchInactiveFg added in v0.12.0

func (p *Parameters) ReplayMatchInactiveFg() *style.Color

func (*Parameters) ReplayPlayBg added in v0.12.0

func (p *Parameters) ReplayPlayBg() *style.Color

func (*Parameters) ReplayPlayFg added in v0.12.0

func (p *Parameters) ReplayPlayFg() *style.Color

func (*Parameters) ReplaySelectionBg added in v0.12.0

func (p *Parameters) ReplaySelectionBg() *style.Color

func (*Parameters) ReplaySelectionFg added in v0.12.0

func (p *Parameters) ReplaySelectionFg() *style.Color

func (*Parameters) ReplayStatusBarBg added in v0.12.0

func (p *Parameters) ReplayStatusBarBg() *style.Color

func (*Parameters) ReplayStatusBarFg added in v0.12.0

func (p *Parameters) ReplayStatusBarFg() *style.Color

func (*Parameters) ReplayTextCopyMode added in v0.12.0

func (p *Parameters) ReplayTextCopyMode() string

func (*Parameters) ReplayTextPlayMode added in v0.12.0

func (p *Parameters) ReplayTextPlayMode() string

func (*Parameters) ReplayTextTimeMode added in v0.12.0

func (p *Parameters) ReplayTextTimeMode() string

func (*Parameters) ReplayTextVisualMode added in v0.12.0

func (p *Parameters) ReplayTextVisualMode() string

func (*Parameters) ReplayTimeBg added in v0.12.0

func (p *Parameters) ReplayTimeBg() *style.Color

func (*Parameters) ReplayTimeFg added in v0.12.0

func (p *Parameters) ReplayTimeFg() *style.Color

func (*Parameters) ReplayVisualBg added in v0.12.0

func (p *Parameters) ReplayVisualBg() *style.Color

func (*Parameters) ReplayVisualFg added in v0.12.0

func (p *Parameters) ReplayVisualFg() *style.Color

func (*Parameters) SearchStatusBarBg added in v0.12.0

func (p *Parameters) SearchStatusBarBg() *style.Color

func (*Parameters) SearchStatusBarFg added in v0.12.0

func (p *Parameters) SearchStatusBarFg() *style.Color

func (*Parameters) SearchTextNoMatchesFound added in v0.12.0

func (p *Parameters) SearchTextNoMatchesFound() string

func (*Parameters) SearchTextSearching added in v0.12.0

func (p *Parameters) SearchTextSearching() string

func (*Parameters) Set

func (p *Parameters) Set(key string, value interface{}) error

func (*Parameters) SetAnimate added in v0.2.0

func (p *Parameters) SetAnimate(value bool)

func (*Parameters) SetAnimations added in v0.2.0

func (p *Parameters) SetAnimations(value []string)

func (*Parameters) SetColorError added in v0.12.0

func (p *Parameters) SetColorError(value *style.Color)

func (*Parameters) SetColorInfo added in v0.12.0

func (p *Parameters) SetColorInfo(value *style.Color)

func (*Parameters) SetColorMap added in v1.0.0

func (p *Parameters) SetColorMap(value *style.ColorMap)

func (*Parameters) SetColorWarn added in v0.12.0

func (p *Parameters) SetColorWarn(value *style.Color)

func (*Parameters) SetDataDirectory added in v0.2.0

func (p *Parameters) SetDataDirectory(value string)

func (*Parameters) SetDefaultFrame added in v0.2.0

func (p *Parameters) SetDefaultFrame(value string)

func (*Parameters) SetDefaultShell added in v0.2.0

func (p *Parameters) SetDefaultShell(value string)

func (*Parameters) SetInputFindActiveBg added in v0.12.0

func (p *Parameters) SetInputFindActiveBg(value *style.Color)

func (*Parameters) SetInputFindActiveFg added in v0.12.0

func (p *Parameters) SetInputFindActiveFg(value *style.Color)

func (*Parameters) SetInputFindInactiveBg added in v0.12.0

func (p *Parameters) SetInputFindInactiveBg(value *style.Color)

func (*Parameters) SetInputFindInactiveFg added in v0.12.0

func (p *Parameters) SetInputFindInactiveFg(value *style.Color)

func (*Parameters) SetInputPreviewBorder added in v0.12.0

func (p *Parameters) SetInputPreviewBorder(value *style.Border)

func (*Parameters) SetInputPreviewBorderFg added in v0.12.0

func (p *Parameters) SetInputPreviewBorderFg(value *style.Color)

func (*Parameters) SetInputPromptBg added in v0.12.0

func (p *Parameters) SetInputPromptBg(value *style.Color)

func (*Parameters) SetInputPromptFg added in v0.12.0

func (p *Parameters) SetInputPromptFg(value *style.Color)

func (*Parameters) SetNumSearchWorkers added in v0.10.0

func (p *Parameters) SetNumSearchWorkers(value int)

func (*Parameters) SetParent

func (p *Parameters) SetParent(parent *Parameters)

func (*Parameters) SetRemovePaneOnExit added in v0.4.0

func (p *Parameters) SetRemovePaneOnExit(value bool)

func (*Parameters) SetReplayCopyBg added in v0.12.0

func (p *Parameters) SetReplayCopyBg(value *style.Color)

func (*Parameters) SetReplayCopyFg added in v0.12.0

func (p *Parameters) SetReplayCopyFg(value *style.Color)

func (*Parameters) SetReplayIncrementalBg added in v0.12.0

func (p *Parameters) SetReplayIncrementalBg(value *style.Color)

func (*Parameters) SetReplayIncrementalFg added in v0.12.0

func (p *Parameters) SetReplayIncrementalFg(value *style.Color)

func (*Parameters) SetReplayMatchActiveBg added in v0.12.0

func (p *Parameters) SetReplayMatchActiveBg(value *style.Color)

func (*Parameters) SetReplayMatchActiveFg added in v0.12.0

func (p *Parameters) SetReplayMatchActiveFg(value *style.Color)

func (*Parameters) SetReplayMatchInactiveBg added in v0.12.0

func (p *Parameters) SetReplayMatchInactiveBg(value *style.Color)

func (*Parameters) SetReplayMatchInactiveFg added in v0.12.0

func (p *Parameters) SetReplayMatchInactiveFg(value *style.Color)

func (*Parameters) SetReplayPlayBg added in v0.12.0

func (p *Parameters) SetReplayPlayBg(value *style.Color)

func (*Parameters) SetReplayPlayFg added in v0.12.0

func (p *Parameters) SetReplayPlayFg(value *style.Color)

func (*Parameters) SetReplaySelectionBg added in v0.12.0

func (p *Parameters) SetReplaySelectionBg(value *style.Color)

func (*Parameters) SetReplaySelectionFg added in v0.12.0

func (p *Parameters) SetReplaySelectionFg(value *style.Color)

func (*Parameters) SetReplayStatusBarBg added in v0.12.0

func (p *Parameters) SetReplayStatusBarBg(value *style.Color)

func (*Parameters) SetReplayStatusBarFg added in v0.12.0

func (p *Parameters) SetReplayStatusBarFg(value *style.Color)

func (*Parameters) SetReplayTextCopyMode added in v0.12.0

func (p *Parameters) SetReplayTextCopyMode(value string)

func (*Parameters) SetReplayTextPlayMode added in v0.12.0

func (p *Parameters) SetReplayTextPlayMode(value string)

func (*Parameters) SetReplayTextTimeMode added in v0.12.0

func (p *Parameters) SetReplayTextTimeMode(value string)

func (*Parameters) SetReplayTextVisualMode added in v0.12.0

func (p *Parameters) SetReplayTextVisualMode(value string)

func (*Parameters) SetReplayTimeBg added in v0.12.0

func (p *Parameters) SetReplayTimeBg(value *style.Color)

func (*Parameters) SetReplayTimeFg added in v0.12.0

func (p *Parameters) SetReplayTimeFg(value *style.Color)

func (*Parameters) SetReplayVisualBg added in v0.12.0

func (p *Parameters) SetReplayVisualBg(value *style.Color)

func (*Parameters) SetReplayVisualFg added in v0.12.0

func (p *Parameters) SetReplayVisualFg(value *style.Color)

func (*Parameters) SetSearchStatusBarBg added in v0.12.0

func (p *Parameters) SetSearchStatusBarBg(value *style.Color)

func (*Parameters) SetSearchStatusBarFg added in v0.12.0

func (p *Parameters) SetSearchStatusBarFg(value *style.Color)

func (*Parameters) SetSearchTextNoMatchesFound added in v0.12.0

func (p *Parameters) SetSearchTextNoMatchesFound(value string)

func (*Parameters) SetSearchTextSearching added in v0.12.0

func (p *Parameters) SetSearchTextSearching(value string)

func (*Parameters) SetSkipInput added in v0.2.0

func (p *Parameters) SetSkipInput(value bool)

func (*Parameters) SetTerminalTextExited added in v0.12.0

func (p *Parameters) SetTerminalTextExited(value string)

func (*Parameters) SetTimestampFormat added in v0.12.0

func (p *Parameters) SetTimestampFormat(value string)

func (*Parameters) SkipInput added in v0.2.0

func (p *Parameters) SkipInput() bool

func (*Parameters) TerminalTextExited added in v0.12.0

func (p *Parameters) TerminalTextExited() string

func (*Parameters) TimestampFormat added in v0.12.0

func (p *Parameters) TimestampFormat() string

Jump to

Keyboard shortcuts

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