Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrandingStruct ¶
type BrandingStruct struct { Logo string `default:"/static/img/quay-horizontal-color.svg" validate:"url" json:"logo" yaml:"logo"` }
BrandingStruct represents the BrandingStruct config fields
func NewBrandingStruct ¶
func NewBrandingStruct(fullConfig map[string]interface{}) (*BrandingStruct, error)
NewBrandingStruct creates a new BrandingStruct
type UserVisibleSettingsFieldGroup ¶
type UserVisibleSettingsFieldGroup struct { AvatarKind string `default:"local" validate:"" json:"AVATAR_KIND" yaml:"AVATAR_KIND"` Branding *BrandingStruct `default:"" validate:"" json:"BRANDING" yaml:"BRANDING"` ContactInfo []interface{} `default:"[]" validate:"" json:"CONTACT_INFO" yaml:"CONTACT_INFO"` RegistryTitle string `default:"Project Quay" validate:"" json:"REGISTRY_TITLE" yaml:"REGISTRY_TITLE"` RegistryTitleShort string `default:"Project Quay" validate:"" json:"REGISTRY_TITLE_SHORT" yaml:"REGISTRY_TITLE_SHORT"` SearchMaxResultPageCount int `default:"10" validate:"" json:"SEARCH_MAX_RESULT_PAGE_COUNT" yaml:"SEARCH_MAX_RESULT_PAGE_COUNT"` SearchResultsPerPage int `default:"10" validate:"" json:"SEARCH_RESULTS_PER_PAGE" yaml:"SEARCH_RESULTS_PER_PAGE"` }
UserVisibleSettingsFieldGroup represents the UserVisibleSettingsFieldGroup config fields
func NewUserVisibleSettingsFieldGroup ¶
func NewUserVisibleSettingsFieldGroup(fullConfig map[string]interface{}) (*UserVisibleSettingsFieldGroup, error)
NewUserVisibleSettingsFieldGroup creates a new UserVisibleSettingsFieldGroup
func (*UserVisibleSettingsFieldGroup) Fields ¶
func (fg *UserVisibleSettingsFieldGroup) Fields() []string
Fields returns a list of strings representing the fields in this field group
func (*UserVisibleSettingsFieldGroup) Validate ¶
func (fg *UserVisibleSettingsFieldGroup) Validate() []shared.ValidationError
Validate checks the configuration settings for this field group
Click to show internal directories.
Click to hide internal directories.