Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultKubeConfigPath ¶
func DefaultKubeConfigPath() string
DefaultKubeConfigPath returns the default path for KUBECONFIG: ~/.kube/config.
Types ¶
type InstallerType ¶
type InstallerType string
const (
InstallerTypeHelm InstallerType = "helm"
)
func (*InstallerType) UnmarshalText ¶
func (i *InstallerType) UnmarshalText(text []byte) error
type MultiInstaller ¶
type MultiInstaller struct {
// contains filtered or unexported fields
}
func NewMultiInstaller ¶
func NewMultiInstaller(installers ...Installer) *MultiInstaller
func (*MultiInstaller) Deployments ¶
func (m *MultiInstaller) Deployments() []string
type NoOpInstaller ¶
type NoOpInstaller struct{}
func (*NoOpInstaller) Deployments ¶
func (i *NoOpInstaller) Deployments() []string
type Provider ¶
type Provider interface { // SetUp the test environment by installing the necessary components. // Returns error if it fails to set up the environment. SetUp(ctx context.Context) error // TearDown the test environment by uninstalling components installed via Setup. // Returns error if it fails to clean up the environment. TearDown(ctx context.Context) error // KubeConfig returns the KUBECONFIG for the cluster. KubeConfig(ctx context.Context) (string, error) // ExportKubeConfig exports the KUBECONFIG for the cluster, merging // it into the selected file, following the rules from // https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#config // where explicitPath is the --kubeconfig value. ExportKubeConfig(ctx context.Context, explicitPath string) error // ClusterName returns the name of the cluster the provider operates on. ClusterName() string }
type ProviderConfig ¶
type ProviderType ¶
type ProviderType string
const ( ProviderTypeKind ProviderType = "kind" ProviderTypeExternal ProviderType = "external" )
func (*ProviderType) UnmarshalText ¶
func (p *ProviderType) UnmarshalText(text []byte) error
Click to show internal directories.
Click to hide internal directories.