Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 422 for idplugin (0.29 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/internal/plugins/ApplyPluginBuildOperationIntegrationTest.groovy

            def op = ops.first()
            op.details.pluginClass == "MyPlugin"
            op.details.buildPath == ":"
            op.details.targetPath == null
        }
    
        def "captures setting plugin"() {
            when:
            settingsFile << """
                class MyPlugin implements Plugin {
                    void apply(t) {}
                }
    
                apply plugin: MyPlugin
            """
    
            succeeds("help")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:36 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingModelsWithDependencyResolutionIntegrationTest.groovy

                include("c")
            """
            file("a/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
            file("b/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
            file("c/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
    
            when:
            executer.withArguments(ENABLE_CLI)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. pkg/volume/fc/fc.go

    	return mapper, nil
    }
    
    func (plugin *fcPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	// Inject real implementations here, test through the internal function.
    	return plugin.newUnmounterInternal(volName, podUID, &fcUtil{}, plugin.host.GetMounter(plugin.GetPluginName()), plugin.host.GetExec(plugin.GetPluginName()))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/internal/transform/NestedModelRuleDslDetectionIntegrationTest.groovy

        def getSomeProp() {
            return this
        }
        def conf(Closure cl) {
            cl.delegate = this
            cl.call()
        }
    }
    
    class MyPlugin extends RuleSource {
        @Model
        UnmanagedThing thing() { return new UnmanagedThing() }
    }
    apply plugin: MyPlugin
    
    model {
        thing {
            conf {
                println "outer 1"
            }
            someProp.conf {
                println "outer 2"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/idea/model/IdeaModuleTest.groovy

            project.getPlugins().apply(IdeaPlugin)
            def iml = Mock(IdeaModuleIml)
            def module = TestUtil.newInstance(IdeaModule, moduleProject, iml)
            expect:
            module.languageLevel == null
        }
    
        def "language level is null if matching calculated idea project language level"() {
            given:
            project.getPlugins().apply(IdeaPlugin)
            project.getPlugins().apply(JavaPlugin)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/internal/transform/ModelDslRuleInputDetectionIntegrationSpec.groovy

            when:
            buildScript """
                class MyPlugin {
                  static class Rules extends RuleSource {
                    @Model
                    String foo() {
                      "foo"
                    }
                  }
                }
    
                apply type: MyPlugin
    
                model {
                  foo {
                    $code
                  }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testplugin/testdata/issue24351/plugin.go

    Austin Clements <******@****.***> 1683216807 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 261 bytes
    - Viewed (0)
  8. src/plugin/plugin.go

    package plugin
    
    // Plugin is a loaded Go plugin.
    type Plugin struct {
    	pluginpath string
    	err        string        // set if plugin failed to load
    	loaded     chan struct{} // closed when loaded
    	syms       map[string]any
    }
    
    // Open opens a Go plugin.
    // If a path has already been opened, then the existing *[Plugin] is returned.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 19:46:10 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/interpodaffinity/plugin.go

    	"k8s.io/kubernetes/pkg/scheduler/framework/parallelize"
    	"k8s.io/kubernetes/pkg/scheduler/framework/plugins/names"
    	"k8s.io/kubernetes/pkg/scheduler/util"
    )
    
    // Name is the name of the plugin used in the plugin registry and configurations.
    const Name = names.InterPodAffinity
    
    var _ framework.PreFilterPlugin = &InterPodAffinity{}
    var _ framework.FilterPlugin = &InterPodAffinity{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 03:08:44 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/plugin.go

    		}
    
    		return plugin, nil
    	})
    }
    
    // Plugin is an implementation of admission.Interface.
    type Plugin struct {
    	*generic.Webhook
    }
    
    var _ admission.MutationInterface = &Plugin{}
    
    // NewMutatingWebhook returns a generic admission webhook plugin.
    func NewMutatingWebhook(configFile io.Reader) (*Plugin, error) {
    	handler := admission.NewHandler(admission.Connect, admission.Create, admission.Delete, admission.Update)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 20 15:11:00 UTC 2019
    - 2.1K bytes
    - Viewed (0)
Back to top