- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 63 for maps (0.15 sec)
-
cni/pkg/nodeagent/podcgroupns.go
corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/types" "istio.io/istio/pkg/maps" "istio.io/istio/pkg/util/sets" ) type PodToNetns map[string]WorkloadInfo func (p PodToNetns) Close() { for _, wl := range p { wl.Netns.Close() } } type PodNetnsFinder interface { FindNetnsForPods(filter map[types.UID]*corev1.Pod) (PodToNetns, error) } type PodNetnsProcFinder struct { proc fs.FS }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 11K bytes - Viewed (0) -
common-protos/k8s.io/api/core/v1/generated.proto
// +optional map<string, k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2; // Min usage constraints on this kind by resource name. // +optional map<string, k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3; // Default resource requirement limit value by resource name if resource limit is omitted. // +optional
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 255.8K bytes - Viewed (0) -
architecture/environments/operator.md
# Istio operator code overview ## Introduction This document covers primarily the code, with some background on how the design maps to it. See the [design doc](https://docs.google.com/document/d/11j9ZtYWNWnxQYnZy8ayZav1FMwTH6F6z6fkDYZ7V298/edit#heading=h.qex63c29z2to) for a more complete design description. The operator code is divided roughly into five areas: 1. [IstioOperatorSpec API](#istiooperatorspec-api) and related infrastructure, which is expressed as a
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Aug 09 22:09:18 GMT 2023 - 13.4K bytes - Viewed (0) -
operator/cmd/mesh/test-util_test.go
out := make(map[string]any) if hostname != "" { out["hostname"] = hostname } if ip != "" { out["ip"] = ip } if nodeName != "" { out["nodeName"] = nodeName } return out } // portVal returns a map having service port type. A value of -1 for port or targetPort leaves those keys unset. func portVal(name string, port, targetPort int64) map[string]any {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 15.3K bytes - Viewed (0) -
cni/pkg/util/pluginutil.go
plugin, ok := rawPlugin.(map[string]any) if !ok { err = fmt.Errorf("error reading plugin from CNI config plugin list") return } return } // Marshal the CNI config map and append a new line func MarshalCNIConfig(cniConfigMap map[string]any) ([]byte, error) { cniConfig, err := json.MarshalIndent(cniConfigMap, "", " ") if err != nil { return nil, err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 3.6K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list_test.go
pod: &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Annotations: map[string]string{ annotation.SidecarStatus.Name: `{"revision": "test-anno"}`, }, }, }, expectedRevision: "test-anno", }, { name: "has both rev label and annotation, use label", pod: &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Labels: map[string]string{
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/multicluster/remote_secret_test.go
ObjectMeta: metav1.ObjectMeta{ Name: remoteSecretNameFromClusterName(fakeClusterName), Annotations: map[string]string{ clusterNameAnnotationKey: fakeClusterName, }, Labels: map[string]string{ multicluster.MultiClusterSecretLabel: "true", }, }, Data: map[string][]byte{ fakeClusterName: []byte(kubeconfig), }, }, }, {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 20.6K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
} // Because we are placing into an Unstructured, place as a map instead // of structured Istio types. (The go-client can handle the structured data, but the // fake go-client used for mocking cannot.) func unstructureIstioType(spec any) (map[string]any, error) { b, err := yaml.Marshal(spec) if err != nil { return nil, err } iSpec := map[string]any{} err = yaml.Unmarshal(b, &iSpec) if err != nil {
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) -
istioctl/pkg/injector/injector-list.go
} return retval, nil } // getInjectedImages() returns a map of revision->dockerimage func getInjectedImages(ctx context.Context, client kube.CLIClient) (map[string]string, error) { retval := map[string]string{} // All configs in all namespaces that are Istio revisioned
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jan 04 03:08:06 GMT 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/cli/context.go
if ns == corev1.NamespaceAll { ns = defaultNamespace } return ns } type fakeInstance struct { // clients are cached clients for each revision clients map[string]kube.CLIClient rootFlags *RootFlags results map[string][]byte objects []runtime.Object version string } func (f *fakeInstance) CLIClientWithRevision(rev string) (kube.CLIClient, error) { if _, ok := f.clients[rev]; !ok {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 6.4K bytes - Viewed (0)