Documentation ¶
Index ¶
- Constants
- type ComponentFilter
- func (f *ComponentFilter) InitFromProtocol(ctx context.Context, c *cptype.Component, gs *cptype.GlobalStateData) error
- func (f *ComponentFilter) Render(ctx context.Context, c *cptype.Component, scenario cptype.Scenario, ...) error
- func (f *ComponentFilter) SetToProtocolComponent(c *cptype.Component) error
- type FrontendConditions
- type State
Constants ¶
View Source
const OperationKeyFilter filter.OperationKey = "filter"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentFilter ¶
type ComponentFilter struct { filter.CommonFilter State State `json:"state,omitempty"` // InParams InParams `json:"-"` base.DefaultProvider // contains filtered or unexported fields }
func (*ComponentFilter) InitFromProtocol ¶
func (f *ComponentFilter) InitFromProtocol(ctx context.Context, c *cptype.Component, gs *cptype.GlobalStateData) error
func (*ComponentFilter) Render ¶
func (f *ComponentFilter) Render(ctx context.Context, c *cptype.Component, scenario cptype.Scenario, event cptype.ComponentEvent, gs *cptype.GlobalStateData) error
func (*ComponentFilter) SetToProtocolComponent ¶
func (f *ComponentFilter) SetToProtocolComponent(c *cptype.Component) error
type FrontendConditions ¶
type FrontendConditions struct {
Title string `json:"title,omitempty"`
}
type State ¶
type State struct { Base64UrlQueryParams string `json:"inputFilter__urlQuery,omitempty"` FrontendConditionProps []filter.PropCondition `json:"conditions,omitempty"` FrontendConditionValues FrontendConditions `json:"values,omitempty"` }
Click to show internal directories.
Click to hide internal directories.