dockerhub

package
v0.0.51 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package dockerhub provides a client for interacting with Docker Hub

Index

Constants

View Source
const DockerHub = "dockerhub"

DockerHub is the string that represents the DockerHub provider

Variables

AuthorizationFlows is the list of authorization flows that the DockerHub provider supports

Implements is the list of provider types that the DockerHub provider implements

Functions

func New

func New(cred provifv1.OAuth2TokenCredential, cfg *minderv1.DockerHubProviderConfig) (*dockerHubImageLister, error)

New creates a new Docker Hub client

func NewDockerHubProviderClassManager

func NewDockerHubProviderClassManager(crypteng crypto.Engine, store db.Store) *providerClassManager

NewDockerHubProviderClassManager creates a new provider class manager for the dockerhub provider

func ParseV1Config

func ParseV1Config(rawCfg json.RawMessage) (*minderv1.DockerHubProviderConfig, error)

ParseV1Config parses the raw config into a DockerHubProviderConfig struct

Types

This section is empty.

Jump to

Keyboard shortcuts

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