Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for endpointSubsetAddressVal (0.17 sec)

  1. operator/cmd/mesh/test-util_test.go

    		}
    		out[strings.TrimSpace(kv[0])] = strings.TrimSpace(kv[1])
    	}
    	if len(out) == 0 {
    		return nil
    	}
    	return out
    }
    
    // endpointSubsetAddressVal returns a map having subset address type for an endpoint.
    func endpointSubsetAddressVal(hostname, ip, nodeName string) map[string]any {
    	out := make(map[string]any)
    	if hostname != "" {
    		out["hostname"] = hostname
    	}
    	if ip != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest-generate_test.go

    		ep := mustGetEndpoint(g, objs, "istiod-remote").Unstructured()
    		g.Expect(ep).Should(HavePathValueEqual(PathValue{"subsets.[0].addresses.[0]", endpointSubsetAddressVal("", "169.10.112.88", "")}))
    		g.Expect(ep).Should(HavePathValueContain(PathValue{"subsets.[0].ports.[0]", portVal("tcp-istiod", 15012, -1)}))
    
    		checkClusterRoleBindingsReferenceRoles(g, objs)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 43.5K bytes
    - Viewed (0)
Back to top