Versions in this module Expand all Collapse all v0 v0.3.9 Jan 19, 2021 Changes in this version + type Redis struct + func NewRedis(pool *redis.Pool) *Redis + func (s *Redis) Add(r *provision.Reservation) error + func (s *Redis) ClearByType(types []provision.ReservationType) error + func (s *Redis) Close() error + func (s *Redis) Exists(id string) (bool, error) + func (s *Redis) Get(id string) (*provision.Reservation, error) + func (s *Redis) GetExpired() ([]*provision.Reservation, error) + func (s *Redis) NetworkExists(_ string) (bool, error) + func (s *Redis) Remove(id string) error + func (s *Redis) Sync(statser provision.Statser) error