api

package
v0.0.0-...-abc16d4 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcrDeleteTag

func AcrDeleteTag(ctx context.Context,
	loginURL string,
	auth string,
	repoName string,
	reference string) error

AcrDeleteTag deletes the tag by reference.

func AcrListManifests

func AcrListManifests(ctx context.Context,
	loginURL string,
	auth string,
	repoName string,
	orderBy string,
	last string) (*acrapi.ManifestAttributeList, error)

AcrListManifests list all the manifest in a repository with their attributes.

func AcrListTags

func AcrListTags(ctx context.Context,
	loginURL string,
	auth string,
	repoName string,
	orderBy string,
	last string) (*acrapi.TagAttributeList, error)

AcrListTags list the tags of a repository with their attributes.

func BasicAuth

func BasicAuth(username string, password string) string

BasicAuth returns the username and the passwrod encoded in base 64.

func DeleteManifest

func DeleteManifest(ctx context.Context,
	loginURL string,
	auth string,
	repoName string,
	reference string) error

DeleteManifest deletes a manifest using the digest as a reference.

func LoginURL

func LoginURL(registryName string) string

LoginURL returns the FQDN for a registry.

func LoginURLWithPrefix

func LoginURLWithPrefix(loginURL string) string

LoginURLWithPrefix return the hostname of a registry.

Types

This section is empty.

Jump to

Keyboard shortcuts

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