Documentation ¶
Index ¶
- func NewProvider() support.E2EClusterProvider
- func WithPath(path string) support.ClusterOpts
- type Cluster
- func (k *Cluster) Create(ctx context.Context, args ...string) (string, error)
- func (k *Cluster) CreateWithConfig(ctx context.Context, configFile string) (string, error)
- func (k *Cluster) Destroy(ctx context.Context) error
- func (k *Cluster) ExportLogs(ctx context.Context, dest string) error
- func (k *Cluster) GetKubeconfig() string
- func (k *Cluster) GetKubectlContext() string
- func (k *Cluster) KubernetesRestConfig() *rest.Config
- func (k *Cluster) SetDefaults() support.E2EClusterProvider
- func (k *Cluster) WaitForControlPlane(ctx context.Context, client klient.Client) error
- func (k *Cluster) WithName(name string) support.E2EClusterProvider
- func (k *Cluster) WithOpts(opts ...support.ClusterOpts) support.E2EClusterProvider
- func (k *Cluster) WithPath(path string) support.E2EClusterProvider
- func (k *Cluster) WithVersion(version string) support.E2EClusterProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
func NewProvider() support.E2EClusterProvider
func WithPath ¶
func WithPath(path string) support.ClusterOpts
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
func NewCluster ¶
func (*Cluster) CreateWithConfig ¶
func (*Cluster) GetKubeconfig ¶
func (*Cluster) GetKubectlContext ¶
func (*Cluster) KubernetesRestConfig ¶
func (*Cluster) SetDefaults ¶
func (k *Cluster) SetDefaults() support.E2EClusterProvider
func (*Cluster) WaitForControlPlane ¶
func (*Cluster) WithOpts ¶
func (k *Cluster) WithOpts(opts ...support.ClusterOpts) support.E2EClusterProvider
func (*Cluster) WithVersion ¶
func (k *Cluster) WithVersion(version string) support.E2EClusterProvider
Click to show internal directories.
Click to hide internal directories.