configdiff

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2026 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

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 NewConfigDiff(ctx context.Context, c *config.Config) (*ConfigDiff, error)

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) GetJson

func (c *ConfigDiff) GetJson(ctx context.Context, onlyNewOrUpdated bool) (any, error)

func (*ConfigDiff) GetPathCompletions

func (c *ConfigDiff) GetPathCompletions(ctx context.Context, toComplete string) []string

func (*ConfigDiff) GetRunningJson

func (c *ConfigDiff) GetRunningJson(ctx context.Context, path *sdcpb.Path) (any, error)

func (*ConfigDiff) GetSchemaStore

func (c *ConfigDiff) GetSchemaStore() store.Store

func (*ConfigDiff) GetTreeJson

func (c *ConfigDiff) GetTreeJson(ctx context.Context, path *sdcpb.Path) (any, error)

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 (c *ConfigDiff) SchemaRemove(ctx context.Context, vendor string, version string) error

func (*ConfigDiff) SchemasList

func (c *ConfigDiff) SchemasList(ctx context.Context) ([]*sdcpb.Schema, error)

func (*ConfigDiff) SetSchema

func (c *ConfigDiff) SetSchema(s *sdcpb.Schema)

func (*ConfigDiff) SetSchemaStore

func (c *ConfigDiff) SetSchemaStore(s store.Store)

func (*ConfigDiff) TreeBlame

func (*ConfigDiff) TreeLoadData

func (c *ConfigDiff) TreeLoadData(ctx context.Context, cl *params.ConfigLoad) error

func (*ConfigDiff) TreeShow

func (*ConfigDiff) TreeValidate

type ConfigDiffPersistence

type ConfigDiffPersistence struct {
	*ConfigDiff
	// contains filtered or unexported fields
}

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL