Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for injectLabel (0.27 sec)

  1. tests/integration/pilot/gw_topology_test.go

    			injectLabel := `sidecar.istio.io/inject: "true"`
    			if len(t.Settings().Revisions.Default()) > 0 {
    				injectLabel = fmt.Sprintf(`istio.io/rev: "%v"`, t.Settings().Revisions.Default())
    			}
    
    			templateParams := map[string]string{
    				"imagePullSecret": t.Settings().Image.PullSecret,
    				"injectLabel":     injectLabel,
    				"imagePullPolicy": t.Settings().Image.PullPolicy,
    			}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/InjectUtil.java

    final 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 non-private 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: Fri Sep 22 08:48:02 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. pkg/proxy/util/nfacct/handler.go

    package nfacct
    
    import (
    	"github.com/vishvananda/netlink/nl"
    	"github.com/vishvananda/netns"
    	"golang.org/x/sys/unix"
    )
    
    // handler is an injectable interface for creating netlink request.
    type handler interface {
    	newRequest(cmd int, flags uint16) request
    }
    
    // request is an injectable interface representing a netlink request.
    type request interface {
    	Serialize() []byte
    	AddData(data nl.NetlinkRequestData)
    	AddRawData(data []byte)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
Back to top