Documentation ¶
Index ¶
- func Create(ctx context.Context, conf Config) (ctrlclient.Client, error)
- func Delete(ctx context.Context, conf Config) error
- func Deploy(ctx context.Context, name string, directory string, bootstrap string, ...) error
- func InitializeCluster(ctx context.Context, config *k3dv1alpha5.SimpleConfig, ...) (ctrlclient.Client, error)
- func InjectFluxControllers(ctx context.Context, k8sC ctrlclient.Client, version string) error
- func InjectRegistry(ctx context.Context, k8sC ctrlclient.Client) error
- func InjectSecrets(ctx context.Context, k8sC ctrlclient.Client, secretFileLocation string) error
- func ParseK3dConfigFile(configPath string) (*k3dv1alpha5.SimpleConfig, error)
- func PortForward(ctx context.Context, name apimachinerytypes.NamespacedName, port int) (chan struct{}, error)
- func PortForwardDeployment(ctx context.Context, name apimachinerytypes.NamespacedName, port int) (chan struct{}, error)
- func PortForwardService(ctx context.Context, name apimachinerytypes.NamespacedName, port int) (chan struct{}, error)
- func Update(ctx context.Context, conf Config) error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeCluster ¶
func InitializeCluster(ctx context.Context, config *k3dv1alpha5.SimpleConfig, runtime k3druntimes.Runtime) (ctrlclient.Client, error)
func InjectFluxControllers ¶
func InjectRegistry ¶
func InjectRegistry(ctx context.Context, k8sC ctrlclient.Client) error
func InjectSecrets ¶
func ParseK3dConfigFile ¶
func ParseK3dConfigFile(configPath string) (*k3dv1alpha5.SimpleConfig, error)
func PortForward ¶ added in v0.0.15
func PortForward(ctx context.Context, name apimachinerytypes.NamespacedName, port int) (chan struct{}, error)
func PortForwardDeployment ¶ added in v0.0.17
func PortForwardDeployment(ctx context.Context, name apimachinerytypes.NamespacedName, port int) (chan struct{}, error)
func PortForwardService ¶ added in v0.0.17
func PortForwardService(ctx context.Context, name apimachinerytypes.NamespacedName, port int) (chan struct{}, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.