Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 96 for reasons (0.25 sec)

  1. src/net/http/server.go

    			var reason string
    			if re, ok := err.(tls.RecordHeaderError); ok && re.Conn != nil && tlsRecordHeaderLooksLikeHTTP(re.RecordHeader) {
    				io.WriteString(re.Conn, "HTTP/1.0 400 Bad Request\r\n\r\nClient sent an HTTP request to an HTTPS server.\n")
    				re.Conn.Close()
    				reason = "client sent an HTTP request to an HTTPS server"
    			} else {
    				reason = err.Error()
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/load/pkg.go

    //
    // This information can be retrieved using debug.ReadBuildInfo.
    //
    // Note that the GoVersion field is not set here to avoid encoding it twice.
    // It is stored separately in the binary, mostly for historical reasons.
    func (p *Package) setBuildInfo(ctx context.Context, autoVCS bool) {
    	setPkgErrorf := func(format string, args ...any) {
    		if p.Error == nil {
    			p.Error = &PackageError{Err: fmt.Errorf(format, args...)}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  3. pkg/controller/podautoscaler/horizontal_test.go

    var statusOk = []autoscalingv2.HorizontalPodAutoscalerCondition{
    	{Type: autoscalingv2.AbleToScale, Status: v1.ConditionTrue, Reason: "SucceededRescale"},
    	{Type: autoscalingv2.ScalingActive, Status: v1.ConditionTrue, Reason: "ValidMetricFound"},
    	{Type: autoscalingv2.ScalingLimited, Status: v1.ConditionFalse, Reason: "DesiredWithinRange"},
    }
    
    // statusOkWithOverrides returns the "ok" status with the given conditions as overridden
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_node_status_test.go

    							Status:             v1.ConditionFalse,
    							Reason:             "KubeletHasSufficientMemory",
    							Message:            "kubelet has sufficient memory available",
    							LastHeartbeatTime:  metav1.Time{},
    							LastTransitionTime: metav1.Time{},
    						},
    						{
    							Type:               v1.NodeDiskPressure,
    							Status:             v1.ConditionFalse,
    							Reason:             "KubeletHasNoDiskPressure",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  5. pkg/printers/internalversion/printers.go

    				reason = container.State.Waiting.Reason
    			} else if container.State.Terminated != nil && container.State.Terminated.Reason != "" {
    				reason = container.State.Terminated.Reason
    			} else if container.State.Terminated != nil && container.State.Terminated.Reason == "" {
    				if container.State.Terminated.Signal != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  6. src/cmd/go/alldocs.go

    // for public packages and only falls back to version control for private
    // packages or when the mirror refuses to serve a public package (typically for
    // legal reasons). Therefore, clients can still access public code served from
    // Bazaar, Fossil, or Subversion repositories by default, because those downloads
    // use the Go module mirror, which takes on the security risk of running the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  7. pkg/printers/internalversion/printers_test.go

    					FieldPath: "spec.containers{foo}",
    				},
    				Reason:     "Event Reason",
    				Message:    "Message Data",
    				EventTime:  metav1.MicroTime{Time: time.Now().UTC().AddDate(0, 0, -3)},
    				Count:      1,
    				Type:       api.EventTypeWarning,
    				ObjectMeta: metav1.ObjectMeta{Name: "event5"},
    			},
    			options: printers.GenerateOptions{Wide: true},
    			// Columns: Last Seen, Type, Reason, Object, Subobject, Message, First Seen, Count, Name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_pods.go

    			s.Phase = pod.Status.Phase
    		}
    	}
    
    	if s.Phase == oldPodStatus.Phase {
    		// preserve the reason and message which is associated with the phase
    		s.Reason = oldPodStatus.Reason
    		s.Message = oldPodStatus.Message
    		if len(s.Reason) == 0 {
    			s.Reason = pod.Status.Reason
    		}
    		if len(s.Message) == 0 {
    			s.Message = pod.Status.Message
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  9. pkg/controller/job/job_controller_test.go

    			}
    		})
    	}
    }
    
    func getCondition(job *batch.Job, condition batch.JobConditionType, status v1.ConditionStatus, reason string) bool {
    	for _, v := range job.Status.Conditions {
    		if v.Type == condition && v.Status == status && v.Reason == reason {
    			return true
    		}
    	}
    	return false
    }
    
    func hasTrueCondition(job *batch.Job) *batch.JobConditionType {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_pods_test.go

    func waitingState(cName string) v1.ContainerStatus {
    	return waitingStateWithReason(cName, "")
    }
    func waitingStateWithReason(cName, reason string) v1.ContainerStatus {
    	return v1.ContainerStatus{
    		Name: cName,
    		State: v1.ContainerState{
    			Waiting: &v1.ContainerStateWaiting{Reason: reason},
    		},
    	}
    }
    func waitingStateWithLastTermination(cName string) v1.ContainerStatus {
    	return v1.ContainerStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
Back to top