Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UntarUrlToSingleFile ¶
func UploadFileToS3 ¶
Types ¶
type ApplyReturn ¶
type ArtifactResponse ¶
type RequestClient ¶
type RequestClient struct { BaseURL string // contains filtered or unexported fields }
func (*RequestClient) Init ¶
func (c *RequestClient) Init(url, token string)
func (*RequestClient) S3UploadRequest ¶
func (c *RequestClient) S3UploadRequest(path string, body []byte) error
func (*RequestClient) SendRequest ¶
func (c *RequestClient) SendRequest(method, path string, requestBody, returnBody interface{}) (err error, statuscode int)
type S3InitRequest ¶
type S3InitResponse ¶
type S3InitResponse struct {
Passkey string `json:"passkey"`
}
type SchemeInfo ¶
type URLResponse ¶
type URLResponse struct {
URL string `json:"url"`
}
Click to show internal directories.
Click to hide internal directories.