talos

package
v0.1.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package talos provides functions for connecting to and taking snapshots from a given talos cluster

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClient

func CreateClient(ctx context.Context, talosSecret string) (*talosclient.Client, error)

CreateClient returns a talos API client given a talosconfig string.

func TakeEtcdSnapshot

func TakeEtcdSnapshot(ctx context.Context, tc *talosclient.Client, clusterName string) (string, error)

TakeEtcdSnapshot will take an etcd snapshot given a talos client and save/validate it locally.

Types

This section is empty.

Jump to

Keyboard shortcuts

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