Documentation ¶
Index ¶
- Constants
- type DaemonDB
- func (d *DaemonDB) Close() error
- func (d *DaemonDB) Delete(key []byte) error
- func (d *DaemonDB) DeletePodVolume(podId, volName string) error
- func (d *DaemonDB) DeletePodVolumes(podId string) error
- func (d *DaemonDB) Get(key []byte) ([]byte, error)
- func (d *DaemonDB) GetPodVolume(podId, volname string) ([]byte, error)
- func (d *DaemonDB) GetString(key []byte) (string, error)
- func (d *DaemonDB) LagecyDeleteAllP2V() error
- func (d *DaemonDB) LagecyDeleteP2C(id string) error
- func (d *DaemonDB) LagecyDeleteP2V(id string) error
- func (d *DaemonDB) LagecyDeletePod(id string) error
- func (d *DaemonDB) LagecyDeleteVM(id string) error
- func (d *DaemonDB) LagecyDeleteVMByPod(id string) error
- func (d *DaemonDB) LagecyGetAllPods() chan *KVPair
- func (d *DaemonDB) LagecyGetP2C(id string) ([]string, error)
- func (d *DaemonDB) LagecyGetP2V(id string) (string, error)
- func (d *DaemonDB) LagecyGetPod(id string) ([]byte, error)
- func (d *DaemonDB) LagecyGetVM(id string) ([]byte, error)
- func (d *DaemonDB) LagecyListPod() ([][]byte, error)
- func (d *DaemonDB) LagecyUpdateP2C(id string, containers []string) error
- func (d *DaemonDB) LagecyUpdateP2V(id, vm string) error
- func (d *DaemonDB) LagecyUpdatePod(id string, data []byte) error
- func (d *DaemonDB) LagecyUpdateVM(id string, data []byte) error
- func (d *DaemonDB) ListPodVolumes(podId string) ([][]byte, error)
- func (d *DaemonDB) PrefixDelete(prefix []byte) error
- func (d *DaemonDB) PrefixList(prefix []byte, keyFilter KeyFilter) ([][]byte, error)
- func (d *DaemonDB) PrefixList2Chan(prefix []byte, keyFilter KeyFilter) chan *KVPair
- func (d *DaemonDB) PrefixListKey(prefix []byte, keyFilter KeyFilter) ([][]byte, error)
- func (d *DaemonDB) Update(key, data []byte) error
- func (d *DaemonDB) UpdatePodVolume(podId, volname string, data []byte) error
- type KVPair
- type KeyFilter
Constants ¶
View Source
const ( VM_KEY = "vmdata-%s" POD_KEY = "pod-%s" POD_VM_KEY = "vm-%s" POD_CONTAINER_KEY = "pod-container-%s" POD_VOLUME_KEY = "vol-%s-%s" POD_PREFIX = "pod-" POD_CONTAINER_PREFIX = "pod-container-" POD_VOLUME_PREFIX = "vol-%s" POD_VM_PREFIX = "vm-" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DaemonDB ¶
type DaemonDB struct {
// contains filtered or unexported fields
}
func NewDaemonDB ¶
func (*DaemonDB) DeletePodVolume ¶ added in v0.8.0
func (*DaemonDB) DeletePodVolumes ¶
func (*DaemonDB) GetPodVolume ¶ added in v0.8.0
func (*DaemonDB) LagecyDeleteAllP2V ¶ added in v0.8.0
func (*DaemonDB) LagecyDeleteP2C ¶ added in v0.8.0
func (*DaemonDB) LagecyDeleteP2V ¶ added in v0.8.0
func (*DaemonDB) LagecyDeletePod ¶ added in v0.8.0
func (*DaemonDB) LagecyDeleteVM ¶ added in v0.8.0
func (*DaemonDB) LagecyDeleteVMByPod ¶ added in v0.8.0
Composition Process
func (*DaemonDB) LagecyGetAllPods ¶ added in v0.8.0
func (*DaemonDB) LagecyGetP2C ¶ added in v0.8.0
POD to Containers (string to string list)
func (*DaemonDB) LagecyGetP2V ¶ added in v0.8.0
POD to VM (string to string)
func (*DaemonDB) LagecyGetPod ¶ added in v0.8.0
Pods podId and args
func (*DaemonDB) LagecyGetVM ¶ added in v0.8.0
VM DATA (string to data)
func (*DaemonDB) LagecyListPod ¶ added in v0.8.0
func (*DaemonDB) LagecyUpdateP2C ¶ added in v0.8.0
func (*DaemonDB) LagecyUpdateP2V ¶ added in v0.8.0
func (*DaemonDB) LagecyUpdatePod ¶ added in v0.8.0
func (*DaemonDB) LagecyUpdateVM ¶ added in v0.8.0
func (*DaemonDB) PrefixDelete ¶
func (*DaemonDB) PrefixList ¶
func (*DaemonDB) PrefixList2Chan ¶
func (*DaemonDB) PrefixListKey ¶
Click to show internal directories.
Click to hide internal directories.