Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // EnduroStoredPipelineMap is a map of attribute names in result type // EnduroStoredPipeline indexed by view name. EnduroStoredPipelineMap = map[string][]string{ "default": []string{ "id", "name", }, } )
Functions ¶
func ValidateEnduroStoredPipeline ¶
func ValidateEnduroStoredPipeline(result *EnduroStoredPipeline) (err error)
ValidateEnduroStoredPipeline runs the validations defined on the viewed result type EnduroStoredPipeline.
func ValidateEnduroStoredPipelineView ¶
func ValidateEnduroStoredPipelineView(result *EnduroStoredPipelineView) (err error)
ValidateEnduroStoredPipelineView runs the validations defined on EnduroStoredPipelineView using the "default" view.
Types ¶
type EnduroStoredPipeline ¶
type EnduroStoredPipeline struct { // Type to project Projected *EnduroStoredPipelineView // View to render View string }
EnduroStoredPipeline is the viewed result type that is projected based on a view.
type EnduroStoredPipelineView ¶
type EnduroStoredPipelineView struct { // Name of the collection ID *string // Name of the collection Name *string }
EnduroStoredPipelineView is a type that runs validations on a projected type.
Click to show internal directories.
Click to hide internal directories.