- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for cli (0.12 sec)
-
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) -
cmd/server-rlimit.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "runtime" "runtime/debug" "github.com/dustin/go-humanize" "github.com/minio/cli" "github.com/minio/madmin-go/v3/kernel" "github.com/minio/minio/internal/logger" "github.com/minio/pkg/v2/sys" ) func oldLinux() bool { currentKernel, err := kernel.CurrentVersion() if err != nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:06:57 GMT 2024 - 2.8K bytes - Viewed (0) -
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) -
istioctl/pkg/dashboard/dashboard.go
import ( "context" "errors" "fmt" "io" "os" "os/exec" "os/signal" "runtime" "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/istioctl/pkg/clioptions" "istio.io/istio/istioctl/pkg/util" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/log" ) var ( listenPort = 0 controlZport = 0 promPort = 0
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Apr 15 01:29:35 GMT 2024 - 20.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/workload/workload_test.go
t.Helper() // TODO there is already probably something else that does this var out bytes.Buffer ctx := cli.NewFakeContext(&cli.NewFakeContextOption{ IstioNamespace: "istio-system", }) rootCmd := Cmd(ctx) rootCmd.SetArgs(args) client, err := ctx.CLIClientWithRevision(rev) if err != nil { return "", err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Mar 27 16:59:05 GMT 2024 - 14.6K bytes - Viewed (0) -
istioctl/cmd/root.go
hideInheritedFlags(operatorCmd, cli.FlagNamespace, cli.FlagIstioNamespace, FlagCharts) rootCmd.AddCommand(operatorCmd) installCmd := mesh.InstallCmd(ctx) hideInheritedFlags(installCmd, cli.FlagNamespace, cli.FlagIstioNamespace, FlagCharts) rootCmd.AddCommand(installCmd) profileCmd := mesh.ProfileCmd(ctx) hideInheritedFlags(profileCmd, cli.FlagNamespace, cli.FlagIstioNamespace, FlagCharts)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 11 20:51:30 GMT 2024 - 10K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
if err := checkVirtualServiceHostMatching(cli, &messages); err != nil { return nil, err } } if minor <= 21 { if err := checkPassthroughTargetPorts(cli, &messages); err != nil { return nil, err } if err := checkTracing(cli, &messages); err != nil { return nil, err } } return messages, nil } func checkTracing(cli kube.CLIClient, messages *diag.Messages) error {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 02:57:30 GMT 2024 - 19.3K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
iptableslog.UndefinedCommand, iptablesconstants.OUTPUT, iptablesconstants.NAT, "-j", ChainInpodOutput, ) // From here on, we should be only inserting rules into our custom chains. // CLI: -A ISTIO_PRERT -m mark --mark 0x539/0xfff -j CONNMARK --set-xmark 0x111/0xfff // // DESC: If we have a packet mark, set a connmark.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 07 19:54:50 GMT 2024 - 19.7K 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)