- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 124 for utils (0.45 sec)
-
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) -
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) -
operator/cmd/mesh/profile-dump_test.go
t.Error(err) } } want, err := readFile(outPath) if err != nil { t.Fatal(err) } if !util.IsYAMLEqual(got, want) { t.Errorf("profile-dump command(%s): got:\n%s\n\nwant:\n%s\nDiff:\n%s\n", tt.desc, got, want, util.YAMLDiff(got, want)) } }) } } func runProfileDump(profilePath, configPath string, chartSource chartSourceType, outfmt string) (string, error) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jan 20 11:44:25 GMT 2022 - 3.7K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
operator/cmd/mesh/operator-common.go
_ "k8s.io/client-go/plugin/pkg/client/auth" // Import all Kubernetes client auth plugins (e.g. Azure, GCP, OIDC, etc.) "istio.io/istio/operator/pkg/helm" "istio.io/istio/operator/pkg/name" "istio.io/istio/operator/pkg/util" ) type operatorCommonArgs struct { // hub is the hub for the operator image. hub string // tag is the tag for the operator image. tag string
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Dec 17 02:25:04 GMT 2022 - 3.8K bytes - Viewed (0) -
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) -
istioctl/pkg/writer/envoy/configdump/listener.go
tcp "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/network/tcp_proxy/v3" "sigs.k8s.io/yaml" "istio.io/istio/istioctl/pkg/util/proto" "istio.io/istio/pilot/pkg/networking/util" "istio.io/istio/pilot/pkg/util/protoconv" v3 "istio.io/istio/pilot/pkg/xds/v3" "istio.io/istio/pkg/wellknown" ) const (
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 18.1K bytes - Viewed (0)