SttpGitlabAPIFuture
class SttpGitlabAPIFuture(val config: GitlabConfig, apiConfig: GitlabRestAPIConfig)(implicit ex: ExecutionContext) extends GitlabRestAPI[Future] with LazyLogging
trait GitlabRestAPI[Future]
trait CommitsAPI[Future]
trait ProjectsAPI[Future]
trait PipelinesAPI[Future]
trait JobsAPI[Future]
trait DeploymentsAPI[Future]
trait EventsAPI[Future]
trait MergeRequestsAPI[Future]
trait TagsAPI[Future]
trait EmojiAwardsAPI[Future]
trait Gitlab4SMarshalling
trait LazyLogging
class Object
trait Matchable
class Any
Type members
Inherited classlikes
implicit class unmarshallEitherGitlabT[F[_]](data: EitherT[F, GitlabError, GitlabResponse[String]])(implicit m: Monad[F])
- Inherited from:
- Gitlab4SMarshalling
Inherited types
Value members
Concrete methods
override def byteRequest(requestData: GitlabRequest)(implicit requestId: RequestId): EitherT[Future, GitlabError, GitlabResponse[Array[Byte]]]
- Definition Classes
- GitlabRestAPI
override def invokeRequestRaw(requestData: GitlabRequest)(implicit requestId: RequestId): EitherT[Future, GitlabError, GitlabResponse[String]]
- Definition Classes
- GitlabRestAPI
Inherited methods
def approveMergeRequest(mergeRequest: MergeRequestID, headSha: Option[String]): EitherT[Future, GitlabError, MergeRequestApprovals]
- Inherited from:
- MergeRequestsAPI
def approveMergeRequest(projectId: EntityId, mergeRequestIId: BigInt, headSha: Option[String]): EitherT[Future, GitlabError, MergeRequestApprovals]
- Inherited from:
- MergeRequestsAPI
def awardEmoji(mergeRequest: MergeRequestInfo, emojiName: String): EitherT[Future, GitlabError, EmojiAward]
- Inherited from:
- EmojiAwardsAPI
def awardEmoji(projectID: EntityId, scope: AwardableScope, awardableId: BigInt, emojiName: String): EitherT[Future, GitlabError, EmojiAward]
- Inherited from:
- EmojiAwardsAPI
def awardMergeRequestEmoji(projectID: EntityId, mergeRequestIID: BigInt, emojiName: String): EitherT[Future, GitlabError, EmojiAward]
- Inherited from:
- EmojiAwardsAPI
def createApprovalRule(projectId: EntityId, mergeRequestIId: BigInt, name: String, userIds: Vector[BigInt]): GitlabResponseT[MergeRequestApprovalRule]
- Inherited from:
- MergeRequestsAPI
def createApprovalRule(projectId: EntityId, mergeRequestIId: BigInt, payload: CreateMergeRequestApprovalRule): GitlabResponseT[MergeRequestApprovalRule]
- Inherited from:
- MergeRequestsAPI
def createMergeRequestDiscussion(projectId: EntityId, mergeRequestIId: BigInt, payload: CreateMRDiscussion): GitlabResponseT[MergeRequestDiscussion]
- Inherited from:
- MergeRequestsAPI
def createMergeRequestDiscussionNote(projectId: EntityId, mergeRequestIId: BigInt, discussionId: String, body: String): GitlabResponseT[MergeRequestNote]
- Inherited from:
- MergeRequestsAPI
def createMergeRequestNote(projectId: EntityId, mergeRequestIId: BigInt, body: String): GitlabResponseT[MergeRequestNote]
- Inherited from:
- MergeRequestsAPI
def createProjectApprovalRule(projectId: EntityId, payload: UpsertProjectApprovalRule): EitherT[Future, GitlabError, ProjectApprovalRule]
- Inherited from:
- ProjectsAPI
def createPushRules(projectId: EntityId, pushRules: EditPushRuleRequest): GitlabResponseT[PushRules]
- Inherited from:
- ProjectsAPI
def createTag(projectId: EntityId, tagName: String, refToTag: String, message: Option[String], description: Option[String]): EitherT[Future, GitlabError, TagInfo]
- Inherited from:
- TagsAPI
def deleteApprovalRule(projectId: EntityId, mergeRequestIId: BigInt, approvalRule: MergeRequestApprovalRule): GitlabResponseT[String]
- Inherited from:
- MergeRequestsAPI
def deleteApprovalRule(projectId: EntityId, mergeRequestIId: BigInt, approvalRuleId: BigInt): GitlabResponseT[String]
- Inherited from:
- MergeRequestsAPI
def deleteMergeRequestNote(projectId: EntityId, mergeRequestIId: BigInt, noteId: BigInt): GitlabResponseT[Unit]
- Inherited from:
- MergeRequestsAPI
def downloadJobArtifacts(projectId: EntityId, jobId: BigInt): EitherT[Future, GitlabError, RawResponse]
- Inherited from:
- JobsAPI
def downloadSingleFileFromJobArtifact(projectId: EntityId, jobId: BigInt, artifactPath: String): EitherT[Future, GitlabError, RawResponse]
- Inherited from:
- JobsAPI
protected def getAllPaginatedResponse[A : Decoder](req: GitlabRequest, kind: String, paging: Paging): EitherT[Future, GitlabError, Vector[A]]
- Inherited from:
- GitlabRestAPI
def getApprovals(projectId: EntityId, mergeRequestIId: BigInt): GitlabResponseT[MergeRequestApprovals]
- Inherited from:
- MergeRequestsAPI
def getBranches(projectID: EntityId, searchTerm: Option[String]): GitlabResponseT[Vector[GitlabBranchInfo]]
- Inherited from:
- GitlabRestAPI
def getCommitRefs(projectId: EntityId, commitId: String): EitherT[Future, GitlabError, Vector[RefSimpleInfo]]
- Inherited from:
- CommitsAPI
def getCommits(projectId: EntityId, path: String, ref: String, since: ZonedDateTime, until: ZonedDateTime, paging: Paging): EitherT[Future, GitlabError, Vector[CommitSimple]]
- Inherited from:
- CommitsAPI
def getCommitsReferences(projectId: EntityId, commitSha: String): EitherT[Future, GitlabError, Vector[CommitReference]]
- Inherited from:
- CommitsAPI
def getDiffOfACommit(projectId: EntityId, ref: String): EitherT[Future, GitlabError, Vector[FileDiff]]
- Inherited from:
- CommitsAPI
def getEmojiAwards(mergeRequest: MergeRequestInfo): EitherT[Future, GitlabError, Vector[EmojiAward]]
- Inherited from:
- EmojiAwardsAPI
def getEmojiAwards(projectID: EntityId, scope: AwardableScope, awardableId: BigInt): EitherT[Future, GitlabError, Vector[EmojiAward]]
- Inherited from:
- EmojiAwardsAPI
def getEvents(since: UtcDate, until: UtcDate, targetType: TargetType, action: ActionType, paging: Paging, sort: Sorting[EventsSort]): EitherT[Future, GitlabError, Vector[EventInfo]]
- Inherited from:
- EventsAPI
def getGroupMergeRequests(groupId: EntityId, states: Iterable[MergeRequestState]): GitlabResponseT[Vector[MergeRequestInfo]]
- Inherited from:
- MergeRequestsAPI
def getGroupMergeRequests(groupId: EntityId, state: MergeRequestState, search: NullableField[String], author: NullableField[EntityId], myReaction: NullableField[String], updatedBefore: NullableField[ZonedDateTime], updatedAfter: NullableField[ZonedDateTime], createdBefore: NullableField[ZonedDateTime], createdAfter: NullableField[ZonedDateTime], withMergeStatusRecheck: NullableField[Boolean], paging: Paging, sort: NullableField[Sorting[MergeRequestsSort]]): GitlabResponseT[Vector[MergeRequestInfo]]
- Inherited from:
- MergeRequestsAPI
def getMergeRequestApprovalRules(projectId: EntityId, mergeRequestIId: BigInt): GitlabResponseT[Vector[MergeRequestApprovalRule]]
- Inherited from:
- MergeRequestsAPI
def getMergeRequestDiscussion(projectId: EntityId, mergeRequestIId: BigInt, discussionId: String): GitlabResponseT[MergeRequestDiscussion]
- Inherited from:
- MergeRequestsAPI
def getMergeRequestDiscussions(projectId: EntityId, mergeRequestIId: BigInt): GitlabResponseT[Vector[MergeRequestDiscussion]]
- Inherited from:
- MergeRequestsAPI
def getMergeRequestEmoji(projectID: EntityId, mergeRequestIID: BigInt): EitherT[Future, GitlabError, Vector[EmojiAward]]
- Inherited from:
- EmojiAwardsAPI
def getMergeRequestNote(projectId: EntityId, mergeRequestIId: BigInt, noteId: BigInt): GitlabResponseT[MergeRequestNote]
- Inherited from:
- MergeRequestsAPI
def getMergeRequestNotes(mr: MergeRequestID, paging: Paging, sort: Option[Sorting[MergeRequestNotesSort]]): GitlabResponseT[Vector[MergeRequestNote]]
- Inherited from:
- MergeRequestsAPI
def getMergeRequestNotes(projectId: EntityId, mergeRequestIId: BigInt, paging: Paging, sort: Option[Sorting[MergeRequestNotesSort]]): GitlabResponseT[Vector[MergeRequestNote]]
- Inherited from:
- MergeRequestsAPI
def getMergeRequests(projectID: EntityId, states: Iterable[MergeRequestState]): GitlabResponseT[Vector[MergeRequestInfo]]
- Inherited from:
- MergeRequestsAPI
def getMergeRequests(projectID: EntityId, state: MergeRequestState, author: NullableField[EntityId], search: NullableField[String], myReaction: NullableField[String], createdBefore: NullableField[ZonedDateTime], createdAfter: NullableField[ZonedDateTime], updatedBefore: NullableField[ZonedDateTime], updatedAfter: NullableField[ZonedDateTime], withMergeStatusRecheck: NullableField[Boolean], paging: Paging, sort: NullableField[Sorting[MergeRequestsSort]]): GitlabResponseT[Vector[MergeRequestInfo]]
- Inherited from:
- MergeRequestsAPI
def getMergeRequestsOfCommit(projectId: EntityId, commitSha: String): EitherT[Future, GitlabError, Vector[MergeRequestInfo]]
- Inherited from:
- CommitsAPI
def getPipeline(projectId: EntityId, pipelineId: BigInt): EitherT[Future, GitlabError, PipelineFullInfo]
- Inherited from:
- PipelinesAPI
def getPipelineJobs(projectId: EntityId, pipelineId: BigInt, scope: Set[JobScope]): EitherT[Future, GitlabError, Vector[JobFullInfo]]
- Inherited from:
- PipelinesAPI
def getPipelineVariables(projectId: EntityId, pipelineId: BigInt): EitherT[Future, GitlabError, Vector[PipelineVar]]
- Inherited from:
- PipelinesAPI
def getProjectApprovalRules(projectId: EntityId): EitherT[Future, GitlabError, Vector[ProjectApprovalRule]]
- Inherited from:
- ProjectsAPI
def getProjectDeployments(projectId: EntityId, environment: String, updatedAfter: ZonedDateTime, updatedBefore: ZonedDateTime, status: String, paging: Paging, sort: Sorting[DeploymentsSort]): EitherT[Future, GitlabError, Vector[DeploymentInfo]]
- Inherited from:
- DeploymentsAPI
def getProjectPipelines(projectId: EntityId, ref: String, sha: String, scope: PipelineScope, status: PipelineStatus, yamlErrors: Option[Boolean], name: String, username: String, updatedAfter: ZonedDateTime, updatedBefore: ZonedDateTime, sort: Sorting[PipelinesSort], paging: Paging): EitherT[Future, GitlabError, Vector[PipelineShort]]
- Inherited from:
- PipelinesAPI
def getProjectTags(projectId: EntityId, search: String, paging: Paging, sort: Sorting[TagsSort]): EitherT[Future, GitlabError, Vector[TagInfo]]
- Inherited from:
- TagsAPI
def getUserContributionEvents(userId: EntityId, since: UtcDate, until: UtcDate, targetType: TargetType, action: ActionType, paging: Paging, sort: Sorting[EventsSort]): EitherT[Future, GitlabError, Vector[EventInfo]]
- Inherited from:
- EventsAPI
def globalMergeRequestSearch(state: NullableField[MergeRequestState], author: NullableField[EntityId], scope: NullableField[MergeRequestSearchScope], titleOrDescriptionText: NullableField[String], createdBefore: NullableField[ZonedDateTime], createdAfter: NullableField[ZonedDateTime], updatedBefore: NullableField[ZonedDateTime], updatedAfter: NullableField[ZonedDateTime], withMergeStatusRecheck: NullableField[Boolean], sort: NullableField[Sorting[MergeRequestsSort]]): GitlabResponseT[Vector[MergeRequestInfo]]
- Inherited from:
- MergeRequestsAPI
protected def globalSearch(scope: SearchScope, phrase: String): EitherT[Future, GitlabError, Vector[MergeRequestInfo]]
- Inherited from:
- GitlabRestAPI
protected def invokeRequest(request: GitlabRequest)(implicit requestId: RequestId): EitherT[Future, GitlabError, String]
- Inherited from:
- GitlabRestAPI
protected def renderParams(myReaction: NullableField[String], author: NullableField[EntityId], search: NullableField[String], state: MergeRequestState, updatedBefore: NullableField[ZonedDateTime], updatedAfter: NullableField[ZonedDateTime], createdBefore: NullableField[ZonedDateTime], createdAfter: NullableField[ZonedDateTime], withMergeStatusRecheck: NullableField[Boolean], sort: NullableField[Sorting[MergeRequestsSort]]): Vector[ParamQuery]
- Inherited from:
- GitlabRestAPI
def resolveMergeRequestDiscussion(projectId: EntityId, mergeRequestIId: BigInt, discussionId: String, resolved: Boolean): GitlabResponseT[MergeRequestDiscussion]
- Inherited from:
- MergeRequestsAPI
def triggerPipeline(projectId: EntityId, branch: String, vars: Vector[PipelineVar]): EitherT[Future, GitlabError, PipelineFullInfo]
- Inherited from:
- PipelinesAPI
def unapproveMergeRequest(projectId: EntityId, mergeRequestIId: BigInt): EitherT[Future, GitlabError, MergeRequestApprovals]
- Inherited from:
- MergeRequestsAPI
def unawardEmoji(mergeRequest: MergeRequestInfo, emojiAward: EmojiAward): EitherT[Future, GitlabError, Unit]
- Inherited from:
- EmojiAwardsAPI
def unawardEmoji(projectID: EntityId, scope: AwardableScope, awardableId: BigInt, awardId: BigInt): EitherT[Future, GitlabError, Unit]
- Inherited from:
- EmojiAwardsAPI
def updateMergeRequest(projectID: EntityId, mrId: BigInt, updateMrPayload: UpdateMRPayload): GitlabResponseT[MergeRequestFull]
- Inherited from:
- MergeRequestsAPI
def updateMergeRequestDiscussionNote(projectId: EntityId, mergeRequestIId: BigInt, discussionId: String, noteId: BigInt, payload: MRDiscussionUpdate): GitlabResponseT[MergeRequestNote]
- Inherited from:
- MergeRequestsAPI
def updateMergeRequestNote(projectId: EntityId, mergeRequestIId: BigInt, noteId: BigInt, newBody: String): GitlabResponseT[MergeRequestNote]
- Inherited from:
- MergeRequestsAPI
def updateProjectApprovalRule(projectId: EntityId, approvalRuleId: BigInt, payload: UpsertProjectApprovalRule): EitherT[Future, GitlabError, ProjectApprovalRule]
- Inherited from:
- ProjectsAPI
Concrete fields
Inherited fields
Implicits
Inherited implicits
final implicit def unmarshallEitherGitlabT[F[_]](data: EitherT[F, GitlabError, GitlabResponse[String]])(implicit m: Monad[F]): unmarshallEitherGitlabT[F]
- Inherited from:
- Gitlab4SMarshalling
final implicit def unmarshallEitherT[F[_]](data: EitherT[F, GitlabError, String])(implicit m: Monad[F]): unmarshallEitherT[F]
- Inherited from:
- Gitlab4SMarshalling