Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TrimSpace (0.15 sec)

  1. cmd/iam-store.go

    }
    
    // converts a mapped policy into a slice of distinct policies
    func (mp MappedPolicy) toSlice() []string {
    	var policies []string
    	for _, policy := range strings.Split(mp.Policies, ",") {
    		if strings.TrimSpace(policy) == "" {
    			continue
    		}
    		policies = append(policies, policy)
    	}
    	return policies
    }
    
    func (mp MappedPolicy) policySet() set.StringSet {
    	return set.CreateStringSet(mp.toSlice()...)
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  2. istioctl/pkg/describe/describe.go

    		}
    		retval += " when headers are " + strings.Join(headerConds, "; ")
    	}
    
    	// TODO QueryParams, maybe Gateways
    	return strings.TrimSpace(retval)
    }
    
    func printPod(writer io.Writer, pod *corev1.Pod, revision string) {
    	ports := []string{}
    	UserID := int64(1337)
    	for _, container := range pod.Spec.Containers {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top