api

package
v0.6.3 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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RemotePaths

func RemotePaths(artifacts []*Artifact) []string

Types

type Artifact

type Artifact struct {
	RemotePath string
	LocalPath  string
	URLs       []*SignedURL
}

type SignedURL

type SignedURL struct {
	URL    string `json:"url,omitempty"`
	Method string `json:"method,omitempty"`
}

func (*SignedURL) Follow

func (u *SignedURL) Follow(client *retryablehttp.Client, artifact *Artifact) error

func (*SignedURL) GetObject

func (u *SignedURL) GetObject() (string, error)

Jump to

Keyboard shortcuts

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