Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Source)
Option configures a local source.
func WithCatalog ¶ added in v0.0.20
WithCatalog sets a pre-loaded human workspace catalog to reuse.
func WithCatalogPath ¶
WithCatalogPath sets the catalog path.
func WithCatalogReport ¶ added in v0.2.0
func WithCatalogReport(catalog *catalogs.Catalog, report catalogs.LoadReport) Option
WithCatalogReport sets a pre-loaded catalog and its source load diagnostics.
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
Source observes a human workspace catalog, either injected after validated loading or loaded from its configured path.
func (*Source) Dependencies ¶ added in v0.0.17
func (s *Source) Dependencies() []sources.Dependency
Dependencies returns the list of external dependencies. Local source has no external dependencies.
func (*Source) IsOptional ¶ added in v0.0.17
IsOptional reports that a human workspace observation is optional when the verified embedded observation is available.
Click to show internal directories.
Click to hide internal directories.