Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for sec_model (0.36 sec)

  1. pilot/pkg/networking/core/cluster_tls.go

    			Sni:              tls.Sni,
    		}
    
    		tlsContext.CommonTlsContext.TlsCertificateSdsSecretConfigs = append(tlsContext.CommonTlsContext.TlsCertificateSdsSecretConfigs,
    			sec_model.ConstructSdsSecretConfig(sec_model.SDSDefaultResourceName))
    
    		tlsContext.CommonTlsContext.ValidationContextType = &tlsv3.CommonTlsContext_CombinedValidationContext{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. pilot/pkg/bootstrap/webhook.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package bootstrap
    
    import (
    	"crypto/tls"
    	"log"
    	"net/http"
    	"strings"
    
    	sec_model "istio.io/istio/pilot/pkg/security/model"
    	istiolog "istio.io/istio/pkg/log"
    )
    
    type httpServerErrorLogWriter struct{}
    
    // Webhook http.Server.ErrorLog handler specifically to filter
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 17:37:53 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. pilot/pkg/grpc/tls.go

    package grpc
    
    import (
    	"crypto/tls"
    	"crypto/x509"
    	"fmt"
    	"net"
    	"os"
    	"strings"
    
    	"google.golang.org/grpc"
    	"google.golang.org/grpc/credentials"
    
    	"istio.io/istio/pkg/log"
    	sec_model "istio.io/istio/pkg/model"
    	"istio.io/istio/security/pkg/pki/util"
    )
    
    // TLSOptions include TLS options that a grpc client uses to connect with server.
    type TLSOptions struct {
    	RootCert      string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 22:11:02 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_waypoint.go

    	wrappers "google.golang.org/protobuf/types/known/wrapperspb"
    
    	networking "istio.io/api/networking/v1alpha3"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/networking/util"
    	sec_model "istio.io/istio/pilot/pkg/security/model"
    	"istio.io/istio/pilot/pkg/util/protoconv"
    	"istio.io/istio/pilot/pkg/xds/endpoints"
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    	"istio.io/istio/pkg/config/host"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. pilot/pkg/bootstrap/server.go

    	istiogrpc "istio.io/istio/pilot/pkg/grpc"
    	"istio.io/istio/pilot/pkg/keycertbundle"
    	"istio.io/istio/pilot/pkg/leaderelection"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/networking/core"
    	sec_model "istio.io/istio/pilot/pkg/security/model"
    	"istio.io/istio/pilot/pkg/server"
    	"istio.io/istio/pilot/pkg/serviceregistry/aggregate"
    	"istio.io/istio/pilot/pkg/serviceregistry/provider"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  6. tests/test_datetime_custom_encoder.py

        app = FastAPI()
        model = ModelWithDatetimeField(dt_field=datetime(2019, 1, 1, 8))
    
        @app.get("/model", response_model=ModelWithDatetimeField)
        def get_model():
            return model
    
        client = TestClient(app)
        with client:
            response = client.get("/model")
        assert response.json() == {"dt_field": "2019-01-01T08:00:00+00:00"}
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. docs_src/path_params/tutorial005.py

    from fastapi import FastAPI
    
    
    class ModelName(str, Enum):
        alexnet = "alexnet"
        resnet = "resnet"
        lenet = "lenet"
    
    
    app = FastAPI()
    
    
    @app.get("/models/{model_name}")
    async def get_model(model_name: ModelName):
        if model_name is ModelName.alexnet:
            return {"model_name": model_name, "message": "Deep Learning FTW!"}
    
        if model_name.value == "lenet":
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Aug 26 13:26:03 UTC 2022
    - 546 bytes
    - Viewed (0)
  8. tensorflow/cc/experimental/libtf/tests/generate_testdata.py

    
    TEST_MODELS = {
        "simple-model": SimpleModel,
        "data-structure-model": DataStructureModel
    }
    
    
    def get_model(name):
      if name not in TEST_MODELS:
        raise ValueError("Model name '{}' not in TEST_MODELS")
      return TEST_MODELS[name]()
    
    
    def main(unused_argv):
    
      model = get_model(MODEL_NAME.value)
      path = os.path.join(TESTDATA_PATH.value, MODEL_NAME.value)
      saved_model.save(model, path)
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 15 16:58:38 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            model.setArtifactId(EMPTY_PROJECT_ARTIFACT_ID);
            model.setVersion(EMPTY_PROJECT_VERSION);
    
            setModel(model);
        }
    
        public MavenProject(org.apache.maven.api.model.Model model) {
            this(new Model(model));
        }
    
        public MavenProject(Model model) {
            setModel(model);
        }
    
        public MavenProject(MavenProject project) {
            deepCopy(project);
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 17:18:13 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                        result = new DefaultProjectBuildingResult(
                                e.getModelId(), interimResult.pomFile, convert(e.getProblems()));
                    } else {
                        project.setModel(new org.apache.maven.model.Model(interimResult.result.getEffectiveModel()));
                        result = new DefaultProjectBuildingResult(project, convert(e.getProblems()), null);
                    }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 16:34:29 UTC 2024
    - 57.1K bytes
    - Viewed (0)
Back to top