Documentation ¶
Index ¶
Constants ¶
const ( KVStoreFolder = "kvStores" APIKV = "apiKV" )
Sample plugin to migrate data in keyvalue store If there is any key/value change, should create a new keyvalue store file with version appendix, like .v2, to differentiate with old keyvalue store file Migrate keyvalue plugin should read configuration from input VirtualContainerHost configuration, and then read from old keyvalue store file directly After migration, write back to new datastore file with version appendix Data migration framework is not responsible for data roll back. With versioned datastore file, even roll back happens, old version's datastore file is still useable by old binary Make sure to delete existing new version datastore file, which might be a left over of last failed data migration attempt.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewImageMeta ¶
type NewImageMeta struct { }
NewImageMeta is plugin for vic 0.8.0-GA version upgrade