- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 320 for createActions (0.38 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/chain_test.go
options runtime.Object chain chainAdmissionHandler accept bool calls map[string]bool }{ { name: "all accept", ns: sysns, operation: Create, options: &metav1.CreateOptions{}, chain: []Interface{ makeHandler("a", true, Update, Delete, Create), makeHandler("b", true, Delete, Create), makeHandler("c", true, Create), },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 20 15:11:00 UTC 2019 - 5.4K bytes - Viewed (0) -
pkg/monitoring/monitoring.go
func NewSum(name, description string, opts ...Options) Metric { knownMetrics.register(MetricDefinition{ Name: name, Type: "Sum", Description: description, }) o, dm := createOptions(name, description, opts...) if dm != nil { return dm } return newCounter(o) } // NewGauge creates a new Gauge Metric. That means that data collected by the new
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 24 03:31:28 UTC 2023 - 9.5K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_pod_control_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 35.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go
var resourceVersionCounter int var mutex sync.Mutex return func(action cgotesting.Action) (handled bool, ret apiruntime.Object, err error) { createAction, ok := action.(cgotesting.CreateAction) if !ok { return false, nil, nil } obj, ok := createAction.GetObject().(metav1.Object) if !ok { return false, nil, nil } mutex.Lock() defer mutex.Unlock() switch action.GetVerb() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 07:57:10 UTC 2024 - 61.9K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/CommandLineActionCreator.java
* * @return {@code null} if this creator does not know how to create an action from the given command-line args */ @Nullable Action<? super ExecutionListener> createAction(CommandLineParser parser, ParsedCommandLine commandLine);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 1.4K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
case *v1alpha3.Gateway: client.Istio().NetworkingV1alpha3().Gateways(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{}) case *v1alpha3.VirtualService: client.Istio().NetworkingV1alpha3().VirtualServices(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{}) } } for i := range c.k8sConfigs {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 09:54:01 UTC 2024 - 30.4K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/volume_binding_test.go
client.StorageV1().StorageClasses().Create(ctx, immediateSC, metav1.CreateOptions{}) client.StorageV1().StorageClasses().Create(ctx, waitSC, metav1.CreateOptions{}) client.StorageV1().StorageClasses().Create(ctx, waitHDDSC, metav1.CreateOptions{}) for _, node := range item.nodes { client.CoreV1().Nodes().Create(ctx, node, metav1.CreateOptions{}) } for _, pvc := range item.pvcs {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 32K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/configuration/validating_webhook_manager_test.go
Webhooks: []v1.ValidatingWebhook{{Name: "webhook1.1"}}, } client. AdmissionregistrationV1(). ValidatingWebhookConfigurations(). Create(context.TODO(), webhookConfiguration, metav1.CreateOptions{}) // Wait up to 10s for the notification to be delivered. // (on my system this takes < 2ms) startTime := time.Now() configurations := manager.Webhooks() for len(configurations) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 12 15:20:14 UTC 2023 - 9K bytes - Viewed (0) -
pkg/webhooks/validation/controller/controller.go
constants.AlwaysReject: "true", }, }, Spec: networking.Gateway{}, } createOptions := metav1.CreateOptions{DryRun: []string{metav1.DryRunAll}} istioClient := c.client.Istio().NetworkingV1alpha3() _, err := istioClient.Gateways(c.o.WatchedNamespace).Create(context.TODO(), invalidGateway, createOptions) if kerrors.IsAlreadyExists(err) { updateOptions := metav1.UpdateOptions{DryRun: []string{metav1.DryRunAll}}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 28 16:52:19 UTC 2024 - 11.3K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/helper.go
return m.CreateWithOptions(namespace, modify, obj, nil) } func (m *Helper) CreateWithOptions(namespace string, modify bool, obj runtime.Object, options *metav1.CreateOptions) (runtime.Object, error) { if options == nil { options = &metav1.CreateOptions{} } if m.ServerDryRun { options.DryRun = []string{metav1.DryRunAll} } if m.FieldManager != "" { options.FieldManager = m.FieldManager }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 26 03:45:13 UTC 2022 - 10.5K bytes - Viewed (0)