Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for through (0.23 sec)

  1. istioctl/pkg/writer/compare/sds/writer.go

    // limitations under the License.
    
    package sdscompare
    
    import (
    	"encoding/json"
    	"fmt"
    	"io"
    	"strings"
    	"text/tabwriter"
    )
    
    // SDSWriter takes lists of SecretItem or SecretItemDiff and prints them through supplied output writer
    type SDSWriter interface {
    	PrintSecretItems([]SecretItem) error
    	PrintDiffs([]SecretItemDiff) error
    }
    
    type Format int
    
    const (
    	JSON Format = iota
    	TABULAR
    )
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 21 14:17:23 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest_shared_test.go

    	rootCmd.SetOut(&out)
    
    	err := rootCmd.Execute()
    	return out.String(), err
    }
    
    // cleanTestCluster resets the test cluster.
    func cleanTestCluster() error {
    	// Needed in case we are running a test through this path that doesn't start a new process.
    	cache.FlushObjectCaches()
    	if !kubeBuilderInstalled() {
    		return nil
    	}
    	return recreateTestEnv()
    }
    
    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)
  3. cni/pkg/nodeagent/informers.go

    			}
    
    			err := s.dataplane.AddPodToMesh(s.ctx, pod, podIPs, "")
    			log.Debugf("AddPodToMesh(%s) returned %v", newPod.Name, err)
    		}
    	case controllers.EventDelete:
    		// TODO: as every pod on our node will come through here, check if pod is annotated?
    		err := s.dataplane.DelPodFromMesh(s.ctx, pod)
    		log.Debugf("DelPodFromMesh(%s) returned %v", pod.Name, err)
    	}
    	return nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  4. cni/pkg/repair/repaircontroller.go

    // This differs from the general CNI plugin flow, which triggers before the pod fully starts.
    // Additionally, we need to jump through hoops to find the network namespace.
    func (c *Controller) repairPod(pod *corev1.Pod) error {
    	m := podsRepaired.With(typeLabel.Value(repairType))
    	log := repairLog.WithLabels("pod", pod.Namespace+"/"+pod.Name)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  5. operator/cmd/mesh/install.go

    func InstallManifests(iop *v1alpha12.IstioOperator, force bool, dryRun bool, kubeClient kube.Client, client client.Client,
    	waitTimeout time.Duration, l clog.Logger,
    ) error {
    	// Needed in case we are running a test through this path that doesn't start a new process.
    	cache.FlushObjectCaches()
    	opts := &helmreconciler.Options{
    		DryRun: dryRun, Log: l, WaitTimeout: waitTimeout, ProgressLog: progress.NewLog(),
    		Force: force,
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  6. istioctl/pkg/multicluster/options.go

    }
    
    // Inherit the common kubernetes flags defined in the root package. This is a bit of a hack,
    // but it allows us to directly get the final values for each of these flags without needing
    // to pass pointers-to-flags through all of the (sub)commands.
    func (o *KubeOptions) prepare(ctx cli.Context) {
    	o.Namespace = ctx.Namespace()
    	if o.Namespace == "" {
    		o.Namespace = ctx.IstioNamespace()
    
    		configAccess := clientcmd.NewDefaultPathOptions()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Aug 01 23:59:49 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  7. operator/cmd/mesh/shared.go

    func applyManifest(kubeClient kube.Client, client client.Client, manifestStr string,
    	componentName name.ComponentName, opts *applyOptions, iop *v1alpha1.IstioOperator, l clog.Logger,
    ) error {
    	// Needed in case we are running a test through this path that doesn't start a new process.
    	cache.FlushObjectCaches()
    	reconciler, err := helmreconciler.NewHelmReconciler(client, kubeClient, iop, &helmreconciler.Options{DryRun: opts.DryRun, Log: l})
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  8. cni/pkg/plugin/plugin.go

    	var result *cniv1.Result
    	if conf.PrevResult == nil {
    		result = &cniv1.Result{
    			CNIVersion: cniv1.ImplementedSpecVersion,
    		}
    		return types.PrintResult(result, conf.CNIVersion)
    	}
    
    	// Pass through the result for the next plugin
    	return types.PrintResult(conf.PrevResult, conf.CNIVersion)
    }
    
    func CmdCheck(args *skel.CmdArgs) (err error) {
    	return nil
    }
    
    func CmdDelete(args *skel.CmdArgs) (err error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. istioctl/cmd/root.go

    	configType := filepath.Ext(root.IstioConfig)
    	configName := baseName[0 : len(baseName)-len(configType)]
    	if configType != "" {
    		configType = configType[1:]
    	}
    
    	// Allow users to override some variables through $HOME/.istioctl/config.yaml
    	// and environment variables.
    	viper.SetEnvPrefix("ISTIOCTL")
    	viper.AutomaticEnv()
    	viper.AllowEmptyEnv(true) // So we can say ISTIOCTL_CERT_DIR="" to suppress certs
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  10. operator/cmd/mesh/manifest-generate_test.go

    	runTestGroup(t, testGroup{
    		{
    			desc:       "ztunnel",
    			diffSelect: "DaemonSet:*:ztunnel",
    		},
    	})
    }
    
    // TestManifestGenerateHelmValues tests whether enabling components through the values passthrough interface works as
    // expected i.e. without requiring enablement also in IstioOperator API.
    func TestManifestGenerateHelmValues(t *testing.T) {
    	runTestGroup(t, testGroup{
    		{
    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)
Back to top