refactor: Start implementation of public API
This commit is contained in:
19
pkg/inventory/inventory.go
Normal file
19
pkg/inventory/inventory.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package inventory
|
||||
|
||||
import "archive/tar"
|
||||
|
||||
type MetadataConfig struct {
|
||||
Metadata string
|
||||
}
|
||||
|
||||
func Find(
|
||||
state MetadataConfig,
|
||||
|
||||
expression string,
|
||||
) ([]*tar.Header, error)
|
||||
|
||||
func List(
|
||||
state MetadataConfig,
|
||||
|
||||
name string,
|
||||
) ([]*tar.Header, error)
|
||||
Reference in New Issue
Block a user