- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for CLIClientWithRevision (0.15 sec)
-
istioctl/pkg/cli/context.go
"istio.io/istio/pkg/slices" ) type Context interface { // CLIClient returns a client for the default revision CLIClient() (kube.CLIClient, error) // CLIClientWithRevision returns a client for the given revision CLIClientWithRevision(rev string) (kube.CLIClient, error) // InferPodInfoFromTypedResource returns the pod name and namespace for the given typed resource
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 23 19:31:32 UTC 2024 - 8.9K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
Long: `List sidecar injector and sidecar versions`, Example: ` istioctl experimental injector list`, RunE: func(cmd *cobra.Command, args []string) error { client, err := ctx.CLIClientWithRevision(opts.Revision) if err != nil { return fmt.Errorf("failed to create k8s client: %v", err) } nsList, err := getNamespaces(context.Background(), client, ctx.IstioNamespace()) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Oct 18 11:39:52 UTC 2024 - 10.6K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 50.6K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
"check changes since the provided version") opts.AttachControlPlaneFlags(cmd) return cmd } func checkFromVersion(ctx cli.Context, revision, version string) (diag.Messages, error) { cli, err := ctx.CLIClientWithRevision(revision) if err != nil { return nil, err } major, minors, ok := strings.Cut(version, ".") if !ok { return nil, fmt.Errorf("invalid version %v, expected format like '1.0'", version) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 02:31:32 UTC 2024 - 15.3K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
# Apply a waypoint to a specific namespace and wait for it to be ready istioctl waypoint apply --namespace default --wait`, RunE: func(cmd *cobra.Command, args []string) error { kubeClient, err := ctx.CLIClientWithRevision(revision) if err != nil { return fmt.Errorf("failed to create Kubernetes client: %v", err) } ns := ctx.NamespaceOrDefault(ctx.Namespace())
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 19.6K bytes - Viewed (0)