models

package
v0.0.0-...-d125d34 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.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 Region

type Region struct {
	global.Model

	Name          string
	DisplayName   string
	Server        string
	Certificate   string
	IngressDomain string
	PrometheusURL string
	RegistryID    uint `gorm:"column:registry_id"`
	Disabled      bool
	CreatedBy     uint
	UpdatedBy     uint
}

type RegionEntity

type RegionEntity struct {
	*Region

	Registry *registrymodels.Registry
	Tags     []*tagmodels.Tag
}

RegionEntity region entity, region with registry

type RegionPart

type RegionPart struct {
	Name        string `json:"name"`
	DisplayName string `json:"displayName"`
	Disabled    bool   `json:"disabled"`
	IsDefault   bool   `json:"isDefault"`
}

type RegionParts

type RegionParts []*RegionPart

Jump to

Keyboard shortcuts

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