jfrog

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package jfrog handles publishing to JFrog Artifactory

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PublishedStorage

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

PublishedStorage represents published repository on JFrog Artifactory

func NewPublishedStorage

func NewPublishedStorage(
	account string, root aptly_utils.JFrogPublishRoot,
) (*PublishedStorage, error)

NewPublishedStorage creates published storage from aptly configuration struct

func NewPublishedStorageRaw

func NewPublishedStorageRaw(
	repository, url, user, password, apiKey, accessToken, prefix string,
	plusWorkaround, debug bool,
) (*PublishedStorage, error)

NewPublishedStorageRaw creates jfrog PublishedStorage from raw connection specs

func (*PublishedStorage) FileExists

func (storage *PublishedStorage) FileExists(path string) (bool, error)

func (*PublishedStorage) Filelist

func (storage *PublishedStorage) Filelist(prefix string) ([]string, error)
func (storage *PublishedStorage) HardLink(src string, dst string) error

func (*PublishedStorage) LinkFromPool

func (storage *PublishedStorage) LinkFromPool(publishedPrefix, publishedRelPath, fileName string, sourcePool aptly.PackagePool, sourcePath string, sourceMD5 aptly_utils.ChecksumInfo, force bool) error

func (*PublishedStorage) MkDir

func (storage *PublishedStorage) MkDir(path string) error

func (*PublishedStorage) PutFile

func (storage *PublishedStorage) PutFile(path string, sourceFilename string) error
func (storage *PublishedStorage) ReadLink(path string) (string, error)

func (*PublishedStorage) Remove

func (storage *PublishedStorage) Remove(path string) error

func (*PublishedStorage) RemoveDirs

func (storage *PublishedStorage) RemoveDirs(path string, progress aptly.Progress) error

func (*PublishedStorage) RenameFile

func (storage *PublishedStorage) RenameFile(oldName, newName string) error

func (*PublishedStorage) String

func (storage *PublishedStorage) String() string
func (storage *PublishedStorage) SymLink(src string, dst string) error

Jump to

Keyboard shortcuts

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