github.com/recobe182/terraform@v0.8.5-0.20170117231232-49ab22a935b7/builtin/bins/provider-rancher/main.go (about)

     1  package main
     2  
     3  import (
     4  	"github.com/hashicorp/terraform/builtin/providers/rancher"
     5  	"github.com/hashicorp/terraform/plugin"
     6  	"github.com/hashicorp/terraform/terraform"
     7  )
     8  
     9  func main() {
    10  	plugin.Serve(&plugin.ServeOpts{
    11  		ProviderFunc: func() terraform.ResourceProvider {
    12  			return rancher.Provider()
    13  		},
    14  	})
    15  }