Documentation
¶
Overview ¶
Package common defines generic constants and structs
Index ¶
Constants ¶
View Source
const ( // IsContextAwareDiscoveryEnabled defines default to use when the user has not configured a value IsContextAwareDiscoveryEnabled = false )
Variables ¶
View Source
var ( // DefaultCacheDir is the default cache directory DefaultCacheDir = filepath.Join(xdg.CacheHome, "tanzu") // DefaultPluginRoot is the default plugin root. DefaultPluginRoot = filepath.Join(xdg.DataHome, "tanzu-cli") // 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.ConfigHome, "tanzu-plugin") )
Functions ¶
func GetGCPBucket ¶
GetGCPBucket returns gcp storage bucket handle
Types ¶
type Arch ¶
type Arch string
Arch represents a system architecture.
const ( // Linux386 arch. Linux386 Arch = "linux_386" // LinuxAMD64 arch. LinuxAMD64 Arch = "linux_amd64" // LinuxARM64 arch. LinuxARM64 Arch = "linux_arm64" // DarwinAMD64 arch. DarwinAMD64 Arch = "darwin_amd64" // DarwinARM64 arch. DarwinARM64 Arch = "darwin_arm64" // Win386 arch. Win386 Arch = "windows_386" // WinAMD64 arch. WinAMD64 Arch = "windows_amd64" )
Click to show internal directories.
Click to hide internal directories.