Documentation
¶
Index ¶
- type Client
- func (c *Client) Count(ctx context.Context, request *hookdeckgosdk.ConnectionCountRequest) (*hookdeckgosdk.ConnectionCountResponse, error)
- func (c *Client) Create(ctx context.Context, request *hookdeckgosdk.ConnectionCreateRequest) (*hookdeckgosdk.Connection, error)
- func (c *Client) Delete(ctx context.Context, id string) (*hookdeckgosdk.ConnectionDeleteResponse, error)
- func (c *Client) Disable(ctx context.Context, id string) (*hookdeckgosdk.Connection, error)
- func (c *Client) Enable(ctx context.Context, id string) (*hookdeckgosdk.Connection, error)
- func (c *Client) List(ctx context.Context, request *hookdeckgosdk.ConnectionListRequest) (*hookdeckgosdk.ConnectionPaginatedResult, error)
- func (c *Client) Pause(ctx context.Context, id string) (*hookdeckgosdk.Connection, error)
- func (c *Client) Retrieve(ctx context.Context, id string) (*hookdeckgosdk.Connection, error)
- func (c *Client) Unpause(ctx context.Context, id string) (*hookdeckgosdk.Connection, error)
- func (c *Client) Update(ctx context.Context, id string, request *hookdeckgosdk.ConnectionUpdateRequest) (*hookdeckgosdk.Connection, error)
- func (c *Client) Upsert(ctx context.Context, request *hookdeckgosdk.ConnectionUpsertRequest) (*hookdeckgosdk.Connection, error)
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) Count ¶ added in v0.0.36
func (c *Client) Count(ctx context.Context, request *hookdeckgosdk.ConnectionCountRequest) (*hookdeckgosdk.ConnectionCountResponse, error)
func (*Client) Create ¶
func (c *Client) Create(ctx context.Context, request *hookdeckgosdk.ConnectionCreateRequest) (*hookdeckgosdk.Connection, error)
func (*Client) Delete ¶
func (c *Client) Delete(ctx context.Context, id string) (*hookdeckgosdk.ConnectionDeleteResponse, error)
func (*Client) Disable ¶ added in v0.0.37
func (c *Client) Disable(ctx context.Context, id string) (*hookdeckgosdk.Connection, error)
func (*Client) Enable ¶ added in v0.0.37
func (c *Client) Enable(ctx context.Context, id string) (*hookdeckgosdk.Connection, error)
func (*Client) List ¶
func (c *Client) List(ctx context.Context, request *hookdeckgosdk.ConnectionListRequest) (*hookdeckgosdk.ConnectionPaginatedResult, error)
func (*Client) Pause ¶
func (c *Client) Pause(ctx context.Context, id string) (*hookdeckgosdk.Connection, error)
func (*Client) Retrieve ¶
func (c *Client) Retrieve(ctx context.Context, id string) (*hookdeckgosdk.Connection, error)
func (*Client) Unpause ¶
func (c *Client) Unpause(ctx context.Context, id string) (*hookdeckgosdk.Connection, error)
func (*Client) Update ¶
func (c *Client) Update(ctx context.Context, id string, request *hookdeckgosdk.ConnectionUpdateRequest) (*hookdeckgosdk.Connection, error)
func (*Client) Upsert ¶
func (c *Client) Upsert(ctx context.Context, request *hookdeckgosdk.ConnectionUpsertRequest) (*hookdeckgosdk.Connection, error)
Click to show internal directories.
Click to hide internal directories.