outrunner

package
v0.0.0-...-c0a5b86 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendSourceFlags

func AppendSourceFlags(flags map[string]interface{}, source concourse.Source) map[string]interface{}

func Name

func Name(sourcesDir string, params concourse.OutParams) (string, error)

Params.Name > Params.Namefile > Params.StateDir/name > random

func RunBBL

func RunBBL(name string, stateDir stateDir, command string, flags map[string]interface{}) error

func RunInjected

func RunInjected(r commandRunner, name string, stateDir stateDir, command string, flags map[string]interface{}) error

func SyncInteropFiles

func SyncInteropFiles(stateDir stateDir)

best effort, log aggressively

Types

type BblState

type BblState struct {
	Jumpbox  Jumpbox  `json:"jumpbox"`
	Director Director `json:"bosh"`
	EnvID    string   `json:"envID"`
}

type BoshDeploymentResourceConfig

type BoshDeploymentResourceConfig struct {
	Target          string `yaml:"target"`
	Client          string `yaml:"client"`
	ClientSecret    string `yaml:"client_secret"`
	CaCert          string `yaml:"ca_cert"`
	JumpboxUrl      string `yaml:"jumpbox_url"`
	JumpboxSSHKey   string `yaml:"jumpbox_ssh_key"`
	JumpboxUsername string `yaml:"jumpbox_username"`
}

type Director

type Director struct {
	ClientUsername string `json:"directorUsername"`
	ClientSecret   string `json:"directorPassword"`
	Address        string `json:"directorAddress"`
	CaCert         string `json:"directorSSLCA"`
}

type Jumpbox

type Jumpbox struct {
	URL string `json:"url"`
}

type StateDir

type StateDir struct {
	// contains filtered or unexported fields
}

func NewStateDir

func NewStateDir(dir string) StateDir

func (StateDir) ApplyPlanPatches

func (b StateDir) ApplyPlanPatches(patchPaths []string) error

func (StateDir) ExpungeInteropFiles

func (b StateDir) ExpungeInteropFiles() error

func (StateDir) JumpboxSSHKey

func (b StateDir) JumpboxSSHKey() (string, error)

func (StateDir) Path

func (b StateDir) Path() string

func (StateDir) Read

func (b StateDir) Read() (BblState, error)

func (StateDir) WriteInteropFiles

func (b StateDir) WriteInteropFiles(name string, c BoshDeploymentResourceConfig) error

Jump to

Keyboard shortcuts

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