- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for CLI (0.16 sec)
-
istioctl/pkg/waypoint/waypoint_test.go
makeGatewayWithRevision("bookinfo-rev", "bookinfo", true, true, "rev1"), }, expectedOutFile: "combined-gateway", }, } for _, tt := range cases { t.Run(tt.name, func(t *testing.T) { ctx := cli.NewFakeContext(&cli.NewFakeContextOption{ Namespace: "default", }) client, err := ctx.CLIClient() if err != nil { t.Fatal(err) } for _, gw := range tt.gateways {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 04 15:53:09 GMT 2024 - 4.4K bytes - Viewed (0) -
operator/cmd/mesh/operator.go
// limitations under the License. package mesh import ( "github.com/spf13/cobra" "istio.io/istio/istioctl/pkg/cli" ) // OperatorCmd is a group of commands related to installation and management of the operator controller. func OperatorCmd(ctx cli.Context) *cobra.Command { oc := &cobra.Command{ Use: "operator", Short: "Commands related to Istio operator controller.",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Aug 29 14:15:33 GMT 2023 - 1.5K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus.go
package proxystatus import ( "context" "fmt" "io" "os" discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3" "github.com/spf13/cobra" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/istioctl/pkg/clioptions" "istio.io/istio/istioctl/pkg/completion" "istio.io/istio/istioctl/pkg/multixds" "istio.io/istio/istioctl/pkg/util/ambient" "istio.io/istio/istioctl/pkg/writer/compare"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 6.2K bytes - Viewed (0) -
istioctl/pkg/completion/completion.go
import ( "context" "strings" "github.com/spf13/cobra" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/pkg/kube" ) func getPodsNameInDefaultNamespace(ctx cli.Context, toComplete string) ([]string, error) { client, err := ctx.CLIClient() if err != nil { return nil, err } ns := ctx.NamespaceOrDefault(ctx.Namespace())
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 4.9K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
"strings" core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3" discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3" "github.com/spf13/cobra" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/istioctl/pkg/clioptions" "istio.io/istio/istioctl/pkg/multixds" "istio.io/istio/istioctl/pkg/util" v3 "istio.io/istio/pilot/pkg/xds/v3" "istio.io/istio/pkg/kube" )
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 04:16:55 GMT 2024 - 6.9K bytes - Viewed (0) -
istioctl/cmd/options.go
"log_caller": true, "log_output_level": true, // istioctl also inherits support for log_rotate, log_rotate_max_age, log_rotate_max_backups, // log_rotate_max_size, but these are rarely appropriate for a user-facing CLI so we ignore them } func optionsCommand(rootCmd *cobra.Command) *cobra.Command { retval := &cobra.Command{ Use: "options", Short: "Displays istioctl global options", Args: cobra.ExactArgs(0), }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.8K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
"k8s.io/apimachinery/pkg/labels" "istio.io/api/label" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/istioctl/pkg/completion" "istio.io/istio/istioctl/pkg/util" "istio.io/istio/istioctl/pkg/writer/table" analyzer_util "istio.io/istio/pkg/config/analysis/analyzers/util" ) var labelPairs string func Cmd(ctx cli.Context) *cobra.Command { cmd := &cobra.Command{ Use: "check-inject [<type>/]<name>[.<namespace>]",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 9.3K bytes - Viewed (0) -
operator/cmd/mesh/manifest.go
// limitations under the License. package mesh import ( "github.com/spf13/cobra" "istio.io/istio/istioctl/pkg/cli" ) // ManifestCmd is a group of commands related to manifest generation, installation, diffing and migration. func ManifestCmd(ctx cli.Context) *cobra.Command { mc := &cobra.Command{ Use: "manifest", Short: "Commands related to Istio manifests",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 1.4K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/clusters.go
"encoding/json" "fmt" "io" "text/tabwriter" "github.com/spf13/cobra" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/istioctl/pkg/clioptions" "istio.io/istio/pkg/cluster" ) // TODO move to multicluster package; requires exposing some private funcs/vars in this package func ClustersCommand(ctx cli.Context) *cobra.Command { var opts clioptions.ControlPlaneOptions cmd := &cobra.Command{ Use: "remote-clusters",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 2.3K bytes - Viewed (0) -
operator/cmd/mesh/operator_test.go
args = append(args, "--watchedNamespaces", test.watchedNamespaces) } kubeClientFunc = func() (kube.CLIClient, error) { return nil, nil } rootCmd := GetRootCmd(cli.NewFakeContext(&cli.NewFakeContextOption{ Version: "25", }), args) err := rootCmd.Execute() assert.NoError(t, err) readActions := map[string]bool{ "get": true, "list": true,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Aug 29 14:15:33 GMT 2023 - 6.4K bytes - Viewed (0)