SttpGitlabAPITryFuture
io.gitlab.mateuszjaje.gitlabclient.sttptrybackend.SttpGitlabAPITryFuture
class SttpGitlabAPITryFuture(val config: GitlabConfig, apiConfig: GitlabRestAPIConfig)(implicit val m: Monad[Future]) extends GitlabRestAPI[Future] with LazyLogging
Attributes
- Graph
- Supertypes
- 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 Gitlab4SMarshallingtrait LazyLoggingclass Objecttrait Matchableclass Any
Members list
Concise view
Type members
Inherited classlikes
object MJson
Attributes
- Inherited from:
- Gitlab4SMarshalling
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
implicit class unmarshallEitherGitlabT[F[_]](data: EitherT[F, GitlabError, GitlabResponse[String]])(implicit m: Functor[F])
Attributes
- Inherited from:
- Gitlab4SMarshalling
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
implicit class unmarshallEitherT[F[_]](data: EitherT[F, GitlabError, String])(implicit m: Functor[F])
Attributes
- Inherited from:
- Gitlab4SMarshalling
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
implicit class unmarshallF[F[_]](data: F[Either[GitlabError, GitlabResponse[String]]])(implicit m: GitlabApiT[F])
Attributes
- Inherited from:
- Gitlab4SMarshalling
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Gitlab4SMarshalling
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Inherited types
Attributes
- Inherited from:
- GitlabRestAPI
Value members
Concrete methods
override def byteRequest(requestData: GitlabRequest)(implicit requestId: RequestId): EitherT[Future, GitlabError, GitlabResponse[Array[Byte]]]
Attributes
- Definition Classes
- GitlabRestAPI
override def invokeRequestRaw(requestData: GitlabRequest)(implicit requestId: RequestId): EitherT[Future, GitlabError, GitlabResponse[String]]
Attributes
- Definition Classes
- GitlabRestAPI
Inherited methods
def approveMergeRequest(mergeRequest: MergeRequestID, headSha: Option[String]): EitherT[F, GitlabError, MergeRequestApprovals]
Attributes
- Inherited from:
- MergeRequestsAPI
def approveMergeRequest(projectId: EntityId, mergeRequestIId: BigInt, headSha: Option[String]): EitherT[F, GitlabError, MergeRequestApprovals]
Attributes
- Inherited from:
- MergeRequestsAPI
Attributes
- Inherited from:
- GitlabRestAPI
def awardEmoji(mergeRequest: MergeRequestInfo, emojiName: String): EitherT[F, GitlabError, EmojiAward]
Attributes
- Inherited from:
- EmojiAwardsAPI
def awardEmoji(projectID: EntityId, scope: AwardableScope, awardableId: BigInt, emojiName: String): EitherT[F, GitlabError, EmojiAward]
Attributes
- Inherited from:
- EmojiAwardsAPI
def awardMergeRequestEmoji(projectID: EntityId, mergeRequestIID: BigInt, emojiName: String): EitherT[F, GitlabError, EmojiAward]
Attributes
- Inherited from:
- EmojiAwardsAPI
Attributes
- Inherited from:
- JobsAPI
def createApprovalRule(projectId: EntityId, mergeRequestIId: BigInt, name: String, userIds: Vector[BigInt]): GitlabResponseT[MergeRequestApprovalRule]
Attributes
- Inherited from:
- MergeRequestsAPI
def createApprovalRule(projectId: EntityId, mergeRequestIId: BigInt, payload: CreateMergeRequestApprovalRule): GitlabResponseT[MergeRequestApprovalRule]
Attributes
- Inherited from:
- MergeRequestsAPI
def createMergeRequestDiscussion(projectId: EntityId, mergeRequestIId: BigInt, payload: CreateMRDiscussion): GitlabResponseT[MergeRequestDiscussion]
Attributes
- Inherited from:
- MergeRequestsAPI
def createMergeRequestDiscussionNote(projectId: EntityId, mergeRequestIId: BigInt, discussionId: String, body: String): GitlabResponseT[MergeRequestNote]
Attributes
- Inherited from:
- MergeRequestsAPI
def createMergeRequestNote(projectId: EntityId, mergeRequestIId: BigInt, body: String): GitlabResponseT[MergeRequestNote]
Attributes
- Inherited from:
- MergeRequestsAPI
def createProjectApprovalRule(projectId: EntityId, payload: UpsertProjectApprovalRule): EitherT[F, GitlabError, ProjectApprovalRule]
Attributes
- Inherited from:
- ProjectsAPI
def createPushRules(projectId: EntityId, pushRules: EditPushRuleRequest): GitlabResponseT[PushRules]
Attributes
- Inherited from:
- ProjectsAPI
def createTag(projectId: EntityId, tagName: String, refToTag: String, message: Option[String], description: Option[String]): EitherT[F, GitlabError, TagInfo]
Attributes
- Inherited from:
- TagsAPI
def deleteApprovalRule(projectId: EntityId, mergeRequestIId: BigInt, approvalRule: MergeRequestApprovalRule): GitlabResponseT[String]
Attributes
- Inherited from:
- MergeRequestsAPI
def deleteApprovalRule(projectId: EntityId, mergeRequestIId: BigInt, approvalRuleId: BigInt): GitlabResponseT[String]
Attributes
- Inherited from:
- MergeRequestsAPI
Attributes
- Inherited from:
- MergeRequestsAPI
def deleteMergeRequestNote(projectId: EntityId, mergeRequestIId: BigInt, noteId: BigInt): GitlabResponseT[Unit]
Attributes
- Inherited from:
- MergeRequestsAPI
Attributes
- Inherited from:
- TagsAPI
Attributes
- Inherited from:
- JobsAPI
Attributes
- Inherited from:
- JobsAPI
def downloadSingleFileFromJobArtifact(projectId: EntityId, jobId: BigInt, artifactPath: String): EitherT[F, GitlabError, RawResponse]
Attributes
- Inherited from:
- JobsAPI
Attributes
- Inherited from:
- ProjectsAPI
Attributes
- Inherited from:
- ProjectsAPI
protected def getAllPaginatedResponse[A : Decoder](req: GitlabRequest, kind: String, paging: Paging): EitherT[F, GitlabError, Vector[A]]
Attributes
- Inherited from:
- GitlabRestAPI
Attributes
- Inherited from:
- MergeRequestsAPI
def getApprovals(projectId: EntityId, mergeRequestIId: BigInt): GitlabResponseT[MergeRequestApprovals]
Attributes
- Inherited from:
- MergeRequestsAPI
def getBranches(projectID: EntityId, searchTerm: Option[String]): GitlabResponseT[Vector[GitlabBranchInfo]]
Attributes
- Inherited from:
- GitlabRestAPI
Attributes
- Inherited from:
- CommitsAPI
def getCommitRefs(projectId: EntityId, commitId: String): EitherT[F, GitlabError, Vector[RefSimpleInfo]]
Attributes
- Inherited from:
- CommitsAPI
def getCommits(projectId: EntityId, path: String, ref: String, since: ZonedDateTime, until: ZonedDateTime, paging: Paging): EitherT[F, GitlabError, Vector[CommitSimple]]
Attributes
- Inherited from:
- CommitsAPI
def getCommitsReferences(projectId: EntityId, commitSha: String): EitherT[F, GitlabError, Vector[CommitReference]]
Attributes
- Inherited from:
- CommitsAPI
Attributes
- Inherited from:
- GitlabRestAPI
Attributes
- Inherited from:
- CommitsAPI
Attributes
- Inherited from:
- EmojiAwardsAPI
def getEmojiAwards(projectID: EntityId, scope: AwardableScope, awardableId: BigInt): EitherT[F, GitlabError, Vector[EmojiAward]]
Attributes
- Inherited from:
- EmojiAwardsAPI
def getEvents(since: UtcDate, until: UtcDate, targetType: TargetType, action: ActionType, paging: Paging, sort: Sorting[EventsSort]): EitherT[F, GitlabError, Vector[EventInfo]]
Attributes
- Inherited from:
- EventsAPI
def getGroupMergeRequests(groupId: EntityId, states: Iterable[MergeRequestState]): GitlabResponseT[Vector[MergeRequestInfo]]
Attributes
- 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]]
Attributes
- Inherited from:
- MergeRequestsAPI
Attributes
- Inherited from:
- JobsAPI
Attributes
- Inherited from:
- MergeRequestsAPI
def getMergeRequestApprovalRules(projectId: EntityId, mergeRequestIId: BigInt): GitlabResponseT[Vector[MergeRequestApprovalRule]]
Attributes
- Inherited from:
- MergeRequestsAPI
Attributes
- Inherited from:
- MergeRequestsAPI
def getMergeRequestDiscussion(projectId: EntityId, mergeRequestIId: BigInt, discussionId: String): GitlabResponseT[MergeRequestDiscussion]
Attributes
- Inherited from:
- MergeRequestsAPI
def getMergeRequestDiscussions(projectId: EntityId, mergeRequestIId: BigInt): GitlabResponseT[Vector[MergeRequestDiscussion]]
Attributes
- Inherited from:
- MergeRequestsAPI
def getMergeRequestEmoji(projectID: EntityId, mergeRequestIID: BigInt): EitherT[F, GitlabError, Vector[EmojiAward]]
Attributes
- Inherited from:
- EmojiAwardsAPI
def getMergeRequestNote(projectId: EntityId, mergeRequestIId: BigInt, noteId: BigInt): GitlabResponseT[MergeRequestNote]
Attributes
- Inherited from:
- MergeRequestsAPI
def getMergeRequestNotes(mr: MergeRequestID, paging: Paging, sort: Option[Sorting[MergeRequestNotesSort]]): GitlabResponseT[Vector[MergeRequestNote]]
Attributes
- Inherited from:
- MergeRequestsAPI
Attributes
- Inherited from:
- MergeRequestsAPI
def getMergeRequestNotes(projectId: EntityId, mergeRequestIId: BigInt, paging: Paging, sort: Option[Sorting[MergeRequestNotesSort]]): GitlabResponseT[Vector[MergeRequestNote]]
Attributes
- Inherited from:
- MergeRequestsAPI
def getMergeRequests(projectID: EntityId, states: Iterable[MergeRequestState]): GitlabResponseT[Vector[MergeRequestInfo]]
Attributes
- 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]]
Attributes
- Inherited from:
- MergeRequestsAPI
def getMergeRequestsOfCommit(projectId: EntityId, commitSha: String): EitherT[F, GitlabError, Vector[MergeRequestInfo]]
Attributes
- Inherited from:
- CommitsAPI
Attributes
- Inherited from:
- PipelinesAPI
def getPipelineBridges(projectId: EntityId, pipelineId: BigInt, scopes: Seq[PipelineStatus]): EitherT[F, GitlabError, Vector[PipelineBridgeJob]]
Attributes
- Inherited from:
- JobsAPI
def getPipelineJobs(projectId: EntityId, pipelineId: BigInt, scope: Set[JobScope]): EitherT[F, GitlabError, Vector[JobFullInfo]]
Attributes
- Inherited from:
- PipelinesAPI
def getPipelineVariables(projectId: EntityId, pipelineId: BigInt): EitherT[F, GitlabError, Vector[PipelineVar]]
Attributes
- Inherited from:
- PipelinesAPI
Attributes
- Inherited from:
- ProjectsAPI
def getProjectApprovalRules(projectId: EntityId): EitherT[F, GitlabError, Vector[ProjectApprovalRule]]
Attributes
- Inherited from:
- ProjectsAPI
def getProjectDeployments(projectId: EntityId, environment: String, updatedAfter: ZonedDateTime, updatedBefore: ZonedDateTime, status: String, paging: Paging, sort: Sorting[DeploymentsSort]): EitherT[F, GitlabError, Vector[DeploymentInfo]]
Attributes
- 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[F, GitlabError, Vector[PipelineShort]]
Attributes
- Inherited from:
- PipelinesAPI
def getProjectTags(projectId: EntityId, search: String, paging: Paging, sort: Sorting[TagsSort]): EitherT[F, GitlabError, Vector[TagInfo]]
Attributes
- Inherited from:
- TagsAPI
Attributes
- Inherited from:
- ProjectsAPI
Attributes
- Inherited from:
- ProjectsAPI
Attributes
- Inherited from:
- ProjectsAPI
Attributes
- Inherited from:
- TagsAPI
def getUserContributionEvents(userId: EntityId, since: UtcDate, until: UtcDate, targetType: TargetType, action: ActionType, paging: Paging, sort: Sorting[EventsSort]): EitherT[F, GitlabError, Vector[EventInfo]]
Attributes
- Inherited from:
- EventsAPI
Attributes
- Inherited from:
- MergeRequestsAPI
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]]
Attributes
- Inherited from:
- MergeRequestsAPI
protected def globalSearch(scope: SearchScope, phrase: String): EitherT[F, GitlabError, Vector[MergeRequestInfo]]
Attributes
- Inherited from:
- GitlabRestAPI
Attributes
- Inherited from:
- GitlabRestAPI
Attributes
- Inherited from:
- MergeRequestsAPI
protected def invokeRequest(request: GitlabRequest)(implicit requestId: RequestId): EitherT[F, GitlabError, String]
Attributes
- 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]
Attributes
- Inherited from:
- GitlabRestAPI
def resolveMergeRequestDiscussion(projectId: EntityId, mergeRequestIId: BigInt, discussionId: String, resolved: Boolean): GitlabResponseT[MergeRequestDiscussion]
Attributes
- Inherited from:
- MergeRequestsAPI
Attributes
- Inherited from:
- JobsAPI
def triggerPipeline(projectId: EntityId, branch: String, vars: Vector[PipelineVar]): EitherT[F, GitlabError, PipelineFullInfo]
Attributes
- Inherited from:
- PipelinesAPI
def unapproveMergeRequest(projectId: EntityId, mergeRequestIId: BigInt): EitherT[F, GitlabError, MergeRequestApprovals]
Attributes
- Inherited from:
- MergeRequestsAPI
def unawardEmoji(mergeRequest: MergeRequestInfo, emojiAward: EmojiAward): EitherT[F, GitlabError, Unit]
Attributes
- Inherited from:
- EmojiAwardsAPI
def unawardEmoji(projectID: EntityId, scope: AwardableScope, awardableId: BigInt, awardId: BigInt): EitherT[F, GitlabError, Unit]
Attributes
- Inherited from:
- EmojiAwardsAPI
def updateMergeRequest(projectID: EntityId, mrId: BigInt, updateMrPayload: UpdateMRPayload): GitlabResponseT[MergeRequestFull]
Attributes
- Inherited from:
- MergeRequestsAPI
def updateMergeRequestDiscussionNote(projectId: EntityId, mergeRequestIId: BigInt, discussionId: String, noteId: BigInt, payload: MRDiscussionUpdate): GitlabResponseT[MergeRequestNote]
Attributes
- Inherited from:
- MergeRequestsAPI
def updateMergeRequestNote(projectId: EntityId, mergeRequestIId: BigInt, noteId: BigInt, newBody: String): GitlabResponseT[MergeRequestNote]
Attributes
- Inherited from:
- MergeRequestsAPI
def updateProjectApprovalRule(projectId: EntityId, approvalRuleId: BigInt, payload: UpsertProjectApprovalRule): EitherT[F, GitlabError, ProjectApprovalRule]
Attributes
- Inherited from:
- ProjectsAPI
Attributes
- Inherited from:
- GitlabRestAPI
Inherited fields
Attributes
- Inherited from:
- GitlabRestAPI
Attributes
- Inherited from:
- GitlabRestAPI
Attributes
- Inherited from:
- LazyLogging
Attributes
- Inherited from:
- GitlabRestAPI
Implicits
Implicits
Inherited implicits
Attributes
- Inherited from:
- Gitlab4SMarshalling
final implicit def unmarshallEitherGitlabT[F[_]](data: EitherT[F, GitlabError, GitlabResponse[String]])(implicit m: Functor[F]): unmarshallEitherGitlabT[F]
Attributes
- Inherited from:
- Gitlab4SMarshalling
final implicit def unmarshallEitherT[F[_]](data: EitherT[F, GitlabError, String])(implicit m: Functor[F]): unmarshallEitherT[F]
Attributes
- Inherited from:
- Gitlab4SMarshalling
final implicit def unmarshallF[F[_]](data: F[Either[GitlabError, GitlabResponse[String]]])(implicit m: GitlabApiT[F]): unmarshallF[F]
Attributes
- Inherited from:
- Gitlab4SMarshalling
final implicit def unmarshallFF[F[_]](data: F[Either[GitlabError, String]])(implicit m: GitlabApiT[F]): unmarshallFF[F]
Attributes
- Inherited from:
- Gitlab4SMarshalling
Attributes
- Inherited from:
- Gitlab4SMarshalling