- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 27 for injectLabel (0.2 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/InjectUtil.java
import java.util.List; class InjectUtil { /** * Selects the single injectable constructor for the given type. * The type must either have only one public or package-private default constructor, * or it should have a single constructor annotated with {@literal @}{@link Inject}. * * @param type the type to find the injectable constructor of.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.3K bytes - Viewed (0) -
pkg/proxy/util/nfacct/nfacct.go
limitations under the License. */ package nfacct // Counter represents a nfacct accounting object. type Counter struct { Name string Packets uint64 Bytes uint64 } // Interface is an injectable interface for running nfacct commands. type Interface interface { // Ensure checks the existence of a nfacct counter with the provided name and creates it if absent. Ensure(name string) error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 06:47:50 UTC 2024 - 1.2K bytes - Viewed (0) -
maven-di/src/main/java/org/apache/maven/di/impl/ReflectionUtils.java
} catch (IllegalAccessException e) { throw new DIException("Not allowed to call injectable method " + method, e); } catch (InvocationTargetException e) { throw new DIException("Failed to call injectable method " + method, e.getCause()); } }; } }; }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Feb 09 17:13:31 UTC 2024 - 16K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginContainerTest.groovy
def "offers plugin management via injectable plugin type "() { when: def plugin = container.apply(CustomPluginWithInjection) then: container.hasPlugin(CustomPluginWithInjection) container.getPlugin(CustomPluginWithInjection) == plugin container.findPlugin(CustomPluginWithInjection) == plugin } def "id-based injectable plugins can be found by their id"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 21:54:27 UTC 2024 - 10.4K bytes - Viewed (0) -
pkg/proxy/ipvs/util/ipvs.go
See the License for the specific language governing permissions and limitations under the License. */ package ipvs import ( "net" "strconv" "strings" "time" ) // Interface is an injectable interface for running ipvs commands. Implementations must be goroutine-safe. type Interface interface { // Flush clears all virtual servers in system. return occurred error immediately. Flush() error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/core-configuration/flow-services/src/integTest/groovy/org/gradle/internal/flow/services/FlowScopeIntegrationTest.groovy
fails 'producer' then: failureCauseContains "Property 'text' cannot carry a dependency on task ':producer' as these are not yet supported." } def '#scriptTarget action can use injectable #simpleServiceTypeName'() { given: groovyFile scriptTarget.fileName, """ import org.gradle.api.flow.* class FlowActionInjectionPlugin implements Plugin<$targetType> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 15:01:34 UTC 2024 - 9.2K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/operationexecutor/operation_generator.go
return &operationGenerator{ recorder: recorder, } } // OperationGenerator interface that extracts out the functions from operation_executor to make it dependency injectable type OperationGenerator interface { // Generates the RegisterPlugin function needed to perform the registration of a plugin GenerateRegisterPluginFunc( socketPath string, timestamp time.Time,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 16 14:21:15 UTC 2024 - 7.1K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject_test.go
Name: "istio-sidecar-injector-deactivated", Revision: "default", Reason: "The injection webhook is deactivated, and will never match labels.", }, }, }, { name: "pod not injectable for ns rev", pod: podTestObject("test1", "test1", "false", ""), ns: nsTestObject("test1", "", "1-16"), expectedMessages: []webhookAnalysis{ { Name: "istio-sidecar-injector",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 10.6K bytes - Viewed (0) -
docs/zh/docs/tutorial/dependencies/index.md
通过依赖注入系统,只要告诉 **FastAPI** *路径操作函数* 还要「依赖」其他在*路径操作函数*之前执行的内容,**FastAPI** 就会执行函数代码,并「注入」函数返回的结果。 其他与「依赖注入」概念相同的术语为: * 资源(Resource) * 提供方(Provider) * 服务(Service) * 可注入(Injectable) * 组件(Component) ## **FastAPI** 插件 **依赖注入**系统支持构建集成和「插件」。但实际上,FastAPI 根本**不需要创建「插件」**,因为使用依赖项可以声明不限数量的、可用于*路径操作函数*的集成与交互。 创建依赖项非常简单、直观,并且还支持导入 Python 包。毫不夸张地说,只要几行代码就可以把需要的 Python 包与 API 函数集成在一起。
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Jun 24 14:47:15 UTC 2023 - 7K bytes - Viewed (0) -
pkg/kube/inject/webhook_test.go
byteParts := make([][]byte, 0) for _, stringPart := range stringParts { byteParts = append(byteParts, getInjectableYamlDocs(stringPart, t)...) } if len(byteParts) == 0 { t.Fatalf("Found no injectable parts") } return byteParts } func getInjectableYamlDocs(yamlDoc string, t *testing.T) [][]byte { t.Helper() m := make(map[string]any) if err := yaml.Unmarshal([]byte(yamlDoc), &m); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 39K bytes - Viewed (1)