Documentation
¶
Index ¶
- type DevOptions
- func (o *DevOptions) AddCmdFlags(cmd *cobra.Command)
- func (o *DevOptions) CheckFileLimits() error
- func (o *DevOptions) Complete(args []string) error
- func (o *DevOptions) CreateConsumerCluster(ctx context.Context) error
- func (o *DevOptions) CreateProviderCluster(ctx context.Context) error
- func (o *DevOptions) GetClusterIPAddress(ctx context.Context, clusterName, networkName string) (string, error)
- func (o *DevOptions) GetConsumerClusterName() string
- func (o *DevOptions) GetProviderClusterName() string
- func (o *DevOptions) Run(ctx context.Context) error
- func (o *DevOptions) RunDelete() error
- func (o *DevOptions) RunPrintExample() error
- func (o *DevOptions) Validate() error
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
Click to show internal directories.
Click to hide internal directories.