Documentation ¶
Index ¶
- Constants
- func RequestDistribution(address, method string) string
- func RequestRegistry(address, method string) stringdeprecated
- type DockerregistryapiController
- func (this *DockerregistryapiController) DeleteImage()
- func (this *DockerregistryapiController) GetImage()deprecated
- func (this *DockerregistryapiController) GetImageInfo()
- func (this *DockerregistryapiController) GetImageTags()
- func (this *DockerregistryapiController) GetImages()
- func (this *DockerregistryapiController) GetImagesV1()deprecated
- func (this *DockerregistryapiController) GetInfo()
- func (this *DockerregistryapiController) GetLibraryImageTags()
- func (this *DockerregistryapiController) GetUserImage()
- func (this *DockerregistryapiController) GetVersion()
- type MainController
Constants ¶
View Source
const BUILD_LOG_FILE = "app/BUILD.log"
View Source
const DOCKERFILE_FILE = "app/Dockerfile"
View Source
const DOCKERHUB_URL = "https://registry.hub.docker.com/u"
View Source
const PIRATE_INI_FILE = "app/PIRATE.ini"
View Source
const README_MD_FILE = "app/README.md"
* internal hacked solution to get images' detail *
View Source
const REGISTRY_PATH = "/registry/images"
Variables ¶
This section is empty.
Functions ¶
func RequestDistribution ¶
Give address and method to request docker registry API
func RequestRegistry
deprecated
Types ¶
type DockerregistryapiController ¶
type DockerregistryapiController struct {
beego.Controller
}
It's a beego controller
func (*DockerregistryapiController) DeleteImage ¶
func (this *DockerregistryapiController) DeleteImage()
Wrap docker remote API to delete image
func (*DockerregistryapiController) GetImage
deprecated
func (this *DockerregistryapiController) GetImage()
Deprecated: Wrap docker remote API to get data of image
func (*DockerregistryapiController) GetImageInfo ¶
func (this *DockerregistryapiController) GetImageInfo()
func (*DockerregistryapiController) GetImageTags ¶
func (this *DockerregistryapiController) GetImageTags()
Get tags of the image
func (*DockerregistryapiController) GetImages ¶
func (this *DockerregistryapiController) GetImages()
Get images
func (*DockerregistryapiController) GetImagesV1
deprecated
func (this *DockerregistryapiController) GetImagesV1()
Deprecated: Wrap docker remote API to get images
func (*DockerregistryapiController) GetInfo ¶
func (this *DockerregistryapiController) GetInfo()
Wrap docker remote API to get docker info
func (*DockerregistryapiController) GetLibraryImageTags ¶
func (this *DockerregistryapiController) GetLibraryImageTags()
Get tags of the library image
func (*DockerregistryapiController) GetUserImage ¶
func (this *DockerregistryapiController) GetUserImage()
Wrap docker remote API to get data of user image
func (*DockerregistryapiController) GetVersion ¶
func (this *DockerregistryapiController) GetVersion()
Wrap docker registry API to get version info
type MainController ¶
type MainController struct {
beego.Controller
}
The default controller just to render the index page
func (*MainController) Get ¶
func (this *MainController) Get()
Only accept the get request and return the webiste HTML file
Click to show internal directories.
Click to hide internal directories.