Documentation ¶
Index ¶
- Constants
- type Action
- type ActionExecutor
- func (a *ActionExecutor) CreateDoc() (common.RuntimeResult, error)
- func (a *ActionExecutor) DeleteDoc() (common.RuntimeResult, error)
- func (a *ActionExecutor) GetDoc() (common.RuntimeResult, error)
- func (a *ActionExecutor) ListDocs() (common.RuntimeResult, error)
- func (a *ActionExecutor) UpdateDoc() (common.RuntimeResult, error)
- type BaseOpts
- type Connector
- func (a *Connector) GetMetaInfo(resourceOptions map[string]interface{}) (common.MetaInfoResult, error)
- func (a *Connector) Run(resourceOptions map[string]interface{}, actionOptions map[string]interface{}, ...) (common.RuntimeResult, error)
- func (a *Connector) TestConnection(resourceOptions map[string]interface{}) (common.ConnectionResult, error)
- func (a *Connector) ValidateActionTemplate(actionOptions map[string]interface{}) (common.ValidateResult, error)
- func (a *Connector) ValidateResourceOptions(resourceOptions map[string]interface{}) (common.ValidateResult, error)
- type Filter
- type ListOpts
- type Order
- type Resource
- type WithDataOpts
Constants ¶
View Source
const ( LIST_METHOD = "list" CREATE_METHOD = "create" GET_METHOD = "get" UPDATE_METHOD = "update" DELETE_METHOD = "delete" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionExecutor ¶
type ActionExecutor struct {
// contains filtered or unexported fields
}
func (*ActionExecutor) CreateDoc ¶
func (a *ActionExecutor) CreateDoc() (common.RuntimeResult, error)
func (*ActionExecutor) DeleteDoc ¶
func (a *ActionExecutor) DeleteDoc() (common.RuntimeResult, error)
func (*ActionExecutor) GetDoc ¶
func (a *ActionExecutor) GetDoc() (common.RuntimeResult, error)
func (*ActionExecutor) ListDocs ¶
func (a *ActionExecutor) ListDocs() (common.RuntimeResult, error)
func (*ActionExecutor) UpdateDoc ¶
func (a *ActionExecutor) UpdateDoc() (common.RuntimeResult, error)
type Connector ¶
func (*Connector) GetMetaInfo ¶
func (a *Connector) GetMetaInfo(resourceOptions map[string]interface{}) (common.MetaInfoResult, error)
func (*Connector) TestConnection ¶
func (a *Connector) TestConnection(resourceOptions map[string]interface{}) (common.ConnectionResult, error)
func (*Connector) ValidateActionTemplate ¶
func (a *Connector) ValidateActionTemplate(actionOptions map[string]interface{}) (common.ValidateResult, error)
func (*Connector) ValidateResourceOptions ¶
func (a *Connector) ValidateResourceOptions(resourceOptions map[string]interface{}) (common.ValidateResult, error)
type WithDataOpts ¶
Click to show internal directories.
Click to hide internal directories.