openstack

package
v0.9.153 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 21 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() (*openstack.Platform, error)

Platform collects OpenStack-specific configuration.

func Validate added in v0.9.2

func Validate(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