Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for isopen (0.17 sec)

  1. cni/pkg/nodeagent/net.go

    		log.Errorf("failed to remove pod %s from host ipset, error was: %v", pod.Name, err)
    		return err
    	}
    
    	log.Info("in pod mode - deleting pod from ztunnel")
    
    	// pod is deleted, clean-up its open netns
    	openNetns := s.currentPodSnapshot.Take(string(pod.UID))
    	if openNetns == nil {
    		log.Warn("failed to find pod netns")
    	}
    
    	if err := s.ztunnelServer.PodDeleted(ctx, string(pod.UID)); err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  2. cmd/test-utils_test.go

    func unzipArchive(zipFilePath, targetDir string) error {
    	zipReader, err := zip.OpenReader(zipFilePath)
    	if err != nil {
    		return err
    	}
    	for _, file := range zipReader.Reader.File {
    		zippedFile, err := file.Open()
    		if err != nil {
    			return err
    		}
    		err = func() (err error) {
    			defer zippedFile.Close()
    			extractedFilePath := filepath.Join(targetDir, file.Name)
    			if file.FileInfo().IsDir() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. internal/event/target/postgresql.go

    	PostgresPassword           = "password"
    	PostgresDatabase           = "database"
    	PostgresQueueDir           = "queue_dir"
    	PostgresQueueLimit         = "queue_limit"
    	PostgresMaxOpenConnections = "max_open_connections"
    
    	EnvPostgresEnable             = "MINIO_NOTIFY_POSTGRES_ENABLE"
    	EnvPostgresFormat             = "MINIO_NOTIFY_POSTGRES_FORMAT"
    	EnvPostgresConnectionString   = "MINIO_NOTIFY_POSTGRES_CONNECTION_STRING"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  4. internal/logger/logrotate.go

    	Compress bool
    }
    
    // Writer is a concurrency-safe writer with file rotation.
    type Writer struct {
    	// opts are the configuration options for this Writer
    	opts Options
    
    	// f is the currently open file used for appends.
    	// Writes to f are only synchronized once Close() is called,
    	// or when files are being rotated.
    	f *os.File
    
    	pw *xioutil.PipeWriter
    	pr *xioutil.PipeReader
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. cmd/admin-bucket-handlers.go

    			rpt.SetStatus(file.Name, "", fmt.Errorf("malformed zip - expecting format bucket/<config.json>"))
    			continue
    		}
    		bucket, fileName := slc[0], slc[1]
    		if fileName == objectLockConfig {
    			reader, err := file.Open()
    			if err != nil {
    				rpt.SetStatus(bucket, fileName, err)
    				continue
    			}
    			config, err := objectlock.ParseObjectLockConfig(reader)
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  6. cmd/common-main.go

    		color.TurnOff()
    	}
    
    	if runtime.GOOS == "windows" {
    		if mousetrap.StartedByExplorer() {
    			fmt.Printf("Don't double-click %s\n", os.Args[0])
    			fmt.Println("You need to open cmd.exe/PowerShell and run it from the command line")
    			fmt.Println("Refer to the docs here on how to run it as a Windows Service https://github.com/minio/minio-service/tree/master/windows")
    			fmt.Println("Press the Enter Key to Exit")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  7. cmd/xl-storage.go

    		return nil, time.Time{}, err
    	}
    	defer f.Close()
    	stat, err := f.Stat()
    	if err != nil {
    		return nil, time.Time{}, err
    	}
    	if stat.IsDir() {
    		return nil, time.Time{}, &os.PathError{
    			Op:   "open",
    			Path: itemPath,
    			Err:  syscall.EISDIR,
    		}
    	}
    	buf, err := readXLMetaNoData(f, stat.Size())
    	if err != nil {
    		return nil, stat.ModTime().UTC(), fmt.Errorf("%w -> %s", err, itemPath)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  8. cmd/metrics-v3-system-process.go

    	processFileDescriptorLimitTotalMD = NewGaugeMD(processFileDescriptorLimitTotal, "Limit on total number of open file descriptors for the MinIO Server process")
    	processFileDescriptorOpenTotalMD  = NewGaugeMD(processFileDescriptorOpenTotal, "Total number of open file descriptors by the MinIO Server process")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 16:07:23 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    					started = true
    					setCommonHeaders(w)
    					setEventStreamHeaders(w)
    					// Set 200 OK status
    					w.WriteHeader(200)
    				}
    				// Send whitespace and keep connection open
    				if _, err := w.Write([]byte(" ")); err != nil {
    					return
    				}
    				w.(http.Flusher).Flush()
    			case hr := <-respCh:
    				switch hr.apiErr {
    				case noError:
    					if started {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top