Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 96 for from (0.13 sec)

  1. cni/pkg/util/pluginutil.go

    	if !ok {
    		err = fmt.Errorf("error reading plugin list from CNI config")
    		return
    	}
    	return
    }
    
    // Given the raw plugin interface, return the plugin asserted as a map[string]interface{}
    func GetPlugin(rawPlugin any) (plugin map[string]any, err error) {
    	plugin, ok := rawPlugin.(map[string]any)
    	if !ok {
    		err = fmt.Errorf("error reading plugin from CNI config plugin list")
    		return
    	}
    	return
    }
    
    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)
  2. cni/pkg/nodeagent/cni-watcher.go

    	Netns        string
    	PodName      string
    	PodNamespace string
    	IPs          []IPConfig
    }
    
    // IPConfig contains an interface/gateway/address combo defined for a newly-started pod by CNI.
    // This is "from the horse's mouth" so to speak and will be populated before Kube is informed of the
    // pod IP.
    type IPConfig struct {
    	Interface *int
    	Address   net.IPNet
    	Gateway   net.IP
    }
    
    type CniPluginServer struct {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  3. istioctl/pkg/tag/generate.go

    			}
    		}
    
    		// TODO(Monkeyanator) should extract the validationURL from revision's validating webhook here. However,
    		// to ease complexity when pointing default to revision without per-revision validating webhook,
    		// instead grab the endpoint information from the mutating webhook. This is not strictly correct.
    		validationWhConfig, err := fixWhConfig(client, tagWhConfig)
    		if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  4. istioctl/pkg/workload/workload.go

    					return fmt.Errorf("workloadgroup %s not found in namespace %s: %v", name, namespace, err)
    				}
    			}
    
    			// extract the cluster ID from the injector config (.Values.global.multiCluster.clusterName)
    			if !validateFlagIsSetManuallyOrNot(cmd, "clusterID") {
    				// extract the cluster ID from the injector config if it is not set by user
    				clusterName, err := extractClusterIDFromInjectionConfig(kubeClient, ctx.IstioNamespace())
    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)
  5. istioctl/pkg/multicluster/remote_secret.go

    	restCfg := client.RESTConfig()
    	if restCfg == nil {
    		return "", nil, fmt.Errorf("failed getting REST config from client")
    	}
    	server := restCfg.Host
    	if strings.Contains(server, "127.0.0.1") || strings.Contains(server, "localhost") {
    		return server, fmt.Errorf(
    			"server in Kubeconfig is %s. This is likely not reachable from inside the cluster, "+
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/podcgroupns.go

    }
    
    /// mostly copy pasted from spire below:
    
    // regexes listed here have to exclusively match a cgroup path
    // the regexes must include two named groups "poduid" and "containerid"
    // if the regex needs to exclude certain substrings, the "mustnotmatch" group can be used
    // nolint: lll
    var cgroupREs = []*regexp.Regexp{
    	// the regex used to parse out the pod UID and container ID from a
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  7. istioctl/pkg/version/version.go

      istioctl x version
    
      # Retrieve version information directly from the control plane, using RSA certificate security
      # (Certificates must be obtained before this step.  The --cert-dir flag lets istioctl bypass the Kubernetes API server.)
      istioctl x version --xds-address istio.example.com:15012 --cert-dir ~/.istio-certs
    
      # Retrieve version information via XDS from specific control plane in multi-control plane in-cluster configuration
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  8. operator/cmd/mesh/manifest-generate_test.go

    		}
    		return chartSourceType(filepath.Join(d, "manifests"))
    	}()
    	// Compiled in charts come from assets.gen.go
    	compiledInCharts chartSourceType = "COMPILED"
    	_                                = compiledInCharts
    	// Live charts come from manifests/
    	liveCharts = chartSourceType(filepath.Join(env.IstioSrc, operatorSubdirFilePath))
    )
    
    type testGroup []struct {
    	desc string
    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)
  9. cni/pkg/install/kubeconfig.go

    	}
    	return nil
    }
    
    // checkExistingKubeConfigFile returns an error if no kubeconfig exists at the configured path,
    // or if a kubeconfig exists there, but differs from the current config.
    // In any case, an error indicates the file must be (re)written, and no error means no action need be taken
    func checkExistingKubeConfigFile(cfg *config.InstallConfig, expectedKC kubeconfig) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Aug 11 01:19:03 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  10. istioctl/pkg/util/configdump/endpoint.go

    // limitations under the License.
    
    package configdump
    
    import (
    	admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    )
    
    // GetEndpointsConfigDump retrieves the listener config dump from the ConfigDump
    func (w *Wrapper) GetEndpointsConfigDump() (*admin.EndpointsConfigDump, error) {
    	endpointsDumpAny, err := w.getSection(endpoints)
    	if err != nil {
    		return nil, nil
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 24 14:14:42 GMT 2023
    - 1.1K bytes
    - Viewed (0)
Back to top