Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SetDefaults_Endpoints (0.24 sec)

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

    	}
    	if obj.FSType == nil {
    		obj.FSType = new(string)
    		*obj.FSType = "ext4"
    	}
    	if obj.ReadOnly == nil {
    		obj.ReadOnly = new(bool)
    		*obj.ReadOnly = false
    	}
    }
    func SetDefaults_Endpoints(obj *v1.Endpoints) {
    	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
    			}
    		}
    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