Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileNode ¶
type FileNode struct { Name string Type FileType Size int64 Children map[string]*FileNode // contains filtered or unexported fields }
func NewDirectory ¶
type Parser ¶
type Parser interface { // Parse returns the parsed content type and content. Parse(ctx context.Context, artifact *artifact.Artifact, manifest *ocispec.Manifest) (contentType string, content []byte, err error) }
Parser is the interface for parsing the content by different addition type.
func NewLicense ¶
NewLicense creates a new license parser.
Click to show internal directories.
Click to hide internal directories.