Documentation ¶
Index ¶
- type BrowserLauncher
- type ChartLocator
- type Command
- type HTTPClient
- type InstallOpts
- type Option
- func WithBrowserLauncher(launcher BrowserLauncher) Option
- func WithChartLocator(locator ChartLocator) Option
- func WithHTTPClient(client HTTPClient) Option
- func WithHelmClient(client helm.Client) Option
- func WithK8sClient(client k8s.Client) Option
- func WithPortHTTP(port int) Option
- func WithSpinner(spinner *pterm.SpinnerPrinter) Option
- func WithTelemetryClient(client telemetry.Client) Option
- func WithUserHome(home string) Option
- type UninstallOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrowserLauncher ¶
BrowserLauncher primarily for testing purposes.
type ChartLocator ¶ added in v0.14.1
ChartLocator primarily for testing purposes.
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
Command is the local command, responsible for installing, uninstalling, or other local actions.
func (*Command) Install ¶
func (c *Command) Install(ctx context.Context, opts InstallOpts) error
Install handles the installation of Airbyte
type InstallOpts ¶ added in v0.6.0
type Option ¶
type Option func(*Command)
Option for configuring the Command, primarily exists for testing
func WithBrowserLauncher ¶
func WithBrowserLauncher(launcher BrowserLauncher) Option
WithBrowserLauncher define the browser launcher for this command.
func WithChartLocator ¶ added in v0.14.1
func WithChartLocator(locator ChartLocator) Option
func WithHTTPClient ¶
func WithHTTPClient(client HTTPClient) Option
WithHTTPClient define the http client for this command.
func WithHelmClient ¶
WithHelmClient define the helm client for this command.
func WithK8sClient ¶
WithK8sClient define the k8s client for this command.
func WithPortHTTP ¶
func WithSpinner ¶
func WithSpinner(spinner *pterm.SpinnerPrinter) Option
func WithTelemetryClient ¶
WithTelemetryClient define the telemetry client for this command.
func WithUserHome ¶
WithUserHome define the user's home directory.
type UninstallOpts ¶ added in v0.6.0
type UninstallOpts struct {
Persisted bool
}