Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
Adapter .
func (*Adapter) SaveConfig ¶
SaveConfig .
func (*Adapter) SearchConfig ¶
func (a *Adapter) SearchConfig(mode SearchMode, tenantName, groupName, dataID string, page, pageSize int) (*SearchResponse, error)
SearchConfig .
type SearchMode ¶
type SearchMode string
SearchMode .
var ( // SearchModeBlur . SearchModeBlur SearchMode = "BLUR" // SearchModeAccurate . SearchModeAccurate SearchMode = "ACCURATE" )
type SearchResponse ¶
type SearchResponse struct { Total int64 `json:"json:"totalCount"` Pages int64 `json:"json:"pagesAvailable"` ConfigItems []*ConfigItem `json:"json:"pageItems"` }
SearchResponse .
func (*SearchResponse) ToConfigCenterGroups ¶
func (s *SearchResponse) ToConfigCenterGroups() *pb.Groups
ToConfigCenterGroups .
Click to show internal directories.
Click to hide internal directories.