Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstanceInterface ¶
type InstanceInterface interface { // app operation CreateApp(ctx context.Context, h util.Headers) (resp *api.BKAPIRsp, err error) DeleteApp(ctx context.Context, appID string, h util.Headers) (resp *api.BKAPIRsp, err error) UpdateApp(ctx context.Context, appID string, h util.Headers, data map[string]interface{}) (resp *api.BKAPIRsp, err error) UpdateAppDataStatus(ctx context.Context, flag common.DataStatusFlag, appID string, h util.Headers) (resp *api.BKAPIRsp, err error) SearchApp(ctx context.Context, h util.Headers, s *params.SearchParams) (resp *api.BKAPIRsp, err error) GetDefaultApp(ctx context.Context, h util.Headers, s *params.SearchParams) (resp *api.BKAPIRsp, err error) CreateDefaultApp(ctx context.Context, h util.Headers, data map[string]interface{}) (resp *api.BKAPIRsp, err error) // inst operation CreateInst(ctx context.Context, objID string, h util.Headers, dat interface{}) (resp *api.BKAPIRsp, err error) DeleteInst(ctx context.Context, objID string, instID string, h util.Headers) (resp *api.BKAPIRsp, err error) UpdateInst(ctx context.Context, objID string, instID string, h util.Headers, dat map[string]interface{}) (resp *api.BKAPIRsp, err error) SelectInsts(ctx context.Context, objID string, h util.Headers, s *params.SearchParams) (resp *api.BKAPIRsp, err error) SelectInstsAndAsstDetail(ctx context.Context, objID string, h util.Headers, s *params.SearchParams) (resp *api.BKAPIRsp, err error) InstSearch(ctx context.Context, objID string, h util.Headers, s *params.SearchParams) (resp *api.BKAPIRsp, err error) SelectInstsByAssociation(ctx context.Context, objID string, h util.Headers, p *inst.AssociationParams) (resp *api.BKAPIRsp, err error) SelectInst(ctx context.Context, objID string, instID string, h util.Headers, p *params.SearchParams) (resp *api.BKAPIRsp, err error) SelectTopo(ctx context.Context, objID string, instID string, h util.Headers, p *params.SearchParams) (resp *api.BKAPIRsp, err error) SelectAssociationTopo(ctx context.Context, objID string, instID string, h util.Headers, p *params.SearchParams) (resp *api.BKAPIRsp, err error) // module operation CreateModule(ctx context.Context, appID string, setID string, h util.Headers, dat map[string]interface{}) (resp *api.BKAPIRsp, err error) DeleteModule(ctx context.Context, appID string, setID string, moduleID string, h util.Headers) (resp *api.BKAPIRsp, err error) UpdateModule(ctx context.Context, appID string, setID string, moduleID string, h util.Headers, dat map[string]interface{}) (resp *api.BKAPIRsp, err error) SearchModule(ctx context.Context, appID string, setID string, h util.Headers, s *params.SearchParams) (resp *api.BKAPIRsp, err error) // set operation CreateSet(ctx context.Context, appID string, h util.Headers, dat map[string]interface{}) (resp *api.BKAPIRsp, err error) DeleteSet(ctx context.Context, appID string, setID string, h util.Headers) (resp *api.BKAPIRsp, err error) UpdateSet(ctx context.Context, appID string, setID string, h util.Headers, dat map[string]interface{}) (resp *api.BKAPIRsp, err error) SearchSet(ctx context.Context, ownerID string, appID string, h util.Headers, s *params.SearchParams) (resp *api.BKAPIRsp, err error) // common operation QueryAudit(ctx context.Context, h util.Headers, input *commondata.ObjQueryInput) (resp *api.BKAPIRsp, err error) GetInternalModule(ctx context.Context, ownerID, appID string, h util.Headers) (resp *api.BKAPIRsp, err error) }
func NewInstanceClient ¶
func NewInstanceClient(client rest.ClientInterface) InstanceInterface
Click to show internal directories.
Click to hide internal directories.