Documentation
¶
Index ¶
- func ErrorFromHTTPResponse(httpResp *http.Response, resp any) error
- func NormalizeContent(s string) string
- func UploadFile(uploadURL, localPath string) error
- func UploadFileWithContentType(ctx context.Context, uploadURL, localPath, contentType string) error
- func UploadReaderWithContentType(ctx context.Context, uploadURL string, reader io.Reader, contentType string) error
- type HubPluginRef
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeContent ¶
func UploadFile ¶
Types ¶
type HubPluginRef ¶
func ParseHubPluginRef ¶
func ParseHubPluginRef(ref string) (*HubPluginRef, error)
func (HubPluginRef) String ¶
func (h HubPluginRef) String() string
Click to show internal directories.
Click to hide internal directories.