Documentation ¶
Overview ¶
Package bundle describes support cmd input options.
Index ¶
- type Archive
- type Option
- func WithArchive(archive Archive) Option
- func WithArchiveOutput(writer io.Writer) Option
- func WithKubernetesClient(clientset *kubernetes.Clientset) Option
- func WithLogOutput(writer io.Writer) Option
- func WithNodes(nodes ...string) Option
- func WithNumWorkers(count int) Option
- func WithProgressChan(progress chan Progress) Option
- func WithTalosClient(client *client.Client) Option
- type Options
- type Progress
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Options)
Option defines a single bundle option.
func WithArchive ¶
WithArchive runs bundle creator with archive object.
func WithArchiveOutput ¶
WithArchiveOutput runs bundle creator with archive output.
func WithKubernetesClient ¶
func WithKubernetesClient(clientset *kubernetes.Clientset) Option
WithKubernetesClient runs bundle creator with the Kubernetes client.
func WithLogOutput ¶
WithLogOutput runs bundle creator with logs output.
func WithNumWorkers ¶
WithNumWorkers runs bundle creator with number of workers.
func WithProgressChan ¶
WithProgressChan runs bundle creator with the progress reporter to the channel.
func WithTalosClient ¶
WithTalosClient runs bundle creator with the Talos client.
Click to show internal directories.
Click to hide internal directories.