Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,290 for Warningf (0.16 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/warning/warning.go

    limitations under the License.
    */
    
    package warning
    
    import (
    	restful "github.com/emicklei/go-restful/v3"
    
    	"k8s.io/apiserver/pkg/warning"
    )
    
    // AddWarningsHandler returns a handler that adds the provided warnings to all requests,
    // then delegates to the provided handler.
    func AddWarningsHandler(handler restful.RouteFunction, warnings []string) restful.RouteFunction {
    	if len(warnings) == 0 {
    		return handler
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 09 18:11:41 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/filters/warning.go

    		r.written += textRuneLength
    		r.writer.Header().Add("Warning", header)
    		return
    	}
    
    	// otherwise, enable truncation, reset, and replay the existing items as truncated warnings
    	r.truncating = true
    	r.written = 0
    	r.writer.Header().Del("Warning")
    	utilruntime.HandleError(fmt.Errorf("exceeded max warning header size, truncating"))
    	for _, w := range r.ordered {
    		agent := w.agent
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 01 16:14:06 UTC 2020
    - 3.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/genericapiserver.go

    	var resourceInfos []*storageversion.ResourceInfo
    	for _, groupVersion := range apiGroupInfo.PrioritizedVersions {
    		if len(apiGroupInfo.VersionedResourcesStorageMap[groupVersion.Version]) == 0 {
    			klog.Warningf("Skipping API %v because it has no resources.", groupVersion)
    			continue
    		}
    
    		apiGroupVersion, err := s.getAPIGroupVersion(apiGroupInfo, groupVersion, apiPrefix)
    		if err != nil {
    			return err
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  4. pkg/api/job/warnings.go

    			warnings = append(warnings, fmt.Sprintf("%s: %s", path, msg))
    		}
    	}
    	var oldPodTemplate *core.PodTemplateSpec
    	if oldSpec != nil {
    		oldPodTemplate = &oldSpec.Template
    	}
    	warnings = append(warnings, pod.GetWarningsForPodTemplate(ctx, path.Child("template"), &spec.Template, oldPodTemplate)...)
    	return warnings
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 11:44:07 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. pkg/api/pod/warnings.go

    		if v.PhotonPersistentDisk != nil {
    			warnings = append(warnings, fmt.Sprintf("%s: deprecated in v1.11, non-functional in v1.16+", fieldPath.Child("spec", "volumes").Index(i).Child("photonPersistentDisk")))
    		}
    		if v.GitRepo != nil {
    			warnings = append(warnings, fmt.Sprintf("%s: deprecated in v1.11", fieldPath.Child("spec", "volumes").Index(i).Child("gitRepo")))
    		}
    		if v.ScaleIO != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. pkg/api/service/warnings.go

    			warnings = append(warnings, getWarningsForIP(field.NewPath("spec").Child("clusterIPs").Index(i), clusterIP)...)
    		}
    	}
    
    	for i, externalIP := range service.Spec.ExternalIPs {
    		warnings = append(warnings, getWarningsForIP(field.NewPath("spec").Child("externalIPs").Index(i), externalIP)...)
    	}
    
    	if len(service.Spec.LoadBalancerIP) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 26 22:57:57 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	// also watchers that have had already its draining strategy set
    	// are no longer available (they were removed from the allWatchers and the valueWatchers maps)
    	if len(i.allWatchers) > 0 || len(i.valueWatchers) > 0 {
    		klog.Warningf("Terminating all watchers from cacher %v", groupResource)
    	}
    	for _, watchers := range i.allWatchers {
    		watchers.terminateAll(done)
    	}
    	for _, watchers := range i.valueWatchers {
    		watchers.terminateAll(done)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  8. manifests/helm-profiles/warning-edit.txt

    # WARNING: DO NOT EDIT, THIS FILE IS A COPY.
    # The original version of this file is located at /manifests/helm-profiles directory.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 22:30:06 UTC 2024
    - 218 bytes
    - Viewed (0)
  9. pkg/config/validation/validation.go

    				in.Action == security_beta.AuthorizationPolicy_DENY {
    				warning := fmt.Errorf("configured AuthorizationPolicy will deny all traffic " +
    					"to TCP ports under its scope due to the use of only HTTP attributes in a DENY rule; " +
    					"it is recommended to explicitly specify the port")
    				warnings = appendErrors(warnings, warning)
    
    			}
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  10. releasenotes/notes/validation-warning.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: networking
    issue:
      - 27179
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 07 14:09:26 UTC 2020
    - 253 bytes
    - Viewed (0)
Back to top