package
0.0.0-20190103031855-6943f8c7dadb
Repository: https://github.com/fnproject/flow-lib-go.git
Documentation: pkg.go.dev
# Constants
ModelCompletionOperationAcceptEither captures enum value "acceptEither".
ModelCompletionOperationAllOf captures enum value "allOf".
ModelCompletionOperationAnyOf captures enum value "anyOf".
ModelCompletionOperationApplyToEither captures enum value "applyToEither".
ModelCompletionOperationCompletedValue captures enum value "completedValue".
ModelCompletionOperationDelay captures enum value "delay".
ModelCompletionOperationExceptionally captures enum value "exceptionally".
ModelCompletionOperationExceptionallyCompose captures enum value "exceptionallyCompose".
ModelCompletionOperationExternalCompletion captures enum value "externalCompletion".
ModelCompletionOperationHandle captures enum value "handle".
ModelCompletionOperationInvokeFunction captures enum value "invokeFunction".
ModelCompletionOperationSupply captures enum value "supply".
ModelCompletionOperationTerminationHook captures enum value "terminationHook".
ModelCompletionOperationThenAccept captures enum value "thenAccept".
ModelCompletionOperationThenAcceptBoth captures enum value "thenAcceptBoth".
ModelCompletionOperationThenApply captures enum value "thenApply".
ModelCompletionOperationThenCombine captures enum value "thenCombine".
ModelCompletionOperationThenCompose captures enum value "thenCompose".
ModelCompletionOperationThenRun captures enum value "thenRun".
ModelCompletionOperationUnknownOperation captures enum value "unknown_operation".
ModelCompletionOperationWhenComplete captures enum value "whenComplete".
ModelErrorDatumTypeFunctionInvokeFailed captures enum value "function_invoke_failed".
ModelErrorDatumTypeFunctionTimeout captures enum value "function_timeout".
ModelErrorDatumTypeInvalidStageResponse captures enum value "invalid_stage_response".
ModelErrorDatumTypeStageFailed captures enum value "stage_failed".
ModelErrorDatumTypeStageLost captures enum value "stage_lost".
ModelErrorDatumTypeStageTimeout captures enum value "stage_timeout".
ModelErrorDatumTypeUnknownError captures enum value "unknown_error".
ModelHTTPMethodDelete captures enum value "delete".
ModelHTTPMethodGet captures enum value "get".
ModelHTTPMethodHead captures enum value "head".
ModelHTTPMethodOptions captures enum value "options".
ModelHTTPMethodPatch captures enum value "patch".
ModelHTTPMethodPost captures enum value "post".
ModelHTTPMethodPut captures enum value "put".
ModelHTTPMethodUnknownMethod captures enum value "unknown_method".
ModelStatusDatumTypeCancelled captures enum value "cancelled".
ModelStatusDatumTypeFailed captures enum value "failed".
ModelStatusDatumTypeKilled captures enum value "killed".
ModelStatusDatumTypeSucceeded captures enum value "succeeded".
ModelStatusDatumTypeUnknownState captures enum value "unknown_state".
# Structs
GetGraphStateResponseStageRepresentation get graph state response stage representation swagger:model GetGraphStateResponseStageRepresentation.
ModelAddCompletedValueStageRequest AddCompletedValueStageRequest creates a new stage with a specific value swagger:model modelAddCompletedValueStageRequest.
ModelAddDelayStageRequest AddDelayStageRequest creates a delay stage swagger:model modelAddDelayStageRequest.
ModelAddInvokeFunctionStageRequest AddInvokeFunctionStageRequest adds a function invocation swagger:model modelAddInvokeFunctionStageRequest.
ModelAddStageRequest AddStageRequest adds a new stage with dependenencies to the graph swagger:model modelAddStageRequest.
ModelAddStageResponse AddStageResponse returns the stage ID of the created stage swagger:model modelAddStageResponse.
ModelAwaitStageResultResponse model await stage result response swagger:model modelAwaitStageResultResponse.
ModelBlobDatum BlobDatum holds a reference to a blob the associated blob store swagger:model modelBlobDatum.
ModelCompleteStageExternallyRequest CompleteStageExternallyRequest marks an existing stage as complete with a specific value swagger:model modelCompleteStageExternallyRequest.
ModelCompleteStageExternallyResponse model complete stage externally response swagger:model modelCompleteStageExternallyResponse.
ModelCompletionResult CompletinonResult holds a value Datum and a result status (successful/failed) swagger:model modelCompletionResult.
ModelCreateGraphRequest model create graph request swagger:model modelCreateGraphRequest.
ModelCreateGraphResponse model create graph response swagger:model modelCreateGraphResponse.
ModelDatum Datum encapusulates all possible values that may be associated with a stage in the flow graph swagger:model modelDatum.
ModelDelayScheduledEvent A delay has started - this marks the relative start of an event when a delay node is recovered swagger:model modelDelayScheduledEvent.
ModelErrorDatum ErrorDatum represents an error that has occured within a flow graph, the type indicates the cause of the error and the message is informational swagger:model modelErrorDatum.
ModelFaasInvocationCompletedEvent A call to the FaaS completed swagger:model modelFaasInvocationCompletedEvent.
ModelFaasInvocationStartedEvent A call to the FaaS has started swagger:model modelFaasInvocationStartedEvent.
ModelGetGraphStateResponse model get graph state response swagger:model modelGetGraphStateResponse.
ModelGraphCommittedEvent The graph is committed - this typically indicates that the function that created the flow has completed once this event has been posted the graph will finish when all active or pending nodes have completed.
ModelGraphCompletedEvent Graph is complete and will no longer change swagger:model modelGraphCompletedEvent.
ModelGraphCreatedEvent Graph created swagger:model modelGraphCreatedEvent.
ModelGraphEvent model graph event swagger:model modelGraphEvent.
ModelGraphLifecycleEvent model graph lifecycle event swagger:model modelGraphLifecycleEvent.
ModelGraphRequestProcessedResponse model graph request processed response swagger:model modelGraphRequestProcessedResponse.
ModelGraphTerminatingEvent Graph termination has started - no more changes can be made to this graph this will be fillowed by a completion event when any termination hooks have run swagger:model modelGraphTerminatingEvent.
ModelHTTPHeader HTTPHeader wraps a single header key/value swagger:model modelHTTPHeader.
ModelHTTPReqDatum HTTPReqDatum describes an outgoing or incoming HTTP Request, it wraps the headers, method and optional body swagger:model modelHTTPReqDatum.
ModelHTTPRespDatum HTTPRespDatum wraps an outgoing or incoming HTTP REQUEST, it wraps the headers, status code and optinoal body swagger:model modelHTTPRespDatum.
ModelStageAddedEvent A stage was added to the graph swagger:model modelStageAddedEvent.
ModelStageCompletedEvent A stage completed - downstream stages may be triggered swagger:model modelStageCompletedEvent.
ModelStageComposedEvent A stage was composed into stage_id - stage_id will compelete with the saem result as composed_stage_id swagger:model modelStageComposedEvent.
ModelStageRefDatum StageRefDatum represents a reference to another stage in the graph swagger:model modelStageRefDatum.
ModelStatusDatum StateDatum wraps a description of the state of the graph in a datum swagger:model modelStatusDatum.
# Interfaces
ModelEmptyDatum EmptyDatum represents a null or empty value swagger:model modelEmptyDatum.
# Type aliases
ModelCompletionOperation CompletionOperation describes the type and behaviour of a stage of the graph swagger:model modelCompletionOperation.
ModelErrorDatumType ErrorDatumType defines an internal error code generated within a flow swagger:model modelErrorDatumType.
ModelGetGraphStateResponseStages model get graph state response stages swagger:model modelGetGraphStateResponseStages.
ModelHTTPMethod HTTPMethod defines a specific HTTP method swagger:model modelHTTPMethod.
ModelHTTPReqDatumHeaders model Http req datum headers swagger:model modelHttpReqDatumHeaders.
ModelHTTPRespDatumHeaders model Http resp datum headers swagger:model modelHttpRespDatumHeaders.
ModelStatusDatumType StateDatumType describes the state of a stage or graph swagger:model modelStatusDatumType.