- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Tr (0.88 sec)
-
common/scripts/tracing.sh
# Get trace ID from TRACEPARENT, if present local tid tid="$(<<<"${TRACEPARENT:-}" cut -d- -f2)" tid="${tid:-"$(tr -dc 'a-f0-9' < /dev/urandom | head -c 32)"}" # Always generate a new span ID local sid sid="$(tr -dc 'a-f0-9' < /dev/urandom | head -c 16)" # Execute the command they wanted with the propagation through TRACEPARENT if [[ $was_execution_trace == 1 ]]; then
Shell Script - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jul 28 15:25:47 GMT 2023 - 4.1K bytes - Viewed (0) -
istioctl/pkg/kubeinject/google.go
} func mcpTransport(ctx context.Context, tr http.RoundTripper) (http.RoundTripper, error) { creds, err := google.FindDefaultCredentials(ctx, "https://www.googleapis.com/auth/cloud-platform") if err != nil { return nil, fmt.Errorf("finding default GCP credentials: %w", err) } return &oauth2.Transport{ Base: tr, Source: creds.TokenSource, }, nil
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.2K bytes - Viewed (0) -
common/scripts/setup_env.sh
add_KUBECONFIG_if_exists () { if [[ -f "$1" ]]; then local local_config local_config="$(mktemp)" cp "${1}" "${local_config}" kubeconfig_random="$(od -vAn -N4 -tx /dev/random | tr -d '[:space:]' | cut -c1-8)" container_kubeconfig+="/config/${kubeconfig_random}:" CONDITIONAL_HOST_MOUNTS+="--mount type=bind,source=${local_config},destination=/config/${kubeconfig_random} " fi }
Shell Script - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 23 19:52:28 GMT 2024 - 7.6K bytes - Viewed (0)