connections

package
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: Apache-2.0 Imports: 11 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(opts ...core.ClientOption) *Client

func (*Client) ArchiveConnection

func (c *Client) ArchiveConnection(ctx context.Context, id string) (*hookdeckgosdk.Connection, error)

func (*Client) CreateConnection

func (*Client) DeleteConnection

func (c *Client) DeleteConnection(ctx context.Context, id string) (*hookdeckgosdk.DeleteConnectionResponse, error)

func (*Client) GetConnection

func (c *Client) GetConnection(ctx context.Context, id string) (*hookdeckgosdk.Connection, error)

func (*Client) PauseConnection

func (c *Client) PauseConnection(ctx context.Context, id string) (*hookdeckgosdk.Connection, error)

func (*Client) UnarchiveConnection

func (c *Client) UnarchiveConnection(ctx context.Context, id string) (*hookdeckgosdk.Connection, error)

func (*Client) UnpauseConnection

func (c *Client) UnpauseConnection(ctx context.Context, id string) (*hookdeckgosdk.Connection, error)

func (*Client) UpdateConnection

func (c *Client) UpdateConnection(ctx context.Context, id string, request *hookdeckgosdk.UpdateConnectionRequest) (*hookdeckgosdk.Connection, error)

func (*Client) UpsertConnection

Jump to

Keyboard shortcuts

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