Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for envs (0.06 sec)

  1. pkg/kubelet/container/helpers.go

    // of env vars.
    func envVarsToMap(envs []EnvVar) map[string]string {
    	result := map[string]string{}
    	for _, env := range envs {
    		result[env.Name] = env.Value
    	}
    	return result
    }
    
    // v1EnvVarsToMap constructs a map of environment name to value from a slice
    // of env vars.
    func v1EnvVarsToMap(envs []v1.EnvVar) map[string]string {
    	result := map[string]string{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/options/agent.go

    // Unlike ISTIO_META, where we need JSON and advanced features - this is just for small string headers.
    func extractXDSHeadersFromEnv(o *istioagent.AgentOptions) {
    	envs := os.Environ()
    	for _, e := range envs {
    		if strings.HasPrefix(e, xdsHeaderPrefix) {
    			parts := strings.SplitN(e, "=", 2)
    			if len(parts) != 2 {
    				continue
    			}
    			o.XDSHeaders[parts[0][len(xdsHeaderPrefix):]] = parts[1]
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/devicemanager/manager_test.go

    	return func(b *containerAllocateResponseBuilder) {
    		b.mounts = mounts
    	}
    }
    
    // withEnvs sets the envs for the containerAllocateResponseBuilder
    func withEnvs(envs map[string]string) containerAllocateResponseBuilderOption {
    	return func(b *containerAllocateResponseBuilder) {
    		b.envs = envs
    	}
    }
    
    // withCDIDevices sets the cdiDevices for the containerAllocateResponseBuilder
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_container.go

    		return nil, cleanupAction, err
    	}
    
    	// set environment variables
    	envs := make([]*runtimeapi.KeyValue, len(opts.Envs))
    	for idx := range opts.Envs {
    		e := opts.Envs[idx]
    		envs[idx] = &runtimeapi.KeyValue{
    			Key:   e.Name,
    			Value: e.Value,
    		}
    	}
    	config.Envs = envs
    
    	return config, cleanupAction, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_pods.go

    	if err != nil {
    		return nil, nil, err
    	}
    	opts.Devices = append(opts.Devices, blkVolumes...)
    
    	envs, err := kl.makeEnvironmentVariables(pod, container, podIP, podIPs)
    	if err != nil {
    		return nil, nil, err
    	}
    	opts.Envs = append(opts.Envs, envs...)
    
    	// only podIPs is sent to makeMounts, as podIPs is populated even if dual-stack feature flag is not enabled.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_pods_test.go

    }
    
    func (ls testServiceLister) List(labels.Selector) ([]*v1.Service, error) {
    	return ls.services, nil
    }
    
    type envs []kubecontainer.EnvVar
    
    func (e envs) Len() int {
    	return len(e)
    }
    
    func (e envs) Swap(i, j int) { e[i], e[j] = e[j], e[i] }
    
    func (e envs) Less(i, j int) bool { return e[i].Name < e[j].Name }
    
    func buildService(name, namespace, clusterIP, protocol string, port int) *v1.Service {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  7. pkg/istio-agent/agent.go

    )
    
    const (
    	// MetadataClientCertKey is ISTIO_META env var used for client key.
    	MetadataClientCertKey = "ISTIO_META_TLS_CLIENT_KEY"
    	// MetadataClientCertChain is ISTIO_META env var used for client cert chain.
    	MetadataClientCertChain = "ISTIO_META_TLS_CLIENT_CERT_CHAIN"
    	// MetadataClientRootCert is ISTIO_META env var used for client root cert.
    	MetadataClientRootCert = "ISTIO_META_TLS_CLIENT_ROOT_CERT"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	driveType = uint32(r0)
    	return
    }
    
    func GetEnvironmentStrings() (envs *uint16, err error) {
    	r0, _, e1 := syscall.Syscall(procGetEnvironmentStringsW.Addr(), 0, 0, 0, 0)
    	envs = (*uint16)(unsafe.Pointer(r0))
    	if envs == nil {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  9. pkg/kubelet/container/runtime.go

    	Name string
    }
    
    // RunContainerOptions specify the options which are necessary for running containers
    type RunContainerOptions struct {
    	// The environment variables list.
    	Envs []EnvVar
    	// The mounts for the containers.
    	Mounts []Mount
    	// The host devices mapped into the containers.
    	Devices []DeviceInfo
    	// The CDI devices for the container
    	CDIDevices []CDIDevice
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  10. cmd/server-main.go

    	// Add the global public crts as part of global root CAs
    	for _, publicCrt := range globalPublicCerts {
    		globalRootCAs.AddCert(publicCrt)
    	}
    
    	// Register root CAs for remote ENVs
    	env.RegisterGlobalCAs(globalRootCAs)
    
    	globalEndpoints, setupType, err = createServerEndpoints(globalMinioAddr, ctxt.Layout.pools, ctxt.Layout.legacy)
    	logger.FatalIf(err, "Invalid command line arguments")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:57 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top