Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Kubeconfig is the filename of the KUBECONFIG file.
Kubeconfig = "KUBECONFIG"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GKECluster ¶
type GKECluster struct {
// T is a testing interface
T testing.NTB
// Name is the name of the cluster
Name string
// KubeConfigPath is the path to save the kube config
KubeConfigPath string
}
GKECluster is a GKE cluster for use in the e2e tests
func (*GKECluster) Exists ¶
func (c *GKECluster) Exists() (bool, error)
Exists returns whether the GKE cluster exists
type KindCluster ¶
type KindCluster struct {
// T is a testing interface
T testing.NTB
// Name is the name of the cluster
Name string
// KubeConfigPath is the path to save the kube config
KubeConfigPath string
// TmpDir is the temporary directory for this test
TmpDir string
// contains filtered or unexported fields
}
KindCluster is a kind cluster for use in the e2e tests
func (*KindCluster) Exists ¶
func (c *KindCluster) Exists() (bool, error)
Exists returns whether the KinD cluster exists
func (*KindCluster) Hash ¶
func (c *KindCluster) Hash() (string, error)
Hash returns N/A for kind cluster
type KindVersion ¶
type KindVersion string
KindVersion is a specific Kind version associated with a Kubernetes minor version.
Click to show internal directories.
Click to hide internal directories.