client

package
v0.0.0-...-8396750 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: Apache-2.0 Imports: 8 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 {
	*http.Client
	// contains filtered or unexported fields
}

func New

func New(config Config) *Client

func (*Client) CreateDeployment

func (c *Client) CreateDeployment(endpointID uuid.UUID, blob io.Reader, params api.CreateDeploymentParams) (*types.Deployment, error)

func (*Client) CreateEndpoint

func (c *Client) CreateEndpoint(params api.CreateEndpointParams) (*types.Endpoint, error)

func (*Client) ListEndpoints

func (c *Client) ListEndpoints() ([]types.Endpoint, error)

func (*Client) Publish

func (c *Client) Publish(params api.PublishParams) (*api.PublishResponse, error)

type Config

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

func NewConfig

func NewConfig() Config

func (Config) WithURL

func (c Config) WithURL(url string) Config

Jump to

Keyboard shortcuts

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