models

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerHubCategory

type DockerHubCategory struct {
	Name  string `json:"name"`
	Label string `json:"label"`
}

DockerHubCategory -

type DockerHubImage

type DockerHubImage struct {
	ID               string              `json:"id"`
	Name             string              `json:"name"`
	Slug             string              `json:"slug"`
	Type             string              `json:"type"`
	Source           string              `json:"source"`
	Popularity       int                 `json:"popularity"`
	Categories       []DockerHubCategory `json:"categories"`
	Publisher        DockerHubPublisher  `json:"publisher"`
	ShortDescription string              `json:"short_description"`
	LongDescription  string              `json:"long_description"`
	CreatedAt        string              `json:"created_at"`
	UpdatedAt        string              `json:"updated_at"`
}

DockerHubImage - represents a response for finding an image from dockerhub

func (*DockerHubImage) IsDatabase

func (d *DockerHubImage) IsDatabase() bool

IsDatabase -

type DockerHubPublisher

type DockerHubPublisher struct {
	ID   string `json:"id"`
	Name string `json:"Name"`
}

DockerHubPublisher -

Jump to

Keyboard shortcuts

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