Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { ID uuid.UUID `gorm:"primarykey;type:uuid;default:uuid_generate_v4()"` Endpoint string Metadata datatypes.JSON Type pb.AppType AppGroupId string UpdatedAt time.Time CreatedAt time.Time }
Application contains endpoints and metadata of each application.
func (*Application) BeforeCreate ¶
func (c *Application) BeforeCreate(tx *gorm.DB) (err error)
type ApplicationGroup ¶
type ApplicationGroup struct { ID string `gorm:"primarykey"` Name string Type pb.AppGroupType WorkflowId string Status pb.AppGroupStatus StatusDesc string ClusterId string ExternalLabel string Creator uuid.UUID Description string UpdatedAt time.Time CreatedAt time.Time }
ApplicationGroup represents an application group data in Database.
func (*ApplicationGroup) BeforeCreate ¶
func (c *ApplicationGroup) BeforeCreate(tx *gorm.DB) (err error)
Click to show internal directories.
Click to hide internal directories.