Documentation
¶
Overview ¶
Package Step encapsulates the DATA required for each pipeline step in the builder. This package does not contain any building functions (that's in /build) but these objects know how to parse and "compile" raw data into the arguments required to execute each step.
Index ¶
- func FuncMap() template.FuncMap
- func StepDeleteSchema() schema.Element
- func StepEditContentSchema() schema.Element
- func StepSaveSchema() schema.Element
- type AddModelObject
- type AddStream
- type AsConfirmation
- type AsModal
- type AsTooltip
- type CacheURL
- type Delete
- type DeleteArchive
- type DeleteAttachments
- type Do
- type Dump
- type EditConnection
- type EditContent
- type EditModelObject
- type EditRegistration
- type EditTemplate
- type EditWidget
- type ForwardTo
- type GetArchive
- type Halt
- type IfCondition
- type InlineError
- type InlineSaveButton
- type InlineSuccess
- type MakeArchive
- type ModelRequirer
- type ProcessContent
- type ProcessTags
- type RedirectTo
- type RefreshPage
- type ReloadPage
- type RemoveEvent
- type Save
- type SaveAndPublish
- type SearchIndex
- type SendEmail
- type SetData
- type SetHeader
- type SetPassword
- type SetQueryParam
- type SetRenderData
- type SetResponse
- type SetSimpleSharing
- type SetState
- type SetThumbnail
- type Sleep
- type Sort
- type SortAttachments
- type SortWidgets
- type Step
- type StreamPromoteDraft
- type TableEditor
- type TriggerEvent
- type TypeRequirer
- type UnPublish
- type UploadAttachments
- type ViewCSS
- type ViewFeed
- type ViewHTML
- type ViewJSONLD
- type WebSub
- type WithAttachment
- type WithChildren
- type WithDraft
- type WithFolder
- type WithFollower
- type WithFollowing
- type WithMessage
- type WithNextSibling
- type WithParent
- type WithPrevSibling
- type WithResponse
- type WithRule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StepDeleteSchema ¶ added in v0.7.0
StepDeleteSchema returns a validating schema for the EditContent step
func StepEditContentSchema ¶ added in v0.7.0
StepEditContentSchema returns a validating schema for the EditContent step
func StepSaveSchema ¶ added in v0.7.0
StepSaveSchema returns a validating schema for the EditContent step
Types ¶
type AddModelObject ¶
AddModelObject is an action that can add new model objects of any type
func NewAddModelObject ¶
func NewAddModelObject(stepInfo mapof.Any) (AddModelObject, error)
NewAddModelObject returns a fully initialized AddModelObject record
func (AddModelObject) AmStep ¶
func (step AddModelObject) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type AddStream ¶ added in v0.6.0
type AddStream struct { Style string // Style of input widget to use. Options are: "chooser", "modal", and "inline". Defaults to "chooser". Title string // Title to use on the create modal. Defaults to "Add a Stream" Location string // Options are: "top", "child", "outbox". Defaults to "child". TemplateID string // ID of the template to use. If empty, then template roles are used. TemplateRoles []string // List of acceptable Template Roles that can be used to make a stream. If empty, then all template for this container are valid. WithData map[string]*template.Template // Map of values to preset in the new stream }
AddStream is an action that can add new sub-streams to the domain.
Uses: Display a pop-up to choose a template and create a new stream Embed a custom "create" widget into the current page - possibly selecting between multiple templates Create a new stream using a specific template as a part of a larger pipeline
func NewAddStream ¶ added in v0.6.0
NewAddStream returns a fully initialized AddStream record
type AsConfirmation ¶
AsConfirmation displays a confirmation dialog on GET, giving users an option to continue or not
func NewAsConfirmation ¶
func NewAsConfirmation(stepInfo mapof.Any) (AsConfirmation, error)
NewAsConfirmation returns a fully initialized AsConfirmation object
func (AsConfirmation) AmStep ¶
func (step AsConfirmation) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type AsModal ¶
AsModal is a Step that can update the data.DataMap custom data stored in a Stream
func NewAsModal ¶
NewAsModal returns a fully initialized AsModal object
type AsTooltip ¶ added in v0.6.0
type AsTooltip struct {
SubSteps []Step
}
AsTooltip is a Step that can update the data.DataMap custom data stored in a Stream
func NewAsTooltip ¶ added in v0.6.0
NewAsTooltip returns a fully initialized AsTooltip object
type CacheURL ¶ added in v0.7.0
type CacheURL struct {
CacheControl string
}
CacheURL is an action that can add new model objects of any type
func NewCacheURL ¶ added in v0.7.0
NewCacheURL returns a fully initialized CacheURL record
type Delete ¶
type Delete struct { Title *template.Template Message *template.Template Submit string Method string }
Delete is a Step that can delete a Stream from the Domain
type DeleteArchive ¶ added in v0.7.0
type DeleteArchive struct {
Token string
}
DeleteArchive is a Step that removes a named archive from a Stream
func NewDeleteArchive ¶ added in v0.7.0
func NewDeleteArchive(stepInfo mapof.Any) (DeleteArchive, error)
NewDeleteArchive returns a fully initialized DeleteArchive object
func (DeleteArchive) AmStep ¶ added in v0.7.0
func (step DeleteArchive) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type DeleteAttachments ¶
type DeleteAttachments struct { All bool // If TRUE, then ALL ATTACHMENTS for this object will be deleted. Field string // If set, the the attachment named by this property will be deleted. (If zero, then NOOP) Category string // If set, then all attachments from a specified group are deleted. }
DeleteAttachments represents an action that removes one or more attachments from an object. The filter criteria in this step is further narrowed by the "attachmentId" query parameter, if present.
func NewDeleteAttachments ¶
func NewDeleteAttachments(stepInfo mapof.Any) (DeleteAttachments, error)
NewDeleteAttachments returns a fully parsed DeleteAttachments object
func (DeleteAttachments) AmStep ¶
func (step DeleteAttachments) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type Do ¶ added in v0.6.0
type Do struct {
Action string
}
Do is a Step that calls anoter action to continue processing
type Dump ¶ added in v0.7.0
Dump is a Step that can update the data.DataMap custom data stored in a Stream
type EditConnection ¶
type EditConnection struct{}
EditConnection contains the configuration data for a modal that lets administrators manage connections to external servers.
func NewEditConnection ¶
func NewEditConnection(stepInfo mapof.Any) (EditConnection, error)
func (EditConnection) AmStep ¶
func (step EditConnection) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type EditContent ¶
EditContent is a Step that can edit/update Container in a streamDraft.
func NewEditContent ¶
func NewEditContent(stepInfo mapof.Any) (EditContent, error)
func (EditContent) AmStep ¶
func (step EditContent) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type EditModelObject ¶
EditModelObject is an action that can add new sub-streams to the domain.
func NewEditModelObject ¶
func NewEditModelObject(stepInfo mapof.Any) (EditModelObject, error)
NewEditModelObject returns a fully initialized EditModelObject record
func (EditModelObject) AmStep ¶
func (step EditModelObject) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type EditRegistration ¶ added in v0.7.0
type EditRegistration struct{}
EditRegistration is a Step that locates an existing widget and creates a builder for it.
func NewEditRegistration ¶ added in v0.7.0
func NewEditRegistration(stepInfo mapof.Any) (EditRegistration, error)
NewEditRegistration returns a fully initialized EditRegistration object
func (EditRegistration) AmStep ¶ added in v0.7.0
func (step EditRegistration) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
func (EditRegistration) RequireType ¶ added in v0.7.0
func (step EditRegistration) RequireType() string
type EditTemplate ¶ added in v0.7.0
EditTemplate is a Step that lets users edit an object's template(s)
func NewEditTemplate ¶ added in v0.7.0
func NewEditTemplate(stepInfo mapof.Any) (EditTemplate, error)
func (EditTemplate) AmStep ¶ added in v0.7.0
func (step EditTemplate) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type EditWidget ¶ added in v0.6.0
type EditWidget struct{}
EditWidget is a Step that locates an existing widget and creates a builder for it.
func NewEditWidget ¶ added in v0.6.0
func NewEditWidget(stepInfo mapof.Any) (EditWidget, error)
NewEditWidget returns a fully initialized EditWidget object
func (EditWidget) AmStep ¶ added in v0.6.0
func (step EditWidget) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type ForwardTo ¶
ForwardTo is a Step that forwards the user to a new page.
func NewForwardTo ¶
NewForwardTo returns a fully initialized ForwardTo object
type GetArchive ¶ added in v0.7.0
type GetArchive struct { Token string Depth int JSON bool Attachments bool Metadata [][]map[string]any }
GetArchive is a Step that removes a named archive from a Stream
func NewGetArchive ¶ added in v0.7.0
func NewGetArchive(stepInfo mapof.Any) (GetArchive, error)
NewGetArchive returns a fully initialized GetArchive object
func (GetArchive) AmStep ¶ added in v0.7.0
func (step GetArchive) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type Halt ¶ added in v0.6.0
type Halt struct{}
Halt is a Step that can update the data.DataMap custom data stored in a Stream
type IfCondition ¶
IfCondition is a Step that can update the data.DataMap custom data stored in a Stream
func NewIfCondition ¶
func NewIfCondition(stepInfo mapof.Any) (IfCondition, error)
func (IfCondition) AmStep ¶
func (step IfCondition) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type InlineError ¶ added in v0.6.0
InlineError is a Step that displays an "inline failure" message on a form
func NewInlineError ¶ added in v0.6.0
func NewInlineError(stepInfo mapof.Any) (InlineError, error)
func (InlineError) AmStep ¶ added in v0.6.0
func (step InlineError) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type InlineSaveButton ¶ added in v0.7.0
InlineSaveButton is a Step that displays an "inline success" message on a form
func NewInlineSaveButton ¶ added in v0.7.0
func NewInlineSaveButton(stepInfo mapof.Any) (InlineSaveButton, error)
func (InlineSaveButton) AmStep ¶ added in v0.7.0
func (step InlineSaveButton) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type InlineSuccess ¶ added in v0.6.0
InlineSuccess is a Step that displays an "inline success" message on a form
func NewInlineSuccess ¶ added in v0.6.0
func NewInlineSuccess(stepInfo mapof.Any) (InlineSuccess, error)
func (InlineSuccess) AmStep ¶ added in v0.6.0
func (step InlineSuccess) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type MakeArchive ¶ added in v0.7.0
type MakeArchive struct { Token string Depth int JSON bool Attachments bool Metadata [][]map[string]any }
MakeArchive is a Step that removes a named archive from a Stream
func NewMakeArchive ¶ added in v0.7.0
func NewMakeArchive(stepInfo mapof.Any) (MakeArchive, error)
NewMakeArchive returns a fully initialized MakeArchive object
func (MakeArchive) AmStep ¶ added in v0.7.0
func (step MakeArchive) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type ModelRequirer ¶ added in v0.7.0
type ModelRequirer interface {
RequireModel() string
}
ModelRequirer interface wraps the "RequireModel" method, which specifies that a step can ONLY be used with a specific type of model object. (like: "stream", "follower", "following", etc.)
type ProcessContent ¶ added in v0.6.0
ProcessContent is an action that can add new sub-streams to the domain.
func NewProcessContent ¶ added in v0.6.0
func NewProcessContent(stepInfo mapof.Any) (ProcessContent, error)
NewProcessContent returns a fully initialized ProcessContent record
func (ProcessContent) AmStep ¶ added in v0.6.0
func (step ProcessContent) AmStep()
AmStep is here to verify that this struct is a build pipeline step
type ProcessTags ¶ added in v0.7.0
type ProcessTags struct {
Paths []string
}
ProcessTags is an action that can add new sub-streams to the domain.
func NewProcessTags ¶ added in v0.7.0
func NewProcessTags(stepInfo mapof.Any) (ProcessTags, error)
NewProcessTags returns a fully initialized ProcessTags record
func (ProcessTags) AmStep ¶ added in v0.7.0
func (step ProcessTags) AmStep()
AmStep is here to verify that this struct is a build pipeline step
type RedirectTo ¶
RedirectTo is a Step that forwards the user to a new page.
func NewRedirectTo ¶
func NewRedirectTo(stepInfo mapof.Any) (RedirectTo, error)
NewRedirectTo returns a fully initialized RedirectTo object
func (RedirectTo) AmStep ¶
func (step RedirectTo) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type RefreshPage ¶
type RefreshPage struct{}
RefreshPage represents an pipeline-step that forwards the user to a new page.
func NewRefreshPage ¶
func NewRefreshPage(stepInfo mapof.Any) (RefreshPage, error)
NewRefreshPage returns a fully initialized RefreshPage object
func (RefreshPage) AmStep ¶
func (step RefreshPage) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type ReloadPage ¶
type ReloadPage struct{}
ReloadPage represents an pipeline-step that forwards the user to a new page.
func NewReloadPage ¶
func NewReloadPage(stepInfo mapof.Any) (ReloadPage, error)
NewReloadPage returns a fully initialized ReloadPage object
func (ReloadPage) AmStep ¶
func (step ReloadPage) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type RemoveEvent ¶ added in v0.6.0
type RemoveEvent struct {
Event string
}
RemoveEvent is a Step that removes an HX-Trigger event from the HTTP result
func NewRemoveEvent ¶ added in v0.6.0
func NewRemoveEvent(stepInfo mapof.Any) (RemoveEvent, error)
NewRemoveEvent returns a fully initialized RemoveEvent object
func (RemoveEvent) AmStep ¶ added in v0.6.0
func (step RemoveEvent) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type Save ¶
Save is a Step that can save changes to any object
type SaveAndPublish ¶ added in v0.7.0
type SaveAndPublish struct {
Outbox bool // If TRUE, also send updates to this User's outbox.
}
SaveAndPublish is a Step that can update a stream's SaveAndPublishDate with the current time.
func NewSaveAndPublish ¶ added in v0.7.0
func NewSaveAndPublish(stepInfo mapof.Any) (SaveAndPublish, error)
NewSaveAndPublish returns a fully initialized SaveAndPublish object
func (SaveAndPublish) AmStep ¶ added in v0.7.0
func (step SaveAndPublish) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type SearchIndex ¶ added in v0.7.0
SearchIndex contains the configuration data for a modal that lets administrators manage connections to external servers.
func NewSearchIndex ¶ added in v0.7.0
func NewSearchIndex(stepInfo mapof.Any) (SearchIndex, error)
func (SearchIndex) AmStep ¶ added in v0.7.0
func (step SearchIndex) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type SendEmail ¶ added in v0.6.0
type SendEmail struct {
Email string
}
SendEmail is a Step that can send a named email to a user
func NewSendEmail ¶ added in v0.6.0
NewSendEmail returns a fully initialized SendEmail object
type SetData ¶
type SetData struct { FromURL []string // List of paths to pull from URL data FromForm []string // List of paths to pull from Form data Values map[string]*template.Template // values to set directly into the object Defaults mapof.Any // values to set into the object IFF they are currently empty. }
SetData is a Step that can update the custom data stored in a Stream
func NewSetData ¶
NewSetData returns a fully initialized SetData object
type SetHeader ¶
SetHeader is a Step that can update the custom data stored in a Stream
func NewSetHeader ¶
NewSetHeader returns a fully initialized SetHeader object
type SetPassword ¶ added in v0.7.0
type SetPassword struct{}
SetPassword is a Step that can update the custom data stored in a Stream
func NewSetPassword ¶ added in v0.7.0
func NewSetPassword(stepInfo mapof.Any) (SetPassword, error)
NewSetPassword returns a fully initialized SetPassword object
func (SetPassword) AmStep ¶ added in v0.7.0
func (step SetPassword) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type SetQueryParam ¶
SetQueryParam is a Step that forwards the user to a new page.
func NewSetQueryParam ¶
func NewSetQueryParam(stepInfo mapof.Any) (SetQueryParam, error)
NewSetQueryParam returns a fully initialized SetQueryParam object
func (SetQueryParam) AmStep ¶
func (step SetQueryParam) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type SetRenderData ¶ added in v0.6.0
type SetRenderData struct {
Values map[string]*template.Template // values to set directly into the object
}
SetRenderData is a Step that can update the custom data stored in a builder
func NewSetRenderData ¶ added in v0.6.0
func NewSetRenderData(stepInfo mapof.Any) (SetRenderData, error)
NewSetRenderData returns a fully initialized SetRenderData object
func (SetRenderData) AmStep ¶ added in v0.6.0
func (step SetRenderData) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type SetResponse ¶ added in v0.6.0
type SetResponse struct{}
SetResponse is a Step that can create/update a response to the current model object
func NewSetResponse ¶ added in v0.6.0
func NewSetResponse(stepInfo mapof.Any) (SetResponse, error)
NewSetResponse returns a fully initialized SetResponse object
func (SetResponse) AmStep ¶ added in v0.6.0
func (step SetResponse) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type SetSimpleSharing ¶
SetSimpleSharing represents an action that can edit a top-level folder in the Domain
func NewSetSimpleSharing ¶
func NewSetSimpleSharing(stepInfo mapof.Any) (SetSimpleSharing, error)
NewSetSimpleSharing returns a fully parsed SetSimpleSharing object
func (SetSimpleSharing) AmStep ¶
func (step SetSimpleSharing) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type SetState ¶
type SetState struct {
State string
}
SetState is a Step that can change a Stream's state
type SetThumbnail ¶
type SetThumbnail struct {
Path string
}
SetThumbnail is a Step that can update the data.DataMap custom data stored in a Stream
func NewSetThumbnail ¶
func NewSetThumbnail(stepInfo mapof.Any) (SetThumbnail, error)
func (SetThumbnail) AmStep ¶
func (step SetThumbnail) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type Sleep ¶ added in v0.7.0
type Sleep struct {
Duration int
}
Sleep is a Step that sleeps for a determined amount of time. It should really only be used for debugging.
type SortAttachments ¶
SortAttachments is a Step that can update multiple records at once
func NewSortAttachments ¶
func NewSortAttachments(stepInfo mapof.Any) (SortAttachments, error)
func (SortAttachments) AmStep ¶
func (step SortAttachments) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type SortWidgets ¶
type SortWidgets struct{}
SortWidgets is a Step that can update multiple records at once
func NewSortWidgets ¶
func NewSortWidgets(stepInfo mapof.Any) (SortWidgets, error)
func (SortWidgets) AmStep ¶
func (step SortWidgets) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type Step ¶
type Step interface {
// AmStep is a NO-OP. It is only used to validate that a struct contains "step-like" data.
AmStep()
}
Step interface is used here to bind together the structs in this package
type StreamPromoteDraft ¶
type StreamPromoteDraft struct {
StateID string
}
StreamPromoteDraft represents a pipeline-step that can copy the Container from a StreamDraft into its corresponding Stream
func NewStreamPromoteDraft ¶
func NewStreamPromoteDraft(stepInfo mapof.Any) (StreamPromoteDraft, error)
func (StreamPromoteDraft) AmStep ¶
func (step StreamPromoteDraft) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type TableEditor ¶
TableEditor is an action that can add new sub-streams to the domain.
func NewTableEditor ¶
func NewTableEditor(stepInfo mapof.Any) (TableEditor, error)
NewTableEditor returns a fully initialized TableEditor record
func (TableEditor) AmStep ¶
func (step TableEditor) AmStep()
AmStep is here to verify that this struct is a build pipeline step
type TriggerEvent ¶
TriggerEvent is a Step that forwards the user to a new page.
func NewTriggerEvent ¶
func NewTriggerEvent(stepInfo mapof.Any) (TriggerEvent, error)
NewTriggerEvent returns a fully initialized TriggerEvent object
func (TriggerEvent) AmStep ¶
func (step TriggerEvent) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type TypeRequirer ¶ added in v0.7.0
type TypeRequirer interface {
RequireType() string
}
TypeRequirer interface wraps the "RequireType" method, which specifies that a step can ONLY be used with a specific type of builder (like: "template", "registration", "widget", "email", etc.)
type UnPublish ¶
type UnPublish struct {
Outbox bool
}
UnPublish is a Step that can update a stream's UnPublishDate with the current time.
func NewUnPublish ¶
NewUnPublish returns a fully initialized UnPublish object
type UploadAttachments ¶ added in v0.7.0
type UploadAttachments struct { Action string // Action to perform when uploading the attachment ("append" or "replace") Fieldname string // Name of the form field that contains the file data (Default: "file") AttachmentPath string // Path name to store the AttachmentID DownloadPath string // Path name to store the download URL FilenamePath string // Path name to store the original filename AcceptType string // Mime Type(s) to accept (e.g. "image/*") Category string // Category to apply to the Attachment Maximum int // Maximum number of uploads to allow (Default: 1) JSONResult bool // If TRUE, return a JSON structure with result data. This forces Maximum=1 Label string // Value to set as the attachment.label LabelFieldname string // Form field that defines the attachment label Description string // Value to set as the attachment.description DescriptionFieldname string // Form field that defines the attachment description RuleHeight int // Fixed height for all downloads RuleWidth int // Fixed width for all downloads RuleTypes []string // Allowed extensions. The first value is used as the default. }
UploadAttachments represents an action that can upload attachments. It can only be used on a StreamBuilder
func NewUploadAttachments ¶ added in v0.7.0
func NewUploadAttachments(stepInfo mapof.Any) (UploadAttachments, error)
NewUploadAttachments returns a fully parsed UploadAttachments object
func (UploadAttachments) AmStep ¶ added in v0.7.0
func (step UploadAttachments) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type ViewCSS ¶ added in v0.7.0
type ViewCSS struct {
File string
}
ViewCSS is a Step that can build a Stream into HTML
func NewViewCSS ¶ added in v0.7.0
NewViewCSS generates a fully initialized ViewCSS step.
type ViewFeed ¶
type ViewFeed struct { }
ViewFeed is a Step that can build a Stream into HTML
func NewViewFeed ¶
NewViewFeed generates a fully initialized ViewFeed step.
type ViewHTML ¶
ViewHTML is a Step that can build a Stream into HTML
func NewViewHTML ¶
NewViewHTML generates a fully initialized ViewHTML step.
type ViewJSONLD ¶ added in v0.6.0
type ViewJSONLD struct {
Method string
}
ViewJSONLD is a Step that can build a Stream into HTML
func NewViewJSONLD ¶ added in v0.6.0
func NewViewJSONLD(stepInfo mapof.Any) (ViewJSONLD, error)
NewViewJSONLD generates a fully initialized ViewJSONLD step.
func (ViewJSONLD) AmStep ¶ added in v0.6.0
func (step ViewJSONLD) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type WebSub ¶
type WebSub struct { }
WebSub is a Step that can build a Stream into HTML
type WithAttachment ¶ added in v0.7.0
type WithAttachment struct {
SubSteps []Step
}
WithAttachment is a Step that returns a new Attachment Builder
func NewWithAttachment ¶ added in v0.7.0
func NewWithAttachment(stepInfo mapof.Any) (WithAttachment, error)
NewWithAttachment returns a fully initialized WithAttachment object
func (WithAttachment) AmStep ¶ added in v0.7.0
func (step WithAttachment) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type WithChildren ¶
type WithChildren struct {
SubSteps []Step
}
WithChildren is a Step executes a list of sub-steps on every child of the current Stream
func NewWithChildren ¶
func NewWithChildren(stepInfo mapof.Any) (WithChildren, error)
NewWithChildren returns a fully initialized WithChildren object
func (WithChildren) AmStep ¶
func (step WithChildren) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type WithDraft ¶
type WithDraft struct {
SubSteps []Step
}
WithDraft is a Step that returns a new StreamDraft Builder
func NewWithDraft ¶
NewWithDraft returns a fully initialized WithDraft object
type WithFolder ¶
type WithFolder struct {
SubSteps []Step
}
WithFolder is a Step that returns a new Folder Builder
func NewWithFolder ¶
func NewWithFolder(stepInfo mapof.Any) (WithFolder, error)
NewWithFolder returns a fully initialized WithFolder object
func (WithFolder) AmStep ¶
func (step WithFolder) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type WithFollower ¶
type WithFollower struct {
SubSteps []Step
}
WithFollower is a Step that returns a new Follower Builder
func NewWithFollower ¶
func NewWithFollower(stepInfo mapof.Any) (WithFollower, error)
NewWithFollower returns a fully initialized WithFollower object
func (WithFollower) AmStep ¶
func (step WithFollower) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type WithFollowing ¶
type WithFollowing struct {
SubSteps []Step
}
WithFollowing is a Step that returns a new Following builder
func NewWithFollowing ¶
func NewWithFollowing(stepInfo mapof.Any) (WithFollowing, error)
NewWithFollowing returns a fully initialized WithFollowing object
func (WithFollowing) AmStep ¶
func (step WithFollowing) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type WithMessage ¶
type WithMessage struct {
SubSteps []Step
}
WithMessage is a Step that returns a new Message Builder
func NewWithMessage ¶
func NewWithMessage(stepInfo mapof.Any) (WithMessage, error)
NewWithMessage returns a fully initialized WithMessage object
func (WithMessage) AmStep ¶
func (step WithMessage) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type WithNextSibling ¶
type WithNextSibling struct {
SubSteps []Step
}
WithNextSibling is a Step that returns a new Stream Builder keyed to the next sibling of the current Stream
func NewWithNextSibling ¶
func NewWithNextSibling(stepInfo mapof.Any) (WithNextSibling, error)
NewWithNextSibling returns a fully initialized WithNextSibling object
func (WithNextSibling) AmStep ¶
func (step WithNextSibling) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type WithParent ¶
type WithParent struct {
SubSteps []Step
}
WithParent is a Step that returns a new Stream Builder keyed to the parent of the current Stream
func NewWithParent ¶
func NewWithParent(stepInfo mapof.Any) (WithParent, error)
NewWithParent returns a fully initialized WithParent object
func (WithParent) AmStep ¶
func (step WithParent) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type WithPrevSibling ¶
type WithPrevSibling struct {
SubSteps []Step
}
WithPrevSibling is a Step that returns a new Stream builder keyed to the previous sibling of the current stream
func NewWithPrevSibling ¶
func NewWithPrevSibling(stepInfo mapof.Any) (WithPrevSibling, error)
NewWithPrevSibling returns a fully initialized WithPrevSibling object
func (WithPrevSibling) AmStep ¶
func (step WithPrevSibling) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type WithResponse ¶ added in v0.6.0
type WithResponse struct {
SubSteps []Step
}
WithResponse is a Step that returns a new Response Builder
func NewWithResponse ¶ added in v0.6.0
func NewWithResponse(stepInfo mapof.Any) (WithResponse, error)
NewWithResponse returns a fully initialized WithResponse object
func (WithResponse) AmStep ¶ added in v0.6.0
func (step WithResponse) AmStep()
AmStep is here only to verify that this struct is a build pipeline step
type WithRule ¶ added in v0.6.0
type WithRule struct {
SubSteps []Step
}
WithRule is a Step that returns a new Rule Builder
func NewWithRule ¶ added in v0.6.0
NewWithRule returns a fully initialized WithRule object
Source Files
¶
- addModelObject.go
- addStream.go
- asConfirmation.go
- asModal.go
- asTooltip.go
- cacheUrl.go
- delete.go
- deleteArchive.go
- deleteAttachments.go
- do.go
- dump.go
- editConnection.go
- editContent.go
- editModelObject.go
- editRegistration.go
- editTable.go
- editTemplate.go
- editWidget.go
- forwardTo.go
- functions.go
- getArchive.go
- halt.go
- ifCondition.go
- inlineError.go
- inlineSaveButton.go
- inlineSuccess.go
- makeArchive.go
- processContent.go
- processTags.go
- promoteDraft.go
- redirectTo.go
- refreshPage.go
- reloadPage.go
- removeEvent.go
- save.go
- saveAndPublish.go
- searchIndex.go
- sendEmail.go
- setData.go
- setHeader.go
- setPassword.go
- setQueryParam.go
- setRenderData.go
- setResponse.go
- setSimpleSharing.go
- setState.go
- setThumbnail.go
- sleep.go
- sort.go
- sortAttachments.go
- sortWidgets.go
- step.go
- triggerEvent.go
- unPublish.go
- uploadAttachments.go
- utils.go
- viewCSS.go
- viewFeed.go
- viewHTML.go
- viewJSONLD.go
- webSub.go
- withAttachment.go
- withChildren.go
- withDraft.go
- withFolder.go
- withFollower.go
- withFollowing.go
- withMessage.go
- withNextSibling.go
- withParent.go
- withPrevSibling.go
- withResponse.go
- withRule.go