- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 202 for envmap (0.17 sec)
-
cni/pkg/plugin/plugin_dryrun_test.go
tests := []struct { name string annotations map[string]string proxyEnv []corev1.EnvVar customUID *int64 customGID *int64 golden string }{ { name: "basic", annotations: map[string]string{annotation.SidecarStatus.Name: "true"}, proxyEnv: []corev1.EnvVar{}, golden: filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/basic.txt.golden"), }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Feb 10 00:31:55 UTC 2024 - 8.4K bytes - Viewed (0) -
pkg/ctrlz/topics/env.go
func (envTopic) Prefix() string { return "env" } type envVar struct { Name string `json:"name"` Value string `json:"value"` } func getVars() []envVar { env := os.Environ() sort.Strings(env) result := []envVar{} for _, v := range env { eq := strings.Index(v, "=") name := v[:eq] //nolint value := v[eq+1:] result = append(result, envVar{Name: name, Value: value}) } return result }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 14:06:41 UTC 2023 - 1.8K bytes - Viewed (0) -
test/typeparam/issue47877.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 444 bytes - Viewed (0) -
src/net/http/fcgi/fcgi_test.go
r *http.Request, ) { env := ProcessEnv(r) if _, ok := env[tt.envVar]; ok && tt.expectedFilteredOut { t.Errorf("Expected environment variable %s to not be set, but set to %s", tt.envVar, env[tt.envVar]) } else if env[tt.envVar] != tt.expectedVal { t.Errorf("Expected %s, got %s", tt.expectedVal, env[tt.envVar]) } close(done) })) c.serve() <-done } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 11 18:51:39 UTC 2023 - 10.6K bytes - Viewed (0) -
pkg/kubelet/container/helpers_test.go
name string container *v1.Container envs []EnvVar expectedCommand []string expectedArgs []string }{ { name: "none", container: &v1.Container{}, }, { name: "command expanded", container: &v1.Container{ Command: []string{"foo", "$(VAR_TEST)", "$(VAR_TEST2)"}, }, envs: []EnvVar{ { Name: "VAR_TEST", Value: "zoo", }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 01:55:46 UTC 2024 - 24.5K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/fuzzer/fuzzer.go
obj.APIServer.TimeoutForControlPlane = &metav1.Duration{ Duration: 0, } obj.ControllerManager.ExtraEnvs = []kubeadm.EnvVar{} obj.APIServer.ExtraEnvs = []kubeadm.EnvVar{} obj.Scheduler.ExtraEnvs = []kubeadm.EnvVar{} obj.Etcd.Local.ExtraEnvs = []kubeadm.EnvVar{} obj.EncryptionAlgorithm = kubeadm.EncryptionAlgorithmRSA2048 obj.Proxy.Disabled = false
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 13 06:41:07 UTC 2024 - 6.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/map.go
// license that can be found in the LICENSE file. package types2 // A Map represents a map type. type Map struct { key, elem Type } // NewMap returns a new map for the given key and element types. func NewMap(key, elem Type) *Map { return &Map{key: key, elem: elem} } // Key returns the key type of map m. func (m *Map) Key() Type { return m.key }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 01 22:17:50 UTC 2021 - 659 bytes - Viewed (0) -
src/go/ast/commentmap_test.go
if n := len(cmap.Comments()); n != len(f.Comments) { t.Errorf("got %d comment groups in map; want %d", n, len(f.Comments)) } // support code to update test: // set genMap to true to generate res map const genMap = false if genMap { out := make([]string, 0, len(cmap)) for n, list := range cmap { out = append(out, fmt.Sprintf("\t\"%2d: %T\":\t%q,", fset.Position(n.Pos()).Line, n, ctext(list))) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 09 15:35:30 UTC 2022 - 3.9K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.conversion.go
}); err != nil { return err } if err := s.AddGeneratedConversionFunc((*EnvVar)(nil), (*kubeadm.EnvVar)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1beta4_EnvVar_To_kubeadm_EnvVar(a.(*EnvVar), b.(*kubeadm.EnvVar), scope) }); err != nil { return err } if err := s.AddGeneratedConversionFunc((*kubeadm.EnvVar)(nil), (*EnvVar)(nil), func(a, b interface{}, scope conversion.Scope) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 61.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/CollectionsUtil.java
return new EnumMap<>(m); } /** * {@link EnumMap}の新しいインスタンスを作成して返します。 * * @param <K> * {@link EnumMap}のキーの型 * @param <V> * {@link EnumMap}の値の型 * @param m * この {@literal enum} マップの初期化元のマップ * @return {@link EnumMap}の新しいインスタンス * @see EnumMap#EnumMap(Map)
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 53.9K bytes - Viewed (0)