- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,128 for Obj (0.07 sec)
-
pkg/registry/storage/csistoragecapacity/strategy.go
return true } // PrepareForCreate is currently a NOP. func (csiStorageCapacityStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object) { } func (csiStorageCapacityStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList { csiStorageCapacity := obj.(*storage.CSIStorageCapacity) opts := validation.CSIStorageCapacityValidateOptions{ AllowInvalidLabelValueInSelector: false, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 03 08:41:09 UTC 2023 - 3.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/defaults.go
func SetListOptionsDefaults(obj *ListOptions, isWatchListFeatureEnabled bool) { if !isWatchListFeatureEnabled { return } if obj.SendInitialEvents != nil || len(obj.ResourceVersionMatch) != 0 { return } legacy := obj.ResourceVersion == "" || obj.ResourceVersion == "0" if obj.Watch && legacy { turnOnInitialEvents := true obj.SendInitialEvents = &turnOnInitialEvents
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 01 10:00:32 UTC 2023 - 1.4K bytes - Viewed (0) -
src/cmd/internal/obj/x86/seh.go
symname := fmt.Sprintf("%d.%s", len(buf.data), hash) return ctxt.LookupInit("go:sehuw."+symname, func(s *obj.LSym) { s.WriteBytes(ctxt, 0, buf.data) s.Type = objabi.SSEHUNWINDINFO s.Set(obj.AttrDuplicateOK, true) s.Set(obj.AttrLocal, true) s.Set(obj.AttrContentAddressable, true) if exceptionHandler != nil { r := obj.Addrel(s) r.Off = int32(len(buf.data) - 4) r.Siz = 4 r.Sym = exceptionHandler
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 14:41:10 UTC 2024 - 4.6K bytes - Viewed (0) -
pkg/kubelet/nodeshutdown/systemd/inhibit_linux_test.go
} func (obj *fakeDBusObject) GetProperty(p string) (dbus.Variant, error) { value, ok := obj.properties[p] if !ok { return dbus.Variant{}, fmt.Errorf("property %q does not exist in properties: %+v", p, obj.properties) } return dbus.MakeVariant(value), nil } func (obj *fakeDBusObject) SetProperty(p string, v interface{}) error { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 29 19:50:06 UTC 2023 - 4.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/object_test.go
) func TestIsAlias(t *testing.T) { check := func(obj *TypeName, want bool) { if got := obj.IsAlias(); got != want { t.Errorf("%v: got IsAlias = %v; want %v", obj, got, want) } } // predeclared types check(Unsafe.Scope().Lookup("Pointer").(*TypeName), false) for _, name := range Universe.Names() { if obj, _ := Universe.Lookup(name).(*TypeName); obj != nil { check(obj, name == "any" || name == "byte" || name == "rune") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 5.2K bytes - Viewed (0) -
cmd/data-scanner_test.go
close(workers[0]) wg.Wait() for _, obj := range expired { switch obj.ObjectV.VersionID { case uuids[2].String(), uuids[3].String(), uuids[4].String(): default: t.Errorf("Unexpected versionID being expired: %#v\n", obj) } } } func TestEvalActionFromLifecycle(t *testing.T) { // Tests cover only ExpiredObjectDeleteAllVersions and DelMarkerExpiration actions obj := ObjectInfo{ Name: "foo",
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 03 11:18:58 UTC 2024 - 6.9K bytes - Viewed (0) -
pkg/registry/networking/ingress/strategy.go
ingress := obj.(*networking.Ingress) // create cannot set status ingress.Status = networking.IngressStatus{} ingress.Generation = 1 } // PrepareForUpdate clears fields that are not allowed to be set by end users on update. func (ingressStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) { newIngress := obj.(*networking.Ingress)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 01:42:41 UTC 2023 - 6.1K bytes - Viewed (0) -
src/cmd/compile/internal/s390x/ggen.go
pl := p p = pp.Append(p, s390x.AADD, obj.TYPE_CONST, 0, 256, obj.TYPE_REG, reg, 0) p = pp.Append(p, s390x.ABRCTG, obj.TYPE_REG, ireg, 0, obj.TYPE_BRANCH, 0, 0) p.To.SetTarget(pl) cnt = cnt % 256 } // Generate remaining clear instructions without a loop. for cnt > 0 { n := cnt // Can clear at most 256 bytes per instruction. if n > 256 { n = 256 } switch n {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 19 15:59:22 UTC 2022 - 2.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/helper.go
} return errors.NewAggregate(errs) } func decodeListItem(obj *Unknown, decoders []Decoder) (Object, error) { for _, decoder := range decoders { // TODO: Decode based on ContentType. obj, err := Decode(decoder, obj.Raw) if err != nil { if IsNotRegisteredError(err) { continue } return nil, err } return obj, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 13 22:54:34 UTC 2023 - 8.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/embedded.go
if in == nil { out.Raw = []byte("null") return nil } obj := *in if unk, ok := obj.(*Unknown); ok { if unk.Raw != nil { out.Raw = unk.Raw return nil } obj = out.Object } if obj == nil { out.Raw = nil return nil } out.Object = obj return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 02 09:39:03 UTC 2019 - 4.3K bytes - Viewed (0)