Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for goerrors (0.32 sec)

  1. pkg/volume/util/operationexecutor/operation_generator.go

    limitations under the License.
    */
    
    package operationexecutor
    
    import (
    	"context"
    	goerrors "errors"
    	"fmt"
    	"os"
    	"path/filepath"
    	"strings"
    	"time"
    
    	"k8s.io/apimachinery/pkg/api/resource"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods.go

    */
    
    package kubelet
    
    import (
    	"bytes"
    	"context"
    	goerrors "errors"
    	"fmt"
    	"io"
    	"net/http"
    	"net/url"
    	"os"
    	"os/exec"
    	"os/user"
    	"path/filepath"
    	"runtime"
    	"sort"
    	"strconv"
    	"strings"
    
    	"github.com/google/go-cmp/cmp"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/labels"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  3. pkg/config/validation/validation_test.go

    }
    
    func checkValidationMessage(t *testing.T, gotWarning Warning, gotError error, wantWarning string, wantError string) {
    	t.Helper()
    	if (gotError == nil) != (wantError == "") {
    		t.Fatalf("got err=%v but wanted err=%v", gotError, wantError)
    	}
    	if !strings.Contains(stringOrEmpty(gotError), wantError) {
    		t.Fatalf("got err=%v but wanted err=%v", gotError, wantError)
    	}
    
    	if (gotWarning == nil) != (wantWarning == "") {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  4. pkg/scheduler/schedule_one_test.go

    	client := clientsetfake.NewSimpleClientset(&testNode)
    	eventBroadcaster := events.NewBroadcaster(&events.EventSinkImpl{Interface: client.EventsV1()})
    	errS := errors.New("scheduler")
    	errB := errors.New("binder")
    	preBindErr := errors.New("on PreBind")
    
    	table := []struct {
    		name                string
    		injectBindError     error
    		sendPod             *v1.Pod
    		registerPluginFuncs []tf.RegisterPluginFunc
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func ClearCommError(handle Handle, lpErrors *uint32, lpStat *ComStat) (err error) {
    	r1, _, e1 := syscall.Syscall(procClearCommError.Addr(), 3, uintptr(handle), uintptr(unsafe.Pointer(lpErrors)), uintptr(unsafe.Pointer(lpStat)))
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
Back to top