- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getAsString (0.33 sec)
-
istioctl/pkg/clioptions/central.go
// (Currently just --endpoint) func (o *CentralControlPlaneOptions) AttachControlPlaneFlags(cmd *cobra.Command) { cmd.PersistentFlags().StringVar(&o.Xds, "xds-address", viper.GetString("XDS-ADDRESS"), "XDS Endpoint") cmd.PersistentFlags().StringVar(&o.CertDir, "cert-dir", viper.GetString("CERT-DIR"), "XDS Endpoint certificate directory") cmd.PersistentFlags().StringVar(&o.XdsPodLabel, "xds-label", "", "Istiod pod label selector")
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) -
cni/pkg/cmd/root.go
LabelKey: viper.GetString(constants.RepairLabelKey), LabelValue: viper.GetString(constants.RepairLabelValue), NodeName: viper.GetString(constants.RepairNodeName), SidecarAnnotation: viper.GetString(constants.RepairSidecarAnnotation), InitContainerName: viper.GetString(constants.RepairInitContainerName), InitTerminationMsg: viper.GetString(constants.RepairInitTerminationMsg),
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.5K bytes - Viewed (0) -
istioctl/pkg/cli/option.go
"Kubernetes configuration context") flags.StringVarP(r.namespace, FlagNamespace, "n", v1.NamespaceAll, "Kubernetes namespace") flags.StringVarP(r.istioNamespace, FlagIstioNamespace, "i", viper.GetString(FlagIstioNamespace), "Istio system namespace") return r } // Namespace returns the namespace flag value. func (r *RootFlags) Namespace() string { return *r.namespace }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 18:01:27 GMT 2024 - 3.1K bytes - Viewed (0) -
istioctl/pkg/config/config.go
} sort.Strings(keys) w := new(tabwriter.Writer).Init(writer, 0, 8, 5, ' ', 0) fmt.Fprintf(w, "FLAG\tVALUE\tFROM\n") for _, flag := range keys { v := settableFlags[flag] fmt.Fprintf(w, "%s\t%s\t%v\n", flag, viper.GetString(flag), configSource(flag, v)) } return w.Flush() } func configSource(flag string, v env.VariableInfo) string { // Environment variables have high precedence in Viper if v.IsSet() { return "$" + v.GetName()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Jul 30 12:16:07 GMT 2023 - 3.1K bytes - Viewed (0)