Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for openDir (0.17 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. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SFTPServer.groovy

            expectations << new SftpExpectOnePath(SftpConstants.SSH_FXP_MKDIR, "MKDIR", path)
        }
    
        void expectOpendir(String path) {
            expectations << new SftpExpectOneOpen(SftpConstants.SSH_FXP_OPENDIR, "OPENDIR", path)
        }
    
        void allowReaddir(String path) {
            expectations << new SftpAllowHandle(SftpConstants.SSH_FXP_READDIR, path)
        }
    
        void allowWrite(String path) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. docs/sts/web-identity.md

    export MINIO_ROOT_PASSWORD=minio123
    export MINIO_IDENTITY_OPENID_CONFIG_URL=https://accounts.google.com/.well-known/openid-configuration
    export MINIO_IDENTITY_OPENID_CLIENT_ID="843351d4-1080-11ea-aa20-271ecba3924a"
    # Optional: Allow to specify the requested OpenID scopes (OpenID only requires the `openid` scope)
    #export MINIO_IDENTITY_OPENID_SCOPES="openid,profile,email"
    minio server /mnt/export
    ```
    
    or using `mc`
    
    ```
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. 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)
  9. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc.go

    	// not used.  Access token is optional per the OIDC distributed claims
    	// specification.
    	// See: http://openid.net/specs/openid-connect-core-1_0.html#DistributedExample
    	AccessToken string `json:"access_token,omitempty"`
    	// JWT is the container for aggregated claims.  Not supported at the moment.
    	// See: http://openid.net/specs/openid-connect-core-1_0.html#AggregatedExample
    	JWT string `json:"JWT,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  10. pilot/pkg/model/jwks_resolver.go

    	"istio.io/istio/pkg/monitoring"
    )
    
    const (
    	// https://openid.net/specs/openid-connect-discovery-1_0.html
    	// OpenID Providers supporting Discovery MUST make a JSON document available at the path
    	// formed by concatenating the string /.well-known/openid-configuration to the Issuer.
    	openIDDiscoveryCfgURLSuffix = "/.well-known/openid-configuration"
    
    	// JwtPubKeyEvictionDuration is the life duration for cached item.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top