openstack

package
v0.1.49 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

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

type ValidatedCreateOptions

type ValidatedCreateOptions struct {
	// contains filtered or unexported fields
}

func (*ValidatedCreateOptions) Complete

Jump to

Keyboard shortcuts

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