- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 59 for contents (7.83 sec)
-
istioctl/pkg/workload/workload_test.go
} continue } if checkGolden { t.Run(f.Name(), func(t *testing.T) { contents := util.ReadFile(t, path.Join(testdir, f.Name())) goldenFile := path.Join(testdir, f.Name()+goldenSuffix) util.RefreshGoldenFile(t, contents, goldenFile) util.CompareContent(t, contents, goldenFile) }) } } } func TestConvertToMap(t *testing.T) { tests := []struct {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Mar 27 16:59:05 GMT 2024 - 14.6K bytes - Viewed (0) -
operator/cmd/mesh/manifest_shared_test.go
func applyWithReconciler(reconciler *helmreconciler.HelmReconciler, manifest string) error { m := name.Manifest{ // Name is not important here, only Content will be applied. Name: name.IstioOperatorComponentName, Content: manifest, } _, err := reconciler.ApplyManifest(m) return err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 20 22:39:28 GMT 2024 - 11.7K bytes - Viewed (1) -
cni/pkg/iptables/iptables.go
// redetect for each pod anyway. // // Extreme corner case: // If for some reason your host had both binaries, and you were injecting out-of-band // iptables rules within a pod context into `legacy` tables, but your host context preferred // `nft`, we would still inject our rules in-pod into nft tables, which is a bit wonky. // // But that's stunningly unlikely (and would still work either way)
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) -
cni/pkg/install/binaries_test.go
t.Run(c.name, func(t *testing.T) { srcDir := t.TempDir() for filename, contents := range c.srcFiles { file.WriteOrFail(t, filepath.Join(srcDir, filename), []byte(contents)) } targetDir := t.TempDir() for filename, contents := range c.existingFiles { file.WriteOrFail(t, filepath.Join(targetDir, filename), []byte(contents)) } binariesCopied, err := copyBinaries(srcDir, []string{targetDir})
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jul 20 18:34:43 GMT 2023 - 2.3K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint_test.go
gateways: []*gateway.Gateway{ makeGateway(constants.DefaultNamespaceWaypoint, "default", true, true), makeGateway(constants.DefaultNamespaceWaypoint, "fake", true, true), }, expectedOutFile: "default-gateway", }, { name: "all namespaces gateways", args: strings.Split("list -A", " "), gateways: []*gateway.Gateway{ makeGateway(constants.DefaultNamespaceWaypoint, "default", true, true),
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 04 15:53:09 GMT 2024 - 4.4K bytes - Viewed (0) -
cni/pkg/nodeagent/server_test.go
UID: types.UID("test"), Annotations: map[string]string{ constants.AmbientRedirection: constants.AmbientRedirectionEnabled, }, }, } } type fakeServer struct { mock.Mock testWG *WaitGroup // optional waitgroup, if code under test makes a number of async calls to fakeServer } func (f *fakeServer) AddPodToMesh(ctx context.Context, pod *corev1.Pod, podIPs []netip.Addr, netNs string) error {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 7.8K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers.go
} namespace = t.Namespace selector, err = labels.Parse(constants.GatewayNameLabel + "=" + t.Name) case *gatewayapibeta.Gateway: if !gateway.IsManaged(&t.Spec) { return "", nil, fmt.Errorf("gateway is not a managed gateway") } namespace = t.Namespace selector, err = labels.Parse(constants.GatewayNameLabel + "=" + t.Name) default: return polymorphichelpers.SelectorsForObject(object)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 06 15:01:41 GMT 2024 - 6.2K bytes - Viewed (0) -
cni/pkg/log/uds_test.go
// limitations under the License. package log import ( "io" "os" "path/filepath" "strings" "testing" "istio.io/istio/cni/pkg/constants" "istio.io/istio/pkg/log" "istio.io/istio/pkg/test/util/assert" ) func TestUDSLog(t *testing.T) { // Start UDS log server udsSockDir := t.TempDir() udsSock := filepath.Join(udsSockDir, "cni.sock")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Mar 16 00:20:01 GMT 2024 - 2.5K bytes - Viewed (0) -
cni/pkg/repair/netns.go
// * /var/lib/cni/results shows the outputs of CNI plugins; this containers the bind-mounted network namespace file. // // Instead, we traverse the procfs. Comments on this method are inline. func getPodNetNs(pod *corev1.Pod) (string, error) { // First, find the network namespace id by looking the interface with the given Pod IP.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Dec 20 22:14:13 GMT 2023 - 4.8K bytes - Viewed (0) -
cni/pkg/nodeagent/server.go
ConstructInitialSnapshot(ambientPods []*corev1.Pod) error Start(ctx context.Context) // IsPodInMesh(ctx context.Context, pod *metav1.ObjectMeta, netNs string) (bool, error) AddPodToMesh(ctx context.Context, pod *corev1.Pod, podIPs []netip.Addr, netNs string) error RemovePodFromMesh(ctx context.Context, pod *corev1.Pod) error DelPodFromMesh(ctx context.Context, pod *corev1.Pod) error Stop() } type Server struct {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 7.2K bytes - Viewed (0)