config

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFromCluster added in v1.4.0

func GetFromCluster(ctx context.Context, status *printer.StatusPrinter, k8sCfg *rest.Config, opts ExporterOptions, autoApprove bool) (config []byte, version string, err error)

Types

type CloudEnvsOptions added in v1.4.0

type CloudEnvsOptions struct {
	EndpointEnvName string
	IDEnvName       string
	APIKeyEnvName   string
}

type ExporterOptions added in v1.4.0

type ExporterOptions struct {
	Registry   string
	Repository string
	Tag        string

	BotkubePodLabel     string
	BotkubePodNamespace string

	Timeout    time.Duration
	PollPeriod time.Duration

	CloudEnvs CloudEnvsOptions
}

ExporterOptions holds config exporter image configuration options.

func (*ExporterOptions) RegisterFlags added in v1.4.0

func (o *ExporterOptions) RegisterFlags(flags *pflag.FlagSet)

Jump to

Keyboard shortcuts

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