Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for dest (0.18 sec)

  1. istioctl/pkg/writer/compare/sds/util.go

    	s.source = source
    	return s
    }
    
    // Destination sets the destination field on a secretItemBuilder
    func (s *secretItemBuilder) Destination(dest string) SecretItemBuilder {
    	s.dest = dest
    	return s
    }
    
    // State sets the state of the secret on the agent or sidecar
    func (s *secretItemBuilder) State(state string) SecretItemBuilder {
    	s.state = state
    	return s
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  2. common/scripts/run.sh

    set -e
    
    WD=$(dirname "$0")
    WD=$(cd "$WD"; pwd)
    
    export FOR_BUILD_CONTAINER=1
    # shellcheck disable=SC1090,SC1091
    source "${WD}/setup_env.sh"
    
    
    MOUNT_SOURCE="${MOUNT_SOURCE:-${PWD}}"
    MOUNT_DEST="${MOUNT_DEST:-/work}"
    
    read -ra DOCKER_RUN_OPTIONS <<< "${DOCKER_RUN_OPTIONS:-}"
    
    [[ -t 1 ]] && DOCKER_RUN_OPTIONS+=("-it")
    [[ ${UID} -ne 0 ]] && DOCKER_RUN_OPTIONS+=(-u "${UID}:${DOCKER_GID}")
    
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Aug 11 02:34:11 GMT 2023
    - 2.2K bytes
    - Viewed (1)
  3. operator/cmd/mesh/manifest-generate_test.go

    			return fmt.Errorf("next: %v", err)
    		}
    
    		dest := filepath.Join(destination, header.Name)
    		switch header.Typeflag {
    		case tar.TypeDir:
    			if _, err := os.Stat(dest); err != nil {
    				if err := os.Mkdir(dest, 0o755); err != nil {
    					return fmt.Errorf("mkdir: %v", err)
    				}
    			}
    		case tar.TypeReg:
    			// Create containing folder if not present
    			dir := path.Dir(dest)
    			if _, err := os.Stat(dir); err != nil {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Feb 22 08:32:23 GMT 2024
    - 42K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe.go

    					}
    					continue
    				}
    			}
    
    			match = true
    			if dest.Weight > 0 {
    				fact := fmt.Sprintf("Route to host \"%s\"", dest.Destination.Host)
    				if dest.Destination.Subset != "" {
    					fact = fmt.Sprintf("%s subset \"%s\"", fact, dest.Destination.Subset)
    				}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  5. cni/test/install_cni.go

    }
    
    // RunInstallCNITest sets up temporary directories and runs the test.
    //
    // Doing a go test install_cni.go by itself will not execute the test as the
    // file doesn't have a _test.go suffix, and this func doesn't start with a Test
    // prefix. This func is only meant to be invoked programmatically. A separate
    // install_cni_test.go file exists for executing this test.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  6. cni/pkg/iptables/iptables.go

    	// -A OUTPUT -m owner --socket-exists -p tcp -m set --match-set istio-inpod-probes dst,dst -j SNAT --to-source 169.254.7.127
    	iptablesBuilder.AppendRuleV4(
    		iptableslog.UndefinedCommand, ChainHostPostrouting, iptablesconstants.NAT,
    		"-m", "owner",
    		"--socket-exists",
    		"-p", "tcp",
    		"-m", "set",
    		"--match-set", fmt.Sprintf(ipset.V4Name, ProbeIPSet),
    		"dst",
    		"-j", "SNAT",
    		"--to-source", hostSNATIP.String(),
    	)
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  7. common/config/.golangci.yml

                desc: "use istio.io/istio/pkg/slices"
              - pkg: k8s.io/utils/pointer
                desc: "use istio.io/istio/pkg/ptr"
              - pkg: go.opencensus.io
                desc: "do not use OpenCensus; use OpenTelemetry instead"
              - pkg: golang.org/x/exp/maps
                desc: "do not use golang.org/x/exp/maps; use istio.io/istio/pkg/maps instead"
              - pkg: maps
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 22 19:22:39 GMT 2024
    - 11K bytes
    - Viewed (0)
  8. operator/cmd/mesh/test-util_test.go

    }
    
    func mustSelect(t test.Failer, selector map[string]string, labels map[string]string) {
    	t.Helper()
    	kselector := labels2.Set(selector).AsSelectorPreValidated()
    	if !kselector.Matches(labels2.Set(labels)) {
    		t.Fatalf("%v does not select %v", selector, labels)
    	}
    }
    
    func mustNotSelect(t test.Failer, selector map[string]string, labels map[string]string) {
    	t.Helper()
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/fakes_test.go

    John Howard <******@****.***> 1712958451 -0700
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. cni/pkg/install/cniconfig_test.go

    package install
    
    import (
    	"context"
    	"os"
    	"path/filepath"
    	"testing"
    	"time"
    
    	"istio.io/istio/cni/pkg/config"
    	testutils "istio.io/istio/pilot/test/util"
    	"istio.io/istio/pkg/file"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestGetDefaultCNINetwork(t *testing.T) {
    	tempDir := t.TempDir()
    
    	cases := []struct {
    		name            string
    		dir             string
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 17 02:22:22 GMT 2023
    - 15.4K bytes
    - Viewed (0)
Back to top