Documentation ¶
Index ¶
- type RedisDAO
- func (t *RedisDAO) ContainerDelAll(containerID string)
- func (t *RedisDAO) ContainerHSet(containerID, key, field string, value interface{}) error
- func (t *RedisDAO) ContainerHSetWithTime(containerID, key, field string, value interface{}, second int) error
- func (t *RedisDAO) ContainerReleaseBusy(containerID string)
- func (t *RedisDAO) ContainerResetProfile(containerID string, profile container.ContainerProfile) error
- func (t *RedisDAO) ContainerSet(containerID, key string, value interface{}) error
- func (t *RedisDAO) ContainerSetBusy(containerID string) bool
- func (t *RedisDAO) ContainerSetWithTime(slaveID, containerID, key string, value interface{}, seconds int) error
- func (t *RedisDAO) ContainerUpdateStats(containerID string, stats container.Stats) error
- func (t *RedisDAO) ContainerUpdateStatus(containerID string, status container.ContainerStatus) error
- func (t *RedisDAO) Reset() error
- func (t *RedisDAO) SlaveDelete(slaveID string) error
- func (t *RedisDAO) SlaveGetAddToken() (string, error)
- func (t *RedisDAO) SlaveGetImageList(slaveID string) ([]types.ImageListItem, error)
- func (t *RedisDAO) SlaveProfile(slaveID string) (map[string]string, error)
- func (t *RedisDAO) SlaveResetHostInfo(slaveID string, hostInfo hosts.HostInfo) error
- func (t *RedisDAO) SlaveResetImageList(slaveID string, images []image.ImageListItem) error
- func (t *RedisDAO) SlaveStats(slaveID string) (string, error)
- func (t *RedisDAO) SlaveStatus(slaveID string) (map[string]string, error)
- func (t *RedisDAO) SlaveUUIDList() ([]string, error)
- func (t *RedisDAO) SlaveUpdateAddToken(token string) error
- func (t *RedisDAO) SlaveUpdateStats(slaveID string, stats types.StatsSlave) error
- func (t *RedisDAO) SlaveUpdateStatus(slaveID string, stats types.StatsSlave, resource resource.ResourceAvailable) error
- func (t *RedisDAO) TestConnection() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisDAO ¶
type RedisDAO struct {
// contains filtered or unexported fields
}
func (*RedisDAO) ContainerDelAll ¶
func (*RedisDAO) ContainerHSet ¶
func (*RedisDAO) ContainerHSetWithTime ¶
func (*RedisDAO) ContainerReleaseBusy ¶
func (*RedisDAO) ContainerResetProfile ¶
func (t *RedisDAO) ContainerResetProfile(containerID string, profile container.ContainerProfile) error
func (*RedisDAO) ContainerSet ¶
func (*RedisDAO) ContainerSetBusy ¶
func (*RedisDAO) ContainerSetWithTime ¶
func (*RedisDAO) ContainerUpdateStats ¶
func (*RedisDAO) ContainerUpdateStatus ¶
func (t *RedisDAO) ContainerUpdateStatus(containerID string, status container.ContainerStatus) error
func (*RedisDAO) SlaveDelete ¶
func (*RedisDAO) SlaveGetAddToken ¶
func (*RedisDAO) SlaveGetImageList ¶
func (t *RedisDAO) SlaveGetImageList(slaveID string) ([]types.ImageListItem, error)
func (*RedisDAO) SlaveProfile ¶
func (*RedisDAO) SlaveResetHostInfo ¶
func (*RedisDAO) SlaveResetImageList ¶
func (t *RedisDAO) SlaveResetImageList(slaveID string, images []image.ImageListItem) error
func (*RedisDAO) SlaveStatus ¶
func (*RedisDAO) SlaveUUIDList ¶
func (*RedisDAO) SlaveUpdateAddToken ¶
func (*RedisDAO) SlaveUpdateStats ¶
func (t *RedisDAO) SlaveUpdateStats(slaveID string, stats types.StatsSlave) error
func (*RedisDAO) SlaveUpdateStatus ¶
func (t *RedisDAO) SlaveUpdateStatus(slaveID string, stats types.StatsSlave, resource resource.ResourceAvailable) error
func (*RedisDAO) TestConnection ¶
Click to show internal directories.
Click to hide internal directories.