Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SetDefaults_HTTPGetAction (0.22 sec)

  1. pkg/apis/core/v1/defaults.go

    	for i := range obj.Subsets {
    		ss := &obj.Subsets[i]
    		for i := range ss.Ports {
    			ep := &ss.Ports[i]
    			if ep.Protocol == "" {
    				ep.Protocol = v1.ProtocolTCP
    			}
    		}
    	}
    }
    func SetDefaults_HTTPGetAction(obj *v1.HTTPGetAction) {
    	if obj.Path == "" {
    		obj.Path = "/"
    	}
    	if obj.Scheme == "" {
    		obj.Scheme = v1.URISchemeHTTP
    	}
    }
    
    // SetDefaults_Namespace adds a default label for all namespaces
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 22:24:15 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top