Documentation
¶
Overview ¶
Package quay provides a client for interacting with Quay.io
Index ¶
- Constants
- Variables
- func ClassInfo() *minderv1.ProviderClassInfo
- func MarshalV1Config(rawCfg json.RawMessage) (json.RawMessage, error)
- func New(cred provifv1.OAuth2TokenCredential, cfg *minderv1.QuayProviderConfig) (*quayImageLister, error)
- func NewQuayProviderClassManager(crypteng crypto.Engine, store db.Store) *providerClassManager
- func ParseV1Config(rawCfg json.RawMessage) (*minderv1.QuayProviderConfig, error)
Constants ¶
const Quay = "quay"
Quay is the string that represents the Quay provider
Variables ¶
var AuthorizationFlows = []db.AuthorizationFlow{ db.AuthorizationFlowUserInput, }
AuthorizationFlows is the list of authorization flows that the Quay provider supports
var Implements = []db.ProviderType{ db.ProviderTypeImageLister, db.ProviderTypeOci, }
Implements is the list of provider types that the Quay provider implements
Functions ¶
func ClassInfo ¶
func ClassInfo() *minderv1.ProviderClassInfo
ClassInfo returns metadata for the Quay.io provider class. It uses a nil-pointer receiver to avoid needing a live client instance.
func MarshalV1Config ¶
func MarshalV1Config(rawCfg json.RawMessage) (json.RawMessage, error)
MarshalV1Config marshals the QuayProviderConfig struct into a raw config
func New ¶
func New(cred provifv1.OAuth2TokenCredential, cfg *minderv1.QuayProviderConfig) (*quayImageLister, error)
New creates a new Quay client
func NewQuayProviderClassManager ¶
NewQuayProviderClassManager creates a new provider class manager for the quay provider
func ParseV1Config ¶
func ParseV1Config(rawCfg json.RawMessage) (*minderv1.QuayProviderConfig, error)
ParseV1Config parses the raw config into a QuayProviderConfig struct
TODO: This should be moved to a common location
Types ¶
This section is empty.