Documentation ¶
Index ¶
- type CommitStore
- func (cs *CommitStore) ApplyChangeSets(changesets []*proto.NamedChangeSet) error
- func (cs *CommitStore) ApplyUpgrades(upgrades []*proto.TreeNameUpgrade) error
- func (cs *CommitStore) Close() error
- func (cs *CommitStore) Commit() (int64, error)
- func (cs *CommitStore) Exporter(version int64) (types.Exporter, error)
- func (cs *CommitStore) GetLatestVersion() (int64, error)
- func (cs *CommitStore) GetTreeByName(name string) types.Tree
- func (cs *CommitStore) Importer(version int64) (types.Importer, error)
- func (cs *CommitStore) Initialize(initialStores []string) error
- func (cs *CommitStore) LastCommitInfo() *proto.CommitInfo
- func (cs *CommitStore) LoadVersion(targetVersion int64, createNew bool) (types.Committer, error)
- func (cs *CommitStore) Rollback(targetVersion int64) error
- func (cs *CommitStore) SetInitialVersion(initialVersion int64) error
- func (cs *CommitStore) Version() int64
- func (cs *CommitStore) WorkingCommitInfo() *proto.CommitInfo
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 (*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
Click to show internal directories.
Click to hide internal directories.