Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // EnduroStoredPipelineMap is a map indexing the attribute names of // EnduroStoredPipeline by view name. EnduroStoredPipelineMap = map[string][]string{ "default": { "id", "name", "capacity", "current", "status", }, } )
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 { // Identifier of pipeline ID *string // Name of the pipeline Name *string // Maximum concurrent transfers Capacity *int64 // Current transfers Current *int64 Status *string }
EnduroStoredPipelineView is a type that runs validations on a projected type.
Click to show internal directories.
Click to hide internal directories.