Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getOrCreateIstioMetadata (0.2 sec)

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

    	// discovery type.
    	maybeApplyEdsConfig(mc.cluster)
    
    	cb.applyMetadataExchange(opts.mutable.cluster)
    
    	if service.MeshExternal {
    		im := getOrCreateIstioMetadata(mc.cluster)
    		im.Fields["external"] = &structpb.Value{
    			Kind: &structpb.Value_BoolValue{
    				BoolValue: true,
    			},
    		}
    	}
    
    	if destRule != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster.go

    					"namespace": {
    						Kind: &structpb.Value_StringValue{
    							StringValue: svc.Attributes.Namespace,
    						},
    					},
    				},
    			},
    		},
    	}
    }
    
    func getOrCreateIstioMetadata(cluster *cluster.Cluster) *structpb.Struct {
    	if cluster.Metadata == nil {
    		cluster.Metadata = &core.Metadata{
    			FilterMetadata: map[string]*structpb.Struct{},
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
Back to top