Documentation ¶
Index ¶
- type SEtcdModelHandler
- func (disp *SEtcdModelHandler) BatchCreate(ctx context.Context, query jsonutils.JSONObject, data jsonutils.JSONObject, ...) ([]modulebase.SubmitResult, error)
- func (disp *SEtcdModelHandler) ContextKeywordPlurals() [][]string
- func (disp *SEtcdModelHandler) Create(ctx context.Context, query jsonutils.JSONObject, data jsonutils.JSONObject, ...) (jsonutils.JSONObject, error)
- func (disp *SEtcdModelHandler) CustomizeHandlerInfo(handler *appsrv.SHandlerInfo)
- func (disp *SEtcdModelHandler) Delete(ctx context.Context, idstr string, query jsonutils.JSONObject, ...) (jsonutils.JSONObject, error)
- func (disp *SEtcdModelHandler) DeleteSpec(ctx context.Context, idstr string, spec string, query jsonutils.JSONObject, ...) (jsonutils.JSONObject, error)
- func (disp *SEtcdModelHandler) FetchCreateHeaderData(ctx context.Context, header http.Header) (jsonutils.JSONObject, error)
- func (disp *SEtcdModelHandler) FetchUpdateHeaderData(ctx context.Context, header http.Header) (jsonutils.JSONObject, error)
- func (disp *SEtcdModelHandler) Filter(f appsrv.FilterHandler) appsrv.FilterHandler
- func (disp *SEtcdModelHandler) Get(ctx context.Context, idstr string, query jsonutils.JSONObject, isHead bool) (jsonutils.JSONObject, error)
- func (disp *SEtcdModelHandler) GetSpecific(ctx context.Context, idstr string, spec string, query jsonutils.JSONObject) (jsonutils.JSONObject, error)
- func (disp *SEtcdModelHandler) Keyword() string
- func (disp *SEtcdModelHandler) KeywordPlural() string
- func (disp *SEtcdModelHandler) List(ctx context.Context, query jsonutils.JSONObject, ...) (*modulebase.ListResult, error)
- func (disp *SEtcdModelHandler) PerformAction(ctx context.Context, idstr string, action string, query jsonutils.JSONObject, ...) (jsonutils.JSONObject, error)
- func (disp *SEtcdModelHandler) PerformClassAction(ctx context.Context, action string, query jsonutils.JSONObject, ...) (jsonutils.JSONObject, error)
- func (disp *SEtcdModelHandler) Update(ctx context.Context, idstr string, query jsonutils.JSONObject, ...) (jsonutils.JSONObject, error)
- func (disp *SEtcdModelHandler) UpdateSpec(ctx context.Context, idstr string, spec string, query jsonutils.JSONObject, ...) (jsonutils.JSONObject, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SEtcdModelHandler ¶
type SEtcdModelHandler struct {
// contains filtered or unexported fields
}
func NewEtcdModelHandler ¶
func NewEtcdModelHandler(manger base.IEtcdModelManager) *SEtcdModelHandler
func (*SEtcdModelHandler) BatchCreate ¶
func (disp *SEtcdModelHandler) BatchCreate(ctx context.Context, query jsonutils.JSONObject, data jsonutils.JSONObject, count int, ctxIds []dispatcher.SResourceContext) ([]modulebase.SubmitResult, error)
func (*SEtcdModelHandler) ContextKeywordPlurals ¶
func (disp *SEtcdModelHandler) ContextKeywordPlurals() [][]string
func (*SEtcdModelHandler) Create ¶
func (disp *SEtcdModelHandler) Create(ctx context.Context, query jsonutils.JSONObject, data jsonutils.JSONObject, ctxIds []dispatcher.SResourceContext) (jsonutils.JSONObject, error)
func (*SEtcdModelHandler) CustomizeHandlerInfo ¶
func (disp *SEtcdModelHandler) CustomizeHandlerInfo(handler *appsrv.SHandlerInfo)
func (*SEtcdModelHandler) Delete ¶
func (disp *SEtcdModelHandler) Delete(ctx context.Context, idstr string, query jsonutils.JSONObject, data jsonutils.JSONObject, ctxIds []dispatcher.SResourceContext) (jsonutils.JSONObject, error)
func (*SEtcdModelHandler) DeleteSpec ¶
func (disp *SEtcdModelHandler) DeleteSpec(ctx context.Context, idstr string, spec string, query jsonutils.JSONObject, data jsonutils.JSONObject) (jsonutils.JSONObject, error)
func (*SEtcdModelHandler) FetchCreateHeaderData ¶
func (disp *SEtcdModelHandler) FetchCreateHeaderData(ctx context.Context, header http.Header) (jsonutils.JSONObject, error)
func (*SEtcdModelHandler) FetchUpdateHeaderData ¶
func (disp *SEtcdModelHandler) FetchUpdateHeaderData(ctx context.Context, header http.Header) (jsonutils.JSONObject, error)
func (*SEtcdModelHandler) Filter ¶
func (disp *SEtcdModelHandler) Filter(f appsrv.FilterHandler) appsrv.FilterHandler
func (*SEtcdModelHandler) Get ¶
func (disp *SEtcdModelHandler) Get(ctx context.Context, idstr string, query jsonutils.JSONObject, isHead bool) (jsonutils.JSONObject, error)
func (*SEtcdModelHandler) GetSpecific ¶
func (disp *SEtcdModelHandler) GetSpecific(ctx context.Context, idstr string, spec string, query jsonutils.JSONObject) (jsonutils.JSONObject, error)
func (*SEtcdModelHandler) Keyword ¶
func (disp *SEtcdModelHandler) Keyword() string
func (*SEtcdModelHandler) KeywordPlural ¶
func (disp *SEtcdModelHandler) KeywordPlural() string
func (*SEtcdModelHandler) List ¶
func (disp *SEtcdModelHandler) List(ctx context.Context, query jsonutils.JSONObject, ctxIds []dispatcher.SResourceContext) (*modulebase.ListResult, error)
func (*SEtcdModelHandler) PerformAction ¶
func (disp *SEtcdModelHandler) PerformAction(ctx context.Context, idstr string, action string, query jsonutils.JSONObject, data jsonutils.JSONObject) (jsonutils.JSONObject, error)
func (*SEtcdModelHandler) PerformClassAction ¶
func (disp *SEtcdModelHandler) PerformClassAction(ctx context.Context, action string, query jsonutils.JSONObject, data jsonutils.JSONObject) (jsonutils.JSONObject, error)
func (*SEtcdModelHandler) Update ¶
func (disp *SEtcdModelHandler) Update(ctx context.Context, idstr string, query jsonutils.JSONObject, data jsonutils.JSONObject, ctxIds []dispatcher.SResourceContext) (jsonutils.JSONObject, error)
func (*SEtcdModelHandler) UpdateSpec ¶
func (disp *SEtcdModelHandler) UpdateSpec(ctx context.Context, idstr string, spec string, query jsonutils.JSONObject, data jsonutils.JSONObject) (jsonutils.JSONObject, error)
Click to show internal directories.
Click to hide internal directories.