Documentation ¶
Index ¶
- func Bootstrap(repo inept.Repository) error
- func ComponentStringToComponent(db *gorm.DB, suite string) (*inept.Component, error)
- func CreateMetadataKeys(db *gorm.DB) *gorm.DB
- func CreateTables(db *gorm.DB) *gorm.DB
- func DropTables(db *gorm.DB) *gorm.DB
- func SyncSuites(db *gorm.DB, suites []SuiteConfig) error
- func WritePackages(component *archive.Component, db *gorm.DB, query *gorm.DB) error
- func WriteSuites(repo inept.Repository, query *gorm.DB) ([]*archive.Suite, error)
- type BinaryIterator
- type Configuration
- type GlobalConfig
- type SuiteConfig
- type SuiteIterator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bootstrap ¶
func Bootstrap(repo inept.Repository) error
func SyncSuites ¶
func SyncSuites(db *gorm.DB, suites []SuiteConfig) error
func WritePackages ¶
func WriteSuites ¶
Types ¶
type BinaryIterator ¶
type BinaryIterator struct {
// contains filtered or unexported fields
}
func BinaryStringToIterator ¶
func BinaryStringToIterator(db *gorm.DB, binary string) (*BinaryIterator, error)
func NewBinaryIterator ¶
func NewBinaryIterator(query *gorm.DB) (*BinaryIterator, error)
func (BinaryIterator) Close ¶
func (b BinaryIterator) Close() error
type Configuration ¶
type Configuration struct { Global GlobalConfig Suites []SuiteConfig }
func ParseConfiguration ¶
func ParseConfiguration(reader io.Reader) (*Configuration, error)
type GlobalConfig ¶
type GlobalConfig struct { control.Paragraph Archive string Database string Keyring string KeyID string }
func (GlobalConfig) KeyIDInt ¶
func (g GlobalConfig) KeyIDInt() (uint64, error)
type SuiteConfig ¶
type SuiteIterator ¶
type SuiteIterator struct {
// contains filtered or unexported fields
}
func NewSuiteIterator ¶
func NewSuiteIterator(query *gorm.DB) (*SuiteIterator, error)
Click to show internal directories.
Click to hide internal directories.