Documentation ¶
Index ¶
Constants ¶
View Source
const (
VClusterProFolder = "pro"
)
Variables ¶
View Source
var ( MinimumVersionTag = "v3.3.0-alpha.26" MinimumVersion = semver.MustParse(strings.TrimPrefix(MinimumVersionTag, "v")) )
View Source
var ErrConfigNotFound = errors.New("couldn't find vCluster.Pro config")
View Source
var Self *managementv1.Self
Functions ¶
func ConfigFilePath ¶
ConfigFilePath returns the path to the loft config file
func GlobalFlags ¶
func GlobalFlags(globalFlags *flags.GlobalFlags) (*loftctlflags.GlobalFlags, error)
GlobalFlags converts vcluster global flags to vcluster pro global flags
Types ¶
type Client ¶
type Client interface { loftclient.Client Self() *managementv1.Self }
func CreateProClient ¶
type VirtualClusterInstanceProject ¶
type VirtualClusterInstanceProject struct { VirtualCluster *managementv1.VirtualClusterInstance Project *managementv1.Project }
func ListVClusters ¶
Click to show internal directories.
Click to hide internal directories.