- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestGetScopedFqdnHostname (5.86 sec)
-
pkg/config/analysis/analyzers/util/hosts_test.go
// bogus FQDN (gets treated like a short name) g.Expect(GetResourceNameFromHost("default", "foo.svc.cluster.local")).To(Equal(resource.NewFullName("default", "foo.svc.cluster.local"))) } func TestGetScopedFqdnHostname(t *testing.T) { g := NewWithT(t) // FQDN, same namespace, local scope g.Expect(NewScopedFqdn("default", "default", "foo.default.svc.cluster.local")).To(Equal(ScopedFqdn("default/foo.default.svc.cluster.local")))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 4.4K bytes - Viewed (0)