operations

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2019 License: MPL-2.0-no-copyleft-exception Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteCapabilitiesUsernameCapability

func DeleteCapabilitiesUsernameCapability(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

DeleteCapabilitiesUsernameCapability swagger:route DELETE /capabilities/{username}/{capability} deleteCapabilitiesUsernameCapability Remove a named capability Remove a named capability from a provided user ID. Requires the user have the 'modify:user' capability.

func DeleteCapabilitiesUsernameCapabilityResponse

func DeleteCapabilitiesUsernameCapabilityResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

DeleteCapabilitiesUsernameCapabilityResponse responds for DeleteCapabilitiesUsernameCapability.

func DeleteCapabilitiesUsernameCapabilityValidateURLParams

func DeleteCapabilitiesUsernameCapabilityValidateURLParams(h *handlers.H, ctx *gin.Context) error

DeleteCapabilitiesUsernameCapabilityValidateURLParams validates the parameters in the URL according to the swagger specification.

func DeleteToken

func DeleteToken(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

DeleteToken swagger:route DELETE /token deleteToken Remove and reset your tinyCI access token The next GET /token will create a new one. This will just remove it.

func DeleteTokenResponse

func DeleteTokenResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

DeleteTokenResponse responds for DeleteToken.

func DeleteTokenValidateURLParams

func DeleteTokenValidateURLParams(h *handlers.H, ctx *gin.Context) error

DeleteTokenValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetErrors

func GetErrors(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetErrors swagger:route GET /errors getErrors Retrieve errors Server retrieves any errors the last call(s) have set for you.

func GetErrorsResponse

func GetErrorsResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetErrorsResponse responds for GetErrors.

func GetErrorsValidateURLParams

func GetErrorsValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetErrorsValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetLogAttachID

func GetLogAttachID(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetLogAttachID swagger:route GET /log/attach/{id} getLogAttachId Attach to a running log For a given ID, find the log and if it is running, attach to it and start receiving the latest content from it.

func GetLogAttachIDResponse

func GetLogAttachIDResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetLogAttachIDResponse responds for GetLogAttachID.

func GetLogAttachIDValidateURLParams

func GetLogAttachIDValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetLogAttachIDValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetLoggedin

func GetLoggedin(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetLoggedin swagger:route GET /loggedin getLoggedin Check logged in state Validate the logged-in status of the user. Validates the session cookie against the internal database. If the user is logged in, a JSON string of "true" will be sent; otherwise an oauth redirect url will be passed for calling out to by the client.

func GetLoggedinResponse

func GetLoggedinResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetLoggedinResponse responds for GetLoggedin.

func GetLoggedinValidateURLParams

func GetLoggedinValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetLoggedinValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetLogin

func GetLogin(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetLogin swagger:route GET /login getLogin Log into the system Handle the server side of the oauth challenge. It is important to preserve the cookie jar after this call is made, as session cookies are used to manage many of the calls in this API.

func GetLoginResponse

func GetLoginResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetLoginResponse responds for GetLogin.

func GetLoginUpgrade

func GetLoginUpgrade(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetLoginUpgrade swagger:route GET /login/upgrade getLoginUpgrade Log into the system with upgraded permissions This upgrades the permissions of the user (which requires confirmation from the OAuthing site) to allow repository access, so that additional permission to manipulate repositories and scan additional ones is available.

func GetLoginUpgradeResponse

func GetLoginUpgradeResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetLoginUpgradeResponse responds for GetLoginUpgrade.

func GetLoginUpgradeValidateURLParams

func GetLoginUpgradeValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetLoginUpgradeValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetLoginValidateURLParams

func GetLoginValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetLoginValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetLogout

func GetLogout(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetLogout swagger:route GET /logout getLogout Log out of the system Conveniently clears session cookies. You will need to login again. Does not clear oauth tokens.

func GetLogoutResponse

func GetLogoutResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetLogoutResponse responds for GetLogout.

func GetLogoutValidateURLParams

func GetLogoutValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetLogoutValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetRepositoriesCiAddOwnerRepo

func GetRepositoriesCiAddOwnerRepo(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetRepositoriesCiAddOwnerRepo swagger:route GET /repositories/ci/add/{owner}/{repo} getRepositoriesCiAddOwnerRepo Add a specific repository to CI. Generates a hook secret and populates the user's repository with it and the hook URL. Returns 200 on success, 500 + error message on failure, or if the repository has already been added to CI.

func GetRepositoriesCiAddOwnerRepoResponse

func GetRepositoriesCiAddOwnerRepoResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetRepositoriesCiAddOwnerRepoResponse responds for GetRepositoriesCiAddOwnerRepo.

func GetRepositoriesCiAddOwnerRepoValidateURLParams

func GetRepositoriesCiAddOwnerRepoValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetRepositoriesCiAddOwnerRepoValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetRepositoriesCiDelOwnerRepo

func GetRepositoriesCiDelOwnerRepo(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetRepositoriesCiDelOwnerRepo swagger:route GET /repositories/ci/del/{owner}/{repo} getRepositoriesCiDelOwnerRepo Removes a specific repository from CI. Will fail if not added to CI already; does not currently clear the hook.

func GetRepositoriesCiDelOwnerRepoResponse

func GetRepositoriesCiDelOwnerRepoResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetRepositoriesCiDelOwnerRepoResponse responds for GetRepositoriesCiDelOwnerRepo.

func GetRepositoriesCiDelOwnerRepoValidateURLParams

func GetRepositoriesCiDelOwnerRepoValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetRepositoriesCiDelOwnerRepoValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetRepositoriesMy

func GetRepositoriesMy(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetRepositoriesMy swagger:route GET /repositories/my getRepositoriesMy Fetch all the writable repositories for the user. Returns a types.RepositoryList for all the repos a user has write access to.

func GetRepositoriesMyResponse

func GetRepositoriesMyResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetRepositoriesMyResponse responds for GetRepositoriesMy.

func GetRepositoriesMyValidateURLParams

func GetRepositoriesMyValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetRepositoriesMyValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetRepositoriesScan

func GetRepositoriesScan(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetRepositoriesScan swagger:route GET /repositories/scan getRepositoriesScan Scan repositories from the remote resource Reads the repositories list from the API resource, e.g., Github.

func GetRepositoriesScanResponse

func GetRepositoriesScanResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetRepositoriesScanResponse responds for GetRepositoriesScan.

func GetRepositoriesScanValidateURLParams

func GetRepositoriesScanValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetRepositoriesScanValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetRepositoriesSubAddOwnerRepo

func GetRepositoriesSubAddOwnerRepo(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetRepositoriesSubAddOwnerRepo swagger:route GET /repositories/sub/add/{owner}/{repo} getRepositoriesSubAddOwnerRepo Subscribe to a repository running CI Subscribing makes that repo's queue items appear in your home view. Returns 200 on success, 500 + error on failure.

func GetRepositoriesSubAddOwnerRepoResponse

func GetRepositoriesSubAddOwnerRepoResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetRepositoriesSubAddOwnerRepoResponse responds for GetRepositoriesSubAddOwnerRepo.

func GetRepositoriesSubAddOwnerRepoValidateURLParams

func GetRepositoriesSubAddOwnerRepoValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetRepositoriesSubAddOwnerRepoValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetRepositoriesSubDelOwnerRepo

func GetRepositoriesSubDelOwnerRepo(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetRepositoriesSubDelOwnerRepo swagger:route GET /repositories/sub/del/{owner}/{repo} getRepositoriesSubDelOwnerRepo Unsubscribe from a repository Unsubscribing removes any existing subscription. Either way, if nothing broke, it returns 200. Otherwise it returns 500 and the error.

func GetRepositoriesSubDelOwnerRepoResponse

func GetRepositoriesSubDelOwnerRepoResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetRepositoriesSubDelOwnerRepoResponse responds for GetRepositoriesSubDelOwnerRepo.

func GetRepositoriesSubDelOwnerRepoValidateURLParams

func GetRepositoriesSubDelOwnerRepoValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetRepositoriesSubDelOwnerRepoValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetRepositoriesSubscribed

func GetRepositoriesSubscribed(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetRepositoriesSubscribed swagger:route GET /repositories/subscribed getRepositoriesSubscribed List all subscribed repositories Returns a types.RepositoryList of all the repos the user is subscribed to.

func GetRepositoriesSubscribedResponse

func GetRepositoriesSubscribedResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetRepositoriesSubscribedResponse responds for GetRepositoriesSubscribed.

func GetRepositoriesSubscribedValidateURLParams

func GetRepositoriesSubscribedValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetRepositoriesSubscribedValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetRepositoriesVisible

func GetRepositoriesVisible(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetRepositoriesVisible swagger:route GET /repositories/visible getRepositoriesVisible Fetch all the repositories the user can view. Returns a types.RepositoryList for all the repos a user has view access to.

func GetRepositoriesVisibleResponse

func GetRepositoriesVisibleResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetRepositoriesVisibleResponse responds for GetRepositoriesVisible.

func GetRepositoriesVisibleValidateURLParams

func GetRepositoriesVisibleValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetRepositoriesVisibleValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetRunRunID

func GetRunRunID(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetRunRunID swagger:route GET /run/{run_id} getRunRunId Get a run by ID Retrieve a Run by ID; this will return the full Run object including all relationships.

func GetRunRunIDResponse

func GetRunRunIDResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetRunRunIDResponse responds for GetRunRunID.

func GetRunRunIDValidateURLParams

func GetRunRunIDValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetRunRunIDValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetRuns

func GetRuns(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetRuns swagger:route GET /runs getRuns Obtain the run list for the user List all the runs, optionally filtering by repository or repository+SHA. Pagination controls are available.

func GetRunsCount

func GetRunsCount(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetRunsCount swagger:route GET /runs/count getRunsCount Count the runs Count the runs, optionally filtering by repository or repository+SHA.

func GetRunsCountResponse

func GetRunsCountResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetRunsCountResponse responds for GetRunsCount.

func GetRunsCountValidateURLParams

func GetRunsCountValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetRunsCountValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetRunsResponse

func GetRunsResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetRunsResponse responds for GetRuns.

func GetRunsValidateURLParams

func GetRunsValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetRunsValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetSubmissionID

func GetSubmissionID(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetSubmissionID swagger:route GET /submission/{id} getSubmissionId Get a submission by ID Retrieve a Submission by ID; this will return the full Submission object including all relationships.

func GetSubmissionIDResponse

func GetSubmissionIDResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetSubmissionIDResponse responds for GetSubmissionID.

func GetSubmissionIDRuns

func GetSubmissionIDRuns(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetSubmissionIDRuns swagger:route GET /submission/{id}/runs getSubmissionIdRuns Get submission runs by ID Retrieve a Submission's runs by ID; this will return the list of runs with pagination.

func GetSubmissionIDRunsResponse

func GetSubmissionIDRunsResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetSubmissionIDRunsResponse responds for GetSubmissionIDRuns.

func GetSubmissionIDRunsValidateURLParams

func GetSubmissionIDRunsValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetSubmissionIDRunsValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetSubmissionIDTasks

func GetSubmissionIDTasks(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetSubmissionIDTasks swagger:route GET /submission/{id}/tasks getSubmissionIdTasks Get submission tasks by ID Retrieve a Submission's tasks by ID; this will return the list of tasks with pagination.

func GetSubmissionIDTasksResponse

func GetSubmissionIDTasksResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetSubmissionIDTasksResponse responds for GetSubmissionIDTasks.

func GetSubmissionIDTasksValidateURLParams

func GetSubmissionIDTasksValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetSubmissionIDTasksValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetSubmissionIDValidateURLParams

func GetSubmissionIDValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetSubmissionIDValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetSubmissions

func GetSubmissions(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetSubmissions swagger:route GET /submissions getSubmissions List submisssions Retrieve a list of Submissions; this will return the full Submission object including all relationships.

func GetSubmissionsCount

func GetSubmissionsCount(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetSubmissionsCount swagger:route GET /submissions/count getSubmissionsCount Count submisssions Retrieve a count of Submissions that match the filter.

func GetSubmissionsCountResponse

func GetSubmissionsCountResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetSubmissionsCountResponse responds for GetSubmissionsCount.

func GetSubmissionsCountValidateURLParams

func GetSubmissionsCountValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetSubmissionsCountValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetSubmissionsResponse

func GetSubmissionsResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetSubmissionsResponse responds for GetSubmissions.

func GetSubmissionsValidateURLParams

func GetSubmissionsValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetSubmissionsValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetSubmit

func GetSubmit(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetSubmit swagger:route GET /submit getSubmit Perform a manual submission to tinyCI This allows a user to push a job instead of pushing to git or filing a pull request to trigger a job. It is available on the tinyCI UI and CLI client.

func GetSubmitResponse

func GetSubmitResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetSubmitResponse responds for GetSubmit.

func GetSubmitValidateURLParams

func GetSubmitValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetSubmitValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetTasks

func GetTasks(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetTasks swagger:route GET /tasks getTasks Obtain the task list optionally filtering by repository and sha. The tasks list returns a list of Task objects that correspond to the query. Each query may contain pagination or filtering rules to limit its contents. It is strongly recommended to look at the "count" equivalents for these endpoints so that you can implement pagination more simply.

func GetTasksCount

func GetTasksCount(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetTasksCount swagger:route GET /tasks/count getTasksCount Count the Tasks Perform a full count of tasks that meet the filter criteria (which can be no filter) and return it as integer.

func GetTasksCountResponse

func GetTasksCountResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetTasksCountResponse responds for GetTasksCount.

func GetTasksCountValidateURLParams

func GetTasksCountValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetTasksCountValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetTasksResponse

func GetTasksResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetTasksResponse responds for GetTasks.

func GetTasksRunsID

func GetTasksRunsID(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetTasksRunsID swagger:route GET /tasks/runs/{id} getTasksRunsId Obtain the run list based on the task ID. The queue list only contains: * stuff * other junk

func GetTasksRunsIDCount

func GetTasksRunsIDCount(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetTasksRunsIDCount swagger:route GET /tasks/runs/{id}/count getTasksRunsIdCount Count the runs corresponding to the task ID. Get the count of runs that correspond to the task ID. Returns an integer.

func GetTasksRunsIDCountResponse

func GetTasksRunsIDCountResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetTasksRunsIDCountResponse responds for GetTasksRunsIDCount.

func GetTasksRunsIDCountValidateURLParams

func GetTasksRunsIDCountValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetTasksRunsIDCountValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetTasksRunsIDResponse

func GetTasksRunsIDResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetTasksRunsIDResponse responds for GetTasksRunsID.

func GetTasksRunsIDValidateURLParams

func GetTasksRunsIDValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetTasksRunsIDValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetTasksSubscribed

func GetTasksSubscribed(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetTasksSubscribed swagger:route GET /tasks/subscribed getTasksSubscribed Obtain the list of tasks that belong to repositories you are subscribed to. This call implements basic pagination over the entire task corpus that intersects with your subscription list. It returns a list of tasks.

func GetTasksSubscribedResponse

func GetTasksSubscribedResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetTasksSubscribedResponse responds for GetTasksSubscribed.

func GetTasksSubscribedValidateURLParams

func GetTasksSubscribedValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetTasksSubscribedValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetTasksValidateURLParams

func GetTasksValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetTasksValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetToken

func GetToken(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetToken swagger:route GET /token getToken Get a tinyCI access token This will allow you unfettered access to the system as your user that you request the token with.

func GetTokenResponse

func GetTokenResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetTokenResponse responds for GetToken.

func GetTokenValidateURLParams

func GetTokenValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetTokenValidateURLParams validates the parameters in the URL according to the swagger specification.

func GetUserProperties

func GetUserProperties(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

GetUserProperties swagger:route GET /user/properties getUserProperties Get information about the current user Get information about the current user, such as the username.

func GetUserPropertiesResponse

func GetUserPropertiesResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

GetUserPropertiesResponse responds for GetUserProperties.

func GetUserPropertiesValidateURLParams

func GetUserPropertiesValidateURLParams(h *handlers.H, ctx *gin.Context) error

GetUserPropertiesValidateURLParams validates the parameters in the URL according to the swagger specification.

func PostCancelRunID

func PostCancelRunID(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

PostCancelRunID swagger:route POST /cancel/{run_id} postCancelRunId Cancel by Run ID Cancel the run by ID; this will actually trickle back and cancel the whole task, since it can no longer succeed in any way. Please keep in mind to stop runs, runners must implement a cancel poller.

func PostCancelRunIDResponse

func PostCancelRunIDResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

PostCancelRunIDResponse responds for PostCancelRunID.

func PostCancelRunIDValidateURLParams

func PostCancelRunIDValidateURLParams(h *handlers.H, ctx *gin.Context) error

PostCancelRunIDValidateURLParams validates the parameters in the URL according to the swagger specification.

func PostCapabilitiesUsernameCapability

func PostCapabilitiesUsernameCapability(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

PostCapabilitiesUsernameCapability swagger:route POST /capabilities/{username}/{capability} postCapabilitiesUsernameCapability Add a named capability Add a named capability for a provided user ID. Requires the user have the 'modify:user' capability.

func PostCapabilitiesUsernameCapabilityResponse

func PostCapabilitiesUsernameCapabilityResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

PostCapabilitiesUsernameCapabilityResponse responds for PostCapabilitiesUsernameCapability.

func PostCapabilitiesUsernameCapabilityValidateURLParams

func PostCapabilitiesUsernameCapabilityValidateURLParams(h *handlers.H, ctx *gin.Context) error

PostCapabilitiesUsernameCapabilityValidateURLParams validates the parameters in the URL according to the swagger specification.

func PostSubmissionIDCancel

func PostSubmissionIDCancel(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

PostSubmissionIDCancel swagger:route POST /submission/{id}/cancel postSubmissionIdCancel Cancel a submission by ID Cancel a Submission by ID; this will cancel all sub-tasks and their runs.

func PostSubmissionIDCancelResponse

func PostSubmissionIDCancelResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

PostSubmissionIDCancelResponse responds for PostSubmissionIDCancel.

func PostSubmissionIDCancelValidateURLParams

func PostSubmissionIDCancelValidateURLParams(h *handlers.H, ctx *gin.Context) error

PostSubmissionIDCancelValidateURLParams validates the parameters in the URL according to the swagger specification.

func PostTasksCancelID

func PostTasksCancelID(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error

PostTasksCancelID swagger:route POST /tasks/cancel/{id} postTasksCancelId Cancel by Task ID Cancel the runs for a task by ID

func PostTasksCancelIDResponse

func PostTasksCancelIDResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error

PostTasksCancelIDResponse responds for PostTasksCancelID.

func PostTasksCancelIDValidateURLParams

func PostTasksCancelIDValidateURLParams(h *handlers.H, ctx *gin.Context) error

PostTasksCancelIDValidateURLParams validates the parameters in the URL according to the swagger specification.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL