registry

package
v0.0.0-...-c95a057 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatRegistryName

func FormatRegistryName(r string) string

处理https默认端口443

func RegistryNameShort

func RegistryNameShort(s string) string

Types

type ImagesController

type ImagesController struct {
	beego.Controller
}

ImagesController controls access to any meta information surrounding a registry image

func (*ImagesController) GetImages

func (c *ImagesController) GetImages()

GetImages returns the template for the images page

type RegistriesController

type RegistriesController struct {
	beego.Controller
}

RegistriesController extends the beego.Controller type

func (*RegistriesController) AddRegistry

func (c *RegistriesController) AddRegistry()

AddRegistry adds a registry to the active registry list from a form

func (*RegistriesController) Get

func (c *RegistriesController) Get()

Get returns the template for the registries page

func (*RegistriesController) GetRegistryCount

func (c *RegistriesController) GetRegistryCount()

GetRegistryCount returns the number of currently added registries

func (*RegistriesController) TestRegistryStatus

func (c *RegistriesController) TestRegistryStatus()

TestRegistryStatus responds with JSON containing the status of the registry

type RepositoriesController

type RepositoriesController struct {
	beego.Controller
}

RepositoriesController controls interactions between the UI and any repository related information

func (*RepositoriesController) GetAllRepositories

func (c *RepositoriesController) GetAllRepositories()

GetAllRepositories returns the template for the all registries page

func (*RepositoriesController) GetAllRepositoryCount

func (c *RepositoriesController) GetAllRepositoryCount()

GetAllRepositoryCount returns the number of currently available repositories

func (*RepositoriesController) GetRepositories

func (c *RepositoriesController) GetRepositories()

GetRepositories returns the template for the table on the repositories page

type TagsController

type TagsController struct {
	beego.Controller
}

TagsController controls interaction between the UI and all tag related information

func (*TagsController) DeleteTags

func (c *TagsController) DeleteTags()

DeleteTags deletes the manifest using the passed tag using the digest method

func (*TagsController) GetTags

func (c *TagsController) GetTags()

GetTags returns the template for the registries page

Jump to

Keyboard shortcuts

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