quay

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Initializer = serviceprovider.Initializer{
	Probe:       quayProbe{},
	Constructor: serviceprovider.ConstructorFunc(newQuay),
}

Functions

This section is empty.

Types

type Quay

type Quay struct {
	Configuration config.Configuration
}

func (*Quay) GetBaseUrl

func (g *Quay) GetBaseUrl() string

func (*Quay) GetOAuthEndpoint

func (g *Quay) GetOAuthEndpoint() string

func (*Quay) GetServiceProviderUrlForRepo

func (g *Quay) GetServiceProviderUrlForRepo(repoUrl string) (string, error)

func (*Quay) GetType

func (g *Quay) GetType() api.ServiceProviderType

func (*Quay) LookupToken

func (g *Quay) LookupToken(ctx context.Context, cl client.Client, binding *api.SPIAccessTokenBinding) (*api.SPIAccessToken, error)

func (*Quay) PersistMetadata

func (g *Quay) PersistMetadata(ctx context.Context, cl client.Client, token *api.SPIAccessToken) error

func (*Quay) TranslateToScopes

func (g *Quay) TranslateToScopes(permission api.Permission) []string

Jump to

Keyboard shortcuts

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