event_sources

package
v3.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(cfg *ngrok.ClientConfig) *Client

func (*Client) Create

func (c *Client) Create(ctx context.Context, arg *ngrok.EventSourceCreate) (*ngrok.EventSource, error)

Add an additional type for which this event subscription will trigger

https://ngrok.com/docs/api#api-event-sources-create

func (*Client) Delete

func (c *Client) Delete(ctx context.Context, arg *ngrok.EventSourceItem) error

Remove a type for which this event subscription will trigger

https://ngrok.com/docs/api#api-event-sources-delete

func (*Client) Get

func (c *Client) Get(ctx context.Context, arg *ngrok.EventSourceItem) (*ngrok.EventSource, error)

Get the details for a given type that triggers for the given event subscription

https://ngrok.com/docs/api#api-event-sources-get

func (*Client) List

func (c *Client) List(ctx context.Context, subscriptionId string) (*ngrok.EventSourceList, error)

List the types for which this event subscription will trigger

https://ngrok.com/docs/api#api-event-sources-list

func (*Client) Update

func (c *Client) Update(ctx context.Context, arg *ngrok.EventSourceUpdate) (*ngrok.EventSource, error)

Update the type for which this event subscription will trigger

https://ngrok.com/docs/api#api-event-sources-update

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL