Documentation
¶
Overview ¶
Package jfrog handles publishing to JFrog Artifactory
Index ¶
- type PublishedStorage
- func (storage *PublishedStorage) FileExists(path string) (bool, error)
- func (storage *PublishedStorage) Filelist(prefix string) ([]string, error)
- func (storage *PublishedStorage) HardLink(src string, dst string) error
- func (storage *PublishedStorage) LinkFromPool(publishedPrefix, publishedRelPath, fileName string, ...) error
- func (storage *PublishedStorage) MkDir(path string) error
- func (storage *PublishedStorage) PutFile(path string, sourceFilename string) error
- func (storage *PublishedStorage) ReadLink(path string) (string, error)
- func (storage *PublishedStorage) Remove(path string) error
- func (storage *PublishedStorage) RemoveDirs(path string, progress aptly.Progress) error
- func (storage *PublishedStorage) RenameFile(oldName, newName string) error
- func (storage *PublishedStorage) String() string
- func (storage *PublishedStorage) SymLink(src string, dst string) error
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 (*PublishedStorage) HardLink ¶
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 (*PublishedStorage) ReadLink ¶
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
Click to show internal directories.
Click to hide internal directories.