identity

package
v0.16.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ID_TYPE       = hostpath.ID_TYPE
	ID_HOSTNAME   = hostpath.ID_HOSTNAME
	ID_PORT       = hostpath.ID_PORT
	ID_PATHPREFIX = hostpath.ID_PATHPREFIX
	ID_SCHEME     = hostpath.ID_SCHEME
)

used identity properties.

View Source
const (
	ATTR_USERNAME              = cpi.ATTR_USERNAME
	ATTR_PASSWORD              = cpi.ATTR_PASSWORD
	ATTR_IDENTITY_TOKEN        = cpi.ATTR_IDENTITY_TOKEN
	ATTR_CERTIFICATE_AUTHORITY = cpi.ATTR_CERTIFICATE_AUTHORITY
)

used credential properties.

View Source
const CONSUMER_TYPE = "OCIRegistry"

CONSUMER_TYPE is the OCI registry type.

Variables

This section is empty.

Functions

func GetConsumerId

func GetConsumerId(locator, repo string) cpi.ConsumerIdentity

func GetCredentials

func GetCredentials(ctx cpi.ContextProvider, locator, repo string) (cpi.Credentials, error)

func IdentityMatcher

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

func SimpleCredentials

func SimpleCredentials(user, passwd string) cpi.Credentials

Types

This section is empty.

Jump to

Keyboard shortcuts

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