package
Version:
v0.0.0-...-8f1a599
Opens a new window with list of versions in this module.
Published: Oct 13, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Entries struct {
Entries []*Entry
}
Entries represents the content of the output file.
New returns a new empty entries.
EntryByName returns a Entry by passing its name.
Read reads entries from a file.
Upsert adds a new entry to the Index or updates an existing one.
Write writes entries to a file.
type Entry struct {
Name string `yaml:"name"`
Type string `yaml:"type"`
Registry string `yaml:"registry"`
Repository string `yaml:"repository"`
}
Entry describes an entry of the output file.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.