Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for injetar (0.06 sec)

  1. docs/pt/docs/tutorial/dependencies/index.md

    Com o Sistema de Injeção de Dependência, você também pode informar ao **FastAPI** que sua *função de operação de rota* também "depende" em algo a mais que deve ser executado antes de sua *função de operação de rota*, e o **FastAPI** se encarrega de executar e "injetar" os resultados.
    
    Outros termos comuns para essa mesma ideia de "injeção de dependência" são:
    
    * recursos
    * provedores
    * serviços
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. istioctl/pkg/injector/injector-list.go

    	needsRestart int
    }
    
    func Cmd(cliContext cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:     "injector",
    		Short:   "List sidecar injector and sidecar versions",
    		Long:    `List sidecar injector and sidecar versions`,
    		Example: `  istioctl experimental injector list`,
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 0 {
    				return fmt.Errorf("unknown subcommand %q", args[0])
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Oct 18 11:39:52 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. istioctl/pkg/injector/injector-list_test.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package injector
    
    import (
    	"context"
    	"fmt"
    	"testing"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    
    	"istio.io/api/annotation"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

            injector = new BridgeInjectorImpl(beanLocatorProvider, binder());
            bindScope(injector, containerProvider, SessionScoped.class, SessionScope.class);
            bindScope(injector, containerProvider, MojoExecutionScoped.class, MojoExecutionScope.class);
            injector.bindInstance(Injector.class, injector);
            bind(Injector.class).toInstance(injector);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

            Injector injector = Injector.create();
            injector.bindInstance(Injector.class, injector);
            injector.bindInstance(Context.class, new Context(userProperties, systemProperties));
            injector.bindImplicit(Providers.class);
            injector.discover(ProtoSession.class.getClassLoader());
            Session session = injector.getInstance(Session.class);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

        // Constructors
        // ----------------------------------------------------------------------
    
        @Inject
        PlexusXmlBeanConverter(final Injector injector) {
            typeConverterBindings = injector.getTypeConverterBindings();
        }
    
        // ----------------------------------------------------------------------
        // Public methods
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            model.setDependencyManagement( depMgmt );
    
            MavenProject project = new MavenProject( model, repositorySystem );
    
            TestModelDefaultsInjector injector = new TestModelDefaultsInjector();
    
            injector.injectDefaults( model );
    
            project.setArtifacts( project.createArtifacts( null ) );
    
            String key = ArtifactUtils.versionlessKey( groupId, artifactId );
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. istioctl/pkg/tag/generate_test.go

    		if err != nil {
    			t.Fatalf("could not parse webhook from generated YAML: %s", webhookYAML)
    		}
    		wh := whObject.(*admitv1.MutatingWebhookConfiguration)
    
    		// expect both namespace.sidecar-injector.istio.io and object.sidecar-injector.istio.io webhooks
    		if len(wh.Webhooks) != tc.numWebhooks {
    			t.Errorf("expected %d webhook(s) in MutatingWebhookConfiguration, found %d",
    				tc.numWebhooks, len(wh.Webhooks))
    		}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

    import org.apache.maven.cli.ExtensionConfigurationModule;
    import org.apache.maven.cli.internal.BootstrapCoreExtensionManager;
    import org.apache.maven.cli.logging.Slf4jLoggerManager;
    import org.apache.maven.di.Injector;
    import org.apache.maven.execution.DefaultMavenExecutionRequest;
    import org.apache.maven.execution.MavenExecutionRequest;
    import org.apache.maven.execution.MavenExecutionRequestPopulator;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/background-tasks.md

    - Quaisquer argumentos nomeados que devem ser passados ​​para a função de tarefa (`mensagem = "alguma notificação"`).
    
    ## Injeção de dependência
    
    Usar `BackgroundTasks` também funciona com o sistema de injeção de dependência, você pode declarar um parâmetro do tipo `BackgroundTasks` em vários níveis: em uma _função de operação de caminho_, em uma dependência (confiável), em uma subdependência, etc.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top