Documentation ¶
Index ¶
- func GetFromCache(c client.Client, url string, skipCertVerify bool) ([]byte, error)
- func GetHTTPClient(accessToken []byte, transport *http.Transport) (*http.Client, error)
- func GetStackDataUsingGit(c client.Client, gitRelease kabanerov1alpha2.GitReleaseInfo, ...) ([]byte, error)
- func GetTLSCConfig(c client.Client, skipCertVerify bool, logger logr.Logger) (*tls.Config, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFromCache ¶
Returns the requested resource, either from the cache, or from the remote server. The cache is not meant to be a "high performance" or "heavily concurrent" cache.
func GetHTTPClient ¶
Retrieves a HTTP client. If the input access token is specified, an oauth2 generated http client is returned. If the access token is not specified a default http client is returned. The default http client will contain the input transport if specified.
func GetStackDataUsingGit ¶
func GetStackDataUsingGit(c client.Client, gitRelease kabanerov1alpha2.GitReleaseInfo, skipCertVerification bool, namespace string, reqLogger logr.Logger) ([]byte, error)
Retrieves a stack index file content using GitHub APIs
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.