Skip to content

tscolari/bosh-c3pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Usage:

  1. Create a class to talk with your infrastructure that implements the cloud.Cloud interface
  2. In your main function instantiate a Runner object with your cloud implementation:
import (
	"github.com/tscolari/bosh-c3pi/cpi"
	boshlog "github.com/cloudfoundry/bosh-utils/logger"
)

  func main() {
    cpiClient := yourimplementation.New()
    logger := boshlog.NewWriterLogger(boshlog.LevelDebug, os.Stderr, os.Stderr)
    runner := cpi.NewRunner(cpiClient, logger)

    runner.Run(os.Stdin, os.Stderr)
  }
  1. done

Further steps:

You still need to wrap it in a bosh release, to make it available to bosh. (WIP)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages