package authprovider
import "github.com/moby/buildkit/session/auth/authprovider"
Index ¶
- func NewDockerAuthProvider(cfg DockerAuthProviderConfig) session.Attachable
- type AuthTLSConfig
- type DockerAuthProviderConfig
- type TLSKeyPair
Functions ¶
func NewDockerAuthProvider ¶
func NewDockerAuthProvider(cfg DockerAuthProviderConfig) session.Attachable
Types ¶
type AuthTLSConfig ¶
type AuthTLSConfig struct { RootCAs []string Insecure bool KeyPairs []TLSKeyPair }
type DockerAuthProviderConfig ¶
type DockerAuthProviderConfig struct { // ConfigFile is the docker config file ConfigFile *configfile.ConfigFile // TLSConfigs is a map of host to TLS config TLSConfigs map[string]*AuthTLSConfig // ExpireCachedAuth is a function that returns true auth config should be refreshed // instead of using a pre-cached result. // If nil then the cached result will expire after 4 minutes and 50 seconds. // The function is called with the time the cached auth config was created // and the server URL the auth config is for. ExpireCachedAuth func(created time.Time, serverURL string) bool }
type TLSKeyPair ¶
Source Files ¶
authconfig.go authprovider.go tokenseed.go
- Version
- v0.21.0 (latest)
- Published
- Apr 11, 2025
- Platform
- js/wasm
- Imports
- 33 packages
- Last checked
- 2 days ago –
Tools for package owners.