- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 269 for hamster (0.11 sec)
-
internal/kms/conn.go
// ciphertext is the encrypted version of the // plaintext data and can be stored on untrusted // storage. type DEK struct { KeyID string // Name of the master key Version int // Version of the master key (MinKMS only) Plaintext []byte // Paintext of the data encryption key Ciphertext []byte // Ciphertext of the data encryption key } var ( _ encoding.TextMarshaler = (*DEK)(nil)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 5K bytes - Viewed (0) -
pkg/kubelet/config/common.go
if len(pod.UID) == 0 { hasher := md5.New() hash.DeepHashObject(hasher, pod) // DeepHashObject resets the hash, so we should write the pod source // information AFTER it. if isFile { fmt.Fprintf(hasher, "host:%s", nodeName) fmt.Fprintf(hasher, "file:%s", source) } else { fmt.Fprintf(hasher, "url:%s", source) } pod.UID = types.UID(hex.EncodeToString(hasher.Sum(nil)[0:]))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:48 UTC 2023 - 5.8K bytes - Viewed (0) -
cmd/kubeadm/app/util/staticpod/utils.go
if err != nil { return false, "", err } pod2, err := ReadStaticPodFromDisk(path2) if err != nil { return false, "", err } hasher := md5.New() DeepHashObject(hasher, pod1) hash1 := hasher.Sum(nil)[0:] DeepHashObject(hasher, pod2) hash2 := hasher.Sum(nil)[0:] if bytes.Equal(hash1, hash2) { return true, "", nil } manifest1, err := kubeadmutil.MarshalToYaml(pod1, v1.SchemeGroupVersion)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 14.1K bytes - Viewed (0) -
pkg/test/prow/util.go
artifactsBase = env.Register("PROW_ARTIFACTS_BASE", "https://gcsweb.istio.io/gcs/istio-prow", "the base url for prow artifacts").Get() // https://github.com/kubernetes/test-infra/blob/master/prow/jobs.md#job-environment-variables jobType = env.Register("JOB_TYPE", "presubmit", "type of job").Get() jobName = env.Register("JOB_NAME", "", "name of job").Get()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 1.9K bytes - Viewed (0) -
internal/kms/kms.go
} // DecryptRequest is a structure containing fields // and options for decrypting data. type DecryptRequest struct { // Name is the name of the master key used decrypt // the ciphertext. Name string // Version is the version of the master used for // decryption. If empty, the latest key version // is used. Version int // Ciphertext is the encrypted data that gets // decrypted.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 11.4K bytes - Viewed (0) -
pkg/serviceaccount/jwt.go
publicKeyDERBytes, err := x509.MarshalPKIXPublicKey(publicKey) if err != nil { return "", fmt.Errorf("failed to serialize public key to DER format: %v", err) } hasher := crypto.SHA256.New() hasher.Write(publicKeyDERBytes) publicKeyDERHash := hasher.Sum(nil) keyID := base64.RawURLEncoding.EncodeToString(publicKeyDERHash) return keyID, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 27 22:16:08 UTC 2024 - 10.7K bytes - Viewed (0) -
src/index/suffixarray/sais.go
// The suffix array is stored in sa, which the caller // must ensure is already zeroed. // The caller must also provide temporary space tmp // with len(tmp) ≥ textMax. If len(tmp) ≥ 2*textMax // then the algorithm runs a little faster. // If sais_8_32 modifies tmp, it sets tmp[0] = -1 on return. func sais_8_32(text []byte, textMax int, sa, tmp []int32) { if len(sa) != len(text) || len(tmp) < textMax { panic("suffixarray: misuse of sais_8_32") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 23:57:18 UTC 2024 - 32.4K bytes - Viewed (0) -
cmd/kube-proxy/app/server.go
fs.StringVar(&o.config.ClientConnection.Kubeconfig, "kubeconfig", o.config.ClientConnection.Kubeconfig, "Path to kubeconfig file with authorization information (the master location can be overridden by the master flag).") fs.StringVar(&o.master, "master", o.master, "The address of the Kubernetes API server (overrides any value in kubeconfig)")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 13:27:41 UTC 2024 - 46.8K bytes - Viewed (0) -
src/cmd/go/internal/work/security_test.go
} os.Setenv("CGO_TEST_ALLOW", "-fplugin.*") os.Setenv("CGO_TEST_DISALLOW", "-fplugin=lint.so") if err := checkCompilerFlags("TEST", "test", []string{"-fplugin=faster.so"}); err != nil { t.Fatalf("unexpected error for -fplugin=faster.so: %v", err) } if err := checkCompilerFlags("TEST", "test", []string{"-fplugin=lint.so"}); err == nil { t.Fatalf("missing error for -fplugin=lint.so: %v", err) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:47:34 UTC 2024 - 7.3K bytes - Viewed (0) -
pkg/routes/logs.go
type Logs struct{} // Install func registers the logs handler. func (l Logs) Install(c *restful.Container) { // use restful: ws.Route(ws.GET("/logs/{logpath:*}").To(fileHandler)) // See github.com/emicklei/go-restful/blob/master/examples/static/restful-serve-static.go ws := new(restful.WebService) ws.Path("/logs") ws.Doc("get log files")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 21 16:25:48 UTC 2022 - 2.2K bytes - Viewed (0)