Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigratorMain ¶
MigratorMain is the entry point for the "migrate" cli command
Types ¶
type Options ¶
type Options struct {
AuthToken string
AutherType string
DatabaseURL string
FileStorePrefix string
StorerType string
TravisAPIServer string
TravisPrivateKeyString string
TravisRequireRSA bool
S3Bucket string
S3Key string
S3Region string
S3Secret string
Debug bool
}
Options contains the bits used to create a server
func NewOptions ¶
func NewOptions() *Options
NewOptions makes new *Options wheeee defaulting to an enterprise-friendly configuration.
func (*Options) TravisPrivateKey ¶
func (o *Options) TravisPrivateKey() *rsa.PrivateKey
TravisPrivateKey parses and returns an *rsa.PrivateKey from the TravisPrivateKeyString if present and valid
Click to show internal directories.
Click to hide internal directories.