Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvRetryMax = "ARGOCD_K8SCLIENT_RETRY_MAX" EnvRetryBaseBackoff = "ARGOCD_K8SCLIENT_RETRY_BASE_BACKOFF" )
Variables ¶
This section is empty.
Functions ¶
func JoinCookies ¶
JoinCookies combines chunks of cookie based on key as prefix. It returns cookie value as string. cookieString is of format key1=value1; key2=value2; key3=value3 first chunk will be of format argocd.token=<numberOfChunks>:token; attributes
func MakeCookieMetadata ¶
MakeCookieMetadata generates a string representing a Web cookie. Yum!
Types ¶
type DebugTransport ¶
type DebugTransport struct {
T http.RoundTripper
}
DebugTransport is a HTTP Client Transport to enable debugging
type TransportWithHeader ¶
type TransportWithHeader struct { RoundTripper http.RoundTripper Header http.Header }
TransportWithHeader is a HTTP Client Transport with default headers.
Click to show internal directories.
Click to hide internal directories.