Documentation ¶
Index ¶
- func ContainsShortSHA(input string) bool
- func CreatePath(path string) error
- func DownloadGithubZip(url string, path string) error
- func ExtractZip(pathZip string, extractPath string) error
- func FileExists(relativePath string) bool
- func GetDirectories(path string) (out []string, err error)
- func HTTPRequest(reqModel *RequestModel) (string, int, error)
- func ParseURL(urlStr string) *url.URL
- type BasicCredentials
- type RequestModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsShortSHA ¶
func DownloadGithubZip ¶
func ExtractZip ¶
func FileExists ¶
func GetDirectories ¶
func HTTPRequest ¶
func HTTPRequest(reqModel *RequestModel) (string, int, error)
Types ¶
type BasicCredentials ¶
type RequestModel ¶
type RequestModel struct { URL string // Mandatory: URL to send request to Method string // Mandatory: http method Body []byte // Optional: body of request Headers map[string]string // Optional: headers Params map[string]string // Optional: params BasicAuth *BasicCredentials // Optional: basic auth1 Context context.Context // Optional: context TimeoutSeconds int // Optional: timeout in seconds Files []string // Optional: list of paths to files }
Click to show internal directories.
Click to hide internal directories.