- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 1,124 for Nil (0.09 sec)
-
istioctl/pkg/cli/context.go
if i.clients == nil { i.clients = make(map[string]kube.CLIClient) } if i.clients[rev] == nil { client, err := newKubeClientWithRevision(*i.kubeconfig, *i.configContext, rev, i.getImpersonateConfig()) if err != nil { return nil, err } i.clients[rev] = client } return i.clients[rev], nil } func (i *instance) CLIClient() (kube.CLIClient, error) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 23 19:31:32 UTC 2024 - 8.9K bytes - Viewed (0) -
src/bytes/reader_test.go
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8K bytes - Viewed (0) -
internal/jwt/parser.go
if err != nil { return nil, &jwtgo.ValidationError{Inner: err, Errors: jwtgo.ValidationErrorMalformed} } n, err = base64DecodeBytes(token[i+1:j], buf) if err != nil { return nil, &jwtgo.ValidationError{Inner: err, Errors: jwtgo.ValidationErrorMalformed} } if err = claims.UnmarshalJSON(buf[:n]); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 14.1K bytes - Viewed (0) -
internal/http/dial_linux.go
if err != nil { return nil, err } if opts.DriveOPTimeout != nil { // Read deadlines are sufficient for now as per various // scenarios of hung node detection, we may add Write deadlines // if needed later on. return deadlineconn.New(conn).WithReadDeadline(opts.DriveOPTimeout()), nil } return conn, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 23 10:53:03 UTC 2024 - 5K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/writer.go
func (w *sdsWriter) printSecretItemsJSON(secrets []SecretItem) error { out, err := json.MarshalIndent(secrets, "", " ") if err != nil { return err } _, err = w.w.Write(out) if err != nil { return err } return nil } // PrintDiffs uses the user supplied output format to determine how to display the diffed secrets
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Oct 28 19:52:53 UTC 2024 - 4.8K bytes - Viewed (0) -
cmd/sftp-server.go
if !ok { return nil, errNoSuchUser } if caPublicKey != nil && pass == nil { err := validateKey(c, key) if err != nil { return nil, errAuthentication } } else { // Temporary credentials are not allowed. if ui.Credentials.IsTemp() { return nil, errAuthentication } if subtle.ConstantTimeCompare([]byte(ui.Credentials.SecretKey), pass) != 1 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 20:00:29 UTC 2024 - 16K bytes - Viewed (0) -
cmd/erasure-server-pool-decom_test.go
fsDirs, err := getRandomDisks(nDisks) if err != nil { return nil, nil, err } pools := mustGetPoolEndpoints(0, fsDirs[:16]...) pools = append(pools, mustGetPoolEndpoints(1, fsDirs[16:]...)...) // Everything is fine, should return nil objLayer, err := newErasureServerPools(context.Background(), pools) if err != nil { return nil, nil, err } return objLayer, fsDirs, nil } func TestPoolMetaValidate(t *testing.T) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 01 14:38:46 UTC 2024 - 4.8K bytes - Viewed (0) -
internal/dsync/dsync-server_test.go
args, err := getLockArgs(r) if err != nil { lh.writeErrorResponse(w, err) return } if _, err = lh.lsrv.ForceUnlock(&args); err != nil { lh.writeErrorResponse(w, err) return } } func (lh *lockServerHandler) RefreshHandler(w http.ResponseWriter, r *http.Request) { args, err := getLockArgs(r) if err != nil { lh.writeErrorResponse(w, err) return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 23 16:46:37 UTC 2023 - 8.3K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver_test.go
ztun, err := newZtunnelServer(addr, pods) if err != nil { panic(err) } go ztun.Run(ctx) // now as a client connect confirm we and get snapshot resolvedAddr, err := net.ResolveUnixAddr("unixpacket", addr) if err != nil { panic(err) } ztunClient, err := net.DialUnix("unixpacket", nil, resolvedAddr) if err != nil { panic(err) } // send hello sendHello(ztunClient)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 8.6K bytes - Viewed (0) -
cmd/erasure-server-pool.go
if err = checkGetObjArgs(ctx, bucket, object); err != nil { return nil, err } // This is a special call attempted first to check for SOS-API calls. gr, err = veeamSOSAPIGetObject(ctx, bucket, object, rs, opts) if err == nil { return gr, nil } // reset any error to 'nil' and any reader to be 'nil' gr = nil err = nil object = encodeDirObject(object) if z.SinglePool() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 89.8K bytes - Viewed (0)