Liking cljdoc? Tell your friends :D

lambdacd.state.protocols

Defines protocols that need to be implemented by a state component

Defines protocols that need to be implemented by a state component
raw docstring

BuildMetadataConsumercljprotocol

Components implementing this protocol can update the metadata for a particular build

Components implementing this protocol can update the metadata for a particular build

consume-build-metadataclj

(consume-build-metadata self build-number metadata)

Tells the component to update the metadata of a particular build.

Tells the component to update the metadata of a particular build.
sourceraw docstring

BuildMetadataSourcecljprotocol

Components implementing this protocol can supply metadata for a particular build

Components implementing this protocol can supply metadata for a particular build

get-build-metadataclj

(get-build-metadata self build-number)

Returns a map describing the metadata for a particular build

Returns a map describing the metadata for a particular build
sourceraw docstring

NextBuildNumberSourcecljprotocol

Components implementing this protocol provide the LambdaCD execution engine with new build numbers

Components implementing this protocol provide the LambdaCD execution engine with new build numbers

next-build-numberclj

(next-build-number self)

Returns the build number for the next build. Must be an integer and greater than all existing build numbers

Returns the build number for the next build. Must be an integer and greater than all existing build numbers
sourceraw docstring

PipelineStructureConsumercljprotocol

Components implementing this protocol can set the structure a pipeline had for a particular build

Components implementing this protocol can set the structure a pipeline had for a particular build

consume-pipeline-structureclj

(consume-pipeline-structure self build-number pipeline-structure-representation)

Tells the component to update the structure of a particular build.

Tells the component to update the structure of a particular build.
sourceraw docstring

PipelineStructureSourcecljprotocol

Components implementing this protocol can supply the structure of the pipeline for a particular build

Components implementing this protocol can supply the structure of the pipeline for a particular build

get-pipeline-structureclj

(get-pipeline-structure self build-number)

Returns a map describing the pipeline of for a particular build

Returns a map describing the pipeline of for a particular build
sourceraw docstring

QueryAllBuildNumbersSourcecljprotocol

Components implementing this protocol can supply a list of all build numbers present in the datastore

Components implementing this protocol can supply a list of all build numbers present in the datastore

all-build-numbersclj

(all-build-numbers self)

Returns a sorted list of build numbers present in the datastore

Returns a sorted list of build numbers present in the datastore
sourceraw docstring

QueryStepResultsSourcecljprotocol

Components implementing this protocol can supply steps results of a build

Components implementing this protocol can supply steps results of a build

get-step-resultsclj

(get-step-results self build-number)

Returns a map of step-id to step results

Returns a map of step-id to step results
sourceraw docstring

StepResultUpdateConsumercljprotocol

Components implementing this protocol can update the state of the pipeline

Components implementing this protocol can update the state of the pipeline

consume-step-result-updateclj

(consume-step-result-update self build-number step-id step-result)

Tells the component to update the result of a particular step. Is called on every update so it needs to handle lots of requests

Tells the component to update the result of a particular step. Is called on every update so it needs to handle lots of requests
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close