model

package
v0.0.0-...-f22f8d3 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppServeApp

type AppServeApp struct {
	ID                 uuid.UUID `gorm:"primarykey;type:uuid;default:uuid_generate_v4()"`
	Name               string
	ContractId         string
	Type               string
	AppType            string
	EndpointUrl        string
	PreviewEndpointUrl string
	TargetClusterId    string
	Status             string
	CreatedAt          time.Time
	UpdatedAt          time.Time
}

AppServeApp contains information of each AppServe application

func (*AppServeApp) BeforeCreate

func (c *AppServeApp) BeforeCreate(tx *gorm.DB) (err error)

type AppServeAppTask

type AppServeAppTask struct {
	ID             uuid.UUID `gorm:"primarykey;type:uuid;default:uuid_generate_v4()"`
	AppServeAppId  uuid.UUID
	Version        string
	Strategy       string
	Status         string
	Output         string
	ArtifactUrl    string
	ImageUrl       string
	ExecutablePath string
	ResourceSpec   string
	Profile        string
	AppConfig      string
	AppSecret      string
	ExtraEnv       string
	Port           string
	HelmRevision   int32
	CreatedAt      time.Time
	UpdatedAt      time.Time
}

AppServeAppTask contains information of each AppServeApp task.

func (*AppServeAppTask) BeforeCreate

func (c *AppServeAppTask) BeforeCreate(tx *gorm.DB) (err error)

Jump to

Keyboard shortcuts

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