Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 103 for admin (0.15 sec)

  1. istioctl/pkg/authz/analyzer_test.go

    	tests := []struct {
    		name  string
    		input *envoy_admin.ListenersConfigDump_DynamicListener
    	}{
    		{
    			name: "Test2",
    			input: &envoy_admin.ListenersConfigDump_DynamicListener{
    				Name: "First_Listener",
    				ActiveState: &envoy_admin.ListenersConfigDump_DynamicListenerState{
    					VersionInfo: "version1.5",
    					Listener: &anypb.Any{
    						TypeUrl: "type.googleapis.com/envoy.admin.v3.ListenersConfigDump",
    					},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. docs/distributed/decom.sh

    export MC_HOST_myminio="http://minioadmin:minioadmin@localhost:9000/"
    
    ./mc admin user add myminio/ minio123 minio123
    ./mc admin user add myminio/ minio12345 minio12345
    
    ./mc admin policy create myminio/ rw ./docs/distributed/rw.json
    ./mc admin policy create myminio/ lake ./docs/distributed/rw.json
    
    ./mc admin policy attach myminio/ rw --user=minio123
    ./mc admin policy attach myminio/ lake --user=minio12345
    
    ./mc mb -l myminio/versioned
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. docs/distributed/decom-encrypted-sse-s3.sh

    pid=$!
    
    sleep 30
    
    ./mc admin user add myminio/ minio123 minio123
    ./mc admin user add myminio/ minio12345 minio12345
    
    ./mc admin policy create myminio/ rw ./docs/distributed/rw.json
    ./mc admin policy create myminio/ lake ./docs/distributed/rw.json
    
    ./mc admin policy attach myminio/ rw --user=minio123
    ./mc admin policy attach myminio/ lake --user=minio12345
    
    ./mc mb -l myminio/versioned
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/bigger-applications.md

    ```
    
    That way, the original `APIRouter` will keep unmodified, so we can still share that same `app/internal/admin.py` file with other projects in the organization.
    
    The result is that in our app, each of the *path operations* from the `admin` module will have:
    
    * The prefix `/admin`.
    * The tag `admin`.
    * The dependency `get_token_header`.
    * The response `418`. 🍵
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  5. tests/test_jsonable_encoder.py

    
    class Unserializable:
        def __iter__(self):
            raise NotImplementedError()
    
        @property
        def __dict__(self):
            raise NotImplementedError()
    
    
    class RoleEnum(Enum):
        admin = "admin"
        normal = "normal"
    
    
    class ModelWithConfig(BaseModel):
        role: Optional[RoleEnum] = None
    
        if PYDANTIC_V2:
            model_config = {"use_enum_values": True}
        else:
    
            class Config:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 9K bytes
    - Viewed (0)
  6. .github/workflows/multipart/migrate.sh

    	exit 1
    fi
    
    # Add user group test
    ./mc admin user add site1 site-replication-issue-user site-replication-issue-password
    ./mc admin group add site1 site-replication-issue-group site-replication-issue-user
    
    max_wait_attempts=30
    wait_interval=5
    
    attempt=1
    while true; do
    	diff <(./mc admin group info site1 site-replication-issue-group) <(./mc admin group info site2 site-replication-issue-group)
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 15:54:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. manifests/charts/istio-cni/templates/daemonset.yaml

                # privileged is redundant with CAP_SYS_ADMIN
                # since it's redundant, hardcode it to `true`, then manually drop ALL + readd granular
                # capabilities we actually require
                capabilities:
                  drop:
                  - ALL
                  add:
                  # CAP_NET_ADMIN is required to allow ipset and route table access
                  - NET_ADMIN
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  8. cmd/sts-handlers_test.go

    `{"consoleAdmin":{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Action":["admin:*"]},{"Effect":"Allow","Action":["kms:*"]},{"Effect":"Allow","Action":["s3:*"],"Resource":["arn:aws:s3:::*"]}]},"diagnostics":{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Action":["admin:Prometheus","admin:Profiling","admin:ServerTrace","admin:ConsoleLog","admin:ServerInfo","admin:TopLocksInfo","admin:OBDInfo","admin:BandwidthMonitor"],"Resource":["arn:aws:s3:::*"]}]},"readonly":{"Version":"2012-10...
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/bigger-applications.md

    ```Python hl_lines="14-17" title="app/main.py"
    {!../../../docs_src/bigger_applications/app/main.py!}
    ```
    
    这样,原始的 `APIRouter` 将保持不变,因此我们仍然可以与组织中的其他项目共享相同的 `app/internal/admin.py` 文件。
    
    结果是在我们的应用程序中,来自 `admin` 模块的每个*路径操作*都将具有:
    
    * `/admin` 前缀 。
    * `admin` 标签。
    * `get_token_header` 依赖项。
    * `418` 响应。 🍵
    
    但这只会影响我们应用中的 `APIRouter`,而不会影响使用它的任何其他代码。
    
    因此,举例来说,其他项目能够以不同的身份认证方法使用相同的 `APIRouter`。
    
    ### 包含一个*路径操作*
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_bigger_applications/test_main_an.py

    
    def test_admin(client: TestClient):
        response = client.post(
            "/admin/?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Admin getting schwifty"}
    
    
    def test_admin_invalid_header(client: TestClient):
        response = client.post("/admin/", headers={"X-Token": "invalid"})
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 24.6K bytes
    - Viewed (0)
Back to top