grapher

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2019 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 HTTP

type HTTP struct {
	Client          *http.Client
	Endpoint        *url.URL
	PollTimeout     time.Duration
	PollingInterval time.Duration
}

HTTP is used to create a new graph

func (*HTTP) Graph

func (c *HTTP) Graph(ctx context.Context, start, stop time.Time) (io.ReadCloser, error)

Graph starts a new graph job, and waits for its completion. On successful completion, Graph will return the graph content.

Jump to

Keyboard shortcuts

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