plugin

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DevOptions

type DevOptions struct {
	*base.Options
	Logs    *logs.Options
	Streams genericclioptions.IOStreams

	Image               string
	Tag                 string
	ProviderClusterName string
	ConsumerClusterName string
	WaitForReadyTimeout time.Duration
	ChartPath           string
	ChartVersion        string
	KindNetwork         string
}

DevOptions contains the options for the dev command

func NewDevOptions

func NewDevOptions(streams genericclioptions.IOStreams) *DevOptions

NewDevOptions creates a new DevOptions

func (*DevOptions) AddCmdFlags

func (o *DevOptions) AddCmdFlags(cmd *cobra.Command)

AddCmdFlags adds command line flags

func (*DevOptions) CheckFileLimits

func (o *DevOptions) CheckFileLimits() error

CheckFileLimits checks system file limits for the dev environment

func (*DevOptions) Complete

func (o *DevOptions) Complete(args []string) error

Complete completes the options

func (*DevOptions) CreateConsumerCluster

func (o *DevOptions) CreateConsumerCluster(ctx context.Context) error

CreateConsumerCluster creates the consumer cluster

func (*DevOptions) CreateProviderCluster

func (o *DevOptions) CreateProviderCluster(ctx context.Context) error

CreateProviderCluster creates the provider cluster

func (*DevOptions) GetClusterIPAddress

func (o *DevOptions) GetClusterIPAddress(ctx context.Context, clusterName, networkName string) (string, error)

GetClusterIPAddress gets the IP address of a cluster in the specified network

func (*DevOptions) GetConsumerClusterName

func (o *DevOptions) GetConsumerClusterName() string

GetConsumerClusterName returns the consumer cluster name

func (*DevOptions) GetProviderClusterName

func (o *DevOptions) GetProviderClusterName() string

GetProviderClusterName returns the provider cluster name

func (*DevOptions) Run

func (o *DevOptions) Run(ctx context.Context) error

Run runs the dev command

func (*DevOptions) RunDelete

func (o *DevOptions) RunDelete() error

func (*DevOptions) RunPrintExample

func (o *DevOptions) RunPrintExample() error

func (*DevOptions) Validate

func (o *DevOptions) Validate() error

Validate validates the options

Jump to

Keyboard shortcuts

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