gitlabcore

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreatedMRInfo

type CreatedMRInfo struct {
	URL string
	ID  MRID
	MRInfo
}

type FilterMR added in v1.0.2

type FilterMR struct {
	ProjectID    ProjectID
	SourceBranch *string
	TargetBranch *string
	State        *MRState
}

type MRID

type MRID int

type MRInfo

type MRInfo struct {
	Title        string
	SourceBranch string
	TargetBranch string
	ProjectID    ProjectID
	MROptionalInfo
}

type MROptionalInfo

type MROptionalInfo struct {
	Description          *string
	Draft                bool
	Assignees            []UserID
	Reviewers            []UserID
	RemoveSourceBranch   *bool
	Squash               *bool
	ApprovalsBeforeMerge *int
}

type MROptionalUpdateInfo added in v1.0.2

type MROptionalUpdateInfo struct {
	Description        *string
	Draft              *bool
	Assignees          *[]UserID
	Reviewers          *[]UserID
	RemoveSourceBranch *bool
	Squash             *bool
}

type MRState added in v1.0.2

type MRState string
const (
	MRStateOpened MRState = "opened"
	MRStateClosed MRState = "closed"
)

type MRTemplate

type MRTemplate struct {
	Description string
}

type MRUpdateInfo added in v1.0.2

type MRUpdateInfo struct {
	ID           MRID
	Title        *string
	TargetBranch *string
	ProjectID    ProjectID
	MROptionalUpdateInfo
}

type Project

type Project struct {
	ID  ProjectID
	URL string
}

type ProjectID

type ProjectID int

type ResultMRInfo added in v1.0.2

type ResultMRInfo struct {
	URL    string
	Branch string
	Err    error
}

type UserID

type UserID int

Jump to

Keyboard shortcuts

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