Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for returns_ (0.14 sec)

  1. cmd/iam-store.go

    			return true
    		}
    
    		ps := mappedPolicy.toSlice()
    		sort.Strings(ps)
    		r = append(r, madmin.GroupPolicyEntities{
    			Group:    group,
    			Policies: ps,
    		})
    		return true
    	})
    
    	sort.Slice(r, func(i, j int) bool {
    		return r[i].Group < r[j].Group
    	})
    
    	return r
    }
    
    // Assumes store is locked by caller. If policies is empty, returns all policy mappings.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  2. cmd/iam.go

    func (sys *IAMSys) IsTempUser(name string) (bool, string, error) {
    	if !sys.Initialized() {
    		return false, "", errServerNotInitialized
    	}
    
    	u, found := sys.store.GetUser(name)
    	if !found {
    		return false, "", errNoSuchUser
    	}
    	cred := u.Credentials
    	if cred.IsTemp() {
    		return true, cred.ParentUser, nil
    	}
    
    	return false, "", nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    			if readable && writable {
    				return "TRUE"
    			}
    			return "FALSE"
    		}(),
    	})
    
    	writeSuccessResponseXML(w, encodedSuccessResponse)
    }
    
    // HeadBucketHandler - HEAD Bucket
    // ----------
    // This operation is useful to determine if a bucket exists.
    // The operation returns a 200 OK if the bucket exists and you
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  4. cmd/api-errors.go

    // errors returned by underlying layers.
    func toAPIErrorCode(ctx context.Context, err error) (apiErr APIErrorCode) {
    	if err == nil {
    		return ErrNone
    	}
    
    	// Errors that are generated by net.Conn and any context errors must be handled here.
    	if errors.Is(err, os.ErrDeadlineExceeded) || errors.Is(err, context.DeadlineExceeded) {
    		return ErrRequestTimedout
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    	}
    	return fakeContainers
    }
    
    // makeTestContainer creates a test api container.
    func makeTestContainer(name, image string) v1.Container {
    	return v1.Container{
    		Name:  name,
    		Image: image,
    	}
    }
    
    // makeTestPod creates a test api pod.
    func makeTestPod(podName, podNamespace, podUID string, containers []v1.Container) *v1.Pod {
    	return &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/listener_test.go

    	for _, f := range fc.Filters {
    		if f.Name == wellknown.TCPProxy {
    			return f
    		}
    	}
    	return nil
    }
    
    func getHTTPFilter(fc *listener.FilterChain) *listener.Filter {
    	for _, f := range fc.Filters {
    		if f.Name == wellknown.HTTPConnectionManager {
    			return f
    		}
    	}
    	return nil
    }
    
    func getHTTPFilterChain(t *testing.T, l *listener.Listener) *listener.FilterChain {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  7. pilot/pkg/model/telemetry_logging_test.go

    			celFormatter,
    			metadataFormatter,
    			reqWithoutQueryFormatter,
    		},
    	}
    
    	clusterLookupFn = func(push *PushContext, service string, port int) (hostname string, cluster string, err error) {
    		return grpcBackendAuthority, grpcBackendClusterName, nil
    	}
    
    	stdout := &fileaccesslog.FileAccessLog{
    		Path: DevStdout,
    		AccessLogFormat: &fileaccesslog.FileAccessLog_LogFormat{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 54K bytes
    - Viewed (0)
Back to top