- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for newBuilder (5.12 sec)
-
istioctl/pkg/util/handlers/handlers.go
// Pod is referred to using something like "deployment/httpbin". Use the kubectl // libraries to look up the resource name, find the pods it selects, and return // one of those pods. builder := factory.NewBuilder(). WithScheme(kubelib.IstioScheme, kubelib.IstioScheme.PrioritizedVersionsAllGroups()...). NamespaceParam(ns).DefaultNamespace(). SingleResourceType() builder.ResourceNames("pods", resname)
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Feb 06 15:01:41 GMT 2024 - 6.2K bytes - Viewed (0) -
istioctl/pkg/cli/kubectl_factory.go
"k8s.io/kubectl/pkg/validation" "istio.io/istio/pkg/kube" ) type Factory struct { kube.PartialFactory full util.Factory } func (f Factory) NewBuilder() *resource.Builder { return f.full.NewBuilder() } func (f Factory) ClientForMapping(mapping *meta.RESTMapping) (resource.RESTClient, error) { return f.full.ClientForMapping(mapping) }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jun 09 18:17:49 GMT 2023 - 2K bytes - Viewed (0)