Documentation
¶
Index ¶
- type ConfigDiff
- 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
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigDiff ¶
type ConfigDiff struct {
// contains filtered or unexported fields
}
func NewConfigDiff ¶
func (*ConfigDiff) CopyEmptyConfigDiff ¶
func (c *ConfigDiff) CopyEmptyConfigDiff(ctx context.Context) (*ConfigDiff, error)
func (*ConfigDiff) GetDiff ¶
func (c *ConfigDiff) GetDiff(ctx context.Context, dc *params.DiffConfig) (string, error)
func (*ConfigDiff) GetPathCompletions ¶
func (c *ConfigDiff) GetPathCompletions(ctx context.Context, toComplete string) []string
func (*ConfigDiff) GetRunningJson ¶
func (*ConfigDiff) GetSchemaStore ¶
func (c *ConfigDiff) GetSchemaStore() store.Store
func (*ConfigDiff) GetTreeJson ¶
func (*ConfigDiff) HasSchema ¶
func (c *ConfigDiff) HasSchema() bool
func (*ConfigDiff) SchemaDownload ¶
func (c *ConfigDiff) SchemaDownload(ctx context.Context, slc *params.SchemaLoadConfig) (*sdcpb.Schema, error)
func (*ConfigDiff) SchemaRemove ¶
func (*ConfigDiff) SchemasList ¶
func (*ConfigDiff) SetSchema ¶
func (c *ConfigDiff) SetSchema(s *sdcpb.Schema)
func (*ConfigDiff) SetSchemaStore ¶
func (c *ConfigDiff) SetSchemaStore(s store.Store)
func (*ConfigDiff) TreeBlame ¶
func (c *ConfigDiff) TreeBlame(ctx context.Context, params *params.ConfigBlameParams) (*sdcpb.BlameTreeElement, error)
func (*ConfigDiff) TreeLoadData ¶
func (c *ConfigDiff) TreeLoadData(ctx context.Context, cl *params.ConfigLoad) error
func (*ConfigDiff) TreeShow ¶
func (c *ConfigDiff) TreeShow(ctx context.Context, config *params.ConfigShowConfig) (params.ConfigShowInterface, error)
func (*ConfigDiff) TreeValidate ¶
func (c *ConfigDiff) TreeValidate(ctx context.Context) (treetypes.ValidationResults, *treetypes.ValidationStats, error)
type ConfigDiffPersistence ¶
type ConfigDiffPersistence struct {
*ConfigDiff
// contains filtered or unexported fields
}
func NewConfigDiffPersistence ¶
func NewConfigDiffPersistence(ctx context.Context, c *config.ConfigPersistent) (*ConfigDiffPersistence, error)
func (*ConfigDiffPersistence) InitTargetFolder ¶
func (c *ConfigDiffPersistence) InitTargetFolder(ctx context.Context) error
func (*ConfigDiffPersistence) Persist ¶
func (c *ConfigDiffPersistence) Persist(ctx context.Context) error
func (*ConfigDiffPersistence) SchemaDownload ¶
func (c *ConfigDiffPersistence) SchemaDownload(ctx context.Context, slc *params.SchemaLoadConfig) (*sdcpb.Schema, error)
func (*ConfigDiffPersistence) TargetGet ¶
func (c *ConfigDiffPersistence) TargetGet(name string) (*types.Target, error)
func (*ConfigDiffPersistence) TargetList ¶
func (c *ConfigDiffPersistence) TargetList() (types.Targets, error)
func (*ConfigDiffPersistence) TargetRemove ¶
func (c *ConfigDiffPersistence) TargetRemove() error
func (*ConfigDiffPersistence) TreeLoadData ¶
func (c *ConfigDiffPersistence) TreeLoadData(ctx context.Context, cl *params.ConfigLoad) error
Click to show internal directories.
Click to hide internal directories.