registryhandler

package
v0.0.0-...-617be98 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const NAMESPACE = "isaaskin"
View Source
const REGISTRY = "http://hub.docker.com/v2"

Variables

This section is empty.

Functions

func GetRepositoryList

func GetRepositoryList() ([]models.CapsuleTemplate, error)

Types

type Repository

type Repository struct {
	Name           string    `json:"name"`
	Namespace      string    `json:"namespace"`
	RepositoryType string    `json:"repository_type"`
	Status         int       `json:"status"`
	StatusDesc     string    `json:"status_description"`
	Description    string    `json:"description"`
	IsPrivate      bool      `json:"is_private"`
	StarCount      int       `json:"star_count"`
	PullCount      int       `json:"pull_count"`
	LastUpdated    time.Time `json:"last_updated"`
	DateRegistered time.Time `json:"date_registered"`
	Affiliation    string    `json:"affiliation"`
	MediaTypes     []string  `json:"media_types"`
	ContentTypes   []string  `json:"content_types"`
}

type RepositoryList

type RepositoryList struct {
	Count    int          `json:"count"`
	Next     interface{}  `json:"next"`     // May be a URL or null, hence `interface{}`
	Previous interface{}  `json:"previous"` // May be a URL or null, hence `interface{}`
	Results  []Repository `json:"results"`
}

Jump to

Keyboard shortcuts

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