- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 57 for isDryRun (0.12 sec)
-
plugin/pkg/admission/namespace/autoprovision/admission.go
func (p *Provision) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error { // Don't create a namespace if the request is for a dry-run. if a.IsDryRun() { return nil } // if we're here, then we've already passed authentication, so we're allowed to do what we're trying to do
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Feb 08 17:30:21 UTC 2020 - 4.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/delete.go
wasDeleted := true userInfo, _ := request.UserFrom(ctx) staticAdmissionAttrs := admission.NewAttributesRecord(nil, nil, scope.Kind, namespace, name, scope.Resource, scope.Subresource, admission.Delete, options, dryrun.IsDryRun(options.DryRun), userInfo) result, err := finisher.FinishRequest(ctx, func() (runtime.Object, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 01 10:00:32 UTC 2023 - 11.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/request/admissionreview.go
Extra: make(map[string]authenticationv1.ExtraValue), Groups: aUserInfo.GetGroups(), UID: aUserInfo.GetUID(), Username: aUserInfo.GetName(), } dryRun := attr.IsDryRun() // Convert the extra information in the user object for key, val := range aUserInfo.GetExtra() { userInfo.Extra[key] = authenticationv1.ExtraValue(val) } return &admissionv1.AdmissionReview{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 16:56:12 UTC 2023 - 9.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/interfaces.go
GetOperationOptions() runtime.Object // IsDryRun indicates that modifications will definitely not be persisted for this request. This is to prevent // admission controllers with side effects and a method of reconciliation from being overwhelmed. // However, a value of false for this does not mean that the modification will be persisted, because it // could still be rejected by a subsequent validation step. IsDryRun() bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 28 14:03:18 UTC 2021 - 8K bytes - Viewed (0) -
callbacks/create.go
db.Statement.AddClauseIfNotExists(clause.Insert{}) db.Statement.AddClause(ConvertToCreateValues(db.Statement)) db.Statement.Build(db.Statement.BuildClauses...) } isDryRun := !db.DryRun && db.Error == nil if !isDryRun { return } ok, mode := hasReturning(db, supportReturning) if ok { if c, ok := db.Statement.Clauses["ON CONFLICT"]; ok {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Apr 08 03:29:55 UTC 2024 - 12.5K bytes - Viewed (0) -
pilot/pkg/security/authz/builder/builder.go
filters = append(filters, configs.tcp...) } return filters } type builtConfigs struct { http []*hcm.HttpFilter tcp []*listener.Filter } func (b Builder) isDryRun(policy model.AuthorizationPolicy) bool { dryRun := false if val, ok := policy.Annotations[annotation.IoIstioDryRun.Name]; ok { var err error dryRun, err = strconv.ParseBool(val) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 20 22:15:12 UTC 2023 - 12.6K bytes - Viewed (0) -
pkg/registry/certificates/certificates/storage/metrics.go
return func(ctx context.Context, success bool) { if !success { return // ignore failures } if dryrun.IsDryRun(options.DryRun) { return // ignore things that would not get persisted } oldCSR, ok := old.(*certificates.CertificateSigningRequest) if !ok { return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 18 21:41:43 UTC 2022 - 4.9K bytes - Viewed (0) -
cmd/kubeadm/app/phases/etcd/local_test.go
// Execute createStaticPodFunction manifestPath := filepath.Join(tmpdir, kubeadmconstants.ManifestsSubDirName) err := CreateLocalEtcdStaticPodManifestFile(manifestPath, "", "", test.cfg, &kubeadmapi.APIEndpoint{}, false /* IsDryRun */) if !test.expectedError { if err != nil { t.Errorf("CreateLocalEtcdStaticPodManifestFile failed when not expected: %v", err) } // Assert expected files are there
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 14:07:27 UTC 2024 - 15.2K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassExecutor.java
// Ignore return; } } } else if (allTestsFiltered(runner, filters)) { return; } if (spec.isDryRun()) { runner = new JUnitTestDryRunner(runner); } RunNotifier notifier = new RunNotifier(); notifier.addListener(listener); runner.run(notifier); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 7.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/attributes.go
return record.operation } func (record *attributesRecord) GetOperationOptions() runtime.Object { return record.options } func (record *attributesRecord) IsDryRun() bool { return record.dryRun } func (record *attributesRecord) GetObject() runtime.Object { return record.object } func (record *attributesRecord) GetOldObject() runtime.Object {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 07 17:53:14 UTC 2019 - 6.2K bytes - Viewed (0)