Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment struct { CustomOperations string DirectorName string ExternalIP string GcpCredentialsJSON string InternalCIDR string InternalGW string InternalIP string Network string PrivateCIDR string PrivateCIDRGateway string PrivateCIDRReserved string PrivateSubnetwork string ProjectID string PublicCIDR string PublicCIDRGateway string PublicCIDRReserved string PublicCIDRStatic string PublicKey string PublicSubnetwork string Spot bool Tags string Zone string }
Environment holds all the parameters GCP IAAS needs
func (Environment) ConfigureConcourseStemcell ¶
func (e Environment) ConfigureConcourseStemcell() (string, error)
ConfigureConcourseStemcell returns the stemcell location string for an AWS specific stemcell for the required concourse version
func (Environment) ConfigureDirectorCloudConfig ¶
func (e Environment) ConfigureDirectorCloudConfig() (string, error)
ConfigureDirectorCloudConfig inserts values from the environment into the config template passed as argument
func (Environment) ConfigureDirectorManifestCPI ¶
func (e Environment) ConfigureDirectorManifestCPI() (string, error)
ConfigureDirectorManifestCPI interpolates all the Environment parameters and required release versions into ready to use Director manifest
func (Environment) IAASCheck ¶
func (e Environment) IAASCheck() iaas.Name
IAASCheck returns the IAAS provider
Click to show internal directories.
Click to hide internal directories.