Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for cli (0.12 sec)

  1. istioctl/pkg/proxyconfig/proxyconfig.go

    	return configCmd
    }
    
    func getPodNames(ctx cli.Context, podflag, ns string) ([]string, string, error) {
    	podNames, ns, err := ctx.InferPodsFromTypedResource(podflag, ns)
    	if err != nil {
    		log.Errorf("pods lookup failed")
    		return []string{}, "", err
    	}
    	return podNames, ns, nil
    }
    
    func getPodName(ctx cli.Context, podflag string) (string, string, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  2. operator/README.md

    for details.
    
    ## Developer quick start
    
    The quick start describes how to install and use the operator `mesh` CLI command and/or controller.
    
    ### CLI
    
    To build the operator CLI, simply:
    
    ```bash
    make build
    ```
    
    Ensure the created binary is in your PATH to run the examples below.
    
    ### Controller (in cluster)
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Sep 17 08:27:52 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  3. istioctl/pkg/tag/tag.go

    import (
    	"cmp"
    	"context"
    	"encoding/json"
    	"fmt"
    	"io"
    	"strings"
    	"text/tabwriter"
    
    	"github.com/spf13/cobra"
    	"k8s.io/client-go/kubernetes"
    	"k8s.io/client-go/rest"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/util"
    	"istio.io/istio/istioctl/pkg/util/formatting"
    	"istio.io/istio/pkg/config/analysis"
    	"istio.io/istio/pkg/config/analysis/analyzers/webhook"
    	"istio.io/istio/pkg/config/analysis/diag"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  4. istioctl/pkg/kubeinject/kubeinject.go

    	"k8s.io/kubectl/pkg/polymorphichelpers"
    	"k8s.io/kubectl/pkg/util/podutils"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/api/label"
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/istioctl/pkg/util"
    	iopv1alpha1 "istio.io/istio/operator/pkg/apis/istio/v1alpha1"
    	"istio.io/istio/operator/pkg/manifest"
    	"istio.io/istio/operator/pkg/validate"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. operator/cmd/mesh/manifest_shared_test.go

    	return runCommand(args)
    }
    
    // runCommand runs the given command string.
    func runCommand(command string) (string, error) {
    	var out bytes.Buffer
    	rootCmd := GetRootCmd(cli.NewFakeContext(&cli.NewFakeContextOption{
    		Version: "25",
    	}), strings.Split(command, " "))
    	rootCmd.SetOut(&out)
    
    	err := rootCmd.Execute()
    	return out.String(), err
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  9. operator/cmd/mesh/install.go

    	"github.com/fatih/color"
    	"github.com/spf13/cobra"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"sigs.k8s.io/controller-runtime/pkg/client"
    
    	"istio.io/api/operator/v1alpha1"
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	revtag "istio.io/istio/istioctl/pkg/tag"
    	"istio.io/istio/istioctl/pkg/util"
    	v1alpha12 "istio.io/istio/operator/pkg/apis/istio/v1alpha1"
    	"istio.io/istio/operator/pkg/cache"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  10. istioctl/pkg/admin/istiodconfig.go

    	"fmt"
    	"io"
    	"net/http"
    	"net/url"
    	"regexp"
    	"sort"
    	"strings"
    	"sync"
    	"text/tabwriter"
    
    	"github.com/spf13/cobra"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/api/label"
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/istioctl/pkg/completion"
    	"istio.io/istio/pkg/log"
    )
    
    type flagState interface {
    	run(out io.Writer) error
    }
    
    var (
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
Back to top