Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for New (0.12 sec)

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

    // includeConfigType is a flag to indicate whether to include the config type in the output
    var includeConfigType bool
    
    func SetPrintConfigTypeInSummary(p bool) {
    	includeConfigType = p
    }
    
    // NewSDSWriter generates a new instance which conforms to SDSWriter interface
    func NewSDSWriter(w io.Writer, format Format) SDSWriter {
    	return &sdsWriter{
    		w:      w,
    		output: format,
    	}
    }
    
    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. cni/pkg/nodeagent/server_test.go

    	podIP := netip.MustParseAddr("99.9.9.1")
    	podIPs := []netip.Addr{podIP}
    	fakeCtx := context.Background()
    
    	server.On("AddPodToMesh",
    		fakeCtx,
    		pod,
    		podIPs,
    		"",
    	).Return(errors.New("not partial error"))
    
    	server.Start(fakeCtx)
    	fakeClientSet := fake.NewSimpleClientset(pod)
    	m := meshDataplane{
    		kubeClient: fakeClientSet,
    		netServer:  server,
    	}
    
    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)
  3. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    func (c *ConfigWriter) PrintSecretSummary() error {
    	if c.ztunnelDump == nil {
    		return fmt.Errorf("config writer has not been primed")
    	}
    	secretDump := c.ztunnelDump.Certificates
    	w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 5, ' ', 0)
    	fmt.Fprintln(w, "CERTIFICATE NAME\tTYPE\tSTATUS\tVALID CERT\tSERIAL NUMBER\tNOT AFTER\tNOT BEFORE")
    
    	for _, secret := range secretDump {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 16:38:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/compare/comparator.go

    	mt, err := protoregistry.GlobalTypes.FindMessageByName(protoreflect.FullName(mname))
    	if err != nil {
    		// istioctl should keep going if it encounters new Envoy versions; ignore unknown types
    		return &exprpb.Type{TypeKind: &exprpb.Type_Dyn{Dyn: &emptypb.Empty{}}}, nil
    	}
    	return legacyproto.MessageV1(mt.New().Interface()), nil
    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)
  5. cni/pkg/nodeagent/pod_cache.go

    import (
    	"errors"
    	"fmt"
    	"path/filepath"
    	"runtime"
    	"sync"
    
    	corev1 "k8s.io/api/core/v1"
    
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/zdsapi"
    )
    
    var ErrPodNotFound = errors.New("netns not provided, but is needed as pod is not in cache")
    
    type PodNetnsCache interface {
    	ReadCurrentPodSnapshot() map[string]WorkloadInfo
    }
    
    // Hold a cache of node local pods with their netns
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. operator/cmd/mesh/manifest-diff.go

    		Long: "The diff subcommand compares manifests from two files or directories. The output is a list of\n" +
    			"changed paths with the value changes shown as OLD-VALUE -> NEW-VALUE.\n" +
    			"List order changes are shown as [OLD-INDEX->NEW-INDEX], with ? used where a list item is added or\n" +
    			"removed.",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 2 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/error.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package nodeagent
    
    import (
    	"errors"
    	"fmt"
    )
    
    var ErrPartialAdd = errors.New("partial add error")
    
    type PartialAddError struct {
    	inner error
    }
    
    func (e *PartialAddError) Error() string {
    	return fmt.Sprintf("%s: %v", ErrPartialAdd.Error(), e.inner)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1K bytes
    - Viewed (0)
  8. operator/cmd/mesh/manifest_shared_test.go

    	testRestConfig.Burst = 100
    	if err != nil {
    		return err
    	}
    
    	s := scheme.Scheme
    	s.AddKnownTypes(v1alpha1.SchemeGroupVersion, &v1alpha1.IstioOperator{})
    
    	testClient, err = client.New(testRestConfig, client.Options{Scheme: s})
    	if err != nil {
    		return err
    	}
    	return nil
    }
    
    var interceptorFunc = interceptor.Funcs{Patch: func(
    	ctx context.Context,
    	clnt client.WithWatch,
    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)
  9. cni/pkg/util/executil.go

    	if len(stdout.String()) != 0 {
    		log.Debugf("Command output: \n%v", stdout.String())
    	}
    
    	if err != nil || len(stderr.Bytes()) != 0 {
    		log.Debugf("Command error output: \n%v", stderr.String())
    		return errors.New(stderr.String())
    	}
    
    	return nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    func (c *ConfigWriter) PrintPodRootCAFromDynamicSecretDump() (string, error) {
    	// TODO
    	return "", nil
    }
    
    func (c *ConfigWriter) tabwriter() *tabwriter.Writer {
    	w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 1, ' ', 0)
    	return w
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top