Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 117 for geturl (0.21 sec)

  1. operator/cmd/mesh/profile-list.go

    }
    
    func profileListCmd(plArgs *profileListArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "list",
    		Short: "Lists available Istio configuration profiles",
    		Long:  "The list subcommand lists the available Istio configuration profiles.",
    		Args:  cobra.ExactArgs(0),
    		RunE: func(cmd *cobra.Command, args []string) error {
    			return profileList(cmd, plArgs)
    		},
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  2. istioctl/cmd/sysexits.go

    		e = util.CommandParseError{Err: e}
    	}
    
    	switch e.(type) {
    	case util.CommandParseError:
    		return ExitIncorrectUsage
    	case analyze.FileParseError:
    		return ExitDataError
    	case analyze.AnalyzerFoundIssuesError:
    		return ExitAnalyzerFoundIssues
    	default:
    		return ExitUnknownError
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin_test.go

    	return testServer.URL, func() bool {
    		testServer.Close()
    		return cniAddServerCalled
    	}
    }
    
    func buildCmdArgs(stdinData, podName, podNamespace string) *skel.CmdArgs {
    	return &skel.CmdArgs{
    		ContainerID: "testContainerID",
    		Netns:       testSandboxDirectory,
    		IfName:      "eth0",
    		Args:        fmt.Sprintf("K8S_POD_NAMESPACE=%s;K8S_POD_NAME=%s", podNamespace, podName),
    		Path:        "/tmp",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/informers_test.go

    	wg, waitForMockCalls := NewWaitForNCalls(t, 1)
    	fs := &fakeServer{testWG: wg}
    
    	fs.On("AddPodToMesh",
    		ctx,
    		pod,
    		util.GetPodIPsIfPresent(pod),
    		"",
    	).Return(nil)
    
    	server := &meshDataplane{
    		kubeClient: client.Kube(),
    		netServer:  fs,
    	}
    
    	handlers := setupHandlers(ctx, client, server, "istio-system")
    	client.RunAndWait(ctx.Done())
    	go handlers.Start()
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  5. operator/cmd/mesh/operator-init.go

    			if !labels.IsDNS1123Label(oiArgs.common.revision) && cmd.PersistentFlags().Changed("revision") {
    				return fmt.Errorf("invalid revision specified: %v", oiArgs.common.revision)
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			client, err := ctx.CLIClient()
    			if err != nil {
    				return err
    			}
    			l := clog.NewConsoleLogger(cmd.OutOrStdout(), cmd.ErrOrStderr(), installerScope)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. cni/pkg/iptables/iptables_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	compareToGolden(t, false, tt.name, ext.ExecutedAll)
    }
    
    func ipstr(ipv6 bool) string {
    	if ipv6 {
    		return "ipv6"
    	}
    	return "ipv4"
    }
    
    func compareToGolden(t *testing.T, ipv6 bool, name string, actual []string) {
    	t.Helper()
    	gotBytes := []byte(strings.Join(actual, "\n"))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  7. manifests/manifest.go

    var FS embed.FS
    
    // BuiltinOrDir returns a FS for the provided directory. If no directory is passed, the compiled in
    // FS will be used
    func BuiltinOrDir(dir string) fs.FS {
    	if dir == "" {
    		return FS
    	}
    	return os.DirFS(dir)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 15 02:30:16 GMT 2023
    - 935 bytes
    - Viewed (0)
  8. istioctl/pkg/multicluster/cluster.go

    func clusterUID(client kubernetes.Interface) (types.UID, error) {
    	kubeSystem, err := client.CoreV1().Namespaces().Get(context.TODO(), "kube-system", metav1.GetOptions{})
    	if err != nil {
    		return "", err
    	}
    	return kubeSystem.UID, nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Sep 02 03:11:58 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  9. common/scripts/check_clean_repo.sh

    #   See the License for the specific language governing permissions and
    #   limitations under the License.
    
    function write_patch_file() {
        if [ -z "${ARTIFACTS}" ]; then
          return 0
        fi
    
        PATCH_NAME="check-clean-repo-diff.patch"
        PATCH_OUT="${ARTIFACTS}/${PATCH_NAME}"
        git diff > "${PATCH_OUT}"
    
        [ -n "${JOB_NAME}" ] && [ -n "${BUILD_ID}" ]
        IN_PROW="$?"
    
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 11 22:57:12 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  10. common/scripts/tracing.sh

      # If not running in a prow job or otel-cli is not available (e.g. build system without otel-cli) just run the command
      if [ -z "${JOB_NAME:-}" ] || ! command -v otel-cli &> /dev/null
      then
        "${@:2}"
        return "$?"
      fi
    
      # Disable execution tracing to avoid noise
      { [[ $- = *x* ]] && was_execution_trace=1 || was_execution_trace=0; } 2>/dev/null
      { set +x; } 2>/dev/null
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jul 28 15:25:47 GMT 2023
    - 4.1K bytes
    - Viewed (0)
Back to top