Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrPackageAlreadyExists = errors.New("package already exists") ErrPaymentRequired = errors.New("payment required") )
Functions ¶
func GetSupportedFileExtensions ¶
func GetSupportedFileExtensions() []string
TODO: packagecloud supports more than this, implement the others
func ValidateFileExtensions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetDistributions ¶
func (*Client) PushPackage ¶
func (c *Client) PushPackage(options PushPackageOptions) ([]byte, error)
type Config ¶
type GetClientFn ¶
type PushPackageOptions ¶
Click to show internal directories.
Click to hide internal directories.