Documentation ¶
Index ¶
- type LevelDBStore
- func (s *LevelDBStore) AddApplication(app *engine.Application) error
- func (s *LevelDBStore) AddApplicationRunTime(rt *engine.ApplicationRuntime) error
- func (s *LevelDBStore) AddConfig(config *engine.Config) error
- func (s *LevelDBStore) ForeachApplicationRunTime(f func(*engine.ApplicationRuntime)) error
- func (s *LevelDBStore) GetApplication(tag *engine.ApplicationTag) (*engine.Application, error)
- func (s *LevelDBStore) GetApplicationRuntime(name string) (*engine.ApplicationRuntime, error)
- func (s *LevelDBStore) GetConfig(name string) (*engine.Config, error)
- func (s *LevelDBStore) HasApplication(tag *engine.ApplicationTag) (bool, error)
- func (s *LevelDBStore) HasConfig(name string) (bool, error)
- func (s *LevelDBStore) ListApplicationRunTimes(size int, lastPos string) ([]*engine.ApplicationRuntime, string, error)
- func (s *LevelDBStore) ListApplications(size int, lastPos string) ([]*engine.ApplicationTag, string, error)
- func (s *LevelDBStore) RemoveApplication(tag *engine.ApplicationTag) error
- func (s *LevelDBStore) RemoveApplicationRunTime(name string) error
- func (s *LevelDBStore) RemoveConfig(name string) error
- func (s *LevelDBStore) UpdateApplication(tag *engine.ApplicationTag, f func(*engine.Application)) error
- func (s *LevelDBStore) UpdateApplicationRuntime(name string, f func(*engine.ApplicationRuntime) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LevelDBStore ¶
type LevelDBStore struct {
// contains filtered or unexported fields
}
func NewLevelDBStore ¶
func NewLevelDBStore(filePath string) (*LevelDBStore, error)
func (*LevelDBStore) AddApplication ¶
func (s *LevelDBStore) AddApplication(app *engine.Application) error
func (*LevelDBStore) AddApplicationRunTime ¶
func (s *LevelDBStore) AddApplicationRunTime(rt *engine.ApplicationRuntime) error
func (*LevelDBStore) ForeachApplicationRunTime ¶
func (s *LevelDBStore) ForeachApplicationRunTime(f func(*engine.ApplicationRuntime)) error
func (*LevelDBStore) GetApplication ¶
func (s *LevelDBStore) GetApplication(tag *engine.ApplicationTag) (*engine.Application, error)
func (*LevelDBStore) GetApplicationRuntime ¶
func (s *LevelDBStore) GetApplicationRuntime(name string) (*engine.ApplicationRuntime, error)
func (*LevelDBStore) GetConfig ¶
func (s *LevelDBStore) GetConfig(name string) (*engine.Config, error)
func (*LevelDBStore) HasApplication ¶
func (s *LevelDBStore) HasApplication(tag *engine.ApplicationTag) (bool, error)
func (*LevelDBStore) ListApplicationRunTimes ¶
func (s *LevelDBStore) ListApplicationRunTimes(size int, lastPos string) ([]*engine.ApplicationRuntime, string, error)
func (*LevelDBStore) ListApplications ¶
func (s *LevelDBStore) ListApplications(size int, lastPos string) ([]*engine.ApplicationTag, string, error)
func (*LevelDBStore) RemoveApplication ¶
func (s *LevelDBStore) RemoveApplication(tag *engine.ApplicationTag) error
func (*LevelDBStore) RemoveApplicationRunTime ¶
func (s *LevelDBStore) RemoveApplicationRunTime(name string) error
func (*LevelDBStore) RemoveConfig ¶
func (s *LevelDBStore) RemoveConfig(name string) error
func (*LevelDBStore) UpdateApplication ¶
func (s *LevelDBStore) UpdateApplication(tag *engine.ApplicationTag, f func(*engine.Application)) error
func (*LevelDBStore) UpdateApplicationRuntime ¶
func (s *LevelDBStore) UpdateApplicationRuntime(name string, f func(*engine.ApplicationRuntime) error) error
Click to show internal directories.
Click to hide internal directories.