Documentation ¶
Index ¶
Constants ¶
View Source
const ( BasePathDev = "https://api.dev.entur.io/cleos-reporting/api/v1" BasePathStaging = "https://api.staging.entur.io/cleos-reporting/api/v1" BasePathProd = "https://api.entur.io/cleos-reporting/api/v1" TokenURLDev = "https://partner.dev.entur.org/oauth/token" TokenURLStaging = "https://partner.staging.entur.org/oauth/token" TokenURLProd = "https://partner.entur.org/oauth/token" AudienceDev = "https://cleos.dev.entur.io" AudienceStaging = "https://cleos.staging.entur.io" AudienceProd = "https://cleos.entur.io" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrCleos ¶
type ErrCleos string
const ( ErrNotFound ErrCleos = "a report for the specified template id was not found" ErrAllDownloaded ErrCleos = "all available reports downloaded, retry later" ErrNotGenerated ErrCleos = "report is being generated, retry later" ErrForbidden ErrCleos = "forbidden" ErrConflict ErrCleos = "report failed execution, contact support" ErrGone ErrCleos = "no future reports on this templateID will be generated, stop the job or update the templateID" ErrUnknownStatus ErrCleos = "unknown status" ErrInvalidArguments ErrCleos = "invalid arguments" )
Click to show internal directories.
Click to hide internal directories.