Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 211 for topo (0.17 sec)

  1. src/archive/tar/writer_test.go

    		name string
    		h    *Header
    	}{{
    		name: "name too long",
    		h:    &Header{Name: strings.Repeat("a", maxSpecialFileSize)},
    	}, {
    		name: "linkname too long",
    		h:    &Header{Linkname: strings.Repeat("a", maxSpecialFileSize)},
    	}, {
    		name: "uname too long",
    		h:    &Header{Uname: strings.Repeat("a", maxSpecialFileSize)},
    	}, {
    		name: "gname too long",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  2. istioctl/pkg/kubeinject/kubeinject.go

    			}()
    		}
    		tlsClientConfig.ServerName = fmt.Sprintf("%s.%s.%s", cc.Service.Name, cc.Service.Namespace, "svc")
    	} else if isMCPAddr(address) {
    		var err error
    		client.Transport, err = mcpTransport(context.TODO(), client.Transport)
    		if err != nil {
    			return nil, err
    		}
    	}
    	podBytes, err := json.Marshal(pod)
    	if pod.Namespace != "" {
    		deploymentNS = pod.Namespace
    	}
    	if err != nil {
    		return nil, err
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  3. cni/pkg/util/podutil_test.go

    		},
    		{
    			name: "pod has sidecar and namespace has ambient enabled",
    			args: args{
    				namespace: namespaceWithAmbientEnabledLabel,
    				pod:       podWithSidecar,
    			},
    			want: false,
    		},
    		// TODO: when there exists a means for users to signal the intent to exclude a pod from ambient without requiring the use of
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 18:04:40 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/lex/stack.go

    package lex
    
    import (
    	"text/scanner"
    
    	"cmd/internal/src"
    )
    
    // A Stack is a stack of TokenReaders. As the top TokenReader hits EOF,
    // it resumes reading the next one down.
    type Stack struct {
    	tr []TokenReader
    }
    
    // Push adds tr to the top (end) of the input stack. (Popping happens automatically.)
    func (s *Stack) Push(tr TokenReader) {
    	s.tr = append(s.tr, tr)
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jan 09 22:33:23 GMT 2017
    - 1.2K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/lex/slice.go

    	// Cannot happen because we only have slices of already-scanned text,
    	// but be prepared.
    	s.base = base
    }
    
    func (s *Slice) Line() int {
    	return s.line
    }
    
    func (s *Slice) Col() int {
    	// TODO: Col is only called when defining a macro and all it cares about is increasing
    	// position to discover whether there is a blank before the parenthesis.
    	// We only get here if defining a macro inside a macro.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jun 29 22:49:50 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  6. cmd/os_other.go

    		}
    		for _, fi := range fis {
    			if fi.Mode()&os.ModeSymlink == os.ModeSymlink {
    				fi, err = Stat(pathJoin(dirPath, fi.Name()))
    				if err != nil {
    					// It got deleted in the meantime, not found
    					// or returns too many symlinks ignore this
    					// file/directory.
    					if osIsNotExist(err) || isSysErrPathNotFound(err) ||
    						isSysErrTooManySymlinks(err) {
    						continue
    					}
    					return err
    				}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 4K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/informers.go

    			pods = append(pods, pod)
    		}
    	}
    	return pods
    }
    
    // EnqueueNamespace takes a Namespace and enqueues all Pod objects that make need an update
    // TODO it is sort of pointless/confusing/implicit to populate Old and New with the same reference here
    func (s *InformerHandlers) enqueueNamespace(o controllers.Object) {
    	namespace := o.GetName()
    	labels := o.GetLabels()
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  8. istioctl/pkg/proxyconfig/proxyconfig.go

    func extractConfigDump(kubeClient kube.CLIClient, podName, podNamespace string, eds bool) ([]byte, error) {
    	path := "config_dump"
    	if eds {
    		path += "?include_eds=true"
    	}
    	debug, err := kubeClient.EnvoyDoWithPort(context.TODO(), podName, podNamespace, "GET", path, proxyAdminPort)
    	if err != nil {
    		return nil, fmt.Errorf("failed to execute command on %s.%s sidecar: %v", podName, podNamespace, err)
    	}
    	return debug, err
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  9. src/archive/zip/writer.go

    import (
    	"bufio"
    	"encoding/binary"
    	"errors"
    	"hash"
    	"hash/crc32"
    	"io"
    	"io/fs"
    	"strings"
    	"unicode/utf8"
    )
    
    var (
    	errLongName  = errors.New("zip: FileHeader.Name too long")
    	errLongExtra = errors.New("zip: FileHeader.Extra too long")
    )
    
    // Writer implements a zip file writer.
    type Writer struct {
    	cw          *countWriter
    	dir         []*header
    	last        *fileWriter
    	closed      bool
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  10. istioctl/pkg/root/root.go

    )
    
    func defaultLogOptions() *log.Options {
    	o := log.DefaultOptions()
    	// Default to warning for everything; we usually don't want logs in istioctl
    	o.SetDefaultOutputLevel("all", log.WarnLevel)
    	// These scopes are too noisy even at warning level
    	o.SetDefaultOutputLevel("validation", log.ErrorLevel)
    	o.SetDefaultOutputLevel("processing", log.ErrorLevel)
    	o.SetDefaultOutputLevel("kube", log.ErrorLevel)
    	return o
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Mar 26 20:38:10 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top