Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AccountTypes = struct { Gitlab AccountType }{ Gitlab: "Gitlab", }
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Id Id `json:"id"` UserId Id `json:"user_id` AccountType AccountType `json:"account_type"` AccessToken string `json:"access_token"` TokenType string `json:"token_type"` RefreshToken string `json:"refresh_token"` CreatedUpdated }
type AccountType ¶
type AccountType string
type Application ¶
type Application struct { Id Id `json:"id"` Name string `json:"name"` Description string `json:"description"` Href string `json:"href"` IconName string `json:"icon" gorm:"column:icon"` UseProjects bool `json:"use_projects"` IsInBeta bool `json:"is_in_beta"` IsDisabled bool `json:"is_disabled"` Config *ApplicationConfig `json:"config"` }
type ApplicationConfig ¶ added in v1.4.10
type ApplicationConfig struct {
Sections []ApplicationSection `json:"sections"`
}
func (*ApplicationConfig) Scan ¶ added in v1.4.10
func (c *ApplicationConfig) Scan(value interface{}) error
type ApplicationSection ¶ added in v1.4.10
func (*ApplicationSection) Scan ¶ added in v1.4.10
func (c *ApplicationSection) Scan(value interface{}) error
type CreatedUpdated ¶
type Project ¶
type Project struct { Id Id `json:"id"` Name string `json:"name" validate:"required,min=3,max=50,subdomain_rfc1123"` MlflowTrackingUrl string `json:"mlflow_tracking_url" validate:"omitempty,url"` Administrators pq.StringArray `json:"administrators" gorm:"administrators;type:varchar(256)[]"` Readers pq.StringArray `json:"readers" gorm:"readers;type:varchar(256)[]"` Team string `json:"team" validate:"required,min=1,max=64"` Stream string `json:"stream" validate:"required,min=1,max=64"` Labels Labels `json:"labels,omitempty" gorm:"column:labels"` CreatedUpdated }
type Secret ¶
type Secret struct { Id Id `json:"id"` ProjectId Id `json:"project_id"` Name string `json:"name"` Data string `json:"data"` CreatedUpdated }
func (*Secret) CopyValueFrom ¶
func (*Secret) IsValidForInsertion ¶
func (*Secret) IsValidForMutation ¶
Click to show internal directories.
Click to hide internal directories.