Documentation ¶
Index ¶
- func NewCache(event reflector.Interface, rds *redis.Client) error
- type BizBaseInfo
- type Client
- func (c *Client) GetBizBaseList() ([]BizBaseInfo, error)
- func (c *Client) GetBusiness(bizID int64) (string, error)
- func (c *Client) GetCustomLevelBaseList(objectID string, bizID int64) ([]CustomInstanceBase, error)
- func (c *Client) GetCustomLevelDetail(objID string, instID int64) (string, error)
- func (c *Client) GetModuleBaseList(bizID int64) ([]ModuleBaseInfo, error)
- func (c *Client) GetModuleDetail(moduleID int64) (string, error)
- func (c *Client) GetSet(setID int64) (string, error)
- func (c *Client) GetSetBaseList(bizID int64) ([]SetBaseInfo, error)
- func (c *Client) GetTopology() ([]string, error)
- func (c *Client) ListBusiness(ctx context.Context, opt *metadata.ListWithIDOption) ([]string, error)
- func (c *Client) ListCustomLevelDetail(objID string, instIDs []int64) ([]string, error)
- func (c *Client) ListModuleDetails(moduleIDs []int64) ([]string, error)
- func (c *Client) ListModules(ctx context.Context, opt *metadata.ListWithIDOption) ([]string, error)
- func (c *Client) ListSetDetails(setIDs []int64) ([]string, error)
- func (c *Client) ListSets(ctx context.Context, opt *metadata.ListWithIDOption) ([]string, error)
- type CustomInstanceBase
- type MainlineTopoAssociation
- type ModuleBaseInfo
- type SetBaseInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BizBaseInfo ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetBizBaseList ¶
func (c *Client) GetBizBaseList() ([]BizBaseInfo, error)
func (*Client) GetBusiness ¶
get a business's all info.
func (*Client) GetCustomLevelBaseList ¶
func (c *Client) GetCustomLevelBaseList(objectID string, bizID int64) ([]CustomInstanceBase, error)
func (*Client) GetCustomLevelDetail ¶
func (*Client) GetModuleBaseList ¶
func (c *Client) GetModuleBaseList(bizID int64) ([]ModuleBaseInfo, error)
func (*Client) GetSetBaseList ¶
func (c *Client) GetSetBaseList(bizID int64) ([]SetBaseInfo, error)
func (*Client) GetTopology ¶
func (*Client) ListBusiness ¶
func (*Client) ListCustomLevelDetail ¶
func (*Client) ListModuleDetails ¶
func (*Client) ListModules ¶
type CustomInstanceBase ¶
type MainlineTopoAssociation ¶
type ModuleBaseInfo ¶
type SetBaseInfo ¶
Click to show internal directories.
Click to hide internal directories.