Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BusinessInterface ¶
type BusinessInterface interface {
SearchAllApp(fields string, cond mapstr.MapStr) (*metadata.InstResult, error)
}
BusinessInterface business methods
func NewBusiness ¶
func NewBusiness(params types.ContextParams, client apimachinery.ClientSetInterface) BusinessInterface
NewBusiness create a new business instance
type ModuleInterface ¶
type ModuleInterface interface {
UpdateMultiModule(bizID int64, moduleIDS interface{}, innerData mapstr.MapStr) error
SearchModuleByApp(query *metadata.QueryInput) (*metadata.InstResult, error)
SearchModuleBySetProperty(bizID int64, cond condition.Condition) (*metadata.InstResult, error)
AddMultiModule(bizID, setID int64, moduleNames []string, data mapstr.MapStr) error
DeleteMultiModule(bizID int64, moduleIDS []int64) error
}
ModuleInterface module interface
func NewModule ¶
func NewModule(params types.ContextParams, client apimachinery.ClientSetInterface) ModuleInterface
NewModule create a module instance
type SetInterface ¶
type SetInterface interface {
UpdateMultiSet(bizID int64, data mapstr.MapStr, cond condition.Condition) error
DeleteMultiSet(bizID int64, setIDS []int64) error
DeleteSetHost(bizID int64, cond condition.Condition) error
}
SetInterface set interface
func NewSet ¶
func NewSet(params types.ContextParams, client apimachinery.ClientSetInterface) SetInterface
NewSet ceate a new set instance
Click to show internal directories.
Click to hide internal directories.