openstack

package
v1.4.17 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 22 Imported by: 36

Documentation

Overview

Package openstack collects OpenStack-specific configuration.

Package openstack collects OpenStack-specific configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Platform

func Platform(ctx context.Context) (*openstack.Platform, error)

Platform collects OpenStack-specific configuration.

func Validate added in v0.9.2

func Validate(ctx context.Context, ic *types.InstallConfig) error

Validate validates the given installconfig for OpenStack platform

func ValidateCloud added in v0.9.2

func ValidateCloud(ci *validation.CloudInfo) error

ValidateCloud checks OpenStack requirements, regardless of the InstallConfig.

func ValidateForProvisioning added in v0.9.2

func ValidateForProvisioning(ic *types.InstallConfig) error

ValidateForProvisioning validates that the install config is valid for provisioning the cluster.

Types

type Session added in v0.9.2

type Session struct {
	CloudConfig *clientconfig.Cloud
	ClientOpts  *clientconfig.ClientOpts
}

Session is an object representing session for OpenStack.

func GetSession added in v0.9.2

func GetSession(cloudName string) (*Session, error)

GetSession returns an OpenStack session for a given cloud name in clouds.yaml.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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