Documentation ¶
Index ¶
Constants ¶
View Source
const ( // LocalhostDNSNameOverride allows override of the controlPlaneDNS. This // must be in absolute form for the proxy to special-case it. LocalhostDNSNameOverride = "localhost." // ControlPlanePodName default control plane pod name. ControlPlanePodName = "controller" // The name of the variable used to pass the pod's namespace. PodNamespaceEnvVarName = "LINKERD2_PROXY_POD_NAMESPACE" )
View Source
const DefaultVersionString = "unavailable"
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "linkerd", Short: "linkerd manages the Linkerd service mesh", Long: `linkerd manages the Linkerd service mesh.`, PersistentPreRunE: func(cmd *cobra.Command, args []string) error { if verbose { log.SetLevel(log.DebugLevel) } else { log.SetLevel(log.PanicLevel) } if !alphaNumDash.MatchString(controlPlaneNamespace) { return fmt.Errorf("%s is not a valid namespace", controlPlaneNamespace) } return nil }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.