Documentation ¶
Index ¶
- Constants
- func CreateNFSMounterJob(config *config.Config) enaml.InstanceJob
- func InferFromCloudDecorate(inferFlagMap map[string][]string, cloudConfig []byte, args []string, ...)
- func RegisterInstanceGrouperFactory(igf InstanceGrouperFactory)
- func RotateCertHash(vault VaultRotater, hash, systemDomain string, appsDomain []string) error
- func RotatePasswordHash(vault VaultRotater, hash string) error
- func VaultDecorate(args []string, flgs []pcli.Flag)
- func VaultRotate(args []string, flgs []pcli.Flag) error
- type CloudControllerPartition
- type CloudControllerWorkerPartition
- type Consul
- type ConsulAgent
- type Doppler
- type Etcd
- type HAProxy
- type InstanceGroupCreator
- func NewAcceptanceTestsPartition(internet bool, config *config.Config) InstanceGroupCreator
- func NewAutoscaleDestroyBroker(c *config.Config) InstanceGroupCreator
- func NewAutoscaleRegisterBroker(c *config.Config) InstanceGroupCreator
- func NewAutoscalingTests(c *config.Config) InstanceGroupCreator
- func NewBootstrapPartition(config *config.Config) InstanceGroupCreator
- func NewClockGlobalPartition(config *config.Config) InstanceGroupCreator
- func NewCloudControllerPartition(config *config.Config) InstanceGroupCreator
- func NewCloudControllerWorkerPartition(config *config.Config) InstanceGroupCreator
- func NewConsulPartition(config *config.Config) InstanceGroupCreator
- func NewDeployAutoscaling(c *config.Config) InstanceGroupCreator
- func NewDiegoBrainPartition(config *config.Config) InstanceGroupCreator
- func NewDiegoCellPartition(config *config.Config) InstanceGroupCreator
- func NewDiegoDatabasePartition(config *config.Config) InstanceGroupCreator
- func NewDopplerPartition(config *config.Config) InstanceGroupCreator
- func NewEtcdPartition(config *config.Config) (igf InstanceGroupCreator)
- func NewGoRouterPartition(config *config.Config) InstanceGroupCreator
- func NewHaProxyPartition(config *config.Config) InstanceGroupCreator
- func NewLoggregatorTrafficController(config *config.Config) InstanceGroupCreator
- func NewMySQLPartition(config *config.Config) (igf InstanceGroupCreator)
- func NewMySQLProxyPartition(config *config.Config) InstanceGroupCreator
- func NewNFSPartition(config *config.Config) (igf InstanceGroupCreator)
- func NewNatsPartition(config *config.Config) (igf InstanceGroupCreator)
- func NewNotifications(c *config.Config) InstanceGroupCreator
- func NewNotificationsTest(c *config.Config) InstanceGroupCreator
- func NewNotificationsUI(c *config.Config) InstanceGroupCreator
- func NewNotificationsUITest(c *config.Config) InstanceGroupCreator
- func NewPushAppsManager(c *config.Config) InstanceGroupCreator
- func NewSmokeErrand(config *config.Config) InstanceGroupCreator
- func NewUAAPartition(config *config.Config) InstanceGroupCreator
- type InstanceGrouperFactory
- type Metron
- type MySQL
- type MySQLProxy
- type MySQLSeededDatabase
- type NFS
- type NatsPartition
- type Plugin
- type StatsdInjector
- type UAA
- type UAAClient
- type VaultRotater
Constants ¶
const ( CFReleaseName = "cf" CFReleaseVersion = "235.5.62" PivotalERTVersion = "1.7.15" StemcellName = "ubuntu-trusty" StemcellAlias = "trusty" StemcellVersion = "3232.17" CFLinuxReleaseName = "cflinuxfs2-rootfs" CFLinuxReleaseVersion = "1.26.0" GardenReleaseName = "garden-linux" GardenReleaseVersion = "0.338.0" DiegoReleaseName = "diego" DiegoReleaseVersion = "0.1467.29" CFMysqlReleaseName = "cf-mysql" CFMysqlReleaseVersion = "25.2" EtcdReleaseName = "etcd" EtcdReleaseVersion = "48" PushAppsReleaseName = "push-apps-manager-release" PushAppsReleaseVersion = "629.7" NotificationsReleaseName = "notifications" NotificationsReleaseVersion = "24" NotificationsUIReleaseName = "notifications-ui" NotificationsUIReleaseVersion = "17" CFAutoscalingReleaseName = "cf-autoscaling" CFAutoscalingReleaseVersion = "36" MySQLBackupReleaseName = "mysql-backup" MySQLBackupReleaseVersion = "1" ServiceBackupReleaseVersion = "1" )
const (
DeploymentName = "cf"
)
Variables ¶
This section is empty.
Functions ¶
func CreateNFSMounterJob ¶ added in v0.0.22
func CreateNFSMounterJob(config *config.Config) enaml.InstanceJob
CreateNFSMounterJob - Create the yaml job structure for NFSMounter
func InferFromCloudDecorate ¶ added in v0.0.6
func RegisterInstanceGrouperFactory ¶
func RegisterInstanceGrouperFactory(igf InstanceGrouperFactory)
RegisterInstanceGrouperFactory registers an InstanceGrouperFactory. InstanceGrouperFactories should generally be registered in their package's init() function.
func RotateCertHash ¶ added in v0.0.9
func RotateCertHash(vault VaultRotater, hash, systemDomain string, appsDomain []string) error
func RotatePasswordHash ¶ added in v0.0.9
func RotatePasswordHash(vault VaultRotater, hash string) error
func VaultDecorate ¶ added in v0.0.5
Types ¶
type CloudControllerPartition ¶
type CloudControllerPartition struct { Config *config.Config Metron *Metron ConsulAgent *ConsulAgent StatsdInjector *StatsdInjector }
CloudControllerPartition - Cloud Controller Partition
func (*CloudControllerPartition) ToInstanceGroup ¶
func (s *CloudControllerPartition) ToInstanceGroup() (ig *enaml.InstanceGroup)
ToInstanceGroup - Convert CLoud Controller Partition to an Instance Group
type CloudControllerWorkerPartition ¶
type CloudControllerWorkerPartition struct { Config *config.Config Metron *Metron ConsulAgent *ConsulAgent }
CloudControllerWorkerPartition - Cloud Controller Worker Partition
func (*CloudControllerWorkerPartition) ToInstanceGroup ¶
func (s *CloudControllerWorkerPartition) ToInstanceGroup() (ig *enaml.InstanceGroup)
ToInstanceGroup - Convert CLoud Controller Partition to an Instance Group
type Consul ¶
type Consul struct { Config *config.Config ConsulAgent *ConsulAgent Metron *Metron StatsdInjector *StatsdInjector }
Consul -
func (*Consul) ToInstanceGroup ¶
func (s *Consul) ToInstanceGroup() (ig *enaml.InstanceGroup)
ToInstanceGroup -
type ConsulAgent ¶
ConsulAgent -
func NewConsulAgent ¶
func NewConsulAgent(services []string, config *config.Config) *ConsulAgent
NewConsulAgent -
func NewConsulAgentServer ¶
func NewConsulAgentServer(config *config.Config) *ConsulAgent
NewConsulAgentServer -
func (*ConsulAgent) CreateJob ¶
func (s *ConsulAgent) CreateJob() enaml.InstanceJob
CreateJob - Create the yaml job structure
type Doppler ¶
type Doppler struct { Config *config.Config Metron *Metron StatsdInjector *StatsdInjector }
Doppler -
func (*Doppler) ToInstanceGroup ¶
func (s *Doppler) ToInstanceGroup() (ig *enaml.InstanceGroup)
ToInstanceGroup -
type Etcd ¶
type Etcd struct { Config *config.Config Metron *Metron StatsdInjector *StatsdInjector }
Etcd -
func (*Etcd) ToInstanceGroup ¶
func (s *Etcd) ToInstanceGroup() (ig *enaml.InstanceGroup)
ToInstanceGroup -
type HAProxy ¶
type HAProxy struct { Config *config.Config ConsulAgent *ConsulAgent Metron *Metron StatsdInjector *StatsdInjector }
HAProxy -
func (*HAProxy) ToInstanceGroup ¶
func (s *HAProxy) ToInstanceGroup() (ig *enaml.InstanceGroup)
ToInstanceGroup -
type InstanceGroupCreator ¶ added in v0.0.22
type InstanceGroupCreator interface {
ToInstanceGroup() *enaml.InstanceGroup
}
InstanceGroupCreator creates and validates InstanceGroups.
func NewAcceptanceTestsPartition ¶
func NewAcceptanceTestsPartition(internet bool, config *config.Config) InstanceGroupCreator
func NewAutoscaleDestroyBroker ¶ added in v0.0.29
func NewAutoscaleDestroyBroker(c *config.Config) InstanceGroupCreator
func NewAutoscaleRegisterBroker ¶ added in v0.0.29
func NewAutoscaleRegisterBroker(c *config.Config) InstanceGroupCreator
func NewAutoscalingTests ¶ added in v0.0.29
func NewAutoscalingTests(c *config.Config) InstanceGroupCreator
func NewBootstrapPartition ¶
func NewBootstrapPartition(config *config.Config) InstanceGroupCreator
func NewClockGlobalPartition ¶
func NewClockGlobalPartition(config *config.Config) InstanceGroupCreator
func NewCloudControllerPartition ¶
func NewCloudControllerPartition(config *config.Config) InstanceGroupCreator
func NewCloudControllerWorkerPartition ¶
func NewCloudControllerWorkerPartition(config *config.Config) InstanceGroupCreator
NewCloudControllerWorkerPartition - Creating a New Cloud Controller Partition
func NewConsulPartition ¶
func NewConsulPartition(config *config.Config) InstanceGroupCreator
NewConsulPartition -
func NewDeployAutoscaling ¶ added in v0.0.29
func NewDeployAutoscaling(c *config.Config) InstanceGroupCreator
func NewDiegoBrainPartition ¶
func NewDiegoBrainPartition(config *config.Config) InstanceGroupCreator
func NewDiegoCellPartition ¶
func NewDiegoCellPartition(config *config.Config) InstanceGroupCreator
func NewDiegoDatabasePartition ¶
func NewDiegoDatabasePartition(config *config.Config) InstanceGroupCreator
func NewDopplerPartition ¶
func NewDopplerPartition(config *config.Config) InstanceGroupCreator
NewDopplerPartition -
func NewEtcdPartition ¶
func NewEtcdPartition(config *config.Config) (igf InstanceGroupCreator)
NewEtcdPartition -
func NewGoRouterPartition ¶
func NewGoRouterPartition(config *config.Config) InstanceGroupCreator
NewGoRouterPartition -
func NewHaProxyPartition ¶
func NewHaProxyPartition(config *config.Config) InstanceGroupCreator
NewHaProxyPartition -
func NewLoggregatorTrafficController ¶
func NewLoggregatorTrafficController(config *config.Config) InstanceGroupCreator
func NewMySQLPartition ¶
func NewMySQLPartition(config *config.Config) (igf InstanceGroupCreator)
NewMySQLPartition -
func NewMySQLProxyPartition ¶
func NewMySQLProxyPartition(config *config.Config) InstanceGroupCreator
NewMySQLProxyPartition -
func NewNFSPartition ¶
func NewNFSPartition(config *config.Config) (igf InstanceGroupCreator)
NewNFSPartition -
func NewNatsPartition ¶
func NewNatsPartition(config *config.Config) (igf InstanceGroupCreator)
NewNatsPartition --
func NewNotifications ¶ added in v0.0.39
func NewNotifications(c *config.Config) InstanceGroupCreator
func NewNotificationsTest ¶ added in v0.0.39
func NewNotificationsTest(c *config.Config) InstanceGroupCreator
func NewNotificationsUI ¶ added in v0.0.39
func NewNotificationsUI(c *config.Config) InstanceGroupCreator
func NewNotificationsUITest ¶ added in v0.0.39
func NewNotificationsUITest(c *config.Config) InstanceGroupCreator
func NewPushAppsManager ¶ added in v0.0.29
func NewPushAppsManager(c *config.Config) InstanceGroupCreator
func NewSmokeErrand ¶
func NewSmokeErrand(config *config.Config) InstanceGroupCreator
NewSmokeErrand - errand definition for smoke tests
func NewUAAPartition ¶
func NewUAAPartition(config *config.Config) InstanceGroupCreator
NewUAAPartition -
type InstanceGrouperFactory ¶
type InstanceGrouperFactory func(*config.Config) InstanceGroupCreator
InstanceGrouperFactory is a function that creates InstanceGroupCreator from Config.
type MySQL ¶
type MySQL struct { Config *config.Config DatabaseStartupTimeout int InnodbBufferPoolSize int MaxConnections int MySQLSeededDatabases []MySQLSeededDatabase }
MySQL -
func (*MySQL) GetSeededDBByName ¶
func (s *MySQL) GetSeededDBByName(name string) *MySQLSeededDatabase
GetSeededDBByName returns a pointer to the seeded database with a particular name. It returns nil if no matching database is found.
func (*MySQL) ToInstanceGroup ¶
func (s *MySQL) ToInstanceGroup() (ig *enaml.InstanceGroup)
ToInstanceGroup -
type MySQLProxy ¶
MySQLProxy -
func (*MySQLProxy) ToInstanceGroup ¶
func (s *MySQLProxy) ToInstanceGroup() (ig *enaml.InstanceGroup)
ToInstanceGroup -
type MySQLSeededDatabase ¶
type MySQLSeededDatabase struct { Name string `yaml:"name"` Username string `yaml:"username"` Password string `yaml:"password"` }
MySQLSeededDatabase -
type NFS ¶
type NFS struct { Config *config.Config Metron *Metron StatsdInjector *StatsdInjector }
NFS -
func (*NFS) ToInstanceGroup ¶
func (s *NFS) ToInstanceGroup() (ig *enaml.InstanceGroup)
ToInstanceGroup -
type NatsPartition ¶
type NatsPartition struct { Config *config.Config Metron *Metron StatsdInjector *StatsdInjector }
NatsPartition -
func (*NatsPartition) ToInstanceGroup ¶
func (s *NatsPartition) ToInstanceGroup() (ig *enaml.InstanceGroup)
ToInstanceGroup --
type Plugin ¶
type Plugin struct {
PluginVersion string
}
Plugin -
func (*Plugin) GetContext ¶
GetContext -
type StatsdInjector ¶
type StatsdInjector struct { }
StatsdInjector -
func NewStatsdInjector ¶
func NewStatsdInjector(c *cli.Context) (statsdInjector *StatsdInjector)
NewStatsdInjector -
func (*StatsdInjector) CreateJob ¶
func (s *StatsdInjector) CreateJob() enaml.InstanceJob
CreateJob -
func (*StatsdInjector) HasValidValues ¶
func (s *StatsdInjector) HasValidValues() bool
HasValidValues -
type UAA ¶
type UAA struct { Config *config.Config Metron *Metron StatsdInjector *StatsdInjector ConsulAgent *ConsulAgent Login *uaa.Login UAA *uaa.Uaa }
UAA -
func (*UAA) CreateBranding ¶ added in v0.0.22
func (*UAA) CreateLogin ¶
CreateLogin - Helper method to create login structure
func (*UAA) ToInstanceGroup ¶
func (s *UAA) ToInstanceGroup() (ig *enaml.InstanceGroup)
ToInstanceGroup -
type UAAClient ¶
type UAAClient struct { ID string `yaml:"id,omitempty"` Secret string `yaml:"secret,omitempty"` Scope string `yaml:"scope,omitempty"` AuthorizedGrantTypes string `yaml:"authorized-grant-types,omitempty"` Authorities string `yaml:"authorities,omitempty"` AutoApprove interface{} `yaml:"autoapprove,omitempty"` Override bool `yaml:"override,omitempty"` RedirectURI string `yaml:"redirect-uri,omitempty"` AccessTokenValidity int `yaml:"access-token-validity,omitempty"` RefreshTokenValidity int `yaml:"refresh-token-validity,omitempty"` ResourceIDs string `yaml:"resource_ids,omitempty"` Name string `yaml:"name,omitempty"` AppLaunchURL string `yaml:"app-launch-url,omitempty"` ShowOnHomepage bool `yaml:"show-on-homepage,omitempty"` AppIcon string `yaml:"app-icon,omitempty"` }
UAAClient - Structure to represent map of client priviledges
type VaultRotater ¶ added in v0.0.9
VaultRotater an interface for rotating vault hashes values
Source Files ¶
- acceptance_tests.go
- autoscaling.go
- bootstrap.go
- clock_global.go
- cloud_controller.go
- cloud_controller_worker.go
- const.go
- consul.go
- consul_agent.go
- diego_brain.go
- diego_cell.go
- diego_database.go
- doppler.go
- etcd.go
- gorouter.go
- haproxy.go
- instance_groups_registry.go
- loggregator.go
- metron.go
- mysql.go
- mysql_proxy.go
- nats.go
- nfs.go
- nfs_mounter.go
- notifications.go
- plugin.go
- push_apps_manager.go
- smoke.go
- statsdInjector.go
- types.go
- uaa.go
- validFlagsCheck.go
- vault.go
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |