openstack

package
v0.0.0-...-c53fdc3 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

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

func Validate(ic *types.InstallConfig) error

Validate validates the given installconfig for OpenStack platform

func ValidateCloud

func ValidateCloud(ci *validation.CloudInfo) error

ValidateCloud checks OpenStack requirements, regardless of the InstallConfig.

func ValidateForProvisioning

func ValidateForProvisioning(ic *types.InstallConfig) error

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

Types

type Session

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

Session is an object representing session for OpenStack.

func GetSession

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