k3d

package
v1.27.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package k3d provides a cluster.Manager implementation using k3d.

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
}

Driver implements the cluster.Manager interface for k3d.

func NewDriver

func NewDriver(profileName string, exec executor.CommandRunner) *Driver

NewDriver creates a new k3d driver with the given profile name.

func (*Driver) Destroy

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

Destroy completely removes the k3d cluster.

func (*Driver) Start

func (d *Driver) Start(ctx context.Context, cfg types.ClusterConfig) error

Start starts a k3d cluster with the given configuration.

func (*Driver) Status

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

Status returns the current status of the k3d cluster.

func (*Driver) Stop

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

Stop stops the k3d cluster.

Jump to

Keyboard shortcuts

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