Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver interface { Create(config.ParticleConfiguration, cmd.Cmd) error Destroy(config.ParticleConfiguration, cmd.Cmd) error }
Driver is the interface that manages the kubernetes clusters. It always receives the particle configuration, a cmd.Cmd interface and returns error.
type Kind ¶
Kind is an implementation of the driver interface. It uses kind to manage the kubernetes cluster: https://kind.sigs.k8s.io/
func (*Kind) Create ¶
Create creates the kubernetes cluster. It will need the k8s cluster version, which is in the configuration, and the name will be created from the path of execution, to give it a more unique name. It's basicallt a wrap for the "kind" command. All of its configuration can be don trough particle's configuration.
Click to show internal directories.
Click to hide internal directories.