bosh

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

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

Go to latest
Published: Aug 8, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindDeployment

func FindDeployment(deployments []gogobosh.Deployment, regex string) string

FindDeployment - takes deployments and a regex to return the first matching deployment name

func FindVMs

func FindVMs(deploymentVMs []gogobosh.VM, regex string) []gogobosh.VM

FindVMs - takes an array of VMs and a regex to filter on, returning a new array of all matching vms

Types

type EtcdCerts

type EtcdCerts struct {
	ClientKey  string `yaml:"client_key"`
	ClientCert string `yaml:"client_cert"`
	CaCert     string `yaml:"ca_cert"`
}

EtcdCerts - A struct that defines the required certs for SSL secured etcd

func GetEtcdCerts

func GetEtcdCerts(deploymentManifest string, configBlockRegex string) (EtcdCerts, error)

GetEtcdCerts - Returns Client Key/Cert and CaCert that could be used for SSL secured etcd

Jump to

Keyboard shortcuts

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