Documentation
¶
Index ¶
- func BindDeveloperOptions(opts *RawKubevirtPlatformCreateOptions, flags *pflag.FlagSet)
- func BindOptions(opts *RawKubevirtPlatformCreateOptions, flags *pflag.FlagSet)
- func NewCreateCommand(coreOpts *core.CreateNodePoolOptions) *cobra.Command
- type CompletedKubevirtPlatformCreateOptions
- func (o *CompletedKubevirtPlatformCreateOptions) NodePoolPlatform() *hyperv1.KubevirtNodePoolPlatform
- func (o *CompletedKubevirtPlatformCreateOptions) Type() hyperv1.PlatformType
- func (o *CompletedKubevirtPlatformCreateOptions) UpdateNodePool(_ context.Context, nodePool *hyperv1.NodePool, _ *hyperv1.HostedCluster, ...) error
- type HostDevicesOpts
- type KubevirtPlatformOptions
- type NetworkOpts
- type RawKubevirtPlatformCreateOptions
- type ValidatedKubevirtPlatformCreateOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindDeveloperOptions ¶ added in v0.1.38
func BindDeveloperOptions(opts *RawKubevirtPlatformCreateOptions, flags *pflag.FlagSet)
func BindOptions ¶ added in v0.1.38
func BindOptions(opts *RawKubevirtPlatformCreateOptions, flags *pflag.FlagSet)
func NewCreateCommand ¶
func NewCreateCommand(coreOpts *core.CreateNodePoolOptions) *cobra.Command
Types ¶
type CompletedKubevirtPlatformCreateOptions ¶ added in v0.1.74
type CompletedKubevirtPlatformCreateOptions struct {
// contains filtered or unexported fields
}
func (*CompletedKubevirtPlatformCreateOptions) NodePoolPlatform ¶ added in v0.1.74
func (o *CompletedKubevirtPlatformCreateOptions) NodePoolPlatform() *hyperv1.KubevirtNodePoolPlatform
func (*CompletedKubevirtPlatformCreateOptions) Type ¶ added in v0.1.74
func (o *CompletedKubevirtPlatformCreateOptions) Type() hyperv1.PlatformType
func (*CompletedKubevirtPlatformCreateOptions) UpdateNodePool ¶ added in v0.1.74
func (o *CompletedKubevirtPlatformCreateOptions) UpdateNodePool(_ context.Context, nodePool *hyperv1.NodePool, _ *hyperv1.HostedCluster, _ crclient.Client) error
type HostDevicesOpts ¶ added in v0.1.40
type KubevirtPlatformOptions ¶ added in v0.1.38
type NetworkOpts ¶ added in v0.1.38
type NetworkOpts struct {
Name string `param:"name"`
}
type RawKubevirtPlatformCreateOptions ¶ added in v0.1.38
type RawKubevirtPlatformCreateOptions struct {
*KubevirtPlatformOptions
NetworkInterfaceMultiQueue string
QoSClass string
AdditionalNetworks []string
HostDevices []string
}
func DefaultOptions ¶ added in v0.1.38
func DefaultOptions() *RawKubevirtPlatformCreateOptions
func (*RawKubevirtPlatformCreateOptions) Validate ¶ added in v0.1.38
func (o *RawKubevirtPlatformCreateOptions) Validate(_ context.Context, _ *core.CreateNodePoolOptions) (core.NodePoolPlatformCompleter, error)
Validate validates the KubeVirt nodepool platform options. This method uses the unified signature pattern defined in core.NodePoolPlatformValidator.
type ValidatedKubevirtPlatformCreateOptions ¶ added in v0.1.38
type ValidatedKubevirtPlatformCreateOptions struct {
// contains filtered or unexported fields
}
func (*ValidatedKubevirtPlatformCreateOptions) Complete ¶ added in v0.1.38
func (o *ValidatedKubevirtPlatformCreateOptions) Complete(_ context.Context, _ *core.CreateNodePoolOptions) (core.PlatformOptions, error)
Complete completes the KubeVirt nodepool platform options. This method uses the unified signature pattern defined in core.NodePoolPlatformCompleter.
Click to show internal directories.
Click to hide internal directories.