Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for openDir (0.52 sec)

  1. src/embed/embed.go

    		return n, io.EOF
    	}
    	return n, nil
    }
    
    // An openDir is a directory open for reading.
    type openDir struct {
    	f      *file  // the directory file itself
    	files  []file // the directory contents
    	offset int    // the read offset, an index into the files slice
    }
    
    func (d *openDir) Close() error               { return nil }
    func (d *openDir) Stat() (fs.FileInfo, error) { return d.f, nil }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:42:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. src/testing/fstest/testfs.go

    	files  []string
    }
    
    // errorf adds an error to the list of errors.
    func (t *fsTester) errorf(format string, args ...any) {
    	t.errors = append(t.errors, fmt.Errorf(format, args...))
    }
    
    func (t *fsTester) openDir(dir string) fs.ReadDirFile {
    	f, err := t.fsys.Open(dir)
    	if err != nil {
    		t.errorf("%s: Open: %w", dir, err)
    		return nil
    	}
    	d, ok := f.(fs.ReadDirFile)
    	if !ok {
    		f.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. src/syscall/fs_wasip1.go

    func fd_prestat_dir_name(fd int32, path unsafe.Pointer, pathLen size) Errno
    
    type opendir struct {
    	fd   int32
    	name string
    }
    
    // List of preopen directories that were exposed by the runtime. The first one
    // is assumed to the be root directory of the file system, and others are seen
    // as mount points at sub paths of the root.
    var preopens []opendir
    
    // Current working directory. We maintain this as a string and resolve paths in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  4. src/os/file.go

    		return nil, err
    	}
    	f.appendMode = flag&O_APPEND != 0
    
    	return f, nil
    }
    
    // openDir opens a file which is assumed to be a directory. As such, it skips
    // the syscalls that make the file descriptor non-blocking as these take time
    // and will fail on file descriptors for directories.
    func openDir(name string) (*File, error) {
    	testlog.Open(name)
    	return openDirNolog(name)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  5. internal/config/identity/openid/openid.go

    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/config/identity/openid/provider"
    	"github.com/minio/minio/internal/hash/sha256"
    	"github.com/minio/pkg/v3/env"
    	xnet "github.com/minio/pkg/v3/net"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // OpenID keys and envs.
    const (
    	ClientID      = "client_id"
    	ClientSecret  = "client_secret"
    	ConfigURL     = "config_url"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  6. cmd/admin-handlers-idp-config.go

    		return ErrAdminConfigIDPCfgNameDoesNotExist
    	}
    	return ErrNone
    }
    
    // AddIdentityProviderCfg: adds a new IDP config for openid/ldap.
    //
    // PUT <admin-prefix>/idp-cfg/openid/dex1 -> create named config `dex1`
    //
    // PUT <admin-prefix>/idp-cfg/openid/_ -> create (default) named config `_`
    func (a adminAPIHandlers) AddIdentityProviderCfg(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. cmd/sts-handlers.go

    		writeSTSErrorResponse(ctx, w, ErrSTSInternalError, err)
    		return
    	}
    
    	// https://openid.net/specs/openid-connect-core-1_0.html#ClaimStability
    	// claim is only considered stable when subject and iss are used together
    	// this is to ensure that ParentUser doesn't change and we get to use
    	// parentUser as per the requirements for service accounts for OpenID
    	// based logins.
    	var subFromToken string
    	if v, ok := claims[subClaim]; ok {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  8. helm/minio/values.yaml

    ## The key in the secret must be 'config.env'
    ##
    extraSecret: ~
    
    ## OpenID Identity Management
    ## The following section documents environment variables for enabling external identity management using an OpenID Connect (OIDC)-compatible provider.
    ## See https://min.io/docs/minio/linux/operations/external-iam/configure-openid-external-identity-management.html for a tutorial on using these variables.
    oidc:
      enabled: false
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 28 10:14:37 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/rsc.io/markdown/inline.go

    	run process emphasis on the interior,
    	remove opener
    	if this was a link (not an image), set all [ before opener to inactive, to avoid links inside links
    
    process emphasis
    
    	walk forward in list to find a closer.
    	walk back to find first potential matching opener.
    	if found:
    		strong for length >= 2
    		insert node
    		drop delimiters between opener and closer
    		remove 1 or 2 from open/close count, removing if now empty
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. cmd/config-current.go

    	"github.com/minio/minio/internal/config/etcd"
    	"github.com/minio/minio/internal/config/heal"
    	xldap "github.com/minio/minio/internal/config/identity/ldap"
    	"github.com/minio/minio/internal/config/identity/openid"
    	idplugin "github.com/minio/minio/internal/config/identity/plugin"
    	xtls "github.com/minio/minio/internal/config/identity/tls"
    	"github.com/minio/minio/internal/config/ilm"
    	"github.com/minio/minio/internal/config/lambda"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 08:14:58 UTC 2024
    - 30.8K bytes
    - Viewed (0)
Back to top