Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Returns (0.43 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/customresourcedefinition.go

    	client rest.Interface
    }
    
    // newCustomResourceDefinitions returns a CustomResourceDefinitions
    func newCustomResourceDefinitions(c *ApiextensionsV1Client) *customResourceDefinitions {
    	return &customResourceDefinitions{
    		client: c.RESTClient(),
    	}
    }
    
    // Get takes name of the customResourceDefinition, and returns the corresponding customResourceDefinition object, and an error if there is any.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go

    type examples struct {
    	client rest.Interface
    	ns     string
    }
    
    // newExamples returns a Examples
    func newExamples(c *CrV1Client, namespace string) *examples {
    	return &examples{
    		client: c.RESTClient(),
    		ns:     namespace,
    	}
    }
    
    // Get takes name of the example, and returns the corresponding example object, and an error if there is any.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/customresourcedefinition.go

    	client rest.Interface
    }
    
    // newCustomResourceDefinitions returns a CustomResourceDefinitions
    func newCustomResourceDefinitions(c *ApiextensionsV1beta1Client) *customResourceDefinitions {
    	return &customResourceDefinitions{
    		client: c.RESTClient(),
    	}
    }
    
    // Get takes name of the customResourceDefinition, and returns the corresponding customResourceDefinition object, and an error if there is any.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. pilot/pkg/model/endpointshards.go

    			out[svcKey][nsKey] = v.DeepCopy()
    		}
    	}
    	return out
    }
    
    // ShardsForService returns the shards and true if they are found, or returns nil, false.
    func (e *EndpointIndex) ShardsForService(serviceName, namespace string) (*EndpointShards, bool) {
    	e.mu.RLock()
    	defer e.mu.RUnlock()
    	byNs, ok := e.shardsBySvc[serviceName]
    	if !ok {
    		return nil, false
    	}
    	shards, ok := byNs[namespace]
    	return shards, ok
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_pods.go

    	}
    
    	return pullSecrets
    }
    
    // PodCouldHaveRunningContainers returns true if the pod with the given UID could still have running
    // containers. This returns false if the pod has not yet been started or the pod is unknown.
    func (kl *Kubelet) PodCouldHaveRunningContainers(pod *v1.Pod) bool {
    	if kl.podWorkers.CouldHaveRunningContainers(pod.UID) {
    		return true
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet.go

    			klog.ErrorS(err, "Failed to update pod cache", "pod", klog.KObj(pod))
    			return false, err
    		}
    	}
    
    	return false, nil
    }
    
    // SyncTerminatingPod is expected to terminate all running containers in a pod. Once this method
    // returns without error, the pod is considered to be terminated and it will be safe to clean up any
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  7. 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)
  8. pilot/pkg/xds/delta.go

    					return err
    				}
    			} else {
    				// Remote side closed connection or error processing the request.
    				return <-con.ErrorCh()
    			}
    		case ev := <-con.PushCh():
    			pushEv := ev.(*Event)
    			err := s.pushConnectionDelta(con, pushEv)
    			pushEv.done()
    			if err != nil {
    				return err
    			}
    		case <-con.StopCh():
    			return nil
    		}
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  9. pilot/pkg/model/gateway.go

    }
    
    func (g *PrevMergedGateway) HasAutoPassthroughGateway() bool {
    	if g != nil {
    		return g.ContainsAutoPassthroughGateways
    	}
    	return false
    }
    
    func (g *PrevMergedGateway) GetAutoPassthroughSNIHosts() sets.Set[string] {
    	if g != nil {
    		return g.AutoPassthroughSNIHosts
    	}
    	return sets.Set[string]{}
    }
    
    var (
    	typeTag = monitoring.CreateLabel("type")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
  10. cmd/object-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	opts, err := getOpts(ctx, r, bucket, object)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	getObjectInfo := objectAPI.GetObjectInfo
    
    	// Check for auth type to return S3 compatible error.
    	// type to return the correct error (NoSuchKey vs AccessDenied)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
Back to top