Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 137 for util (0.12 sec)

  1. istioctl/pkg/util/ambient/util.go

    Ben Leggett <******@****.***> 1714685380 -0400
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  2. istioctl/pkg/checkinject/checkinject.go

    	"k8s.io/apimachinery/pkg/labels"
    
    	"istio.io/api/label"
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/completion"
    	"istio.io/istio/istioctl/pkg/util"
    	"istio.io/istio/istioctl/pkg/writer/table"
    	analyzer_util "istio.io/istio/pkg/config/analysis/analyzers/util"
    )
    
    var labelPairs string
    
    func Cmd(ctx cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "check-inject [<type>/]<name>[.<namespace>]",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. operator/cmd/mesh/profile-dump.go

    	default:
    		return []string{fmt.Sprintf("%s=%v", path, v)}, nil
    	}
    }
    
    func pathComponent(component string) string {
    	if !strings.Contains(component, util.PathSeparator) {
    		return component
    	}
    	return strings.ReplaceAll(component, util.PathSeparator, util.EscapedPathSeparator)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  4. istioctl/pkg/workload/workload_test.go

    			}
    			continue
    		}
    		if checkGolden {
    			t.Run(f.Name(), func(t *testing.T) {
    				contents := util.ReadFile(t, path.Join(testdir, f.Name()))
    				goldenFile := path.Join(testdir, f.Name()+goldenSuffix)
    				util.RefreshGoldenFile(t, contents, goldenFile)
    				util.CompareContent(t, contents, goldenFile)
    			})
    		}
    	}
    }
    
    func TestConvertToMap(t *testing.T) {
    	tests := []struct {
    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)
  5. operator/cmd/mesh/manifest-diff.go

    func compareManifestsFromDirs(verbose bool, dirName1, dirName2,
    	renameResources, selectResources, ignoreResources string,
    ) (bool, error) {
    	mf1, err := util.ReadFilesWithFilter(dirName1, yamlFileFilter)
    	if err != nil {
    		return false, err
    	}
    	mf2, err := util.ReadFilesWithFilter(dirName2, yamlFileFilter)
    	if err != nil {
    		return false, err
    	}
    
    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)
  6. istioctl/pkg/internaldebug/internal-debug.go

    	"github.com/spf13/cobra"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/istioctl/pkg/multixds"
    	"istio.io/istio/istioctl/pkg/util"
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    	"istio.io/istio/pkg/kube"
    )
    
    func HandlerForRetrieveDebugList(kubeClient kube.CLIClient,
    	centralOpts clioptions.CentralControlPlaneOptions,
    	writer io.Writer,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/server.go

    	"k8s.io/client-go/kubernetes"
    	"k8s.io/client-go/rest"
    
    	pconstants "istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/cni/pkg/ipset"
    	"istio.io/istio/cni/pkg/iptables"
    	"istio.io/istio/cni/pkg/util"
    	"istio.io/istio/pkg/kube"
    )
    
    type MeshDataplane interface {
    	// called first, (even before Start()).
    	ConstructInitialSnapshot(ambientPods []*corev1.Pod) error
    	Start(ctx context.Context)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/net.go

    	corev1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/types"
    
    	"istio.io/istio/cni/pkg/ipset"
    	"istio.io/istio/cni/pkg/iptables"
    	"istio.io/istio/cni/pkg/util"
    	istiolog "istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/util/sets"
    	dep "istio.io/istio/tools/istio-iptables/pkg/dependencies"
    )
    
    var log = istiolog.RegisterScope("ambient", "ambient controller")
    
    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)
  9. istioctl/pkg/writer/compare/cluster.go

    // limitations under the License.
    
    package compare
    
    import (
    	"bytes"
    	"fmt"
    
    	"github.com/pmezard/go-difflib/difflib"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    // ClusterDiff prints a diff between Istiod and Envoy clusters to the passed writer
    func (c *Comparator) ClusterDiff() error {
    	envoyBytes, istiodBytes := &bytes.Buffer{}, &bytes.Buffer{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  10. istioctl/pkg/util/configdump/wrapper.go

    	"google.golang.org/protobuf/reflect/protoreflect"
    	"google.golang.org/protobuf/reflect/protoregistry"
    	"google.golang.org/protobuf/types/known/emptypb"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    type resolver struct {
    	*protoregistry.Types
    }
    
    var nonStrictResolver = &resolver{protoregistry.GlobalTypes}
    
    func (r *resolver) FindMessageByURL(url string) (protoreflect.MessageType, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top