Documentation ¶
Index ¶
- type BlinkyClient
- func (b *BlinkyClient) RemovePackage(repo string, packageName string) error
- func (b *BlinkyClient) RemovePackages(repo string, packageNames ...string) error
- func (b *BlinkyClient) UploadPackage(repo, packageFileName string, packageFile, signatureFile io.Reader) error
- func (b *BlinkyClient) UploadPackageFile(repo, packageFilepath string) error
- func (b *BlinkyClient) UploadPackageFiles(repo string, packageFilepaths ...string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlinkyClient ¶
func New ¶
func New(url, username, password string) BlinkyClient
func (*BlinkyClient) RemovePackage ¶
func (b *BlinkyClient) RemovePackage(repo string, packageName string) error
RemovePackage deletes the specified package from the provided repository.
func (*BlinkyClient) RemovePackages ¶
func (b *BlinkyClient) RemovePackages(repo string, packageNames ...string) error
RemovePackages deletes the specified packages from the provided repository.
func (*BlinkyClient) UploadPackage ¶
func (b *BlinkyClient) UploadPackage(repo, packageFileName string, packageFile, signatureFile io.Reader) error
UploadPackage uploads a package to a repository on a Blinky server. packageFile is required to be non-nil, but if there is no signature file to upload, signatureFile may be nil. packageFileName is used to name the file on the remote server.
func (*BlinkyClient) UploadPackageFile ¶
func (b *BlinkyClient) UploadPackageFile(repo, packageFilepath string) error
UploadPackageFile reads and uploads the provided package file path as well as any matching .sig files.
func (*BlinkyClient) UploadPackageFiles ¶
func (b *BlinkyClient) UploadPackageFiles(repo string, packageFilepaths ...string) error
UploadPackageFiles uploads the provided packages, and any .sig files that match the package filepaths.
Click to show internal directories.
Click to hide internal directories.