Documentation ¶
Index ¶
- func NewHTTPCustom(logger logger.Logger) bindings.OutputBinding
- type HTTPCustom
- func (h *HTTPCustom) GetRole(ctx context.Context, req *bindings.InvokeRequest, ...) (string, error)
- func (h *HTTPCustom) GetRoleOps(ctx context.Context, req *bindings.InvokeRequest, ...) (OpsResult, error)
- func (h *HTTPCustom) Init(metadata bindings.Metadata) error
- func (h *HTTPCustom) LockInstance(ctx context.Context) error
- func (h *HTTPCustom) UnlockInstance(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPCustom ¶
func NewHTTPCustom(logger logger.Logger) bindings.OutputBinding
NewHTTPCustom returns a new HTTPCustom.
Types ¶
type HTTPCustom ¶
type HTTPCustom struct { BaseOperations // contains filtered or unexported fields }
HTTPCustom is a binding for an http url endpoint invocation
func (*HTTPCustom) GetRole ¶
func (h *HTTPCustom) GetRole(ctx context.Context, req *bindings.InvokeRequest, resp *bindings.InvokeResponse) (string, error)
func (*HTTPCustom) GetRoleOps ¶
func (h *HTTPCustom) GetRoleOps(ctx context.Context, req *bindings.InvokeRequest, resp *bindings.InvokeResponse) (OpsResult, error)
func (*HTTPCustom) Init ¶
func (h *HTTPCustom) Init(metadata bindings.Metadata) error
Init performs metadata parsing.
func (*HTTPCustom) LockInstance ¶
func (h *HTTPCustom) LockInstance(ctx context.Context) error
func (*HTTPCustom) UnlockInstance ¶
func (h *HTTPCustom) UnlockInstance(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.