Documentation ¶
Index ¶
- type EtcdClusterInfo
- type EtcdStore
- func (s *EtcdStore) ClusterInfo() (EtcdClusterInfo, error)
- func (s *EtcdStore) CreateApp(app *types.Application) error
- func (s *EtcdStore) CreateCompose(cps *types.Compose) error
- func (s *EtcdStore) CreateTask(aid string, task *types.Task) error
- func (s *EtcdStore) CreateVersion(aid string, version *types.Version) error
- func (s *EtcdStore) DeleteApp(id string) error
- func (s *EtcdStore) DeleteCompose(idOrName string) error
- func (s *EtcdStore) DeleteTask(id string) error
- func (s *EtcdStore) DeleteVersion(aid, vid string) error
- func (s *EtcdStore) GetApp(id string) (*types.Application, error)
- func (s *EtcdStore) GetAppOpStatus(appId string) (string, error)
- func (s *EtcdStore) GetCompose(idOrName string) (*types.Compose, error)
- func (s *EtcdStore) GetFrameworkId() (string, int64)
- func (s *EtcdStore) GetTask(aid, tid string) (*types.Task, error)
- func (s *EtcdStore) GetVersion(aid, vid string) (*types.Version, error)
- func (s *EtcdStore) IsErrNotFound(err error) bool
- func (s *EtcdStore) ListApps() ([]*types.Application, error)
- func (s *EtcdStore) ListComposes() ([]*types.Compose, error)
- func (s *EtcdStore) ListTaskHistory(aid, sid string) []*types.Task
- func (s *EtcdStore) ListTasks(id string) ([]*types.Task, error)
- func (s *EtcdStore) ListVersions(aid string) ([]*types.Version, error)
- func (s *EtcdStore) UpdateApp(app *types.Application) error
- func (s *EtcdStore) UpdateCompose(cps *types.Compose) error
- func (s *EtcdStore) UpdateFrameworkId(id string) error
- func (s *EtcdStore) UpdateTask(aid string, task *types.Task) error
- type MemberWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcdClusterInfo ¶
type EtcdClusterInfo struct { Health bool `json:"health"` Members []MemberWrapper `json:"members"` }
type EtcdStore ¶
type EtcdStore struct {
// contains filtered or unexported fields
}
func NewEtcdStore ¶
func (*EtcdStore) ClusterInfo ¶
func (s *EtcdStore) ClusterInfo() (EtcdClusterInfo, error)
func (*EtcdStore) CreateVersion ¶
func (*EtcdStore) DeleteCompose ¶
func (*EtcdStore) DeleteTask ¶
func (*EtcdStore) DeleteVersion ¶
func (*EtcdStore) GetAppOpStatus ¶ added in v0.2.2
func (*EtcdStore) GetCompose ¶
func (*EtcdStore) GetFrameworkId ¶
func (*EtcdStore) GetVersion ¶
func (*EtcdStore) IsErrNotFound ¶ added in v0.2.2
func (*EtcdStore) ListTaskHistory ¶
func (*EtcdStore) ListVersions ¶
func (*EtcdStore) UpdateFrameworkId ¶
Click to show internal directories.
Click to hide internal directories.