client

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InvalidChecksumError = errors.New("error while verifying checksum")
)

Functions

This section is empty.

Types

type Client

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

func New

func New(base string) *Client

func (*Client) DownloadReleaseArtifactAndVerify added in v0.1.2

func (c *Client) DownloadReleaseArtifactAndVerify(releaseName string) ([]byte, error)

func (*Client) GetChecksum

func (c *Client) GetChecksum(releaseName string) (string, error)

func (*Client) GetLatestReleaseName added in v0.1.2

func (c *Client) GetLatestReleaseName() (string, error)

func (*Client) GetReleaseArtifact added in v0.1.2

func (c *Client) GetReleaseArtifact(releaseName string) ([]byte, error)

func (*Client) ListReleaseNames added in v0.1.2

func (c *Client) ListReleaseNames() (*server.ListReleaseNamesResponse, error)

Jump to

Keyboard shortcuts

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