quayversionsplugin

package
v3.16.3 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthorizationChallenge

type AuthorizationChallenge struct {
	Scheme     string
	Parameters map[string]string
}

AuthorizationChallenge carries information from a WWW-Authenticate response header.

type BasicAuthTransport

type BasicAuthTransport struct {
	Transport http.RoundTripper
	URL       *url.URL
	Username  string
	Password  string
}

BasicAuthTransport represents the information needed to make a request providing basic username and password authentication

func (*BasicAuthTransport) RoundTrip

func (bat *BasicAuthTransport) RoundTrip(req *http.Request) (*http.Response, error)

RoundTrip adds the basic authentication credentials to the request round trip

type DockerTokenTransport

type DockerTokenTransport struct {
	Transport http.RoundTripper
	Username  string
	Password  string
}

DockerTokenTransport represents the information needed to make a request providing basic username and password authentication

func (*DockerTokenTransport) RoundTrip

func (dtt *DockerTokenTransport) RoundTrip(req *http.Request) (*http.Response, error)

RoundTrip authenticates with username and password credentials to a secured docker registry

type Plugin

type Plugin struct{}

Plugin represents this plugin and serves as a place to attach functions to implement the Lifecycler interface

func (*Plugin) Key

func (*Plugin) Key() string

Key returns the unique identifier for the plugin

func (*Plugin) Main

func (plugin *Plugin) Main()

Main serves as the main entry point for the plugin

func (*Plugin) Versions

func (*Plugin) Versions(image string) (iscenv.ISCVersions, error)

Versions finds the versions available for the provided image

Jump to

Keyboard shortcuts

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