Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GenerateBootstrap (0.13 sec)

  1. pkg/istio-agent/grpcxds/grpc_bootstrap.go

    }
    
    type GenerateBootstrapOptions struct {
    	Node             *model.Node
    	XdsUdsPath       string
    	DiscoveryAddress string
    	CertDir          string
    }
    
    // GenerateBootstrap generates the bootstrap structure for gRPC XDS integration.
    func GenerateBootstrap(opts GenerateBootstrapOptions) (*Bootstrap, error) {
    	xdsMeta, err := extractMeta(opts.Node)
    	if err != nil {
    		return nil, fmt.Errorf("failed extracting xds metadata: %v", err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 00:31:03 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/grpcgen/grpcgen_test.go

    	if namespace == "" {
    		namespace = "default"
    	}
    	if app == "" {
    		app = "app"
    	}
    	nodeID := "sidecar~" + ip + "~" + app + "." + namespace + "~" + namespace + ".svc.cluster.local"
    	bootstrap, err := grpcxds.GenerateBootstrap(grpcxds.GenerateBootstrapOptions{
    		Node: &model.Node{
    			ID: nodeID,
    			Metadata: &model.BootstrapNodeMetadata{
    				NodeMetadata: model.NodeMetadata{
    					Namespace: namespace,
    					Generator: "grpc",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:04:02 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top