Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for cli (0.14 sec)

  1. istioctl/pkg/proxystatus/proxystatus_test.go

    	"google.golang.org/grpc"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/cli-runtime/pkg/resource"
    	"k8s.io/client-go/rest/fake"
    	cmdtesting "k8s.io/kubectl/pkg/cmd/testing"
    	cmdutil "k8s.io/kubectl/pkg/cmd/util"
    
    	"istio.io/api/label"
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/istioctl/pkg/multixds"
    	"istio.io/istio/istioctl/pkg/xds"
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. istioctl/pkg/dashboard/dashboard_test.go

    			Args:           strings.Split("envoy --browser=false pod-123456-7890", " "),
    			ExpectedRegexp: regexp.MustCompile("http://localhost:3456"),
    			WantException:  false,
    		},
    	}
    
    	dbCmd := Dashboard(cli.NewFakeContext(&cli.NewFakeContextOption{
    		Namespace: "istio-system",
    	}))
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.Args, " ")), func(t *testing.T) {
    			testutil.VerifyOutput(t, dbCmd, c)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Nov 21 01:17:24 GMT 2023
    - 4.3K 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 Apr 24 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_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    package kubeinject
    
    import (
    	"fmt"
    	"regexp"
    	"strings"
    	"testing"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/util/testutil"
    )
    
    func TestKubeInject(t *testing.T) {
    	cases := []testutil.TestCase{
    		{ // case 0
    			Args:           []string{},
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  5. istioctl/pkg/cli/context_test.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package cli
    
    import "testing"
    
    func Test_handleNamespace(t *testing.T) {
    	ns := handleNamespace("test", "default")
    	if ns != "test" {
    		t.Fatalf("Get the incorrect namespace: %q back", ns)
    	}
    
    	tests := []struct {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  6. istioctl/pkg/describe/describe_test.go

    		}
    	}
    }
    
    func verifyExecAndK8sConfigTestCaseTestOutput(t *testing.T, c execAndK8sConfigTestCase) {
    	t.Helper()
    
    	ctx := cli.NewFakeContext(&cli.NewFakeContextOption{
    		Namespace:      c.namespace,
    		IstioNamespace: c.istioNamespace,
    		Results:        c.configDumps,
    	})
    	client, err := ctx.CLIClient()
    	assert.NoError(t, err)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  7. istioctl/pkg/waypoint/waypoint.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	gateway "sigs.k8s.io/gateway-api/apis/v1"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/api/label"
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/pilot/pkg/model/kstatus"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/protocol"
    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/slices"
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:40 GMT 2024
    - 15K bytes
    - Viewed (0)
  8. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  9. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/certificates/v1beta1/generated.proto

      // The v1.22+ in-tree implementations of the well-known Kubernetes signers will
      // honor this field as long as the requested duration is not greater than the
      // maximum duration they will honor per the --cluster-signing-duration CLI
      // flag to the Kubernetes controller manager.
      //
      // Certificate signers may not honor this field for various reasons:
      //
      //   1. Old signer that is unaware of the field (such as the in-tree
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 6.7K bytes
    - Viewed (0)
Back to top