- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for correctly (0.19 sec)
-
istioctl/pkg/util/proto/messageslice.go
import ( "bytes" "google.golang.org/protobuf/proto" "istio.io/istio/pkg/util/protomarshal" ) // MessageSlice allows us to marshal slices of protobuf messages like clusters/listeners/routes/endpoints correctly type MessageSlice []proto.Message // MarshalJSON handles marshaling of slices of proto messages func (pSlice MessageSlice) MarshalJSON() ([]byte, error) { buffer := bytes.NewBufferString("[")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 19 21:53:59 GMT 2021 - 1.3K bytes - Viewed (0) -
istioctl/cmd/options.go
} retval.SetHelpFunc(func(c *cobra.Command, args []string) { c.Printf("The following options can be passed to any command:\n") // (Currently the only global options we show are help options) rootCmd.PersistentFlags().VisitAll(func(flag *pflag.Flag) { if _, ok := helpFlags[flag.Name]; ok { // Currently every flag.Shorthand is "", so there is no point in showing shorthands shorthand := " " if flag.Shorthand != "" {
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) -
istioctl/pkg/clioptions/central.go
GCPProject string // Istiod address. For MCP may be different than Xds. IstiodAddr string } // AttachControlPlaneFlags attaches control-plane flags to a Cobra command. // (Currently just --endpoint) func (o *CentralControlPlaneOptions) AttachControlPlaneFlags(cmd *cobra.Command) { cmd.PersistentFlags().StringVar(&o.Xds, "xds-address", viper.GetString("XDS-ADDRESS"), "XDS Endpoint")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Jun 06 03:39:27 GMT 2022 - 3.2K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
// this will allow for gateway class to provide a default for that class rather than always forcing service or requiring users to configure correctly if trafficType != "" { if !validTrafficTypes.Contains(trafficType) { return nil, fmt.Errorf("invalid traffic type: %s. Valid options are: %s", trafficType, validTrafficTypes.String()) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 19:45:58 GMT 2024 - 15.5K bytes - Viewed (0) -
istioctl/pkg/writer/pilot/status.go
configs := make([]*xdsstatus.ClientConfig_GenericXdsConfig, 0) if clientConfig.GetGenericXdsConfigs() != nil { configs = clientConfig.GetGenericXdsConfigs() return configs } // FIXME: currently removing the deprecated code below may result in functions not working // if there is a mismatch of versions between istiod and istioctl // nolint: staticcheck for _, config := range clientConfig.GetXdsConfig() {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 04:16:55 GMT 2024 - 6.1K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
func edsConfigCmd(ctx cli.Context) *cobra.Command { var podName, podNamespace string endpointConfigCmd := &cobra.Command{ Use: "eds [<type>/]<name>[.<namespace>]", // Currently, we have an "endpoints" and "eds" command. While for simple use cases these are nearly identical, they give // pretty different outputs for the full JSON output. This makes it a useful command for developers, but may be overwhelming
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 16 03:28:36 GMT 2024 - 48K bytes - Viewed (0) -
istioctl/pkg/tag/generate_test.go
} if tag != tc.tagName { t.Errorf("expected tag webhook to have istio.io/tag=%s, found %s instead", tc.tagName, tag) } // ensure all webhooks have the correct client config for _, webhook := range wh.Webhooks { injectionWhConf := webhook.ClientConfig if tc.whSVC != "" { if injectionWhConf.Service == nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 12.1K bytes - Viewed (0) -
cni/pkg/install/install.go
isReady: isReady, } } func (in *Installer) installAll(ctx context.Context) (sets.String, error) { // Install binaries // Currently we _always_ do this, since the binaries do not live in a shared location // and we harm no one by doing so. copiedFiles, err := copyBinaries(in.cfg.CNIBinSourceDir, in.cfg.CNIBinTargetDirs) if err != nil {
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) -
cni/pkg/util/podutil.go
// Neither namespace nor pod has ambient mode enabled return false } if podHasSidecar(pod) { // Ztunnel and sidecar for a single pod is currently not supported; opt out. return false } if pod.GetLabels()[constants.DataplaneModeLabel] == constants.DataplaneModeNone { // Pod explicitly asked to not have ambient redirection enabled return false }
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/ipset/ipset.go
// superset of type `list:set` - we can then query the superset directly in iptables (with the same rule), // and iptables will be smart enough to pick the correct underlying set (v4 or v6, based on context), // reducing the # of rules we need. // // BUT netlink lib doesn't support adding things to `list:set` types yet, and current tagged release
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.9K bytes - Viewed (0)