Documentation ¶
Index ¶
- func BindOptions(opts *RawCreateOptions, flags *pflag.FlagSet)
- func DestroyCluster(ctx context.Context, o *core.DestroyOptions) error
- func NewCreateCommand(opts *core.RawCreateOptions) *cobra.Command
- func NewDestroyCommand(opts *core.DestroyOptions) *cobra.Command
- type CreateOptions
- type RawCreateOptions
- type ValidatedCreateOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindOptions ¶
func BindOptions(opts *RawCreateOptions, flags *pflag.FlagSet)
func DestroyCluster ¶
func DestroyCluster(ctx context.Context, o *core.DestroyOptions) error
func NewCreateCommand ¶
func NewCreateCommand(opts *core.RawCreateOptions) *cobra.Command
func NewDestroyCommand ¶
func NewDestroyCommand(opts *core.DestroyOptions) *cobra.Command
Types ¶
type CreateOptions ¶
type CreateOptions struct {
// contains filtered or unexported fields
}
func (*CreateOptions) GenerateNodePools ¶
func (o *CreateOptions) GenerateNodePools(constructor core.DefaultNodePoolConstructor) []*hyperv1.NodePool
func (*CreateOptions) GenerateResources ¶
func (o *CreateOptions) GenerateResources() ([]client.Object, error)
type RawCreateOptions ¶
type RawCreateOptions struct { OpenStackCredentialsFile string OpenStackCloud string OpenStackCACertFile string OpenStackExternalNetworkID string NodePoolOpts *openstacknodepool.RawOpenStackPlatformCreateOptions }
func DefaultOptions ¶
func DefaultOptions() *RawCreateOptions
func (*RawCreateOptions) ApplyPlatformSpecifics ¶
func (o *RawCreateOptions) ApplyPlatformSpecifics(cluster *hyperv1.HostedCluster) error
func (*RawCreateOptions) Validate ¶
func (o *RawCreateOptions) Validate(ctx context.Context, opts *core.CreateOptions) (core.PlatformCompleter, error)
type ValidatedCreateOptions ¶
type ValidatedCreateOptions struct {
// contains filtered or unexported fields
}
func (*ValidatedCreateOptions) Complete ¶
func (o *ValidatedCreateOptions) Complete(ctx context.Context, opts *core.CreateOptions) (core.Platform, error)
Click to show internal directories.
Click to hide internal directories.