client

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2017 License: Apache-2.0 Imports: 10 Imported by: 18

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	ServiceURL *url.URL
	// contains filtered or unexported fields
}

func New

func New(discoveryURL string) (*Client, error)

func (*Client) ListFailures added in v0.0.3

func (c *Client) ListFailures() ([]*model.Task, error)

func (*Client) ListTasks added in v0.0.3

func (c *Client) ListTasks() ([]*model.Task, error)

func (*Client) Ping added in v0.0.2

func (c *Client) Ping() error

func (*Client) Post

func (c *Client) Post(f Form) error

func (*Client) ServiceInfo added in v0.0.3

func (c *Client) ServiceInfo() model.ServiceInfo

type Form

type Form struct {
	Region, RunIn, RevertIn string
	Template                string
}

Jump to

Keyboard shortcuts

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