Documentation
¶
Index ¶
- func NewPolicyContext(trustPolicyFile string, disablePolicyChecks bool) (*signature.PolicyContext, error)
- func RetargetImage(imageName string, registryURL string, transport string) types.ImageReference
- func Sync(policyCtx *signature.PolicyContext, sourceImageRefs []types.ImageReference, ...)
- type SyncOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPolicyContext ¶
func NewPolicyContext(trustPolicyFile string, disablePolicyChecks bool) (*signature.PolicyContext, error)
NewPolicyContext docs TODO
func RetargetImage ¶
func RetargetImage(imageName string, registryURL string, transport string) types.ImageReference
RetargetImage will take a default image and retarget it to a given registry NOTE: This is different than simply prepending the new destination URL
func Sync ¶
func Sync(policyCtx *signature.PolicyContext, sourceImageRefs []types.ImageReference, sourceCtx *types.SystemContext, destCtx *types.SystemContext, destRegistryURL string, syncOpts *SyncOptions)
Sync docs TODO
Types ¶
Click to show internal directories.
Click to hide internal directories.