Documentation ¶
Overview ¶
Package common defines generic constants and structs
Package common defines generic constants and structs
Index ¶
Constants ¶
View Source
const ( PluginStatusInstalled = "installed" PluginStatusNotInstalled = "not installed" PluginStatusUpdateAvailable = "update available" PluginScopeStandalone = "Standalone" PluginScopeContext = "Context" )
Plugin status and scope constants
View Source
const ( DiscoveryTypeOCI = "oci" DiscoveryTypeLocal = "local" DiscoveryTypeGCP = "gcp" DiscoveryTypeKubernetes = "kubernetes" DiscoveryTypeREST = "rest" )
DiscoveryType constants
View Source
const ( DistributionTypeOCI = "oci" DistributionTypeLocal = "local" )
DistributionType constants
View Source
const CoreName = "core"
CoreName is the name of the core binary.
Variables ¶
View Source
var ( // DefaultPluginRoot is the default plugin root. DefaultPluginRoot = filepath.Join(xdg.DataHome, "tanzu-cli") // DefaultCacheDir is the default cache directory DefaultCacheDir = filepath.Join(xdg.Home, ".cache", "tanzu") // DefaultLocalPluginDistroDir is the default Local plugin distribution root directory // This directory will be used for local discovery and local distribute of plugins DefaultLocalPluginDistroDir = filepath.Join(xdg.Home, ".config", "tanzu-plugins") )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.