minio

package
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

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.

func NewConfig

func NewConfig() Config

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

func (*Deployment) CreateUpdate

func (d *Deployment) CreateUpdate() enaml.Update

CreateUpdate -

Directories

Path Synopsis
cmd
enaml-gen

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL