Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for what (0.13 sec)

  1. cni/pkg/install/cniconfig.go

    		} else {
    			conf, err := libcni.ConfFromFile(confFile)
    			if err != nil {
    				installLog.Warnf("Error loading CNI config file %s: %v", confFile, err)
    				continue
    			}
    			// Ensure the config has a "type" so we know what plugin to run.
    			// Also catches the case where somebody put a conflist into a conf file.
    			if conf.Network.Type == "" {
    				installLog.Warnf("Error loading CNI config file %s: no 'type'; perhaps this is a .conflist?", confFile)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/ztunnelserver.go

    }
    
    /*
    To clean up stale ztunnels
    
    	we may need to ztunnel to send its (uid, bootid / boot time) to us
    	so that we can remove stale entries when the ztunnel pod is deleted
    	or when the ztunnel pod is restarted in the same pod (remove old entries when the same uid connects again, but with different boot id?)
    
    	save a queue of what needs to be sent to the ztunnel pod and send it one by one when it connects.
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/informers_test.go

    		kubeClient: client.Kube(),
    		netServer:  fs,
    	}
    
    	handlers := setupHandlers(ctx, client, server, "istio-system")
    	client.RunAndWait(ctx.Done())
    	disabledPod, err := handlers.GetPodIfAmbient(pod.Name, "what")
    
    	assert.Error(t, err)
    	assert.Equal(t, disabledPod, nil)
    }
    
    func TestExistingPodAddedWhenItPreExists(t *testing.T) {
    	setupLogging()
    	NodeName = "testnode"
    
    	mt := monitortest.New(t)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  4. operator/cmd/mesh/manifest_shared_test.go

    	allClusterGVKs = helmreconciler.ClusterResources
    )
    
    func init() {
    	if kubeBuilderInstalled() {
    		// TestMode is required to not wait in the go client for resources that will never be created in the test server.
    		helmreconciler.TestMode = true
    		// Add install and controller to the list of commands to run tests against.
    		testedManifestCmds = append(testedManifestCmds, cmdApply, cmdController)
    	}
    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)
  5. istioctl/pkg/workload/workload_test.go

    }
    
    const goldenSuffix = ".golden"
    
    // TestWorkloadEntryConfigure enumerates test cases based on subdirectories of testdata/vmconfig.
    // Each subdirectory contains two input files: workloadgroup.yaml and meshconfig.yaml that are used
    // to generate golden outputs from the VM command.
    func TestWorkloadEntryConfigure(t *testing.T) {
    	noClusterID := "failed to automatically determine the --clusterID"
    	files, err := os.ReadDir("testdata/vmconfig")
    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)
  6. cni/pkg/nodeagent/net.go

    	}
    	log.Debug("stopping ztunnel server")
    	s.ztunnelServer.Close()
    }
    
    func (s *NetServer) rescanPod(pod *corev1.Pod) error {
    	// this can happen if the pod was dynamically added to the mesh after it was created.
    	// in that case, try finding the netns using procfs.
    	filter := map[types.UID]*corev1.Pod{
    		pod.UID: pod,
    	}
    	return s.scanProcForPodsAndCache(filter)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  7. istioctl/pkg/multixds/gather.go

    	XdsViaAgents bool
    
    	// XdsViaAgentsLimit is the maximum number of pods being visited by istioctl,
    	// when `XdsViaAgents` is true. This is only used in `proxy-status` command.
    	// 0 means that there is no limit.
    	XdsViaAgentsLimit int
    }
    
    var DefaultOptions = Options{
    	MessageWriter:     os.Stdout,
    	XdsViaAgents:      false,
    	XdsViaAgentsLimit: 0,
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  8. cni/pkg/plugin/sidecar_iptables_linux.go

    // 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.
    
    // This is a sample chained plugin that supports multiple CNI versions. It
    // parses prevResult according to the cniVersion
    package plugin
    
    import (
    	"fmt"
    
    	"github.com/containernetworking/plugins/pkg/ns"
    
    	"istio.io/istio/pkg/log"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 17:36:41 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. istioctl/pkg/clioptions/central.go

    package clioptions
    
    import (
    	"fmt"
    	"time"
    
    	"github.com/spf13/cobra"
    	"github.com/spf13/viper"
    )
    
    // CentralControlPlaneOptions holds options common to all subcommands
    // that invoke Istiod via xDS REST endpoint
    type CentralControlPlaneOptions struct {
    	// Xds is XDS endpoint, e.g. localhost:15010.
    	Xds string
    
    	// XdsPodLabel is a Kubernetes label on the Istiod pods
    	XdsPodLabel string
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jun 06 03:39:27 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/compare/comparator.go

    	if err := c.ClusterDiff(); err != nil {
    		return err
    	}
    	if err := c.ListenerDiff(); err != nil {
    		return err
    	}
    	return c.RouteDiff()
    }
    
    // nonstrictResolver is an AnyResolver that ignores unknown proto messages
    type nonstrictResolver struct{}
    
    var envoyResolver nonstrictResolver
    
    func (m *nonstrictResolver) Resolve(typeURL string) (legacyproto.Message, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 3.7K bytes
    - Viewed (1)
Back to top