Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UploadPackage ¶
func UploadPackage(ac *client.AlpaconClient, file string, packageType string) error
Types ¶
type PythonPackage ¶
type PythonPackage struct { Name string `json:"name"` Version string `json:"version"` PythonTarget string `json:"python_target"` ABI string `json:"abi"` Platform string `json:"platform"` Owner string `json:"owner"` }
func GetPythonPackageEntry ¶
func GetPythonPackageEntry(ac *client.AlpaconClient) ([]PythonPackage, error)
type PythonPackageDetail ¶
type PythonPackageDetail struct { ID string `json:"id"` Name string `json:"name"` Version string `json:"version"` Target string `json:"target"` ABI string `json:"abi"` Platform string `json:"platform"` Filesize int64 `json:"filesize"` Owner string `json:"owner"` OwnerName string `json:"owner_name"` AddedAt string `json:"added_at"` DownloadURL string `json:"download_url"` }
type SystemPackage ¶
type SystemPackage struct { Name string `json:"name"` Version string `json:"version"` Arch string `json:"arch"` Platform string `json:"platform"` Owner string `json:"owner"` }
func GetSystemPackageEntry ¶
func GetSystemPackageEntry(ac *client.AlpaconClient) ([]SystemPackage, error)
type SystemPackageDetail ¶
type SystemPackageDetail struct { ID string `json:"id"` Name string `json:"name"` Version string `json:"version"` Platform string `json:"platform"` Arch string `json:"arch"` Filesize int64 `json:"filesize"` Owner string `json:"owner"` OwnerName string `json:"owner_name"` AddedAt string `json:"added_at"` DownloadURL string `json:"download_url"` }
Click to show internal directories.
Click to hide internal directories.