overcloud

package
v0.0.0-...-8bfe3b3 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// http client of api server
	APIServer *client.HTTP
	// UUID of resource to be managed.
	ResourceID string
	// Action to the performed with the resource (values: create, update, delete).
	Action string
	// Logging level
	LogLevel string
	// Logging  file
	LogFile string
	// Template root directory
	TemplateRoot string

	// Optional Test var to run command in test mode
	Test bool
}

Config represents Command configuration.

type OverCloud

type OverCloud struct {
	APIServer *client.HTTP
	// contains filtered or unexported fields
}

OverCloud represents contrail overcloud manager

func NewOverCloud

func NewOverCloud(c *Config) (*OverCloud, error)

NewOverCloud creates OverCloud with given configuration.

func (*OverCloud) GetDeployer

func (o *OverCloud) GetDeployer() (base.Deployer, error)

GetDeployer creates new deployer based on the type

Jump to

Keyboard shortcuts

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