Skip to main content

BASE64_LENIENT

Static BASE64_LENIENT 

Source
static BASE64_LENIENT: LazyLock<Encoding>
Expand description

Decodes the base64 payloads of clients like base64.StdEncoding of Go, which the reference implementation of the protocols uses: line breaks get ignored and the bits of the last symbol which are no data may be set. Clients which wrap their base64 or encode it less strictly work with the kubelet, so they have to work here.