model

package
v0.0.0-...-736e72d Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pr

type Pr struct {
	ID         primitive.ObjectID `bson:"_id,omitempty"`
	Owner      string             `bson:"owner"`
	Repo       string             `bson:"repo"`
	Number     int                `bson:"number"`
	Branch     string             `bson:"branch"`
	State      string             `bson:"state"`
	Image      string             `bson:"image"`
	LastCommit string             `bson:"last_commit"`
	CreatedAt  time.Time          `bson:"created_at"`
	UpdatedAt  time.Time          `bson:"updated_at"`
}

func (*Pr) CompleteDomain

func (p *Pr) CompleteDomain() string

func (*Pr) DomainName

func (p *Pr) DomainName() string

func (*Pr) DomainPath

func (p *Pr) DomainPath() string

func (*Pr) FullImageWithTag

func (p *Pr) FullImageWithTag() string

func (*Pr) GitUrl

func (p *Pr) GitUrl() string

func (*Pr) KubernetesResourceName

func (p *Pr) KubernetesResourceName() string

func (*Pr) Tag

func (p *Pr) Tag() string

Jump to

Keyboard shortcuts

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