- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for base64decode (0.2 sec)
-
staging/src/k8s.io/cli-runtime/pkg/printers/template.go
template *template.Template } func NewGoTemplatePrinter(tmpl []byte) (*GoTemplatePrinter, error) { t, err := template.New("output"). Funcs(template.FuncMap{ "exists": exists, "base64decode": base64decode, }). Parse(string(tmpl)) if err != nil { return nil, err } return &GoTemplatePrinter{ rawTemplate: string(tmpl), template: t, }, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 23:00:24 UTC 2019 - 3.4K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/printers/template_test.go
{ name: "support base64 decoding of secret data", template: "{{ .data.username | base64decode }}", obj: &v1.Secret{ Data: map[string][]byte{ "username": []byte("hunter"), }, }, expectOut: "hunter", }, { name: "test error path for base64 decoding", template: "{{ .data.username | base64decode }}", obj: &badlyMarshaledSecret{}, expectErr: func(err error) (string, bool) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 22 23:10:00 UTC 2019 - 7.1K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.11.md
([#64248](https://github.com/kubernetes/kubernetes/pull/64248), [@feiskyer](https://github.com/feiskyer)) ### SIG CLI * You can now use the `base64decode` function in kubectl go templates to decode base64-encoded data, such as `kubectl get secret SECRET -o go-template='{{ .data.KEY | base64decode }}'`. ([#60755](https://github.com/kubernetes/kubernetes/pull/60755), [@glb](https://github.com/glb))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 06 06:04:15 UTC 2020 - 328.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/stream.go
if timeout > 0 { ws.SetDeadline(time.Now().Add(timeout)) } } func messageCopy(ws *websocket.Conn, r io.Reader, base64Encode, ping bool, timeout time.Duration) error { buf := make([]byte, 2048) if ping { resetTimeout(ws, timeout) if base64Encode { if err := websocket.Message.Send(ws, ""); err != nil { return err } } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 07 18:21:43 UTC 2023 - 5.2K bytes - Viewed (0) -
platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Download.java
} connection.setRequestProperty("Authorization", "Basic " + base64Encode(userInfo)); } /** * Base64 encode user info for HTTP Basic Authentication. * * Try to use {@literal java.util.Base64} encoder which is available starting with Java 8.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 13.3K bytes - Viewed (0) -
.teamcity/.mvn/wrapper/maven-wrapper.jar
download(java.net.URI, java.io.File) throws Exception; private void downloadInternal(java.net.URI, java.io.File) throws Exception; private void addBasicAuthenticati(java.net.URI, java.net.URLConnection) throws java.io.IOException; private String base64Encode(String); private String calculateUserInfo(java.net.URI); private String calculateUserAgent(); } org/apache/maven/wrapper/Downloader.class package org.apache.maven.wrapper; public abstract interface Downloader { public abstract void download(java.net.URI,...
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 26 01:48:39 UTC 2020 - 49.5K bytes - Viewed (0) -
integration-tests/gradle/gradle/wrapper/gradle-wrapper.jar
Exception; private void downloadInternal(java.net.URI, java.io.File) throws Exception; static java.net.URI safeUri(java.net.URI); private void addBasicAuthenticati(java.net.URI, java.net.URLConnection) throws java.io.IOException; private String base64Encode(String); private String calculateUserInfo(java.net.URI); private String calculateUserAgent(); } org/gradle/wrapper/DownloadProgressList.class package org.gradle.wrapper; public abstract interface DownloadProgressList { public abstract void dow...
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Oct 31 19:07:19 UTC 2023 - 62.2K bytes - Viewed (0)