Documentation ¶
Index ¶
- Constants
- func BindDeveloperOptions(opts *RawCreateOptions, flags *pflag.FlagSet)
- func BindOptions(opts *RawCreateOptions, flags *pflag.FlagSet)
- func NewCreateCommand(opts *core.RawCreateOptions) *cobra.Command
- func NewDestroyCommand(opts *core.DestroyOptions) *cobra.Command
- type CreateOptions
- type NetworkOpts
- type RawCreateOptions
- type ValidatedCreateOptions
Constants ¶
View Source
const ( NodePortServicePublishingStrategy = "NodePort" IngressServicePublishingStrategy = "Ingress" )
Variables ¶
This section is empty.
Functions ¶
func BindDeveloperOptions ¶ added in v0.1.38
func BindDeveloperOptions(opts *RawCreateOptions, flags *pflag.FlagSet)
func BindOptions ¶ added in v0.1.38
func BindOptions(opts *RawCreateOptions, flags *pflag.FlagSet)
func NewCreateCommand ¶
func NewCreateCommand(opts *core.RawCreateOptions) *cobra.Command
func NewDestroyCommand ¶
func NewDestroyCommand(opts *core.DestroyOptions) *cobra.Command
Types ¶
type CreateOptions ¶ added in v0.1.38
type CreateOptions struct {
// contains filtered or unexported fields
}
func (*CreateOptions) ApplyPlatformSpecifics ¶ added in v0.1.38
func (o *CreateOptions) ApplyPlatformSpecifics(cluster *hyperv1.HostedCluster) error
func (*CreateOptions) GenerateNodePools ¶ added in v0.1.38
func (o *CreateOptions) GenerateNodePools(constructor core.DefaultNodePoolConstructor) []*hyperv1.NodePool
func (*CreateOptions) GenerateResources ¶ added in v0.1.38
func (o *CreateOptions) GenerateResources() ([]client.Object, error)
type NetworkOpts ¶ added in v0.1.17
type NetworkOpts struct {
Name string `param:"name"`
}
type RawCreateOptions ¶ added in v0.1.38
type RawCreateOptions struct { ServicePublishingStrategy string APIServerAddress string InfraKubeConfigFile string InfraNamespace string InfraStorageClassMappings []string InfraVolumeSnapshotClassMappings []string NodePoolOpts *kubevirtnodepool.RawKubevirtPlatformCreateOptions }
func DefaultOptions ¶ added in v0.1.38
func DefaultOptions() *RawCreateOptions
func (*RawCreateOptions) Validate ¶ added in v0.1.38
func (o *RawCreateOptions) Validate(ctx context.Context, opts *core.CreateOptions) (core.PlatformCompleter, error)
type ValidatedCreateOptions ¶ added in v0.1.38
type ValidatedCreateOptions struct {
// contains filtered or unexported fields
}
func (*ValidatedCreateOptions) Complete ¶ added in v0.1.38
func (o *ValidatedCreateOptions) Complete(ctx context.Context, opts *core.CreateOptions) (core.Platform, error)
Click to show internal directories.
Click to hide internal directories.