Documentation ¶
Index ¶
- func NewConfigBuilder() *bintrayServicesConfigBuilder
- type Config
- type ServicesManager
- func (sm *ServicesManager) CreateAccessKey(params *accesskeys.Params) error
- func (sm *ServicesManager) CreateEntitlement(params *entitlements.Params) error
- func (sm *ServicesManager) CreatePackage(params *packages.Params) error
- func (sm *ServicesManager) CreateVersion(params *versions.Params) error
- func (sm *ServicesManager) DeleteAccessKey(org, id string) error
- func (sm *ServicesManager) DeleteEntitlement(id string, path *versions.Path) error
- func (sm *ServicesManager) DeletePackage(path *packages.Path) error
- func (sm *ServicesManager) DeleteVersion(path *versions.Path) error
- func (sm *ServicesManager) DownloadFile(params *services.DownloadFileParams) (totalUploaded, totalFailed int, err error)
- func (sm *ServicesManager) DownloadLog(versionPath *versions.Path, logName string) error
- func (sm *ServicesManager) DownloadVersion(params *services.DownloadVersionParams) (totalDownloaded, totalFailed int, err error)
- func (sm *ServicesManager) GpgSignFile(pathDetails *utils.PathDetails, passphrase string) error
- func (sm *ServicesManager) GpgSignVersion(versionPath *versions.Path, passphrase string) error
- func (sm *ServicesManager) IsPackageExists(path *packages.Path) (bool, error)
- func (sm *ServicesManager) IsRepoExists(path *repositories.Path) (bool, error)
- func (sm *ServicesManager) IsVersionExists(path *versions.Path) (bool, error)
- func (sm *ServicesManager) LogsList(versionPath *versions.Path) error
- func (sm *ServicesManager) PublishVersion(path *versions.Path) error
- func (sm *ServicesManager) ShowAccessKey(org, id string) error
- func (sm *ServicesManager) ShowAllAccessKeys(org string) error
- func (sm *ServicesManager) ShowAllEntitlements(versionPath *versions.Path) error
- func (sm *ServicesManager) ShowEntitlement(id string, path *versions.Path) error
- func (sm *ServicesManager) ShowPackage(path *packages.Path) error
- func (sm *ServicesManager) ShowVersion(path *versions.Path) error
- func (sm *ServicesManager) SignUrl(params *url.Params) error
- func (sm *ServicesManager) UpdateAccessKey(params *accesskeys.Params) error
- func (sm *ServicesManager) UpdateEntitlement(params *entitlements.Params) error
- func (sm *ServicesManager) UpdatePackage(params *packages.Params) error
- func (sm *ServicesManager) UpdateVersion(params *versions.Params) error
- func (sm *ServicesManager) UploadFiles(params *services.UploadParams) (totalUploaded, totalFailed int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfigBuilder ¶
func NewConfigBuilder() *bintrayServicesConfigBuilder
Types ¶
type ServicesManager ¶
type ServicesManager struct {
// contains filtered or unexported fields
}
func New ¶
func New(config Config) (*ServicesManager, error)
func (*ServicesManager) CreateAccessKey ¶
func (sm *ServicesManager) CreateAccessKey(params *accesskeys.Params) error
func (*ServicesManager) CreateEntitlement ¶
func (sm *ServicesManager) CreateEntitlement(params *entitlements.Params) error
func (*ServicesManager) CreatePackage ¶
func (sm *ServicesManager) CreatePackage(params *packages.Params) error
func (*ServicesManager) CreateVersion ¶
func (sm *ServicesManager) CreateVersion(params *versions.Params) error
func (*ServicesManager) DeleteAccessKey ¶
func (sm *ServicesManager) DeleteAccessKey(org, id string) error
func (*ServicesManager) DeleteEntitlement ¶
func (sm *ServicesManager) DeleteEntitlement(id string, path *versions.Path) error
func (*ServicesManager) DeletePackage ¶
func (sm *ServicesManager) DeletePackage(path *packages.Path) error
func (*ServicesManager) DeleteVersion ¶
func (sm *ServicesManager) DeleteVersion(path *versions.Path) error
func (*ServicesManager) DownloadFile ¶
func (sm *ServicesManager) DownloadFile(params *services.DownloadFileParams) (totalUploaded, totalFailed int, err error)
func (*ServicesManager) DownloadLog ¶
func (sm *ServicesManager) DownloadLog(versionPath *versions.Path, logName string) error
func (*ServicesManager) DownloadVersion ¶
func (sm *ServicesManager) DownloadVersion(params *services.DownloadVersionParams) (totalDownloaded, totalFailed int, err error)
func (*ServicesManager) GpgSignFile ¶
func (sm *ServicesManager) GpgSignFile(pathDetails *utils.PathDetails, passphrase string) error
func (*ServicesManager) GpgSignVersion ¶
func (sm *ServicesManager) GpgSignVersion(versionPath *versions.Path, passphrase string) error
func (*ServicesManager) IsPackageExists ¶
func (sm *ServicesManager) IsPackageExists(path *packages.Path) (bool, error)
func (*ServicesManager) IsRepoExists ¶
func (sm *ServicesManager) IsRepoExists(path *repositories.Path) (bool, error)
func (*ServicesManager) IsVersionExists ¶
func (sm *ServicesManager) IsVersionExists(path *versions.Path) (bool, error)
func (*ServicesManager) LogsList ¶
func (sm *ServicesManager) LogsList(versionPath *versions.Path) error
func (*ServicesManager) PublishVersion ¶
func (sm *ServicesManager) PublishVersion(path *versions.Path) error
func (*ServicesManager) ShowAccessKey ¶
func (sm *ServicesManager) ShowAccessKey(org, id string) error
func (*ServicesManager) ShowAllAccessKeys ¶
func (sm *ServicesManager) ShowAllAccessKeys(org string) error
func (*ServicesManager) ShowAllEntitlements ¶
func (sm *ServicesManager) ShowAllEntitlements(versionPath *versions.Path) error
func (*ServicesManager) ShowEntitlement ¶
func (sm *ServicesManager) ShowEntitlement(id string, path *versions.Path) error
func (*ServicesManager) ShowPackage ¶
func (sm *ServicesManager) ShowPackage(path *packages.Path) error
func (*ServicesManager) ShowVersion ¶
func (sm *ServicesManager) ShowVersion(path *versions.Path) error
func (*ServicesManager) UpdateAccessKey ¶
func (sm *ServicesManager) UpdateAccessKey(params *accesskeys.Params) error
func (*ServicesManager) UpdateEntitlement ¶
func (sm *ServicesManager) UpdateEntitlement(params *entitlements.Params) error
func (*ServicesManager) UpdatePackage ¶
func (sm *ServicesManager) UpdatePackage(params *packages.Params) error
func (*ServicesManager) UpdateVersion ¶
func (sm *ServicesManager) UpdateVersion(params *versions.Params) error
func (*ServicesManager) UploadFiles ¶
func (sm *ServicesManager) UploadFiles(params *services.UploadParams) (totalUploaded, totalFailed int, err error)
Click to show internal directories.
Click to hide internal directories.