Documentation ¶
Index ¶
- func DefaultMediaTypeGetter(b []byte) types.MediaType
- func NewDupeDetector(v signature.Verifier) mutate.DupeDetector
- func NewReplaceOp(predicateURI string) mutate.ReplaceOp
- func UploadFiles(ref name.Reference, files []File, getMt MediaTypeGetter, ...) (name.Digest, error)
- type File
- type MediaTypeGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultMediaTypeGetter ¶ added in v0.6.0
func NewDupeDetector ¶ added in v1.3.0
func NewDupeDetector(v signature.Verifier) mutate.DupeDetector
NewDupeDetector creates a new DupeDetector that looks for matching signatures that can verify the provided signature's payload.
func NewReplaceOp ¶ added in v1.4.0
Types ¶
type File ¶
type File interface { Contents() ([]byte, error) Platform() *v1.Platform String() string Path() string }
func FileFromFlag ¶ added in v1.1.0
func FilesFromFlagList ¶ added in v1.3.0
type MediaTypeGetter ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.