Documentation ¶
Index ¶
Constants ¶
View Source
const AWS_CODEARTIFACT_CAPTURE_REGEX = `([a-z0-9-]+)-(.+)\.d\.codeartifact\.(.+)\.amazonaws\.com`
View Source
const AWS_CODEARTIFACT_REGISTRY_REGEX = `\.codeartifact.*\.amazonaws\.com`
Variables ¶
This section is empty.
Functions ¶
func IsCodeArtifactURL ¶
Types ¶
type Authenticator ¶
type Authenticator interface { // Auth returns envVars map with the authentication token set. Auth(ctx context.Context, envKey string, envVars map[string]string) (map[string]string, error) }
func NewCodeArtifact ¶
func NewCodeArtifact(ctx context.Context, url string) (Authenticator, error)
type Provider ¶
type Provider interface {
Provide(ctx context.Context, registryUrl string) (Authenticator, error)
}
func NewAuthProvider ¶
func NewAuthProvider() Provider
Click to show internal directories.
Click to hide internal directories.