Documentation
¶
Index ¶
- func DeleteCapabilitiesUsernameCapability(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func DeleteCapabilitiesUsernameCapabilityResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func DeleteCapabilitiesUsernameCapabilityValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func DeleteToken(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func DeleteTokenResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func DeleteTokenValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetErrors(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetErrorsResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetErrorsValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetLogAttachID(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetLogAttachIDResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetLogAttachIDValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetLoggedin(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetLoggedinResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetLoggedinValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetLogin(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetLoginResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetLoginUpgrade(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetLoginUpgradeResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetLoginUpgradeValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetLoginValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetLogout(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetLogoutResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetLogoutValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetRepositoriesCiAddOwnerRepo(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetRepositoriesCiAddOwnerRepoResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetRepositoriesCiAddOwnerRepoValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetRepositoriesCiDelOwnerRepo(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetRepositoriesCiDelOwnerRepoResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetRepositoriesCiDelOwnerRepoValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetRepositoriesMy(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetRepositoriesMyResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetRepositoriesMyValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetRepositoriesScan(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetRepositoriesScanResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetRepositoriesScanValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetRepositoriesSubAddOwnerRepo(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetRepositoriesSubAddOwnerRepoResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetRepositoriesSubAddOwnerRepoValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetRepositoriesSubDelOwnerRepo(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetRepositoriesSubDelOwnerRepoResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetRepositoriesSubDelOwnerRepoValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetRepositoriesSubscribed(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetRepositoriesSubscribedResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetRepositoriesSubscribedValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetRepositoriesVisible(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetRepositoriesVisibleResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetRepositoriesVisibleValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetRunRunID(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetRunRunIDResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetRunRunIDValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetRuns(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetRunsCount(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetRunsCountResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetRunsCountValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetRunsResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetRunsValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetSubmissionID(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetSubmissionIDResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetSubmissionIDRuns(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetSubmissionIDRunsResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetSubmissionIDRunsValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetSubmissionIDTasks(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetSubmissionIDTasksResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetSubmissionIDTasksValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetSubmissionIDValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetSubmissions(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetSubmissionsCount(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetSubmissionsCountResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetSubmissionsCountValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetSubmissionsResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetSubmissionsValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetSubmit(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetSubmitResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetSubmitValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetTasks(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetTasksCount(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetTasksCountResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetTasksCountValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetTasksResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetTasksRunsID(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetTasksRunsIDCount(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetTasksRunsIDCountResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetTasksRunsIDCountValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetTasksRunsIDResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetTasksRunsIDValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetTasksSubscribed(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetTasksSubscribedResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetTasksSubscribedValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetTasksValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetToken(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetTokenResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetTokenValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func GetUserProperties(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func GetUserPropertiesResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func GetUserPropertiesValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func PostCancelRunID(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func PostCancelRunIDResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func PostCancelRunIDValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func PostCapabilitiesUsernameCapability(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func PostCapabilitiesUsernameCapabilityResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func PostCapabilitiesUsernameCapabilityValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func PostSubmissionIDCancel(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func PostSubmissionIDCancelResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func PostSubmissionIDCancelValidateURLParams(h *handlers.H, ctx *gin.Context) error
- func PostTasksCancelID(h *handlers.H, ctx *gin.Context, processingHandler handlers.HandlerFunc) error
- func PostTasksCancelIDResponse(h *handlers.H, ctx *gin.Context, resp interface{}, code int, err error) error
- func PostTasksCancelIDValidateURLParams(h *handlers.H, ctx *gin.Context) error
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 ¶
DeleteCapabilitiesUsernameCapabilityValidateURLParams validates the parameters in the URL according to the swagger specification.
func DeleteToken ¶
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 ¶
DeleteTokenValidateURLParams validates the parameters in the URL according to the swagger specification.
func GetErrors ¶
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 ¶
GetErrorsValidateURLParams validates the parameters in the URL according to the swagger specification.
func GetLogAttachID ¶
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 ¶
GetLogAttachIDValidateURLParams validates the parameters in the URL according to the swagger specification.
func GetLoggedin ¶
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 ¶
GetLoggedinValidateURLParams validates the parameters in the URL according to the swagger specification.
func GetLogin ¶
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 ¶
GetLoginResponse responds for GetLogin.
func GetLoginUpgrade ¶
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 ¶
GetLoginUpgradeValidateURLParams validates the parameters in the URL according to the swagger specification.
func GetLoginValidateURLParams ¶
GetLoginValidateURLParams validates the parameters in the URL according to the swagger specification.
func GetLogout ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
GetRepositoriesVisibleValidateURLParams validates the parameters in the URL according to the swagger specification.
func GetRunRunID ¶
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 ¶
GetRunRunIDValidateURLParams validates the parameters in the URL according to the swagger specification.
func GetRuns ¶
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 ¶
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 ¶
GetRunsCountValidateURLParams validates the parameters in the URL according to the swagger specification.
func GetRunsResponse ¶
GetRunsResponse responds for GetRuns.
func GetRunsValidateURLParams ¶
GetRunsValidateURLParams validates the parameters in the URL according to the swagger specification.
func GetSubmissionID ¶
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 ¶
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 ¶
GetSubmissionIDTasksValidateURLParams validates the parameters in the URL according to the swagger specification.
func GetSubmissionIDValidateURLParams ¶
GetSubmissionIDValidateURLParams validates the parameters in the URL according to the swagger specification.
func GetSubmissions ¶
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 ¶
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 ¶
GetSubmissionsValidateURLParams validates the parameters in the URL according to the swagger specification.
func GetSubmit ¶
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 ¶
GetSubmitValidateURLParams validates the parameters in the URL according to the swagger specification.
func GetTasks ¶
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 ¶
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 ¶
GetTasksCountValidateURLParams validates the parameters in the URL according to the swagger specification.
func GetTasksResponse ¶
GetTasksResponse responds for GetTasks.
func GetTasksRunsID ¶
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 ¶
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 ¶
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 ¶
GetTasksSubscribedValidateURLParams validates the parameters in the URL according to the swagger specification.
func GetTasksValidateURLParams ¶
GetTasksValidateURLParams validates the parameters in the URL according to the swagger specification.
func GetToken ¶
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 ¶
GetTokenResponse responds for GetToken.
func GetTokenValidateURLParams ¶
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 ¶
GetUserPropertiesValidateURLParams validates the parameters in the URL according to the swagger specification.
func PostCancelRunID ¶
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 ¶
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 ¶
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 ¶
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
Types ¶
This section is empty.
Source Files
¶
- delete_capabilities_username_capability.go
- delete_capabilities_username_capability_parameters.go
- delete_capabilities_username_capability_responses.go
- delete_capabilities_username_capability_urlbuilder.go
- delete_token.go
- delete_token_parameters.go
- delete_token_responses.go
- delete_token_urlbuilder.go
- get_errors.go
- get_errors_parameters.go
- get_errors_responses.go
- get_errors_urlbuilder.go
- get_log_attach_id.go
- get_log_attach_id_parameters.go
- get_log_attach_id_responses.go
- get_log_attach_id_urlbuilder.go
- get_loggedin.go
- get_loggedin_parameters.go
- get_loggedin_responses.go
- get_loggedin_urlbuilder.go
- get_login.go
- get_login_parameters.go
- get_login_responses.go
- get_login_upgrade.go
- get_login_upgrade_parameters.go
- get_login_upgrade_responses.go
- get_login_upgrade_urlbuilder.go
- get_login_urlbuilder.go
- get_logout.go
- get_logout_parameters.go
- get_logout_responses.go
- get_logout_urlbuilder.go
- get_repositories_ci_add_owner_repo.go
- get_repositories_ci_add_owner_repo_parameters.go
- get_repositories_ci_add_owner_repo_responses.go
- get_repositories_ci_add_owner_repo_urlbuilder.go
- get_repositories_ci_del_owner_repo.go
- get_repositories_ci_del_owner_repo_parameters.go
- get_repositories_ci_del_owner_repo_responses.go
- get_repositories_ci_del_owner_repo_urlbuilder.go
- get_repositories_my.go
- get_repositories_my_parameters.go
- get_repositories_my_responses.go
- get_repositories_my_urlbuilder.go
- get_repositories_scan.go
- get_repositories_scan_parameters.go
- get_repositories_scan_responses.go
- get_repositories_scan_urlbuilder.go
- get_repositories_sub_add_owner_repo.go
- get_repositories_sub_add_owner_repo_parameters.go
- get_repositories_sub_add_owner_repo_responses.go
- get_repositories_sub_add_owner_repo_urlbuilder.go
- get_repositories_sub_del_owner_repo.go
- get_repositories_sub_del_owner_repo_parameters.go
- get_repositories_sub_del_owner_repo_responses.go
- get_repositories_sub_del_owner_repo_urlbuilder.go
- get_repositories_subscribed.go
- get_repositories_subscribed_parameters.go
- get_repositories_subscribed_responses.go
- get_repositories_subscribed_urlbuilder.go
- get_repositories_visible.go
- get_repositories_visible_parameters.go
- get_repositories_visible_responses.go
- get_repositories_visible_urlbuilder.go
- get_run_run_id.go
- get_run_run_id_parameters.go
- get_run_run_id_responses.go
- get_run_run_id_urlbuilder.go
- get_runs.go
- get_runs_count.go
- get_runs_count_parameters.go
- get_runs_count_responses.go
- get_runs_count_urlbuilder.go
- get_runs_parameters.go
- get_runs_responses.go
- get_runs_urlbuilder.go
- get_submission_id.go
- get_submission_id_parameters.go
- get_submission_id_responses.go
- get_submission_id_runs.go
- get_submission_id_runs_parameters.go
- get_submission_id_runs_responses.go
- get_submission_id_runs_urlbuilder.go
- get_submission_id_tasks.go
- get_submission_id_tasks_parameters.go
- get_submission_id_tasks_responses.go
- get_submission_id_tasks_urlbuilder.go
- get_submission_id_urlbuilder.go
- get_submissions.go
- get_submissions_count.go
- get_submissions_count_parameters.go
- get_submissions_count_responses.go
- get_submissions_count_urlbuilder.go
- get_submissions_parameters.go
- get_submissions_responses.go
- get_submissions_urlbuilder.go
- get_submit.go
- get_submit_parameters.go
- get_submit_responses.go
- get_submit_urlbuilder.go
- get_tasks.go
- get_tasks_count.go
- get_tasks_count_parameters.go
- get_tasks_count_responses.go
- get_tasks_count_urlbuilder.go
- get_tasks_parameters.go
- get_tasks_responses.go
- get_tasks_runs_id.go
- get_tasks_runs_id_count.go
- get_tasks_runs_id_count_parameters.go
- get_tasks_runs_id_count_responses.go
- get_tasks_runs_id_count_urlbuilder.go
- get_tasks_runs_id_parameters.go
- get_tasks_runs_id_responses.go
- get_tasks_runs_id_urlbuilder.go
- get_tasks_subscribed.go
- get_tasks_subscribed_parameters.go
- get_tasks_subscribed_responses.go
- get_tasks_subscribed_urlbuilder.go
- get_tasks_urlbuilder.go
- get_token.go
- get_token_parameters.go
- get_token_responses.go
- get_token_urlbuilder.go
- get_user_properties.go
- get_user_properties_parameters.go
- get_user_properties_responses.go
- get_user_properties_urlbuilder.go
- post_cancel_run_id.go
- post_cancel_run_id_parameters.go
- post_cancel_run_id_responses.go
- post_cancel_run_id_urlbuilder.go
- post_capabilities_username_capability.go
- post_capabilities_username_capability_parameters.go
- post_capabilities_username_capability_responses.go
- post_capabilities_username_capability_urlbuilder.go
- post_submission_id_cancel.go
- post_submission_id_cancel_parameters.go
- post_submission_id_cancel_responses.go
- post_submission_id_cancel_urlbuilder.go
- post_tasks_cancel_id.go
- post_tasks_cancel_id_parameters.go
- post_tasks_cancel_id_responses.go
- post_tasks_cancel_id_urlbuilder.go
- uisvc_api.go