- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 90 for nopod (0.04 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/cmd/compile/internal/types2/errors_test.go
if got := err.msg(); got != want { t.Errorf("empty error: got %q, want %q", got, want) } want = "foo 42" err.addf(nopos, "foo %d", 42) if got := err.msg(); got != want { t.Errorf("simple error: got %q, want %q", got, want) } want = "foo 42\n\tbar 43" err.addf(nopos, "bar %d", 43) if got := err.msg(); got != want { t.Errorf("simple error: got %q, want %q", got, want) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 23 21:21:43 UTC 2024 - 979 bytes - Viewed (0) -
src/go/types/context_test.go
var nullaryP, nullaryQ, unaryP Type { // type nullaryP = func[P any]() tparam := NewTypeParam(NewTypeName(nopos, nil, "P", nil), &emptyInterface) nullaryP = NewSignatureType(nil, nil, []*TypeParam{tparam}, nil, nil, false) } { // type nullaryQ = func[Q any]() tparam := NewTypeParam(NewTypeName(nopos, nil, "Q", nil), &emptyInterface) nullaryQ = NewSignatureType(nil, nil, []*TypeParam{tparam}, nil, nil, false) } {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 2.4K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/DiagnosticToProblemListenerTest.groovy
diagnostic.source >> Mock(JavaFileObject) { name >> "SomeFile.java" } diagnostic.lineNumber | diagnostic.columnNumber | diagnostic.startPosition | diagnostic.endPosition >> Diagnostic.NOPOS when: diagnosticToProblemListener.buildProblem(diagnostic, spec) then: 1 * spec.fileLocation("SomeFile.java") 0 * spec.lineInFileLocation(_)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 13:58:13 UTC 2024 - 6.2K bytes - Viewed (0)