Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 76 for cli (0.41 sec)

  1. istioctl/pkg/admin/admin.go

    // limitations under the License.
    
    package admin
    
    import (
    	"fmt"
    
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/istioctl/pkg/cli"
    )
    
    func Cmd(ctx cli.Context) *cobra.Command {
    	adminCmd := &cobra.Command{
    		Use:   "admin",
    		Short: "Manage control plane (istiod) configuration",
    		Long:  "A group of commands used to manage istiod configuration",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  2. istioctl/pkg/multicluster/options.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package multicluster
    
    import (
    	"k8s.io/client-go/tools/clientcmd"
    
    	"istio.io/istio/istioctl/pkg/cli"
    )
    
    const (
    	clusterNameAnnotationKey = "networking.istio.io/cluster"
    )
    
    // KubeOptions contains kubernetes options common to all commands.
    type KubeOptions struct {
    	Kubeconfig string
    	Context    string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Aug 01 23:59:49 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  3. istioctl/pkg/analyze/analyze_test.go

    // limitations under the License.
    
    package analyze
    
    import (
    	"strings"
    	"testing"
    
    	. "github.com/onsi/gomega"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/util/testutil"
    	"istio.io/istio/pkg/config/analysis/diag"
    )
    
    func TestErrorOnIssuesFound(t *testing.T) {
    	g := NewWithT(t)
    
    	msgs := []diag.Message{
    		diag.NewMessage(
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  4. istioctl/pkg/authz/authz.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/completion"
    	"istio.io/istio/istioctl/pkg/util"
    	"istio.io/istio/istioctl/pkg/util/configdump"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/log"
    )
    
    var configDumpFile string
    
    func checkCmd(ctx cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "check [<type>/]<name>[.<namespace>]",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. istioctl/pkg/wait/wait.go

    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"strconv"
    	"strings"
    	"time"
    
    	"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/handlers"
    	"istio.io/istio/pilot/pkg/xds"
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/schema/collections"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  6. istioctl/pkg/metrics/metrics.go

    	"github.com/prometheus/client_golang/api"
    	promv1 "github.com/prometheus/client_golang/api/prometheus/v1"
    	"github.com/prometheus/common/model"
    	"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/dashboard"
    	"istio.io/istio/pkg/log"
    )
    
    var (
    	metricsOpts     clioptions.ControlPlaneOptions
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  7. istioctl/pkg/analyze/analyze.go

    	"github.com/mattn/go-isatty"
    	"github.com/spf13/cobra"
    	"k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/client-go/tools/clientcmd"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/util"
    	"istio.io/istio/istioctl/pkg/util/formatting"
    	"istio.io/istio/pkg/cluster"
    	"istio.io/istio/pkg/config/analysis"
    	"istio.io/istio/pkg/config/analysis/analyzers"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  8. istioctl/pkg/validate/validate_test.go

    			wantError: true, // Since the directory has invalid files
    		},
    	}
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("[%v] %v", i, c.name), func(t *testing.T) {
    			ctx := cli.NewFakeContext(&cli.NewFakeContextOption{
    				IstioNamespace: "istio-system",
    			})
    			validateCmd := NewValidateCommand(ctx)
    			validateCmd.SilenceUsage = true
    			validateCmd.SetArgs(c.args)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 25 08:08:36 GMT 2023
    - 21.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top