Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CastDestinationRule (0.26 sec)

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

    			v3.HttpProtocolOptionsType: protoconv.MessageToAny(mc.httpProtocolOptions),
    		}
    	}
    	return mc.cluster
    }
    
    // CastDestinationRule returns the destination rule enclosed by the config, if not null.
    // Otherwise, return nil.
    func CastDestinationRule(config *config.Config) *networking.DestinationRule {
    	if config != nil {
    		return config.Spec.(*networking.DestinationRule)
    	}
    
    	return 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)
Back to top