k3d

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package k3d implements cluster.Driver by shelling out to the k3d binary.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	// contains filtered or unexported fields
}

func New

func New(opt Options) *Driver

func (*Driver) Delete

func (d *Driver) Delete(ctx context.Context) error

func (*Driver) Ensure

func (d *Driver) Ensure(ctx context.Context) error

func (*Driver) Kubeconfig

func (d *Driver) Kubeconfig() string

func (*Driver) Name

func (d *Driver) Name() string

func (*Driver) Status

func (d *Driver) Status(ctx context.Context) (cluster.Status, error)

type Options

type Options struct {
	ClusterName    string
	KubeconfigPath string
	Runner         cmdrunner.Runner
}

Jump to

Keyboard shortcuts

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