Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultMinioReleaseURL = "https://github.com/Pivotal-Field-Engineering/minio-release/releases/download/v1/minio-1.tgz" DefaultMinioReleaseSHA = "0629ca0118749c539c9dc4ac457af411198c274a" DefaultMinioReleaseVer = "1" DefaultStemcellAlias = "trusty" DefaultStemcellName = "ubuntu-trusty" DefaultStemcellVersion = "latest" DefaultRegion = "us-east-1" )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AZ string `omg:"az"` NetworkName string `omg:"network-name"` IP string `omg:"ip"` VMType string `omg:"vm-type"` DiskType string `omg:"disk-type"` MinioReleaseURL string `omg:"minio-release-url"` MinioReleaseSHA string `omg:"minio-release-sha"` MinioReleaseVersion string `omg:"minio-release-ver"` StemcellAlias string StemcellOS string `omg:"stemcell-os"` StemcellVersion string Region string `omg:"region"` AccessKey string `omg:"access-key"` SecretKey string `omg:"secret-key"` }
Config contains the configuration for a Minio deployment.
type Deployment ¶
type Deployment struct {
// contains filtered or unexported fields
}
func NewDeployment ¶
func NewDeployment(config Config) *Deployment
func (*Deployment) CloudConfigValidation ¶
func (d *Deployment) CloudConfigValidation(data []byte) error
func (*Deployment) CreateDeploymentManifest ¶
func (d *Deployment) CreateDeploymentManifest(cloudConfig []byte) (enaml.DeploymentManifest, error)
func (*Deployment) CreateMinioServer ¶
func (d *Deployment) CreateMinioServer() *enaml.InstanceGroup
Click to show internal directories.
Click to hide internal directories.