Documentation ¶
Index ¶
Constants ¶
View Source
const ( 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 )
used credential properties.
View Source
const CONSUMER_TYPE = "OCIRegistry"
CONSUMER_TYPE is the OCT 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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.