identity

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CONSUMER_TYPE is the maven repository type.
	CONSUMER_TYPE = "MavenRepository"

	// ATTR_USERNAME is the username attribute. Required for login at any maven registry.
	ATTR_USERNAME = cpi.ATTR_USERNAME
	// ATTR_PASSWORD is the password attribute. Required for login at any maven registry.
	ATTR_PASSWORD = cpi.ATTR_PASSWORD
)

Variables

View Source
var REALM = logging.DefineSubRealm("Maven repository", "maven")

REALM the logging realm / prefix.

Functions

func GetConsumerId

func GetConsumerId(rawURL, groupId string) (cpi.ConsumerIdentity, error)

func GetCredentials

func GetCredentials(ctx cpi.ContextProvider, repoUrl, groupId string) (cpi.Credentials, error)

func IdentityMatcher

func IdentityMatcher(pattern, cur, id cpi.ConsumerIdentity) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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