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.
Click to show internal directories.
Click to hide internal directories.