Expand description
Port of internal/cluster/interface.go, internal/cluster/domain.go, and
internal/cluster/errors.go: the Driver trait every cluster backend
implements, plus the shared status/error types.
Modules§
- auto
- Port of
internal/cluster/auto/driver.go: an “auto” driver that resolves to colima or k3d depending on the host OS, socluster.driver: autoincaproni.yamlpicks a sensible default per platform. - colima
- Port of
internal/cluster/colima/driver.go: asuper::Driverimplementation using Colima as the backend. - external
- Port of
internal/cluster/external/driver.go: asuper::Driverimplementation that adopts an already-running Kubernetes cluster through an existing kubeconfig context, rather than provisioning one. - k3d
- Port of
internal/cluster/k3d/driver.goandinternal/cluster/k3d/ports.go: asuper::Driverimplementation using k3d as the backend. - mock
- Port of
internal/cluster/mock/driver.go: a mocksuper::Driverimplementation for testing. This module is intended for use in tests only and should not be depended on by production code. - vcluster
- Port of
internal/cluster/vcluster/driver.goandinternal/cluster/vcluster/errors.go: asuper::Driverimplementation that runs a vcluster (virtual cluster) inside a host cluster’s namespace.
Structs§
- Domain
Source - Port of
cluster.DomainSource: one place a cluster can be asked for the DNS zone it serves. - Status
- Port of
cluster.Status.
Enums§
- Driver
Error - Port of
internal/cluster/errors.go. - State
- Port of
cluster.State.