- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 395 for GetOptions (0.3 sec)
-
pkg/registry/registrytest/endpoint.go
return &api.Endpoints{} } func (e *EndpointRegistry) NewList() runtime.Object { return &api.EndpointsList{} } func (e *EndpointRegistry) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error) { // TODO: support namespaces in this mock e.lock.Lock() defer e.lock.Unlock() if e.Err != nil { return nil, e.Err } if e.Endpoints != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 16:50:16 UTC 2019 - 4K bytes - Viewed (0) -
pkg/registry/core/service/storage/storage.go
// we don't destroy it here explicitly. } // Get retrieves the object from the storage. It is required to support Patch. func (r *StatusREST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error) { return r.store.Get(ctx, name, options) } // Update alters the status subset of an object.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 13:09:33 UTC 2024 - 22.3K bytes - Viewed (1) -
staging/src/k8s.io/apiserver/pkg/storage/interfaces.go
// Deprecated: Added temporarily to simplify exposing RequestProgress for watch cache. RequestWatchProgress(ctx context.Context) error } // GetOptions provides the options that may be provided for storage get operations. type GetOptions struct { // IgnoreNotFound determines what is returned if the requested object is not found. If // true, a zero object is returned. If false, an error is returned.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 07:53:48 UTC 2024 - 14.8K bytes - Viewed (0) -
cni/pkg/plugin/plugin.go
pod, err := client.CoreV1().Pods(podNamespace).Get(context.Background(), podName, metav1.GetOptions{}) if err != nil { return false, err } ns, err := client.CoreV1().Namespaces().Get(context.Background(), podNamespace, metav1.GetOptions{}) if err != nil { return false, err } return util.PodRedirectionEnabled(ns, pod), nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 16:26:35 UTC 2024 - 10.7K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/postupgrade.go
var missingCoreDNSConfigMap bool if _, err := client.CoreV1().ConfigMaps(metav1.NamespaceSystem).Get( context.TODO(), kubeadmconstants.CoreDNSConfigMap, metav1.GetOptions{}, ); err != nil && apierrors.IsNotFound(err) { missingCoreDNSConfigMap = true } if missingCoreDNSConfigMap { klog.Warningf("the ConfigMaps %q in the namespace %q were not found. "+
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 11.3K bytes - Viewed (0) -
pkg/registry/apps/statefulset/storage/storage.go
// we don't destroy it here explicitly. } // Get retrieves the object from the storage. It is required to support Patch. func (r *StatusREST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error) { return r.store.Get(ctx, name, options) } // Update alters the status subset of an object.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 12.7K bytes - Viewed (0) -
pkg/controller/garbagecollector/operations.go
return nil, namespacedOwnerOfClusterScopedObjectErr } return gc.metadataClient.Resource(resource).Namespace(namespace).Get(context.TODO(), item.Name, metav1.GetOptions{}) } func (gc *GarbageCollector) patchObject(item objectReference, patch []byte, pt types.PatchType) (*metav1.PartialObjectMetadata, error) { resource, namespaced, err := gc.apiResource(item.APIVersion, item.Kind)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 13:37:56 UTC 2023 - 4.9K bytes - Viewed (0) -
pkg/registry/core/rest/storage_core_generic.go
return notFoundGetter{gr: gr} } type notFoundGetter struct { gr schema.GroupResource } func (g notFoundGetter) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error) { return nil, errors.NewNotFound(g.gr, name)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 21:15:10 UTC 2023 - 6K bytes - Viewed (0) -
pkg/registry/resource/podschedulingcontext/storage/storage_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 5.7K bytes - Viewed (0) -
pkg/volume/flexvolume/util.go
} if spec.PersistentVolume != nil && spec.PersistentVolume.Spec.FlexVolume != nil { // ReadOnly is specified at the PV level return spec.ReadOnly, nil } return false, errNotFlexVolume } func getOptions(spec *volume.Spec) (map[string]string, error) { if spec.Volume != nil && spec.Volume.FlexVolume != nil { return spec.Volume.FlexVolume.Options, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 14 13:58:56 UTC 2021 - 4.8K bytes - Viewed (0)