- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 78 for constant (0.24 sec)
-
cni/pkg/util/podutil_test.go
assert.Equal(t, len(podIPs), 0) } func TestPodRedirectionEnabled(t *testing.T) { var ( ambientEnabledLabel = map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeAmbient} ambientDisabledLabel = map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeNone} sidecarStatusAnnotation = map[string]string{annotation.SidecarStatus.Name: "test"} namespaceWithAmbientEnabledLabel = &corev1.Namespace{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 4.9K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
pluginServer := startCniPluginServer(ctx, "/tmp/test.sock", handlers, dpServer) // label the namespace labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":"%s"}}}`, constants.DataplaneModeLabel, constants.DataplaneModeAmbient)) _, err := client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name, types.MergePatchType, labelsPatch, metav1.PatchOptions{}) assert.NoError(t, err)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 21:29:40 GMT 2024 - 5.4K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
if ns == nil { return fmt.Errorf("failed to find namespace %v", ns) } wasAnnotated := oldPod.Annotations != nil && oldPod.Annotations[constants.AmbientRedirection] == constants.AmbientRedirectionEnabled isAnnotated := newPod.Annotations != nil && newPod.Annotations[constants.AmbientRedirection] == constants.AmbientRedirectionEnabled shouldBeEnabled := util.PodRedirectionEnabled(ns, newPod)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 9.6K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
"istio.io/istio/pkg/config/constants" "istio.io/istio/pkg/config/protocol" "istio.io/istio/pkg/config/schema/gvk" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/slices" "istio.io/istio/pkg/util/sets" ) var ( revision = "" waitReady bool allNamespaces bool deleteAll bool trafficType = ""
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 19:45:58 GMT 2024 - 15.5K bytes - Viewed (0) -
cni/pkg/nodeagent/options.go
// limitations under the License. package nodeagent import ( "net/netip" "istio.io/istio/pkg/config/constants" "istio.io/istio/pkg/env" ) var ( PodNamespace = env.RegisterStringVar("SYSTEM_NAMESPACE", constants.IstioSystemNamespace, "pod's namespace").Get() PodName = env.RegisterStringVar("POD_NAME", "", "").Get()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 2K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
{testBuckets[5], "201910/foo/bar/xl.meta/1.txt", "content", nil}, {testBuckets[6], "aaa", "content", nil}, {testBuckets[6], "bbb_aaa", "content", nil}, {testBuckets[6], "bbb_aaa", "content", nil}, {testBuckets[6], "ccc", "content", nil}, } for _, object := range testObjects { md5Bytes := md5.Sum([]byte(object.content))
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) -
docs/en/docs/deployment/concepts.md
### Examples of Replication Tools and Strategies There can be several approaches to achieve this, and I'll tell you more about specific strategies in the next chapters, for example when talking about Docker and containers.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 18K bytes - Viewed (0) -
docs/en/docs/css/termynal.css
/* Set up defaults and ensure empty lines are displayed. */ content: ''; display: inline-block; vertical-align: middle; } [data-ty="input"]:before, [data-ty-prompt]:before { margin-right: 0.75em; color: var(--color-text-subtle); } [data-ty="input"]:before { content: '$'; } [data-ty][data-ty-prompt]:before { content: attr(data-ty-prompt); } [data-ty-cursor]:after {
CSS - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 2.2K bytes - Viewed (0) -
cni/pkg/plugin/plugin.go
"github.com/containernetworking/cni/pkg/version" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes" "istio.io/api/annotation" "istio.io/api/label" "istio.io/istio/cni/pkg/constants" "istio.io/istio/cni/pkg/util" "istio.io/istio/pkg/log" "istio.io/istio/pkg/util/sets" ) var ( injectAnnotationKey = annotation.SidecarInject.Name sidecarStatusKey = annotation.SidecarStatus.Name
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 10.5K bytes - Viewed (0) -
cmd/api-errors.go
Description: "The content of the form does not meet the conditions specified in the policy document.", HTTPStatusCode: http.StatusBadRequest, }, ErrAccessDenied: { Code: "AccessDenied", Description: "Access Denied.", HTTPStatusCode: http.StatusForbidden, }, ErrBadDigest: { Code: "BadDigest", Description: "The Content-Md5 you specified did not match what we received.",
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun May 05 16:56:21 GMT 2024 - 91.4K bytes - Viewed (7)