Documentation ¶
Index ¶
- type Client
- func (cli *Client) DeleteTrigger(c context.Context, args DeleteTriggerArgs) error
- func (cli *Client) GetTrigger(c context.Context, args GetTriggerArgs) (Trigger, error)
- func (cli *Client) ListTriggers(c context.Context, args ListTriggersArgs) ([]Trigger, error)
- func (cli *Client) UpsertTrigger(c context.Context, args UpsertTriggerArgs) error
- type ClientOptions
- type DeleteTriggerArgs
- type GetTriggerArgs
- type ListTriggersArgs
- type Trigger
- type TriggerMetadata
- type UpsertTriggerArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct{}
func NewClientWithOptions ¶
func (*Client) DeleteTrigger ¶
func (cli *Client) DeleteTrigger(c context.Context, args DeleteTriggerArgs) error
func (*Client) GetTrigger ¶
func (*Client) ListTriggers ¶
func (*Client) UpsertTrigger ¶
func (cli *Client) UpsertTrigger(c context.Context, args UpsertTriggerArgs) error
type ClientOptions ¶
type DeleteTriggerArgs ¶
type GetTriggerArgs ¶
type ListTriggersArgs ¶
type ListTriggersArgs struct {
Instance string
}
type Trigger ¶
type Trigger struct { Name string `json:"name"` Type string `json:"type"` Metadata TriggerMetadata `json:"metadata"` }
type TriggerMetadata ¶
type TriggerMetadata map[string]interface{}
type UpsertTriggerArgs ¶
type UpsertTriggerArgs struct { Instance string Name string Type string Metadata TriggerMetadata }
Click to show internal directories.
Click to hide internal directories.