sc

package
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommitStore added in v0.0.23

type CommitStore struct {
	// contains filtered or unexported fields
}

func NewCommitStore added in v0.0.23

func NewCommitStore(homeDir string, logger logger.Logger, config config.StateCommitConfig) *CommitStore

func (*CommitStore) ApplyChangeSets added in v0.0.23

func (cs *CommitStore) ApplyChangeSets(changesets []*proto.NamedChangeSet) error

func (*CommitStore) ApplyUpgrades added in v0.0.23

func (cs *CommitStore) ApplyUpgrades(upgrades []*proto.TreeNameUpgrade) error

func (*CommitStore) Close added in v0.0.23

func (cs *CommitStore) Close() error

func (*CommitStore) Commit added in v0.0.23

func (cs *CommitStore) Commit() (int64, error)

func (*CommitStore) Exporter added in v0.0.23

func (cs *CommitStore) Exporter(version int64) (types.Exporter, error)

func (*CommitStore) GetLatestVersion added in v0.0.23

func (cs *CommitStore) GetLatestVersion() (int64, error)

func (*CommitStore) GetTreeByName added in v0.0.23

func (cs *CommitStore) GetTreeByName(name string) types.Tree

func (*CommitStore) Importer added in v0.0.23

func (cs *CommitStore) Importer(version int64) (types.Importer, error)

func (*CommitStore) Initialize added in v0.0.23

func (cs *CommitStore) Initialize(initialStores []string) error

func (*CommitStore) LastCommitInfo added in v0.0.23

func (cs *CommitStore) LastCommitInfo() *proto.CommitInfo

func (*CommitStore) LoadVersion added in v0.0.23

func (cs *CommitStore) LoadVersion(targetVersion int64, createNew bool) (types.Committer, error)

func (*CommitStore) Rollback added in v0.0.23

func (cs *CommitStore) Rollback(targetVersion int64) error

func (*CommitStore) SetInitialVersion added in v0.0.23

func (cs *CommitStore) SetInitialVersion(initialVersion int64) error

func (*CommitStore) Version added in v0.0.23

func (cs *CommitStore) Version() int64

func (*CommitStore) WorkingCommitInfo added in v0.0.23

func (cs *CommitStore) WorkingCommitInfo() *proto.CommitInfo

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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