- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for configured (0.18 sec)
-
cni/pkg/log/uds_test.go
udsSock := filepath.Join(udsSockDir, "cni.sock") logger := NewUDSLogger() pluginLog.SetOutputLevel(log.DebugLevel) // this will be configured by global.logging.level stop := make(chan struct{}) defer close(stop) assert.NoError(t, logger.StartUDSLogServer(udsSock, stop)) // Configure log to tee to UDS server stdout := os.Stdout r, w, _ := os.Pipe() os.Stdout = w loggingOptions := log.DefaultOptions()
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/install/cniconfig.go
return cniConfigFilepath, err } cniConfigFilepath += "list" } installLog.Infof("Created CNI config %s", cniConfigFilepath) return cniConfigFilepath, nil } // If configured as chained CNI plugin, waits indefinitely for a main CNI config file to exist before returning // Or until cancelled by parent context func getCNIConfigFilepath(ctx context.Context, cfg pluginConfig) (string, error) {
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) -
istioctl/pkg/workload/workload_test.go
args: strings.Split("entry configure --name foo -o temp --clusterID cid", " "), expectedException: true, expectedOutput: "Error: expecting a WorkloadGroup artifact file or the name and namespace of an existing WorkloadGroup\n", }, { description: "Invalid command args - missing valid input spec", args: strings.Split("entry configure -n bar -o temp --clusterID cid", " "),
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) -
cni/pkg/plugin/sidecar_intercept_rule_mgr.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. package plugin // InterceptRuleMgr configures networking tables (e.g. iptables or nftables) for // redirecting traffic to an Istio proxy. type InterceptRuleMgr interface { Program(podName, netns string, redirect *Redirect) error }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 940 bytes - Viewed (0) -
istioctl/pkg/config/config_test.go
) func TestConfigList(t *testing.T) { cases := []testutil.TestCase{ //{ // case 0 // Args: strings.Split("get istioNamespace", " "), // ExpectedRegexp: regexp.MustCompile("Configure istioctl defaults"), // WantException: false, //}, { // case 1 Args: strings.Split("list", " "), ExpectedOutput: `FLAG VALUE FROM
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.8K bytes - Viewed (0) -
cni/pkg/util/podutil.go
)) var annotationRemovePatch = []byte(fmt.Sprintf( `{"metadata":{"annotations":{"%s":null}}}`, constants.AmbientRedirection, )) // PodRedirectionEnabled determines if a pod should or should not be configured // to have traffic redirected thru the node proxy. func PodRedirectionEnabled(namespace *corev1.Namespace, pod *corev1.Pod) bool { if !(namespace.GetLabels()[constants.DataplaneModeLabel] == constants.DataplaneModeAmbient ||
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 3.9K bytes - Viewed (0) -
cni/pkg/nodeagent/net_test.go
"istio.io/istio/tools/istio-iptables/pkg/dependencies" ) func setupLogging() { opts := istiolog.DefaultOptions() opts.SetDefaultOutputLevel(istiolog.OverrideScopeName, istiolog.DebugLevel) istiolog.Configure(opts) for _, scope := range istiolog.Scopes() { scope.SetOutputLevel(istiolog.DebugLevel) } } type netTestFixture struct { netServer *NetServer podNsMap *podNetnsCache
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 16.4K bytes - Viewed (0) -
cni/pkg/install/kubeconfig.go
return err } installLog.Infof("wrote kubeconfig file %s with: \n%+v", kubeconfigFilepath, kc.Redacted) } 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
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) -
cni/pkg/cmd/root.go
) var rootCmd = &cobra.Command{ Use: "install-cni", Short: "Install and configure Istio CNI plugin on a node, detect and repair pod which is broken by race condition.", SilenceUsage: true, PreRunE: func(c *cobra.Command, args []string) error { if err := log.Configure(logOptions); err != nil { log.Errorf("Failed to configure log %v", err) } return nil }, RunE: func(c *cobra.Command, args []string) (err error) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.5K bytes - Viewed (0) -
cni/pkg/install/install.go
// If an error occurs or context is canceled, the function will return an error. func (in *Installer) sleepWatchInstall(ctx context.Context, installedBinFiles sets.String) error { // Watch our specific binaries, in each configured binary dir. // We may or may not be the only CNI plugin in play, and if we are not // we shouldn't fire events for binaries that are not ours. var binPaths []string for _, bindir := range in.cfg.CNIBinTargetDirs {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 08 18:52:24 GMT 2024 - 10.8K bytes - Viewed (0)