SttpGitlabAPIV2Try
io.gitlab.mateuszjaje.gitlabclient.sttptrybackend.SttpGitlabAPIV2Try
class SttpGitlabAPIV2Try(val config: GitlabConfig, apiConfig: GitlabRestAPIConfig) extends GitlabRestAPIV2[Id] with LazyLogging
Attributes
- Graph
- Supertypes
- trait GitlabRestAPIV2[Id]trait CommitsAPIV2[Id]trait ProjectsAPIV2[Id]trait GroupsAPIV2[Id]trait PipelinesAPIV2[Id]trait JobsAPIV2[Id]trait DeploymentsAPIV2[Id]trait EventsAPIV2[Id]trait MergeRequestsAPIV2[Id]trait TagsAPIV2[Id]trait EmojiAwardsAPIV2[Id]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
Value members
Concrete methods
override def byteRequest(requestData: GitlabRequest)(implicit requestId: RequestId): Id[Either[GitlabError, GitlabResponse[Array[Byte]]]]
Attributes
- Definition Classes
- GitlabRestAPIV2
override def invokeRequestRaw(requestData: GitlabRequest)(implicit requestId: RequestId): Id[Either[GitlabError, GitlabResponse[String]]]
Attributes
- Definition Classes
- GitlabRestAPIV2
Inherited methods
def approveMergeRequest(mergeRequest: MergeRequestID, headSha: Option[String]): F[Either[GitlabError, MergeRequestApprovals]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
def approveMergeRequest(projectId: EntityId, mergeRequestIId: BigInt, headSha: Option[String]): F[Either[GitlabError, MergeRequestApprovals]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
Attributes
- Inherited from:
- ProjectsAPIV2
Attributes
- Inherited from:
- GitlabRestAPIV2
def awardEmoji(mergeRequest: MergeRequestInfo, emojiName: String): F[Either[GitlabError, EmojiAward]]
Attributes
- Inherited from:
- EmojiAwardsAPIV2
def awardEmoji(projectID: EntityId, scope: AwardableScope, awardableId: BigInt, emojiName: String): F[Either[GitlabError, EmojiAward]]
Attributes
- Inherited from:
- EmojiAwardsAPIV2
def awardMergeRequestEmoji(projectID: EntityId, mergeRequestIID: BigInt, emojiName: String): F[Either[GitlabError, EmojiAward]]
Attributes
- Inherited from:
- EmojiAwardsAPIV2
Attributes
- Inherited from:
- JobsAPIV2
def createApprovalRule(projectId: EntityId, mergeRequestIId: BigInt, name: String, userIds: Vector[BigInt]): F[Either[GitlabError, MergeRequestApprovalRule]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
def createApprovalRule(projectId: EntityId, mergeRequestIId: BigInt, payload: CreateMergeRequestApprovalRule): F[Either[GitlabError, MergeRequestApprovalRule]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
def createMergeRequestDiscussion(projectId: EntityId, mergeRequestIId: BigInt, payload: CreateMRDiscussion): F[Either[GitlabError, MergeRequestDiscussion]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
def createMergeRequestDiscussionNote(projectId: EntityId, mergeRequestIId: BigInt, discussionId: String, body: String): F[Either[GitlabError, MergeRequestNote]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
def createMergeRequestNote(projectId: EntityId, mergeRequestIId: BigInt, body: String): F[Either[GitlabError, MergeRequestNote]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
def createProjectApprovalRule(projectId: EntityId, payload: UpsertProjectApprovalRule): F[Either[GitlabError, ProjectApprovalRule]]
Attributes
- Inherited from:
- ProjectsAPIV2
def createPushRules(projectId: EntityId, pushRules: EditPushRuleRequest): F[Either[GitlabError, PushRules]]
Attributes
- Inherited from:
- ProjectsAPIV2
def createTag(projectId: EntityId, tagName: String, refToTag: String, message: Option[String], description: Option[String]): F[Either[GitlabError, TagInfo]]
Attributes
- Inherited from:
- TagsAPIV2
def deleteApprovalRule(projectId: EntityId, mergeRequestIId: BigInt, approvalRule: MergeRequestApprovalRule): F[Either[GitlabError, String]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
def deleteApprovalRule(projectId: EntityId, mergeRequestIId: BigInt, approvalRuleId: BigInt): F[Either[GitlabError, String]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
Attributes
- Inherited from:
- MergeRequestsAPIV2
def deleteMergeRequestNote(projectId: EntityId, mergeRequestIId: BigInt, noteId: BigInt): F[Either[GitlabError, Unit]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
Attributes
- Inherited from:
- TagsAPIV2
Attributes
- Inherited from:
- JobsAPIV2
Attributes
- Inherited from:
- JobsAPIV2
def downloadSingleFileFromJobArtifact(projectId: EntityId, jobId: BigInt, artifactPath: String): F[Either[GitlabError, RawResponse]]
Attributes
- Inherited from:
- JobsAPIV2
def editProject(projectId: EntityId, updates: EditProjectRequest): F[Either[GitlabError, ProjectInfo]]
Attributes
- Inherited from:
- ProjectsAPIV2
def editPushRules(projectId: EntityId, updates: EditPushRuleRequest): F[Either[GitlabError, PushRules]]
Attributes
- Inherited from:
- ProjectsAPIV2
protected def getAllPaginatedResponse[A : Decoder](req: GitlabRequest, kind: String, paging: Paging): F[Either[GitlabError, Vector[A]]]
Attributes
- Inherited from:
- GitlabRestAPIV2
Attributes
- Inherited from:
- MergeRequestsAPIV2
def getApprovals(projectId: EntityId, mergeRequestIId: BigInt): F[Either[GitlabError, MergeRequestApprovals]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
def getBranches(projectID: EntityId, searchTerm: Option[String]): F[Either[GitlabError, Vector[GitlabBranchInfo]]]
Attributes
- Inherited from:
- GitlabRestAPIV2
Attributes
- Inherited from:
- CommitsAPIV2
def getCommitRefs(projectId: EntityId, commitId: String): F[Either[GitlabError, Vector[RefSimpleInfo]]]
Attributes
- Inherited from:
- CommitsAPIV2
def getCommits(projectId: EntityId, path: String, ref: String, since: ZonedDateTime, until: ZonedDateTime, paging: Paging): F[Either[GitlabError, Vector[CommitSimple]]]
Attributes
- Inherited from:
- CommitsAPIV2
def getCommitsReferences(projectId: EntityId, commitSha: String): F[Either[GitlabError, Vector[CommitReference]]]
Attributes
- Inherited from:
- CommitsAPIV2
Attributes
- Inherited from:
- GitlabRestAPIV2
Attributes
- Inherited from:
- CommitsAPIV2
Attributes
- Inherited from:
- EmojiAwardsAPIV2
def getEmojiAwards(projectID: EntityId, scope: AwardableScope, awardableId: BigInt): F[Either[GitlabError, Vector[EmojiAward]]]
Attributes
- Inherited from:
- EmojiAwardsAPIV2
def getEvents(since: UtcDate, until: UtcDate, targetType: TargetType, action: ActionType, paging: Paging, sort: Sorting[EventsSort]): F[Either[GitlabError, Vector[EventInfo]]]
Attributes
- Inherited from:
- EventsAPIV2
def getGroupMergeRequests(groupId: EntityId, states: Iterable[MergeRequestState]): F[Either[GitlabError, Vector[MergeRequestInfo]]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
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]]): F[Either[GitlabError, Vector[MergeRequestInfo]]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
def getGroupProjects(groupId: EntityId, archived: Option[Boolean], search: Option[String], includeSubgroups: Option[Boolean], sort: Sorting[ProjectsSort], paging: Paging): F[Either[GitlabError, Vector[ProjectInfo]]]
Attributes
- Inherited from:
- GroupsAPIV2
Attributes
- Inherited from:
- JobsAPIV2
Attributes
- Inherited from:
- MergeRequestsAPIV2
def getMergeRequestApprovalRules(projectId: EntityId, mergeRequestIId: BigInt): F[Either[GitlabError, Vector[MergeRequestApprovalRule]]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
def getMergeRequestDiff(projectID: EntityId, mrId: BigInt): F[Either[GitlabError, MergeRequestFull]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
def getMergeRequestDiscussion(projectId: EntityId, mergeRequestIId: BigInt, discussionId: String): F[Either[GitlabError, MergeRequestDiscussion]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
def getMergeRequestDiscussions(projectId: EntityId, mergeRequestIId: BigInt): F[Either[GitlabError, Vector[MergeRequestDiscussion]]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
def getMergeRequestEmoji(projectID: EntityId, mergeRequestIID: BigInt): F[Either[GitlabError, Vector[EmojiAward]]]
Attributes
- Inherited from:
- EmojiAwardsAPIV2
def getMergeRequestNote(projectId: EntityId, mergeRequestIId: BigInt, noteId: BigInt): F[Either[GitlabError, MergeRequestNote]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
def getMergeRequestNotes(mr: MergeRequestID, paging: Paging, sort: Option[Sorting[MergeRequestNotesSort]]): F[Either[GitlabError, Vector[MergeRequestNote]]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
Attributes
- Inherited from:
- MergeRequestsAPIV2
def getMergeRequestNotes(projectId: EntityId, mergeRequestIId: BigInt, paging: Paging, sort: Option[Sorting[MergeRequestNotesSort]]): F[Either[GitlabError, Vector[MergeRequestNote]]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
def getMergeRequests(projectID: EntityId, states: Iterable[MergeRequestState]): F[Either[GitlabError, Vector[MergeRequestInfo]]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
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]]): F[Either[GitlabError, Vector[MergeRequestInfo]]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
def getMergeRequestsOfCommit(projectId: EntityId, commitSha: String): F[Either[GitlabError, Vector[MergeRequestInfo]]]
Attributes
- Inherited from:
- CommitsAPIV2
Attributes
- Inherited from:
- PipelinesAPIV2
def getPipelineBridges(projectId: EntityId, pipelineId: BigInt, scopes: Seq[PipelineStatus]): F[Either[GitlabError, Vector[PipelineBridgeJob]]]
Attributes
- Inherited from:
- JobsAPIV2
def getPipelineJobs(projectId: EntityId, pipelineId: BigInt, scope: Set[JobScope]): F[Either[GitlabError, Vector[JobFullInfo]]]
Attributes
- Inherited from:
- PipelinesAPIV2
def getPipelineVariables(projectId: EntityId, pipelineId: BigInt): F[Either[GitlabError, Vector[PipelineVar]]]
Attributes
- Inherited from:
- PipelinesAPIV2
Attributes
- Inherited from:
- ProjectsAPIV2
def getProjectApprovalRules(projectId: EntityId): F[Either[GitlabError, Vector[ProjectApprovalRule]]]
Attributes
- Inherited from:
- ProjectsAPIV2
def getProjectDeployments(projectId: EntityId, environment: String, updatedAfter: ZonedDateTime, updatedBefore: ZonedDateTime, status: String, paging: Paging, sort: Sorting[DeploymentsSort]): F[Either[GitlabError, Vector[DeploymentInfo]]]
Attributes
- Inherited from:
- DeploymentsAPIV2
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): F[Either[GitlabError, Vector[PipelineShort]]]
Attributes
- Inherited from:
- PipelinesAPIV2
def getProjectTags(projectId: EntityId, search: String, paging: Paging, sort: Sorting[TagsSort]): F[Either[GitlabError, Vector[TagInfo]]]
Attributes
- Inherited from:
- TagsAPIV2
def getProjects(paging: Paging, sort: Sorting[ProjectsSort]): F[Either[GitlabError, Vector[ZonedDateTime]]]
Attributes
- Inherited from:
- ProjectsAPIV2
Attributes
- Inherited from:
- ProjectsAPIV2
Attributes
- Inherited from:
- ProjectsAPIV2
Attributes
- Inherited from:
- TagsAPIV2
def getUserContributionEvents(userId: EntityId, since: UtcDate, until: UtcDate, targetType: TargetType, action: ActionType, paging: Paging, sort: Sorting[EventsSort]): F[Either[GitlabError, Vector[EventInfo]]]
Attributes
- Inherited from:
- EventsAPIV2
Attributes
- Inherited from:
- MergeRequestsAPIV2
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]]): F[Either[GitlabError, Vector[MergeRequestInfo]]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
protected def globalSearch(scope: SearchScope, phrase: String): F[Either[GitlabError, Vector[MergeRequestInfo]]]
Attributes
- Inherited from:
- GitlabRestAPIV2
Attributes
- Inherited from:
- GitlabRestAPIV2
def groupSearchCommits(groupId: EntityId, phrase: String): F[Either[GitlabError, Vector[CommitSimple]]]
Attributes
- Inherited from:
- GitlabRestAPIV2
def groupSearchMrs(groupId: EntityId, phrase: String): F[Either[GitlabError, Vector[MergeRequestInfo]]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
protected def invokeRequest(request: GitlabRequest)(implicit requestId: RequestId): F[Either[GitlabError, String]]
Attributes
- Inherited from:
- GitlabRestAPIV2
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:
- GitlabRestAPIV2
def resolveMergeRequestDiscussion(projectId: EntityId, mergeRequestIId: BigInt, discussionId: String, resolved: Boolean): F[Either[GitlabError, MergeRequestDiscussion]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
Attributes
- Inherited from:
- JobsAPIV2
def triggerPipeline(projectId: EntityId, branch: String, vars: Vector[PipelineVar]): F[Either[GitlabError, PipelineFullInfo]]
Attributes
- Inherited from:
- PipelinesAPIV2
def unapproveMergeRequest(projectId: EntityId, mergeRequestIId: BigInt): F[Either[GitlabError, MergeRequestApprovals]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
def unawardEmoji(mergeRequest: MergeRequestInfo, emojiAward: EmojiAward): F[Either[GitlabError, Unit]]
Attributes
- Inherited from:
- EmojiAwardsAPIV2
def unawardEmoji(projectID: EntityId, scope: AwardableScope, awardableId: BigInt, awardId: BigInt): F[Either[GitlabError, Unit]]
Attributes
- Inherited from:
- EmojiAwardsAPIV2
def updateMergeRequest(projectID: EntityId, mrId: BigInt, updateMrPayload: UpdateMRPayload): F[Either[GitlabError, MergeRequestFull]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
def updateMergeRequestDiscussionNote(projectId: EntityId, mergeRequestIId: BigInt, discussionId: String, noteId: BigInt, payload: MRDiscussionUpdate): F[Either[GitlabError, MergeRequestNote]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
def updateMergeRequestNote(projectId: EntityId, mergeRequestIId: BigInt, noteId: BigInt, newBody: String): F[Either[GitlabError, MergeRequestNote]]
Attributes
- Inherited from:
- MergeRequestsAPIV2
def updateProjectApprovalRule(projectId: EntityId, approvalRuleId: BigInt, payload: UpsertProjectApprovalRule): F[Either[GitlabError, ProjectApprovalRule]]
Attributes
- Inherited from:
- ProjectsAPIV2
Attributes
- Inherited from:
- GitlabRestAPIV2
Inherited fields
Attributes
- Inherited from:
- GitlabRestAPIV2
Attributes
- Inherited from:
- GitlabRestAPIV2
Attributes
- Inherited from:
- LazyLogging
Attributes
- Inherited from:
- GitlabRestAPIV2
Implicits
Implicits
Attributes
- Definition Classes
- GitlabRestAPIV2
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