Documentation
¶
Overview ¶
Package deps provides commands for managing external dependencies required by data sources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCheckCommand ¶
NewCheckCommand creates the deps check subcommand.
Types ¶
type CheckResults ¶
type CheckResults struct {
Sources []SourceDepStatus `json:"sources" yaml:"sources"`
TotalDeps int `json:"total_deps" yaml:"total_deps"`
AvailableDeps int `json:"available_deps" yaml:"available_deps"`
MissingDeps int `json:"missing_deps" yaml:"missing_deps"`
SourcesWithNoDeps int `json:"sources_with_no_deps" yaml:"sources_with_no_deps"`
}
CheckResults aggregates all statuses.
type DependencyDetail ¶
type DependencyDetail struct {
Dependency sources.Dependency `json:"dependency" yaml:"dependency"`
Status sources.DependencyStatus `json:"status" yaml:"status"`
}
DependencyDetail combines dependency definition with status.
type SourceDepStatus ¶
type SourceDepStatus struct {
SourceID sources.ID `json:"source_id" yaml:"source_id"`
SourceName string `json:"source_name" yaml:"source_name"`
IsOptional bool `json:"is_optional" yaml:"is_optional"`
Dependencies []DependencyDetail `json:"dependencies" yaml:"dependencies"`
}
SourceDepStatus holds dependency status for one source.
Click to show internal directories.
Click to hide internal directories.