Documentation ¶
Index ¶
- type ActionFormatterGetter
- type ActionHrefFormatterGetter
- type AppConfigurator
- type ClassFormatterGetter
- type CommonConfigurator
- type CommonConfiguratorGetter
- type ComputedPropertiesGetter
- type DehydratedImagesConfigurator
- type DehydratedImagesConfiguratorGetter
- type DigestPropertiesGetter
- type Footer
- type Formatter
- type FormatterConfigurator
- type FormatterConfiguratorGetter
- type Group
- type Header
- type HiddenLabelsGetter
- type HiddenPropertiesGetter
- type HrefFormatterGetter
- type IconsGetter
- type ImagePathGetter
- type ImagePropertyGetter
- type Item
- type ItemConfigurator
- type ItemConfiguratorGetter
- type ItemDehydratedImagePropertyGetter
- type ItemPathGetter
- type LabelFormatterGetter
- type LabelsGetter
- type List
- type ListConfigurator
- type ListConfiguratorGetter
- type ListDehydratedImagePropertyGetter
- type ListItem
- type Navigation
- type Page
- type PageGetter
- type PropertiesGetter
- type PropertyEditor
- type PropertyTitlesGetter
- type ScopeQueriesGetter
- type ScopesGetter
- type Search
- type SearchConfigurator
- type SearchConfiguratorGetter
- type Section
- type SectionTitlesGetter
- type SectionsGetter
- type TitleFormatterGetter
- type TitlePropertyGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionFormatterGetter ¶ added in v0.1.33
type ActionFormatterGetter interface {
GetActionFormatter() Formatter
}
type ActionHrefFormatterGetter ¶ added in v0.1.35
type ActionHrefFormatterGetter interface {
GetActionHrefFormatter() Formatter
}
type AppConfigurator ¶ added in v0.1.52
type AppConfigurator interface { PageGetter CommonConfiguratorGetter ListConfiguratorGetter ItemConfiguratorGetter FormatterConfiguratorGetter SearchConfiguratorGetter DehydratedImagesConfiguratorGetter }
type ClassFormatterGetter ¶ added in v0.1.30
type ClassFormatterGetter interface {
GetClassFormatter() Formatter
}
type CommonConfigurator ¶ added in v0.1.52
type CommonConfigurator interface { LabelsGetter HiddenLabelsGetter IconsGetter TitlePropertyGetter PropertyTitlesGetter SectionTitlesGetter }
type CommonConfiguratorGetter ¶ added in v0.1.52
type CommonConfiguratorGetter interface {
GetCommonConfigurator() CommonConfigurator
}
type ComputedPropertiesGetter ¶ added in v0.1.32
type ComputedPropertiesGetter interface {
GetComputedProperties() []string
}
type DehydratedImagesConfigurator ¶ added in v0.1.52
type DehydratedImagesConfigurator interface { ListDehydratedImagePropertyGetter ItemDehydratedImagePropertyGetter }
type DehydratedImagesConfiguratorGetter ¶ added in v0.1.52
type DehydratedImagesConfiguratorGetter interface {
GetDehydratedImagesConfigurator() DehydratedImagesConfigurator
}
type DigestPropertiesGetter ¶ added in v0.1.44
type DigestPropertiesGetter interface {
GetDigestProperties() []string
}
type FormatterConfigurator ¶ added in v0.1.52
type FormatterConfigurator interface { LabelFormatterGetter TitleFormatterGetter HrefFormatterGetter ClassFormatterGetter ActionFormatterGetter ActionHrefFormatterGetter }
type FormatterConfiguratorGetter ¶ added in v0.1.52
type FormatterConfiguratorGetter interface {
GetFormatterConfigurator() FormatterConfigurator
}
type Group ¶ added in v0.1.9
type HiddenLabelsGetter ¶ added in v0.1.33
type HiddenLabelsGetter interface {
GetHiddenLabels() []string
}
type HiddenPropertiesGetter ¶ added in v0.1.33
type HiddenPropertiesGetter interface {
GetHiddenProperties() []string
}
type HrefFormatterGetter ¶ added in v0.1.30
type HrefFormatterGetter interface {
GetHrefFormatter() Formatter
}
type IconsGetter ¶ added in v0.1.27
type IconsGetter interface {
GetIcons() []string
}
type ImagePathGetter ¶ added in v0.1.30
type ImagePathGetter interface {
GetImagePath() string
}
type ImagePropertyGetter ¶ added in v0.1.30
type ImagePropertyGetter interface {
GetImageProperty() string
}
type Item ¶
type Item struct { *Page Id string Title string Labels []string HiddenLabels []string LabelValues map[string]string ImagePath string DehydratedImageProperty string ImageProperty string TitleProperty string HiddenProperties []string // Text properties Properties map[string]map[string]string PropertyOrder []string PropertyTitles map[string]string PropertyClasses map[string]string PropertyActions map[string]map[string]string // Icons Icons []string // Sections Sections []string HasSections []string SectionTitles map[string]string }
func NewItem ¶
func NewItem( acp AppConfigurator, id string, hasSections []string, rdx kvas.ReadableRedux) (*Item, error)
type ItemConfigurator ¶ added in v0.1.52
type ItemConfigurator interface { PropertiesGetter ComputedPropertiesGetter HiddenPropertiesGetter ImagePropertyGetter ImagePathGetter SectionsGetter }
type ItemConfiguratorGetter ¶ added in v0.1.52
type ItemConfiguratorGetter interface {
GetItemConfigurator() ItemConfigurator
}
type ItemDehydratedImagePropertyGetter ¶ added in v0.1.53
type ItemDehydratedImagePropertyGetter interface {
GetItemDehydratedImageProperty() string
}
type ItemPathGetter ¶ added in v0.1.30
type ItemPathGetter interface {
GetItemPath() string
}
type LabelFormatterGetter ¶ added in v0.1.34
type LabelFormatterGetter interface {
GetLabelFormatter() Formatter
}
type LabelsGetter ¶ added in v0.1.27
type LabelsGetter interface {
GetLabels() []string
}
type List ¶
type ListConfigurator ¶ added in v0.1.52
type ListConfigurator interface { PropertiesGetter HiddenPropertiesGetter ImagePropertyGetter ImagePathGetter ItemPathGetter }
type ListConfiguratorGetter ¶ added in v0.1.52
type ListConfiguratorGetter interface {
GetListConfigurator() ListConfigurator
}
type ListDehydratedImagePropertyGetter ¶ added in v0.1.53
type ListDehydratedImagePropertyGetter interface {
GetListDehydratedImageProperty() string
}
type Navigation ¶ added in v0.1.1
type Navigation struct {}
type Page ¶ added in v0.1.2
func NewPage ¶ added in v0.1.36
func NewPage(acp AppConfigurator, id, content string) *Page
type PageGetter ¶ added in v0.1.27
type PageGetter interface {
GetPage() *Page
}
type PropertiesGetter ¶ added in v0.1.30
type PropertiesGetter interface {
GetProperties() []string
}
type PropertyEditor ¶ added in v0.1.39
type PropertyEditor struct { *Page Id string Title string PropertyTitle string Condition bool ConditionalMessage string SelectedValues map[string]bool AllValues map[string]string AllowNewValues bool ApplyEndpoint string }
func NewPropertyEditor ¶ added in v0.1.39
type PropertyTitlesGetter ¶ added in v0.1.27
type ScopeQueriesGetter ¶ added in v0.1.30
type ScopesGetter ¶ added in v0.1.30
type ScopesGetter interface {
GetScopes() []string
}
type Search ¶
type SearchConfigurator ¶ added in v0.1.52
type SearchConfigurator interface { PropertiesGetter DigestPropertiesGetter ScopesGetter ScopeQueriesGetter }
type SearchConfiguratorGetter ¶ added in v0.1.52
type SearchConfiguratorGetter interface {
GetSearchConfigurator() SearchConfigurator
}
type Section ¶ added in v0.1.6
func NewSection ¶ added in v0.1.6
type SectionTitlesGetter ¶ added in v0.1.27
type SectionsGetter ¶ added in v0.1.30
type SectionsGetter interface {
GetSections() []string
}
type TitleFormatterGetter ¶ added in v0.1.30
type TitleFormatterGetter interface {
GetTitleFormatter() Formatter
}
type TitlePropertyGetter ¶ added in v0.1.27
type TitlePropertyGetter interface {
GetTitleProperty() string
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.