lib

package
v0.0.0-...-de31b6c Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetReleases

func GetReleases(c *gin.Context, db *gorm.DB)

func GetVersions

func GetVersions(c *gin.Context, db *gorm.DB)

func Migrate

func Migrate(db *gorm.DB)

Types

type Catalog

type Catalog struct {
	gorm.Model
	Name      string
	VersionID uint
	Operators []Operator
}

name: registry.redhat.io/redhat/redhat-operator-index:v4.17

type Image

type Image struct {
	gorm.Model
	Name      string
	PullSpec  string
	ReleaseID uint
}

name: agent-installer-api-server, pull_spec: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:f6f5ebb3320f12bc582d3c3884500a890c81358af0c47fa3f9a2cb40fb4d5746

type Operator

type Operator struct {
	gorm.Model
	Name           string
	Display        string
	DefaultChannel string
	CatalogID      uint
}

name: cluster-logging display: Red Hat OpenShift Logging default_channel: stable-6.0

type Release

type Release struct {
	gorm.Model
	Name      string
	PullSpec  string
	VersionID uint
	Images    []Image `json:"-"`
}

name: 4.17.1 pull_spec: quay.io/openshift-release-dev/ocp-release@sha256:e16ac60ac6971e5b6f89c1d818f5ae711c0d63ad6a6a26ffe795c738e8cc4dde

type RouterHandler

type RouterHandler func(c *gin.Context, db *gorm.DB)

type Version

type Version struct {
	gorm.Model
	Name     string
	Releases []Release `json:"-"`
	Catalogs []Catalog `json:"-"`
}

name: 4.17

Jump to

Keyboard shortcuts

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