Documentation ¶
Index ¶
- Variables
- type Discover
- func (d *Discover) Analyze(msg *string) error
- func (d *Discover) CreateInstKey(objID string, ownerID string, val []string) string
- func (d *Discover) GetInst(ownerID, objID string, instKey string, cond map[string]interface{}) (map[string]interface{}, error)
- func (d *Discover) GetInstFromRedis(instKey string) (map[string]interface{}, error)
- func (d *Discover) Hash(cloudid, ip string) (string, error)
- func (d *Discover) Mock() string
- func (d *Discover) TrySetRedis(key string, value []byte, duration time.Duration)
- func (d *Discover) TryUnsetRedis(key string)
- func (d *Discover) UpdateOrCreateInst(msg *string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var MockMessage = `` /* 215-byte string literal not displayed */
Functions ¶
This section is empty.
Types ¶
type Discover ¶
func NewDiscover ¶
func NewDiscover(ctx context.Context, redisCli *redis.Client, backbone *backbone.Engine, authManager *extensions.AuthManager) *Discover
func (*Discover) CreateInstKey ¶
func (*Discover) GetInstFromRedis ¶
func (*Discover) TrySetRedis ¶
func (*Discover) TryUnsetRedis ¶
func (*Discover) UpdateOrCreateInst ¶
Click to show internal directories.
Click to hide internal directories.