config

package
v0.0.0-...-2ac3827 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPIProperties

type CPIProperties struct {
	SoftLayer boslconfig.Config
	Agent     registry.AgentOptions
	Registry  registry.ClientOptions
}

type Cloud

type Cloud struct {
	Plugin     string        `json:"plugin"`
	Properties CPIProperties `json:"properties"`
}

type Config

type Config struct {
	Cloud Cloud `json:"cloud"`
}

func NewConfigFromPath

func NewConfigFromPath(configFile string, fs boshsys.FileSystem, logger logger.Logger) (Config, error)

func NewConfigFromString

func NewConfigFromString(configString string) (Config, error)

func (Config) Validate

func (c Config) Validate() error

Jump to

Keyboard shortcuts

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