cloudfoundry

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: BSD-2-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCloudFoundryContext

func NewCloudFoundryContext() *wfl.Context

NewCloudFoundryContext creates a new Context which allows creating Cloud Foundry tasks when executing a Workflow. It reads the configuration out of environment variables (CF_API, CF_USER, CF_PASSWORD).

func NewCloudFoundryContextByCfg

func NewCloudFoundryContextByCfg(cfg Config) *wfl.Context

NewCloudFoundryContextByCfg creates a new task execution Context based on the the CloudFoundryContext which describes the API endpoint of the cloud controller API of Cloud Foundry.

Types

type Config

type Config struct {
	APIAddr         string
	User            string
	Password        string
	DBFile          string
	DefaultTemplate drmaa2interface.JobTemplate
}

Config descibes where Cloud Foundry (CC API) is found and can be accessed.

Jump to

Keyboard shortcuts

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