identity

package
v0.0.0-...-877fc11 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: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ATTR_USERNAME              = cpi.ATTR_USERNAME
	ATTR_PASSWORD              = cpi.ATTR_PASSWORD
	ATTR_CERTIFICATE_AUTHORITY = cpi.ATTR_CERTIFICATE_AUTHORITY
	ATTR_CERTIFICATE           = cpi.ATTR_CERTIFICATE
	ATTR_PRIVATE_KEY           = cpi.ATTR_PRIVATE_KEY
)
View Source
const CONSUMER_TYPE = "HelmChartRepository"

CONSUMER_TYPE is the Helm chart repository type.

View Source
const ID_HOSTNAME = hostpath.ID_HOSTNAME

ID_HOSTNAME is the hostname of a repository.

View Source
const ID_PATHPREFIX = hostpath.ID_PATHPREFIX

ID_PATHPREFIX is the path of a repository.

View Source
const ID_PORT = hostpath.ID_PORT

ID_PORT is the port number of a repository.

View Source
const ID_SCHEME = hostpath.ID_SCHEME

ID_SCHEME is the scheme of the repository.

View Source
const ID_TYPE = cpi.ID_TYPE

ID_TYPE is the type field of a consumer identity.

Variables

This section is empty.

Functions

func GetConsumerId

func GetConsumerId(repourl string, chartname string) cpi.ConsumerIdentity

func GetCredentials

func GetCredentials(ctx cpi.ContextProvider, repourl string, chartname string) common.Properties

func IdentityMatcher

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

func OCIRepoURL

func OCIRepoURL(repourl string, chartname string) string

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