context

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package context provides context command specific E2E test cases

Index

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

func GetAvailableContexts(tf *framework.Framework, contextNames []string) []string

GetAvailableContexts takes list of contexts and returns which are available in the 'tanzu context list' command

func GetAvailableServers

func GetAvailableServers(tf *framework.Framework, serverNames []string) []string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL