Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 127 for webhook (0.08 sec)

  1. tests/test_webhooks_security.py

    from typing_extensions import Annotated
    
    app = FastAPI()
    
    bearer_scheme = HTTPBearer()
    
    
    class Subscription(BaseModel):
        username: str
        monthly_fee: float
        start_date: datetime
    
    
    @app.webhooks.post("new-subscription")
    def new_subscription(
        body: Subscription, token: Annotated[str, Security(bearer_scheme)]
    ):
        """
        When a new user subscribes to your service we'll send you a POST request with this
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Oct 20 09:00:44 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/tag_test.go

    	"istio.io/istio/pkg/kube"
    )
    
    func TestTagList(t *testing.T) {
    	tcs := []struct {
    		name          string
    		webhooks      admitv1.MutatingWebhookConfigurationList
    		namespaces    corev1.NamespaceList
    		outputMatches []string
    		error         string
    	}{
    		{
    			name: "TestBasicTag",
    			webhooks: admitv1.MutatingWebhookConfigurationList{
    				Items: []admitv1.MutatingWebhookConfiguration{
    					{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py

    def test_get():
        response = client.get("/users/")
        assert response.status_code == 200, response.text
        assert response.json() == ["Rick", "Morty"]
    
    
    def test_dummy_webhook():
        # Just for coverage
        app.webhooks.routes[0].endpoint({})
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Oct 20 09:00:44 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. istioctl/pkg/checkinject/testdata/check-inject/rev-16-injector.yaml

        operator.istio.io/component: Pilot
        operator.istio.io/managed: Reconcile
        operator.istio.io/version: 1.16-alpha.91e471de3e8fc93ebb545cedf396ddbd550b996c
        release: istio
      name: istio-sidecar-injector-1-16
    webhooks:
      - admissionReviewVersions:
          - v1beta1
          - v1
        clientConfig:
          service:
            name: istiod-1-16
            namespace: istio-system
            path: /inject
            port: 443
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

            sendToGoogleChat(cardView, discloser);
        }
    
        protected void sendToSlack(final CardView cardView, final SMailPostingDiscloser discloser) {
            // https://api.slack.com/messaging/webhooks#posting_with_webhooks
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String slackWebhookUrls = fessConfig.getSlackWebhookUrls();
            if (StringUtil.isBlank(slackWebhookUrls)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. docs/en/docs/reference/fastapi.md

    You can import the `FastAPI` class directly from `fastapi`:
    
    ```python
    from fastapi import FastAPI
    ```
    
    ::: fastapi.FastAPI
        options:
            members:
                - openapi_version
                - webhooks
                - state
                - dependency_overrides
                - openapi
                - websocket
                - include_router
                - get
                - put
                - post
                - delete
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 701 bytes
    - Viewed (0)
  7. docs_src/openapi_webhooks/tutorial001.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Subscription(BaseModel):
        username: str
        monthly_fee: float
        start_date: datetime
    
    
    @app.webhooks.post("new-subscription")
    def new_subscription(body: Subscription):
        """
        When a new user subscribes to your service we'll send you a POST request with this
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Oct 20 09:00:44 UTC 2023
    - 550 bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/core/v1/generated.proto

      // GMSACredentialSpecName is the name of the GMSA credential spec to use.
      // +optional
      optional string gmsaCredentialSpecName = 1;
    
      // GMSACredentialSpec is where the GMSA admission webhook
      // (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the
      // GMSA credential spec named by the GMSACredentialSpecName field.
      // +optional
      optional string gmsaCredentialSpec = 2;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
  9. manifests/addons/dashboards/pilot.libsonnet

          ),
          panels.heatmap.bytes(
            'Push Size', queries.pushSize, |||
              Size of each xDS push.
            |||
          ),
        ]),
      ], panelHeight=10, startY=3)
      + grid.makeGrid([
        row.new('Webhooks')
        + row.withPanels([
          panels.timeSeries.simple(
            'Validation', queries.validateWebhook, |||
              Rate of XDS push operations, by type. This is incremented on a per-proxy basis.
            |||
          ),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. istioctl/pkg/checkinject/testdata/check-inject/never-match-injector.yaml

        istio.io/rev: default
        operator.istio.io/component: Pilot
        operator.istio.io/managed: Reconcile
        operator.istio.io/version: 1.15.1
        release: istio
      name: istio-sidecar-injector-deactivated
    webhooks:
      - admissionReviewVersions:
          - v1beta1
          - v1
        clientConfig:
          service:
            name: istiod
            namespace: istio-system
            path: /inject
            port: 443
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top