models

package
v0.0.0-...-01ad037 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IssuesParams

type IssuesParams struct {
	params.Default

	ProjectID *int `json:"projectId" query:"projectId"`

	State      *string  `json:"state" query:"state"`
	Labels     []string `json:"labels" query:"labels"`
	Milestone  *string  `json:"milestone" query:"milestone"`
	Scope      *string  `json:"scope" query:"scope"`
	Search     *string  `json:"search" query:"search"`
	AuthorID   *int     `json:"authorId" query:"authorId"`
	AssigneeID *int     `json:"assigneeId" query:"assigneeId"`
}

type MergeRequest

type MergeRequest struct {
	ID     int
	Title  string
	Author coreModels.Author

	SourceProjectID int
	SourceBranch    string
	CommitSHA       string
}

type MergeRequestGeneratorParams

type MergeRequestGeneratorParams struct {
	params.Default

	ProjectID *int `json:"projectId" query:"projectId" validate:"required"`
}

type MergeRequestParams

type MergeRequestParams struct {
	params.Default

	ProjectID *int `json:"projectId" query:"projectId" validate:"required"`
	ID        *int `json:"id" query:"id" validate:"required"`
}

func (*MergeRequestParams) String

func (p *MergeRequestParams) String() string

Used by cache as identifier

type Pipeline

type Pipeline struct {
	ID         int
	Branch     string
	Author     coreModels.Author
	Status     string
	StartedAt  *time.Time
	FinishedAt *time.Time
}

type PipelineParams

type PipelineParams struct {
	params.Default

	ProjectID *int   `json:"projectId" query:"projectId" validate:"required"`
	Ref       string `json:"ref" query:"ref" validate:"required"`
}

func (*PipelineParams) String

func (p *PipelineParams) String() string

Used by cache as identifier

type Project

type Project struct {
	ID int

	Owner      string
	Repository string
}

Jump to

Keyboard shortcuts

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