Versions in this module Expand all Collapse all v0 v0.4.0 May 12, 2026 Changes in this version + type ConfigDiff struct + func NewConfigDiff(ctx context.Context, c *config.Config) (*ConfigDiff, error) + func (c *ConfigDiff) CopyEmptyConfigDiff(ctx context.Context) (*ConfigDiff, error) + func (c *ConfigDiff) GetDiff(ctx context.Context, dc *params.DiffConfig) (string, error) + func (c *ConfigDiff) GetJson(ctx context.Context, onlyNewOrUpdated bool) (any, error) + func (c *ConfigDiff) GetPathCompletions(ctx context.Context, toComplete string) []string + func (c *ConfigDiff) GetRunningJson(ctx context.Context, path *sdcpb.Path) (any, error) + func (c *ConfigDiff) GetSchemaStore() store.Store + func (c *ConfigDiff) GetTreeJson(ctx context.Context, path *sdcpb.Path) (any, error) + func (c *ConfigDiff) HasSchema() bool + func (c *ConfigDiff) SchemaDownload(ctx context.Context, slc *params.SchemaLoadConfig) (*sdcpb.Schema, error) + func (c *ConfigDiff) SchemaRemove(ctx context.Context, vendor string, version string) error + func (c *ConfigDiff) SchemasList(ctx context.Context) ([]*sdcpb.Schema, error) + func (c *ConfigDiff) SetSchema(s *sdcpb.Schema) + func (c *ConfigDiff) SetSchemaStore(s store.Store) + func (c *ConfigDiff) TreeBlame(ctx context.Context, params *params.ConfigBlameParams) (*sdcpb.BlameTreeElement, error) + func (c *ConfigDiff) TreeLoadData(ctx context.Context, cl *params.ConfigLoad) error + func (c *ConfigDiff) TreeShow(ctx context.Context, config *params.ConfigShowConfig) (params.ConfigShowInterface, error) + func (c *ConfigDiff) TreeValidate(ctx context.Context) (treetypes.ValidationResults, *treetypes.ValidationStats, error) + type ConfigDiffPersistence struct + func NewConfigDiffPersistence(ctx context.Context, c *config.ConfigPersistent) (*ConfigDiffPersistence, error) + func (c *ConfigDiffPersistence) InitTargetFolder(ctx context.Context) error + func (c *ConfigDiffPersistence) Persist(ctx context.Context) error + func (c *ConfigDiffPersistence) SchemaDownload(ctx context.Context, slc *params.SchemaLoadConfig) (*sdcpb.Schema, error) + func (c *ConfigDiffPersistence) TargetGet(name string) (*types.Target, error) + func (c *ConfigDiffPersistence) TargetList() (types.Targets, error) + func (c *ConfigDiffPersistence) TargetRemove() error + func (c *ConfigDiffPersistence) TreeLoadData(ctx context.Context, cl *params.ConfigLoad) error v0.3.0 Sep 26, 2025