Documentation ¶
Index ¶
- Variables
- func Attachment(d digest.Digest, suffix string) string
- func ClosureExplode(opts *output.Options, e interface{}) []interface{}
- func Compare(a, b interface{}) int
- func Elem(e interface{}) oci.ArtifactAccess
- func Key(a oci.ArtifactAccess) (common.NameVersion, error)
- func NewTypeHandler(octx clictx.OCI, session oci.Session, repobase oci.Repository) utils.TypeHandler
- type Manifest
- type Object
- type Objects
- type TypeHandler
Constants ¶
This section is empty.
Variables ¶
View Source
var Clean = processing.Transform(clean)
Clean is a processing chain cleaning and reordering closures.
View Source
var ExplodeAttached = processing.Explode(explodeAttached)
View Source
var Sort = processing.Sort(Compare)
Sort is a processing chain sorting original objects provided by type handler.
Functions ¶
func Attachment ¶
func ClosureExplode ¶
func Elem ¶
func Elem(e interface{}) oci.ArtifactAccess
func Key ¶
func Key(a oci.ArtifactAccess) (common.NameVersion, error)
func NewTypeHandler ¶
func NewTypeHandler(octx clictx.OCI, session oci.Session, repobase oci.Repository) utils.TypeHandler
Types ¶
type Object ¶
type Object struct { History common.History Key common.NameVersion Spec oci.RefSpec AttachKind string Namespace oci.NamespaceAccess Artifact oci.ArtifactAccess }
func (*Object) AsManifest ¶
func (o *Object) AsManifest() interface{}
func (*Object) GetHistory ¶
func (*Object) GetKey ¶
func (o *Object) GetKey() common.NameVersion
func (*Object) IsNode ¶
func (o *Object) IsNode() *common.NameVersion
type TypeHandler ¶
type TypeHandler struct {
// contains filtered or unexported fields
}
func (*TypeHandler) Close ¶
func (h *TypeHandler) Close() error
Click to show internal directories.
Click to hide internal directories.