Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 828 for reinvoke (0.23 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/reinvocation.go

    package admission
    
    import "context"
    
    // newReinvocationHandler creates a handler that wraps the provided admission chain and reinvokes it
    // if needed according to re-invocation policy of the webhooks.
    func newReinvocationHandler(admissionChain Interface) Interface {
    	return &reinvoker{admissionChain}
    }
    
    type reinvoker struct {
    	admissionChain Interface
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 20 15:11:00 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/testing/helpers.go

    // called. It checks the admission output object and reports a test error if the admission handler
    // performs non-idempotent mutatations to the object.
    func WithReinvocationTesting(t *testing.T, admission admission.MutationInterface) admission.MutationInterface {
    	return &reinvoker{t, admission}
    }
    
    type reinvoker struct {
    	t         *testing.T
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/attributes.go

    }
    
    type reinvocationContext struct {
    	// isReinvoke is true when admission plugins are being reinvoked
    	isReinvoke bool
    	// reinvokeRequested is true when an admission plugin requested a re-invocation of the chain
    	reinvokeRequested bool
    	// values stores reinvoke context values per plugin.
    	values map[string]interface{}
    }
    
    func (rc *reinvocationContext) IsReinvoke() bool {
    	return rc.isReinvoke
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 07 17:53:14 UTC 2019
    - 6.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/testcase.go

    			},
    		},
    		// No need to test everything with the url case, since only the
    		// connection is different.
    		{
    			Name: "match & reinvoke if needed policy",
    			Webhooks: []registrationv1.MutatingWebhook{{
    				Name:                    "addLabel",
    				ClientConfig:            ccfgSVC("addLabel"),
    				Rules:                   matchEverythingRules,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 47.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go

    		reinvokeCtx.SetValue(PluginName, webhookReinvokeCtx)
    	}
    
    	if reinvokeCtx.IsReinvoke() && webhookReinvokeCtx.IsOutputChangedSinceLastWebhookInvocation(attr.GetObject()) {
    		// If the object has changed, we know the in-tree plugin re-invocations have mutated the object,
    		// and we need to reinvoke all eligible webhooks.
    		webhookReinvokeCtx.RequireReinvokingPreviouslyInvokedPlugins()
    	}
    	defer func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/reuse_git.txt

    ! stderr 'git( .*)* fetch'
    stdout '"Reuse": true'
    ! stdout '"(Dir|Info|GoMod|Zip)"'
    
    # reuse attempt with stale hash should reinvoke git, not report reuse
    cp tagtestsv022.json tagtestsv022badhash.json
    replace '57952' '56952XXX' tagtestsv022badhash.json
    go mod download -reuse=tagtestsv022badhash.json -x -json vcs-test.golang.org/git/tagtests.git@v0.2.2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 22:10:38 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/toolchain/select.go

    		if err == nil {
    			err = raceSafeCopy(srcUGoMod, srcGoMod)
    		}
    		if err != nil {
    			base.Fatalf("download %s: %v", gotoolchain, err)
    		}
    	}
    
    	// Reinvoke the go command.
    	execGoToolchain(gotoolchain, dir, filepath.Join(dir, "bin/go"))
    }
    
    func size(path string) int64 {
    	info, err := os.Stat(path)
    	if err != nil {
    		return -1
    	}
    	return info.Size()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/DefaultModelRegistryTest.groovy

            }
    
            then:
            noExceptionThrown()
    
            where:
            state << ModelNode.State.values() - ModelNode.State.Registered
        }
    
        def "requesting at state #state does not reinvoke actions"() {
            given:
            def events = []
            def uptoRole = ModelActionRole.values().findAll { it.ordinal() <= role.ordinal() }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 56K bytes
    - Viewed (0)
  9. src/go/build/build.go

    // about the requested package and all dependencies and then only reports about the requested package.
    // Then we reinvoke it for every dependency. But this is still better than not working at all.
    // See golang.org/issue/26504.
    func (ctxt *Context) importGo(p *Package, path, srcDir string, mode ImportMode) error {
    	// To invoke the go command,
    	// we must not being doing special things like AllowBinary or IgnoreVendor,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/kotlinDsl/containers-string-invoke/tests/string-invoke.sample.conf

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 30 bytes
    - Viewed (0)
Back to top