dockerhub

package
v0.0.80 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 18 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 MarshalV1Config

func MarshalV1Config(rawCfg json.RawMessage) (json.RawMessage, error)

MarshalV1Config marshals the DockerHubProviderConfig struct into a raw config

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

TODO: This should be moved to a common location

Types

This section is empty.

Jump to

Keyboard shortcuts

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