Skip to content

Commit

Permalink
adding documentation for creating a new runtime.
Browse files Browse the repository at this point in the history
  • Loading branch information
shawn-hurley committed Feb 21, 2018
1 parent 886984e commit 3785197
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/runtime/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ type openshift struct{}
type kubernetes struct{}

// NewRuntime - Initialize provider variable
// extCreds - You can pass an ExtractedCredential conforming object this will
// be used to do CRUD operations. If you want to use the default pass nil
// and we will use the built-in default of saving them as secrets in the
// broker namespace.
func NewRuntime(extCreds ExtractedCredential) {
k8scli, err := clients.Kubernetes()
if err != nil {
Expand Down

0 comments on commit 3785197

Please sign in to comment.