environment

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: Apache-2.0 Imports: 6 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 {
	Name          string
	Version       version.Version
	CFDomain      string
	AppsDomain    string
	OpsManager    OpsManager
	PKSApi        PKSApi
	PasSubnet     string
	ServiceSubnet string
	AZs           []string
}

func FromFile

func FromFile(path, environmentName string) (Config, error)

type OpsManager

type OpsManager struct {
	Username     string
	Password     string
	ClientID     string
	ClientSecret string
	URL          url.URL
	IP           net.IP
	PrivateKey   string
	SshUser      string
}

type PKSApi added in v0.6.0

type PKSApi struct {
	Username string
	Password string
	URL      url.URL
}

type Reader

type Reader struct{}

func (*Reader) Read

func (er *Reader) Read(targetConfigPath, environmentName string) (Config, error)

Jump to

Keyboard shortcuts

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