- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for insertion (0.19 sec)
-
istioctl/pkg/checkinject/checkinject.go
istioctl x check-inject deployment/details-v1 # Check the injection status of a pod under a deployment in namespace test istioctl x check-inject deployment/details-v1 -n test # Check the injection status of label pairs in a specific namespace before actual injection istioctl x check-inject -n test -l app=helloworld,version=v1 `, Args: func(cmd *cobra.Command, args []string) error {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 9.3K bytes - Viewed (0) -
logger/sql.go
return true default: return false } } // ExplainSQL generate SQL string with given parameters, the generated SQL is expected to be used in logger, execute it might introduce a SQL injection vulnerability func ExplainSQL(sql string, numericPlaceholder *regexp.Regexp, escaper string, avars ...interface{}) string { var ( convertParams func(interface{}, int) vars = make([]string, len(avars)) )
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Thu Mar 21 08:00:02 GMT 2024 - 5K bytes - Viewed (0) -
cmd/test-utils_test.go
} // return URL for inserting bucket notification. func getPutNotificationURL(endPoint, bucketName string) string { queryValue := url.Values{} queryValue.Set("notification", "") return makeTestTargetURL(endPoint, bucketName, "", queryValue) } // return URL for inserting bucket policy. func getPutPolicyURL(endPoint, bucketName string) string {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 17:26:51 GMT 2024 - 76.2K bytes - Viewed (0) -
callbacks/create.go
if db.RowsAffected == 0 { return } var ( pkField *schema.Field pkFieldName = "@id" ) insertID, err := result.LastInsertId() insertOk := err == nil && insertID > 0 if !insertOk { if !supportReturning { db.AddError(err) } return } if db.Statement.Schema != nil {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Apr 08 03:29:55 GMT 2024 - 12.5K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
revLabel := klabels.Set{"istio.io/rev": "canary"} legacyAndRevLabel := klabels.Set{"istio-injection": "enabled", "istio.io/rev": "canary"} legacyDisabledAndRevLabel := klabels.Set{"istio-injection": "disabled", "istio.io/rev": "canary"} legacyLabel := klabels.Set{"istio-injection": "enabled"} legacyLabelDisabled := klabels.Set{"istio-injection": "disabled"} objEnabled := klabels.Set{"sidecar.istio.io/inject": "true"}
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 18:16:49 GMT 2024 - 43.5K bytes - Viewed (0) -
istioctl/pkg/util/ambient/util.go
return false } switch t := obj.(type) { case *corev1.Pod: return t.GetAnnotations()[constants.AmbientRedirection] == constants.AmbientRedirectionEnabled case *corev1.Namespace: if t.GetLabels()["istio-injection"] == "enabled" { return false } if v, ok := t.GetLabels()[label.IoIstioRev.Name]; ok && v != "" { return false } return t.GetLabels()[constants.DataplaneModeLabel] == constants.DataplaneModeAmbient }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 21:29:40 GMT 2024 - 1.7K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
iptablesBuilder.AppendRule( iptableslog.UndefinedCommand, iptablesconstants.OUTPUT, iptablesconstants.NAT, "-j", ChainInpodOutput, ) // From here on, we should be only inserting rules into our custom chains. // CLI: -A ISTIO_PRERT -m mark --mark 0x539/0xfff -j CONNMARK --set-xmark 0x111/0xfff // // DESC: If we have a packet mark, set a connmark.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 07 19:54:50 GMT 2024 - 19.7K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
// should match in both expected result from test cases // and in the output. On failure calling t.Fatalf, // otherwise it may lead to index out of range error in // assertion following this. if !testCase.versioned { if len(testCase.resultL.Objects) != len(resultL.Objects) { t.Logf("want: %v", objInfoNames(testCase.resultL.Objects))
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 11:07:40 GMT 2024 - 73.1K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list_test.go
constants.DataplaneModeLabel: constants.DataplaneModeAmbient, }), createNamespace("no-ambient", map[string]string{ constants.DataplaneModeLabel: constants.DataplaneModeAmbient, "istio-injection": "enabled", }), } client := kube.NewFakeClient(nss...) expected := sets.New[string]("default", "no-ambient") actual, err := getNamespaces(context.TODO(), client, "istio-system")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 21:29:40 GMT 2024 - 2.9K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
lines = append(lines, fmt.Sprintf("%s=%s", k, shellescape.Quote(v))) } sort.Strings(lines) return strings.Join(lines, "\n") + "\n" } // extractClusterIDFromInjectionConfig can extract clusterID from injection configmap func extractClusterIDFromInjectionConfig(kubeClient kube.CLIClient, istioNamespace string) (string, error) { injectionConfigMap := "istio-sidecar-injector" // Case with multiple control planes
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Apr 17 20:06:41 GMT 2024 - 25.5K bytes - Viewed (0)