client

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 License: MIT Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactPutter added in v0.7.3

type ArtifactPutter interface {
	PutArtifact(*artifact.Artifact) error
}

ArtifactPutter is the interface used to put artifacts

type Client

type Client struct {
	SaveHost      string
	Token         string
	RetryInterval time.Duration
	// contains filtered or unexported fields
}

Client does stuff with the server

func New

func New(host, token string, log *logrus.Logger) *Client

New creates a new *Client

func (*Client) PutArtifact

func (c *Client) PutArtifact(a *artifact.Artifact) error

PutArtifact puts ... an ... artifact

Jump to

Keyboard shortcuts

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