- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 369 for GetOptions (0.23 sec)
-
pkg/registry/admissionregistration/validatingadmissionpolicybinding/storage/storage.go
Getter rest.Getter } func (g *DefaultPolicyGetter) GetValidatingAdmissionPolicy(ctx context.Context, name string) (*admissionregistration.ValidatingAdmissionPolicy, error) { p, err := g.Getter.Get(ctx, name, &metav1.GetOptions{}) if err != nil { return nil, err } return p.(*admissionregistration.ValidatingAdmissionPolicy), err
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 10:11:16 UTC 2022 - 3.6K bytes - Viewed (0) -
operator/cmd/mesh/operator-common.go
func deploymentExists(cs kubernetes.Interface, namespace, name string) (bool, error) { d, err := cs.AppsV1().Deployments(namespace).Get(context.TODO(), name, metav1.GetOptions{}) if err != nil { return false, err } return d != nil, nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Dec 17 02:25:04 UTC 2022 - 3.8K bytes - Viewed (0) -
pkg/registry/resource/podschedulingcontext/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: Tue Mar 14 09:18:08 UTC 2023 - 4K bytes - Viewed (0) -
pkg/wasm/cache.go
const ( // oci URL prefix ociURLPrefix = "oci://" // sha256 scheme prefix sha256SchemePrefix = "sha256:" ) // Cache models a Wasm module cache. type Cache interface { Get(url string, opts GetOptions) (string, error) Cleanup() } // LocalFileCache for downloaded Wasm modules. Currently it stores the Wasm module as local file. type LocalFileCache struct { // Map from Wasm module checksum to cache entry.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 13.3K bytes - Viewed (0) -
tests/integration/pilot/webhook_test.go
whc, err := client.AdmissionregistrationV1().ValidatingWebhookConfigurations().Get(context.TODO(), name, metav1.GetOptions{}) if err != nil { return nil, fmt.Errorf("could not get validating webhook config %q: %v", name, err) } return whc, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 01 13:31:34 UTC 2023 - 4.7K bytes - Viewed (0) -
pkg/registry/scheduling/rest/storage_scheduling.go
return false, nil } for _, pc := range schedulingapiv1.SystemPriorityClasses() { _, err := schedClientSet.PriorityClasses().Get(context.TODO(), pc.Name, metav1.GetOptions{}) if err != nil { if apierrors.IsNotFound(err) { _, err := schedClientSet.PriorityClasses().Create(context.TODO(), pc, metav1.CreateOptions{}) if err == nil || apierrors.IsAlreadyExists(err) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 23 18:36:33 UTC 2022 - 4.7K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/internal/JavadocOptionFile.java
return duplicateOptions; } public OptionLessJavadocOptionFileOption<List<String>> getSourceNames() { return sourceNames; } public Map<String, JavadocOptionFileOptionInternal<?>> getOptions() { return Collections.unmodifiableMap(options); } public <T> JavadocOptionFileOption<T> addOption(JavadocOptionFileOptionInternal<T> option) { if (option == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 6K bytes - Viewed (0) -
pilot/pkg/bootstrap/sidecarinjector.go
} } else if s.kubeClient != nil { configMapName := getInjectorConfigMapName(args.Revision) cms := s.kubeClient.Kube().CoreV1().ConfigMaps(args.Namespace) if _, err := cms.Get(context.TODO(), configMapName, metav1.GetOptions{}); err != nil { if errors.IsNotFound(err) { log.Infof("Skipping sidecar injector, template not found") return nil, nil } return nil, err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 04 20:39:38 UTC 2024 - 4K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
if err := readWorkloadGroup(filename, wg); err != nil { return err } } else { wg, err = kubeClient.Istio().NetworkingV1alpha3().WorkloadGroups(namespace).Get(context.Background(), name, metav1.GetOptions{}) // errors if the requested workload group does not exist in the given namespace if err != nil { return fmt.Errorf("workloadgroup %s not found in namespace %s: %v", name, namespace, err) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 25.5K bytes - Viewed (0) -
pkg/registry/flowcontrol/flowschema/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: Sat May 13 15:11:04 UTC 2023 - 4.1K bytes - Viewed (0)