- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for function (0.17 sec)
-
bin/retry.sh
# This will run "my-flaky-script.sh", retrying any failed runs that output "connection timed out" up # to 5 times. function fail { echo "${1}" >&2 exit 1 } function isatty() { if [ -t 1 ] ; then return 0 else return 1 fi } function retry { local tmpFile tmpFile=$(mktemp) trap 'rm -f "${tmpFile}"' EXIT local failureRegex="$1" shift local n=1
Shell Script - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Jun 11 16:08:08 GMT 2021 - 2K bytes - Viewed (0) -
bin/build_ztunnel.sh
exit 1 fi # Gets the download command supported by the system (currently either curl or wget) DOWNLOAD_COMMAND="" function set_download_command () { # Try curl. if command -v curl > /dev/null; then if curl --version | grep Protocols | grep https > /dev/null; then
Shell Script - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 21:46:06 GMT 2024 - 5K bytes - Viewed (0) -
common/scripts/tracing.sh
Shell Script - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Jul 28 15:25:47 GMT 2023 - 4.1K bytes - Viewed (0) -
istioctl/pkg/util/formatting/msg_threshold.go
type MessageThreshold struct { diag.Level } // String is a function declared in the pflag.Value interface func (m *MessageThreshold) String() string { return m.Level.String() } // Type is a function declared in the pflag.Value interface func (m *MessageThreshold) Type() string { return "Level" } // Set is a function declared in the pflag.Value interface func (m *MessageThreshold) Set(s string) error {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Wed Nov 17 12:28:05 GMT 2021 - 1.4K bytes - Viewed (0) -
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 Apr 24 22:53:08 GMT 2024 - Last Modified: Wed Jan 11 22:57:12 GMT 2023 - 1.7K bytes - Viewed (0) -
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 Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Sep 12 14:07:30 GMT 2023 - 2K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/services.go
"fmt" "strings" "sigs.k8s.io/yaml" "istio.io/istio/pkg/maps" "istio.io/istio/pkg/slices" ) // ServiceFilter is used to pass filter information into service based config writer print functions type ServiceFilter struct { Namespace string } // Verify returns true if the passed workload matches the filter fields func (wf *ServiceFilter) Verify(svc *ZtunnelService) bool { if wf.Namespace != "" {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 2.8K bytes - Viewed (0) -
manifests/charts/istiod-remote/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) -
cni/pkg/util/podutil.go
)) var annotationRemovePatch = []byte(fmt.Sprintf( `{"metadata":{"annotations":{"%s":null}}}`, constants.AmbientRedirection, )) // TODO: we should use the upstream istio version of this function. // PodRedirectionEnabled determines if a pod should or should not be configured // to have traffic redirected thru the node proxy. func PodRedirectionEnabled(namespace *corev1.Namespace, pod *corev1.Pod) bool {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 3.9K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers.go
// Otherwise uses the namespace value passed into the function func InferPodInfo(name, defaultNS string) (string, string) { return inferNsInfo(name, defaultNS) } // inferNsInfo Uses name to infer namespace if the passed name contains namespace information. // Otherwise uses the namespace value passed into the function func inferNsInfo(name, namespace string) (string, string) {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Feb 06 15:01:41 GMT 2024 - 6.2K bytes - Viewed (0)