suit

package
v0.0.0-...-cb7d559 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionList

type ActionList struct {
	Title           string
	Subtitle        string
	Name            string
	Options         []ActionListOption
	PrimaryAction   Typed
	SecondaryAction Typed
}

type ActionListOption

type ActionListOption struct {
	Title    string
	Subtitle string
	Value    string
}

type Alert

type Alert struct {
	Title        string
	Subtitle     string
	DisplayClass string
	DisplayIcon  string
}

type AutomaticAction

type AutomaticAction struct {
	Name  string
	Delay int
}

type CloseAction

type CloseAction struct {
	Label string
}

type ConfigurationScreen

type ConfigurationScreen struct {
	Title        string
	Subtitle     string
	DisplayIcon  string
	Sections     []Section
	Actions      []Typed
	AddToHistory bool
}

func (*ConfigurationScreen) MarshalJSON

func (o *ConfigurationScreen) MarshalJSON() ([]byte, error)

func (*ConfigurationScreen) UnmarshalJSON

func (o *ConfigurationScreen) UnmarshalJSON(bytes []byte) error

type InputHidden

type InputHidden struct {
	Name  string
	Value string
}

type InputText

type InputText struct {
	Title       string
	Subtitle    string
	Before      string
	After       string
	Placeholder string
	Name        string
	Value       interface{}
	InputType   string
	Minimum     *int
	Maximum     *int
}

type InputTime

type InputTime struct {
	Title    string
	Subtitle string
	Before   string
	After    string
	Name     string
	Value    string
}

type InputTimeRange

type InputTimeRange struct {
	Title    string
	Subtitle string
	Name     string
	Value    TimeRange
}

type OptionGroup

type OptionGroup struct {
	Title          string
	Subtitle       string
	Name           string
	MinimumChoices int
	MaximumChoices int
	Options        []OptionGroupOption
}

type OptionGroupOption

type OptionGroupOption struct {
	Title    string
	Subtitle string
	Value    string
	Selected bool
}

type ProgressBar

type ProgressBar struct {
	Title        string
	Subtitle     string
	Label        string
	Progress     int /* percentage */
	DisplayClass string
	DisplayIcon  string
}

type RadioGroup

type RadioGroup struct {
	Title    string
	Subtitle string
	Name     string
	Value    string
	Options  []RadioGroupOption
	Vertical bool
}

type RadioGroupOption

type RadioGroupOption struct {
	Title       string
	Value       string
	DisplayIcon string
}

type ReplyAction

type ReplyAction struct {
	Label        string
	Name         string
	DisplayClass string
	DisplayIcon  string
}

func (*ReplyAction) MarshalJSON

func (o *ReplyAction) MarshalJSON() ([]byte, error)

type Section

type Section struct {
	Title       string
	Subtitle    string
	DisplayIcon string
	Contents    []Typed
	Well        bool
}

type Separator

type Separator struct {
}

type StaticText

type StaticText struct {
	Title    string
	Subtitle string
	Before   string
	After    string
	Value    string
}

type TimeRange

type TimeRange struct {
	From string `json:"from"`
	To   string `json:"to"`
}

type Typed

type Typed interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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