registry

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RepositoriesURL

func RepositoriesURL() string

RepositoriesURL returns the URL to query all repositories

Includes a leading slash

func RepositoryTagsURL

func RepositoryTagsURL(repositoryName string) string

RepositoryTagsURL returns the URL to query all tags of a repository

Includes a leading slash
Repository is identified by its name

func TokenURL

func TokenURL() string

Types

type RegistryConfig

type RegistryConfig struct {
	RegistryUrl            string
	AuthorizationServerUrl string
}

RegistryConfig is the required minimum docker registry connections

func ParseViperConfig

func ParseViperConfig() RegistryConfig

ParseViperConfig tries to map a viper configuration

func (RegistryConfig) RepositoriesURL

func (c RegistryConfig) RepositoriesURL() string

RepositoriesURL returns the URL to query all repositories

func (RegistryConfig) RepositoryTagsURL

func (c RegistryConfig) RepositoryTagsURL(repositoryName string) string

RepositoryTagsURL returns the URL to query all tags of a repository

Repository is identified by its name

func (RegistryConfig) TokenURL

func (c RegistryConfig) TokenURL(type_, name, action string) string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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