Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for nopod (0.04 sec)

  1. pkg/api/pod/util_test.go

    		Spec: api.PodSpec{
    			Containers:          []api.Container{{}},
    			InitContainers:      []api.Container{{}},
    			EphemeralContainers: []api.EphemeralContainer{{}},
    		},
    	}
    
    	var noPod *api.Pod
    
    	testcases := []struct {
    		description string
    		enabled     bool
    		oldPod      *api.Pod
    		newPod      *api.Pod
    		wantPod     *api.Pod
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  2. plugin/pkg/admission/noderestriction/admission_test.go

    			err:        "not bound to a pod",
    		},
    		{
    			name:       "forbid create of token bound to nonexistant pod",
    			podsGetter: noExistingPods,
    			attributes: admission.NewAttributesRecord(makeTokenRequest("nopod", "someuid"), nil, tokenrequestKind, "ns", "mysa", svcacctResource, "token", admission.Create, &metav1.CreateOptions{}, false, mynode),
    			err:        "not found",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 73.2K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/mod/not-rsc.io_quote_v0.1.0-nomod.txt

    Constructed by hand.
    (derived from rsc.io/quote@e7a685a342, but without an explicit go.mod file.)
    
    -- .mod --
    module "not-rsc.io/quote"
    -- .info --
    {"Version":"v0.1.0-nomod","Time":"2018-02-14T00:51:33Z"}
    -- quote.go --
    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package quote collects pithy sayings.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 24 17:40:35 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_overlay.txt

    {
    	"Replace": {
    		"nomod/go.mod": "../../../overlay/carve-nomod-go-mod"
    	}
    }
    -- carve/overlay_uncarve_module.json --
    {
    	"Replace": {
    		"hasmod/go.mod": ""
    	}
    }
    -- carve/hasmod/a.go --
    package hasmod
    -- carve/hasmod/go.mod --
    module carve/hasmod
    -- carve/nomod/b.go --
    package nomod
    -- $WORK/overlay/carve-nomod-go-mod --
    module carve/nomod
    -- carve2/go.mod --
    module carve2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 7.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/object_test.go

    	}
    
    	// various other types
    	pkg := NewPackage("p", "p")
    	t1 := NewTypeName(nopos, pkg, "t1", nil)
    	n1 := NewNamed(t1, new(Struct), nil)
    	t5 := NewTypeName(nopos, pkg, "t5", nil)
    	NewTypeParam(t5, nil)
    	for _, test := range []struct {
    		name  *TypeName
    		alias bool
    	}{
    		{NewTypeName(nopos, nil, "t0", nil), false}, // no type yet
    		{NewTypeName(nopos, pkg, "t0", nil), false}, // no type yet
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_replace.txt

    go mod download rsc.io/quote/v3
    go list -m -f '{{.Path}} {{.Version}} {{.Dir}} {{.GoMod}}{{with .Replace}} => {{.Path}} {{.Version}} {{.Dir}} {{.GoMod}}{{end}}' rsc.io/quote/v3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  7. src/go/types/object_test.go

    	}
    
    	// various other types
    	pkg := NewPackage("p", "p")
    	t1 := NewTypeName(nopos, pkg, "t1", nil)
    	n1 := NewNamed(t1, new(Struct), nil)
    	t5 := NewTypeName(nopos, pkg, "t5", nil)
    	NewTypeParam(t5, nil)
    	for _, test := range []struct {
    		name  *TypeName
    		alias bool
    	}{
    		{NewTypeName(nopos, nil, "t0", nil), false}, // no type yet
    		{NewTypeName(nopos, pkg, "t0", nil), false}, // no type yet
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/universe.go

    		recv := NewVar(nopos, nil, "", typ)
    		res := NewVar(nopos, nil, "", Typ[String])
    		sig := NewSignatureType(recv, nil, nil, nil, NewTuple(res), false)
    		err := NewFunc(nopos, nil, "Error", sig)
    
    		// interface{ Error() string }
    		ityp := &Interface{methods: []*Func{err}, complete: true}
    		computeInterfaceTypeSet(nil, nopos, ityp) // prevent races due to lazy computation of tset
    
    		typ.SetUnderlying(ityp)
    		def(obj)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. src/go/types/universe.go

    		recv := NewVar(nopos, nil, "", typ)
    		res := NewVar(nopos, nil, "", Typ[String])
    		sig := NewSignatureType(recv, nil, nil, nil, NewTuple(res), false)
    		err := NewFunc(nopos, nil, "Error", sig)
    
    		// interface{ Error() string }
    		ityp := &Interface{methods: []*Func{err}, complete: true}
    		computeInterfaceTypeSet(nil, nopos, ityp) // prevent races due to lazy computation of tset
    
    		typ.SetUnderlying(ityp)
    		def(obj)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. src/cmd/internal/src/xpos_test.go

    	var tab PosTable
    	if tab.Pos(NoXPos) != NoPos {
    		t.Errorf("failed to translate NoXPos to Pos using zero PosTable")
    	}
    }
    
    func TestConversion(t *testing.T) {
    	b1 := NewFileBase("b1", "b1")
    	b2 := NewFileBase("b2", "b2")
    	b3 := NewLinePragmaBase(MakePos(b1, 10, 0), "b3", "b3", 123, 0)
    
    	var tab PosTable
    	for _, want := range []Pos{
    		NoPos,
    		MakePos(nil, 0, 0), // same table entry as NoPos
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top