entity

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commit added in v0.4.0

type Commit struct {
	ShortID     string
	Title       string
	AuthorName  string
	AuthorEmail string
	CreatedAt   time.Time
	WebURL      string
}

type CreateMROptions added in v0.4.0

type CreateMROptions struct {
	SourceBranch string
	TargetBranch string
	Title        string
	Description  string
	Draft        bool
}

type Job

type Job struct {
	ID         int
	PipelineID int
	ProjectID  int
	Name       string
	Stage      string
	Status     valueobject.JobStatus
	Duration   float64
	StartedAt  *time.Time
	FinishedAt *time.Time
	WebURL     string
}

type MRDiff added in v0.4.0

type MRDiff struct {
	OldPath     string
	NewPath     string
	Diff        string
	NewFile     bool
	DeletedFile bool
	RenamedFile bool
}

type MRNote added in v0.4.0

type MRNote struct {
	ID        int
	Author    string
	Body      string
	CreatedAt time.Time
	System    bool
}

type MergeRequest added in v0.4.0

type MergeRequest struct {
	ID           int
	IID          int
	ProjectID    int
	ProjectPath  string
	Title        string
	Description  string
	State        string
	Author       string
	SourceBranch string
	TargetBranch string
	MergeStatus  string
	Draft        bool
	WebURL       string
	CreatedAt    time.Time
	UpdatedAt    time.Time
}

type Pipeline

type Pipeline struct {
	ID          int
	ProjectID   int
	ProjectPath string
	Ref         string
	Status      valueobject.PipelineStatus
	CreatedAt   time.Time
	Duration    int
	JobCount    int
}

type Project

type Project struct {
	ID            int
	Name          string
	PathWithNS    string
	WebURL        string
	PipelineCount int
	ActiveCount   int
}

Jump to

Keyboard shortcuts

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