Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for function (0.18 sec)

  1. common/scripts/tracing.sh

        --attrs "$(_genattrs)"
      if [[ $was_execution_trace == 1 ]]; then
        { set -x; } 2>/dev/null
      fi
      return "$result"
    }
    
    # Usage: tracing::decorate <function>
    # Automatically makes a function traced.
    function tracing::decorate() {
    eval "\
    function $1() {
    _$(typeset -f "$1")
    tracing::run '$1' _$1
    }
    "
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jul 28 15:25:47 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  2. common/scripts/check_clean_repo.sh

    #   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.
    
    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}"
    
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Jan 11 22:57:12 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  3. bin/update_deps.sh

    UPDATE_BRANCH=${UPDATE_BRANCH:-"master"}
    
    SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
    ROOTDIR=$(dirname "${SCRIPTPATH}")
    cd "${ROOTDIR}"
    
    # Get the sha of top commit
    # $1 = repo
    function getSha() {
      git ls-remote "https://github.com/istio/${1}.git" "refs/heads/${UPDATE_BRANCH}" | cut -f 1
    }
    
    make update-common
    
    export GO111MODULE=on
    go get -u "istio.io/api@${UPDATE_BRANCH}"
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Sep 12 14:07:30 GMT 2023
    - 2K bytes
    - Viewed (0)
  4. cni/pkg/iptables/iptables.go

    				log.Debugf("ignoring error deleting optional iptables rule: %v", err)
    			}
    		}
    	}
    	return errors.Join(delErrs...)
    }
    
    // Setup iptables rules for in-pod mode. Ideally this should be an idempotent function.
    // NOTE that this expects to be run from within the pod network namespace!
    func (cfg *IptablesConfigurator) CreateInpodRules(hostProbeSNAT *netip.Addr) error {
    	// Append our rules here
    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)
  5. common/scripts/setup_env.sh

      fi
    }
    
    # This function is designed for maximum compatibility with various platforms. This runs on
    # any Mac or Linux platform with bash 4.2+. Please take care not to modify this function
    # without testing properly.
    #
    # This function will properly handle any type of path including those with spaces using the
    # loading pattern specified by *kubectl config*.
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 19:52:28 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  6. bin/update_ztunnel.sh

    set -e
    
    UPDATE_BRANCH=${UPDATE_BRANCH:-"master"}
    
    SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
    ROOTDIR=$(dirname "${SCRIPTPATH}")
    cd "${ROOTDIR}"
    
    # Get the sha of top commit
    # $1 = repo
    function getSha() {
      local dir result
      dir=$(mktemp -d)
      git clone --depth=1 "https://github.com/istio/${1}.git" -b "${UPDATE_BRANCH}" "${dir}"
    
      result="$(cd "${dir}" && git rev-parse HEAD)"
      rm -rf "${dir}"
    
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 11 17:50:01 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  7. manifests/charts/istio-control/istio-discovery/templates/istiod-injector-configmap.yaml

          {{- end }}
        {{- /* If someone ends up with this new template, but an older Istiod image, they will attempt to render this template
             which will fail with "Pod injection failed: template: inject:1: function "Istio_1_9_Required_Template_And_Version_Mismatched" not defined".
             This should make it obvious that their installation is broken.
         */}}
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Feb 21 03:10:21 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. common/config/.golangci.yml

          text: "SA1019: package github.com/golang/protobuf/jsonpb"
        - linters:
            - staticcheck
          text: 'SA1019: "github.com/golang/protobuf/jsonpb"'
        # This is not helpful. The new function is not very usable and the current function will not be removed
        - linters:
            - staticcheck
          text: 'SA1019: grpc.Dial is deprecated: use NewClient instead'
        - linters:
            - staticcheck
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 22 19:22:39 GMT 2024
    - 11K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/policies.go

    	"fmt"
    	"strings"
    
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/slices"
    )
    
    // PolicyFilter is used to pass filter information into service based config writer print functions
    type PolicyFilter struct {
    	Namespace string
    }
    
    // Verify returns true if the passed workload matches the filter fields
    func (wf *PolicyFilter) Verify(pol *ZtunnelPolicy) bool {
    	if wf.Namespace != "" {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/pilot/status.go

    	if clientConfig.GetGenericXdsConfigs() != nil {
    		configs = clientConfig.GetGenericXdsConfigs()
    		return configs
    	}
    
    	// FIXME: currently removing the deprecated code below may result in functions not working
    	// if there is a mismatch of versions between istiod and istioctl
    	// nolint: staticcheck
    	for _, config := range clientConfig.GetXdsConfig() {
    		var typeURL string
    		switch config.PerXdsConfig.(type) {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.1K bytes
    - Viewed (0)
Back to top