Documentation ¶
Overview ¶
Package context provides context command specific E2E test cases
Index ¶
- func CreateKindCluster(tf *framework.Framework, name string) *framework.ClusterInfo
- func GetAvailableContexts(tf *framework.Framework, contextNames []string) []string
- func GetAvailableServers(tf *framework.Framework, serverNames []string) []string
- func GetTMCClusterInfo() *framework.ClusterInfo
- func IsContextExists(tf *framework.Framework, contextName string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateKindCluster ¶
func CreateKindCluster(tf *framework.Framework, name string) *framework.ClusterInfo
CreateKindCluster create the k8s KIND cluster in the local Docker environment
func GetAvailableContexts ¶
GetAvailableContexts takes list of contexts and returns which are available in the 'tanzu context list' command
func GetAvailableServers ¶
GetAvailableServers takes list of servers and returns which are available in the 'tanzu config server list' command
func GetTMCClusterInfo ¶
func GetTMCClusterInfo() *framework.ClusterInfo
GetTMCClusterInfo returns the TMC cluster info by reading environment variables TANZU_CLI_TMC_UNSTABLE_URL and TANZU_API_TOKEN
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.