pod

package
v1.9.24 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: Unlicense Imports: 4 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Field

type Field struct {
	Datatype    string   `json:"datatype"`
	Description string   `json:"help"`
	Featured    string   `json:"featured"`
	Group       string   `json:"group"`
	Hooks       string   `json:"hooks"`
	Label       string   `json:"label"`
	Model       string   `json:"model"`
	Options     []string `json:"options"`
	Restart     string   `json:"restart"`
	Slug        string   `json:"slug"`
	Type        string   `json:"type"`
	Widget      string   `json:"inputType"`
}

type Fields added in v0.4.14

type Fields []Field

func (Fields) Len added in v0.4.14

func (f Fields) Len() int

func (Fields) Less added in v0.4.14

func (f Fields) Less(i, j int) bool

func (Fields) Swap added in v0.4.14

func (f Fields) Swap(i, j int)

type Group

type Group struct {
	Legend string `json:"legend"`
	Fields `json:"fields"`
}

type Groups added in v0.4.14

type Groups []Group

type Schema

type Schema struct {
	Groups Groups `json:"groups"`
}

func GetConfigSchema

func GetConfigSchema(cfg *podcfg.Config) Schema

GetConfigSchema returns a schema for a given config

Jump to

Keyboard shortcuts

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