This brings packer into the same version of triton-go as that in Terraform, where we rewrote the package from a library with everything in 1 place to individual packages I was able to successfully provision a machine on triton using this new change, you can find the output in the attached gist https://gist.github.com/stack72/a64d745459107c5a16bcb156965597ce
19 lines
473 B
Go
19 lines
473 B
Go
package triton
|
|
|
|
import (
|
|
"github.com/joyent/triton-go/authentication"
|
|
)
|
|
|
|
// Universal package used for defining configuration used across all client
|
|
// constructors.
|
|
|
|
// ClientConfig is a placeholder/input struct around the behavior of configuring
|
|
// a client constructor through the implementation's runtime environment
|
|
// (SDC/MANTA env vars).
|
|
type ClientConfig struct {
|
|
TritonURL string
|
|
MantaURL string
|
|
AccountName string
|
|
Signers []authentication.Signer
|
|
}
|