models

package
v0.0.0-...-cb90f35 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerTokenResponse

type DockerTokenResponse struct {
	Token       string `json:"token"`
	AccessToken string `json:"access_token"`
	ExpiresIn   int64  `json:"expires_in"`
	IssuedAt    string `json:"issued_at"`
}

DockerTokenResponse is the response model of the token request

type Repositories

type Repositories struct {
	Repositories []string `json:"repositories"`
}

Repositories is the response models of /v2/_catalog

type Tags

type Tags struct {
	Name string   `json:"name"`
	Tags []string `json:"tags"`
}

Tags is the response models of /v2/<repository-name>/tags/list

Jump to

Keyboard shortcuts

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