destination

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 3 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 Plug

func Plug(apiKey string, rlHttpClient *netwrk.RlHttpClient, url string, call netwrk.Caller) *Client

func (*Client) Create

func (c *Client) Create(params onfleet.DestinationCreateParams) (onfleet.Destination, error)

Reference https://docs.onfleet.com/reference/create-destination

func (*Client) Get

func (c *Client) Get(destinationId string) (onfleet.Destination, error)

Reference https://docs.onfleet.com/reference/get-single-destination

func (*Client) ListWithMetadataQuery

func (c *Client) ListWithMetadataQuery(metadata []onfleet.Metadata) ([]onfleet.Destination, error)

Reference https://docs.onfleet.com/reference/querying-by-metadata

Jump to

Keyboard shortcuts

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