- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 168 for GetOptions (0.16 sec)
-
pkg/controlplane/reconcilers/endpointsadapter_test.go
client := fake.NewSimpleClientset(testCase.initialState...) epAdapter := NewEndpointsAdapter(client.CoreV1(), client.DiscoveryV1()) endpoints, err := epAdapter.Get(testCase.namespaceParam, testCase.nameParam, metav1.GetOptions{}) if !apiequality.Semantic.DeepEqual(testCase.expectedError, err) { t.Errorf("Expected error: %v, got: %v", testCase.expectedError, err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 15.4K bytes - Viewed (0) -
pkg/registry/apps/replicaset/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.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/customresourcedefinition.go
Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.CustomResourceDefinition, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.CustomResourceDefinitionList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 10:52:54 UTC 2024 - 12.1K bytes - Viewed (0) -
tests/integration/ambient/waypoint_test.go
client := t.Clusters().Default().GatewayAPI().GatewayV1beta1().GatewayClasses() check := func() error { gwc, _ := client.Get(context.Background(), constants.WaypointGatewayClassName, metav1.GetOptions{}) if gwc == nil { return fmt.Errorf("failed to find GatewayClass %v", constants.WaypointGatewayClassName) } cond := kstatus.GetCondition(gwc.Status.Conditions, string(k8s.GatewayClassConditionStatusAccepted))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 11.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/etcd.go
func (r *StatusREST) New() runtime.Object { return r.store.New() } // 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) { o, err := r.store.Get(ctx, name, options) if err != nil { return nil, err } return o, nil } // 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.4K bytes - Viewed (0) -
pkg/controller/replication/conversion.go
return c.ReplicationControllerInterface.UpdateStatus(ctx, rc, opts) }, rs) } func (c conversionClient) Get(ctx context.Context, name string, options metav1.GetOptions) (*apps.ReplicaSet, error) { rc, err := c.ReplicationControllerInterface.Get(ctx, name, options) if err != nil { return nil, err } return convertRCtoRS(rc, nil) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 14 18:43:33 UTC 2022 - 12.7K bytes - Viewed (0) -
platforms/jvm/scala/src/main/java/org/gradle/api/plugins/scala/ScalaBasePlugin.java
JvmPluginsHelper.compileAgainstJavaOutputs(scalaCompile, sourceSet, objectFactory); JvmPluginsHelper.configureAnnotationProcessorPath(sourceSet, scalaSource, scalaCompile.getOptions(), project); scalaCompile.setDescription("Compiles the " + scalaSource + "."); scalaCompile.setSource(scalaSource); scalaCompile.getJavaLauncher().convention(getJavaLauncher(project));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 10:39:12 UTC 2024 - 19.1K bytes - Viewed (0) -
security/pkg/pki/ca/selfsignedcarootcertrotator_test.go
rotator0.checkAndRotateRootCert() caSecret, err := client0.Secrets(rotator0.config.caStorageNamespace).Get(context.TODO(), rotator0.config.secretName, metav1.GetOptions{}) if !errors.IsNotFound(err) || caSecret != nil { t.Errorf("CA secret should not exist, but get %v: %v", caSecret, err) } } type rootCertItem struct { caSecret *v1.Secret
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Oct 11 23:33:41 UTC 2023 - 14.1K bytes - Viewed (0) -
pkg/registry/core/pod/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: Mon Mar 20 14:29:25 UTC 2023 - 13.7K bytes - Viewed (0) -
tests/integration/security/sds_ingress/util/util.go
} } // Check if Kubernetes secret is ready return retry.UntilSuccess(func() error { _, err := c.Kube().CoreV1().Secrets(ns).Get(context.TODO(), credName, metav1.GetOptions{}) if err != nil { return fmt.Errorf("secret %v not found: %v", credName, err) } return nil }, retry.Timeout(time.Second*5)) }) } if err := wg.Wait().ErrorOrNil(); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jul 25 05:12:36 UTC 2023 - 20.2K bytes - Viewed (0)