Documentation ¶
Index ¶
- type ZKStore
- func (zk *ZKStore) CreateApp(app *types.Application) error
- func (zk *ZKStore) CreateCompose(cps *types.Compose) error
- func (zk *ZKStore) CreateTask(aid string, task *types.Task) error
- func (zk *ZKStore) CreateVersion(aid string, version *types.Version) error
- func (zk *ZKStore) DeleteApp(id string) error
- func (zk *ZKStore) DeleteCompose(id string) error
- func (zk *ZKStore) DeleteTask(id string) error
- func (zk *ZKStore) DeleteVersion(aid, vid string) error
- func (zk *ZKStore) GetApp(id string) (*types.Application, error)
- func (zk *ZKStore) GetAppOpStatus(appId string) (string, error)
- func (zk *ZKStore) GetCompose(id string) (*types.Compose, error)
- func (zk *ZKStore) GetFrameworkId() (string, int64)
- func (zk *ZKStore) GetTask(aid, tid string) (*types.Task, error)
- func (zk *ZKStore) GetVersion(aid, vid string) (*types.Version, error)
- func (zs *ZKStore) IsErrNotFound(err error) bool
- func (zk *ZKStore) ListApps() ([]*types.Application, error)
- func (zk *ZKStore) ListComposes() ([]*types.Compose, error)
- func (zk *ZKStore) ListTaskHistory(aid, sid string) []*types.Task
- func (zk *ZKStore) ListTasks(id string) ([]*types.Task, error)
- func (zk *ZKStore) ListVersions(aid string) ([]*types.Version, error)
- func (zk *ZKStore) UpdateApp(app *types.Application) error
- func (zk *ZKStore) UpdateCompose(cps *types.Compose) error
- func (zk *ZKStore) UpdateFrameworkId(id string) error
- func (zk *ZKStore) UpdateTask(aid string, task *types.Task) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZKStore ¶
type ZKStore struct {
// contains filtered or unexported fields
}
func (*ZKStore) CreateVersion ¶
As Nested Field of AppHolder, CreateVersion Require Transaction Lock
func (*ZKStore) DeleteCompose ¶
func (*ZKStore) DeleteTask ¶
func (*ZKStore) DeleteVersion ¶ added in v0.2.1
func (*ZKStore) GetAppOpStatus ¶ added in v0.2.2
func (*ZKStore) GetFrameworkId ¶
func (*ZKStore) IsErrNotFound ¶ added in v0.2.2
func (*ZKStore) ListVersions ¶
func (*ZKStore) UpdateApp ¶
func (zk *ZKStore) UpdateApp(app *types.Application) error
All of AppHolder Write Ops Requires Transaction Lock
func (*ZKStore) UpdateFrameworkId ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.