cf-tasks

command
v0.0.0-...-a7dc4af Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

README

Proxy for Cloud Foundry Tasks

Running the Proxy

The proxy can be pushed as a Cloud Foundry application ('cf push'). In order to create Cloud Foundry tasks it needs access to the CF API. API address, user, password have to be configured as environment variables.

Example manifest.yml

---
applications:
  - name: cf-tasks
    command: cf-tasks --otp=mysupersecretpassword
    env:
      GOVERSION: go1.8
      GOPACKAGENAME: github.com/dgruber/uc/proxy/cf-tasks
      CF_TARGET: https://api.run.pivotal.io
      NAME: user@xyz.io
      PASSWORD: password

In order to protect access to the proxy you can use as start command in the manifest something like cf-tasks --verbose --otp=yubikey --yubiID=clientIDFromYubico --yubiSecret=generatedSecretFromYubico --yubiAllowedIds=first12digitsOfYourYubikeys

Running Tasks

Cloud Foundry tasks can be created by using 'uc'.

uc --otp=yubikey run --arg="120" --name=mytask --category=mycfappimage myCommand

<press yubikey>

cf tasks mycfappimage

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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