Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,118 for Warningf (0.22 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go

    		}
    
    		statusScopes[v.Name] = &statusScope
    
    		if v.Deprecated {
    			deprecated[v.Name] = true
    			if v.DeprecationWarning != nil {
    				warnings[v.Name] = append(warnings[v.Name], *v.DeprecationWarning)
    			} else {
    				warnings[v.Name] = append(warnings[v.Name], defaultDeprecationWarning(v.Name, crd.Spec))
    			}
    		}
    	}
    
    	ret := &crdInfo{
    		spec:                &crd.Spec,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  2. 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)
  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. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileProblemsIntegrationTest.groovy

            }
            verifyAll(receivedProblem(1)) {
                assertProblem(it, "WARNING", true)
                fqid == 'compilation:java:java-compilation-warning'
                details == 'redundant cast to java.lang.String'
            }
    
            result.error.contains("2 warnings\n")
        }
    
        def "problems are received when a multi-file warning happens"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 16:15:29 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top