storage

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LocateArtifacts

func LocateArtifacts(paths *files.ResolvedPath) ([]*api.Artifact, error)

func Pull

func Pull(hubClient *hub.Client, resolver *files.PathResolver, options PullOptions) (*files.ResolvedPath, error)

func Push

func Push(hubClient *hub.Client, resolver *files.PathResolver, options PushOptions) (*files.ResolvedPath, error)

func Yank

func Yank(hubClient *hub.Client, name string) error

Deletes a file or directory from the remote storage

Types

type PullOptions

type PullOptions struct {
	SourcePath          string
	DestinationOverride string
	Force               bool
}

type PushOptions

type PushOptions struct {
	SourcePath          string
	DestinationOverride string
	Force               bool
}

func (*PushOptions) RequestType

Jump to

Keyboard shortcuts

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