api

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: Apache-2.0, Apache-2.0 Imports: 13 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 {
	BaseURL string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

func NewClient

func NewClient(url, apiToken, projectID string, appId uint) *Client

func (*Client) ExecuteTest

func (c *Client) ExecuteTest(ctx context.Context, testID uint, binaryID int, params string) (*models.TestRun, error)

func (*Client) GetTests

func (c *Client) GetTests(ctx context.Context) ([]models.Test, error)

func (*Client) UpdateApp

func (c *Client) UpdateApp(ctx context.Context, binary *models.AppBinary) error

func (*Client) UploadBundle

func (c *Client) UploadBundle(filepath string) (*models.AppBinary, error)

Jump to

Keyboard shortcuts

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