Documentation ¶
Index ¶
- type AMI
- type BOSHEIPTemplateBuilder
- type BOSHIAMTemplateBuilder
- type BOSHSubnetTemplateBuilder
- type EIP
- type ElasticLoadBalancingLoadBalancer
- type FnGetAtt
- type FnJoin
- type HealthCheck
- type IAMAccessKey
- type IAMPolicy
- type IAMPolicyDocument
- type IAMStatement
- type IAMUser
- type Instance
- type InternalSubnetTemplateBuilder
- type InternalSubnetsTemplateBuilder
- type Listener
- type LoadBalancerSubnetTemplateBuilder
- type LoadBalancerSubnetsTemplateBuilder
- type LoadBalancerTemplateBuilder
- func (l LoadBalancerTemplateBuilder) CFRouterLoadBalancer(numberOfAvailabilityZones int, sslCertificateID string) Template
- func (l LoadBalancerTemplateBuilder) CFSSHProxyLoadBalancer(numberOfAvailabilityZones int) Template
- func (l LoadBalancerTemplateBuilder) ConcourseLoadBalancer(numberOfAvailabilityZones int, sslCertificateID string) Template
- type NATTemplateBuilder
- type Output
- type Parameter
- type Ref
- type Resource
- type Route
- type RouteTable
- type SSHKeyPairTemplateBuilder
- type SecurityGroup
- type SecurityGroupEgress
- type SecurityGroupIngress
- type SecurityGroupTemplateBuilder
- func (s SecurityGroupTemplateBuilder) BOSHSecurityGroup() Template
- func (s SecurityGroupTemplateBuilder) InternalSecurityGroup() Template
- func (s SecurityGroupTemplateBuilder) LBInternalSecurityGroup(securityGroupName, lbSecurityGroupName, securityGroupDescription, ... string, ...) Template
- func (s SecurityGroupTemplateBuilder) LBSecurityGroup(securityGroupName, securityGroupDescription, loadBalancerName string, ...) Template
- type Subnet
- type SubnetRouteTableAssociation
- type Tag
- type Template
- type TemplateBuilder
- type VPC
- type VPCGatewayAttachment
- type VPCTemplateBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BOSHEIPTemplateBuilder ¶
type BOSHEIPTemplateBuilder struct{}
func NewBOSHEIPTemplateBuilder ¶
func NewBOSHEIPTemplateBuilder() BOSHEIPTemplateBuilder
func (BOSHEIPTemplateBuilder) BOSHEIP ¶
func (t BOSHEIPTemplateBuilder) BOSHEIP() Template
type BOSHIAMTemplateBuilder ¶
type BOSHIAMTemplateBuilder struct{}
func NewBOSHIAMTemplateBuilder ¶
func NewBOSHIAMTemplateBuilder() BOSHIAMTemplateBuilder
func (BOSHIAMTemplateBuilder) BOSHIAMUser ¶
func (t BOSHIAMTemplateBuilder) BOSHIAMUser(userName string) Template
type BOSHSubnetTemplateBuilder ¶
type BOSHSubnetTemplateBuilder struct{}
func NewBOSHSubnetTemplateBuilder ¶
func NewBOSHSubnetTemplateBuilder() BOSHSubnetTemplateBuilder
func (BOSHSubnetTemplateBuilder) BOSHSubnet ¶
func (BOSHSubnetTemplateBuilder) BOSHSubnet() Template
type EIP ¶
type EIP struct { Domain string `json:",omitempty"` InstanceId interface{} `json:",omitempty"` }
type ElasticLoadBalancingLoadBalancer ¶
type ElasticLoadBalancingLoadBalancer struct { Subnets []interface{} `json:"Subnets,omitempty"` SecurityGroups []interface{} `json:"SecurityGroups,omitempty"` HealthCheck HealthCheck `json:"HealthCheck,omitempty"` Listeners []Listener `json:"Listeners,omitempty"` CrossZone bool `json:"CrossZone,omitempty"` }
type FnJoin ¶
type FnJoin struct { Delimeter string Values []interface{} }
func (FnJoin) MarshalJSON ¶
type HealthCheck ¶
type IAMAccessKey ¶
type IAMAccessKey struct {
UserName Ref
}
type IAMPolicy ¶
type IAMPolicy struct { PolicyName string PolicyDocument IAMPolicyDocument }
type IAMPolicyDocument ¶
type IAMPolicyDocument struct { Version string Statement []IAMStatement }
type IAMStatement ¶
type Instance ¶
type Instance struct { InstanceType string `json:",omitempty"` PrivateIpAddress string `json:",omitempty"` SubnetId interface{} `json:",omitempty"` ImageId map[string]interface{} `json:",omitempty"` KeyName interface{} `json:",omitempty"` SecurityGroupIds []interface{} `json:",omitempty"` Tags []Tag `json:",omitempty"` SourceDestCheck bool }
type InternalSubnetTemplateBuilder ¶
type InternalSubnetTemplateBuilder struct{}
func NewInternalSubnetTemplateBuilder ¶
func NewInternalSubnetTemplateBuilder() InternalSubnetTemplateBuilder
func (InternalSubnetTemplateBuilder) InternalSubnet ¶
func (s InternalSubnetTemplateBuilder) InternalSubnet(azIndex int, suffix, cidrBlock string) Template
type InternalSubnetsTemplateBuilder ¶
type InternalSubnetsTemplateBuilder struct{}
func NewInternalSubnetsTemplateBuilder ¶
func NewInternalSubnetsTemplateBuilder() InternalSubnetsTemplateBuilder
func (InternalSubnetsTemplateBuilder) InternalSubnets ¶
func (InternalSubnetsTemplateBuilder) InternalSubnets(numberOfAvailabilityZones int) Template
type Listener ¶
type Listener struct { Protocol string `json:"Protocol,omitempty"` LoadBalancerPort string `json:"LoadBalancerPort,omitempty"` InstanceProtocol string `json:"InstanceProtocol,omitempty"` InstancePort string `json:"InstancePort,omitempty"` SSLCertificateID string `json:"SSLCertificateId,omitempty"` }
type LoadBalancerSubnetTemplateBuilder ¶
type LoadBalancerSubnetTemplateBuilder struct{}
func NewLoadBalancerSubnetTemplateBuilder ¶
func NewLoadBalancerSubnetTemplateBuilder() LoadBalancerSubnetTemplateBuilder
func (LoadBalancerSubnetTemplateBuilder) LoadBalancerSubnet ¶
func (LoadBalancerSubnetTemplateBuilder) LoadBalancerSubnet(azIndex int, subnetSuffix string, cidrBlock string) Template
type LoadBalancerSubnetsTemplateBuilder ¶
type LoadBalancerSubnetsTemplateBuilder struct{}
func NewLoadBalancerSubnetsTemplateBuilder ¶
func NewLoadBalancerSubnetsTemplateBuilder() LoadBalancerSubnetsTemplateBuilder
func (LoadBalancerSubnetsTemplateBuilder) LoadBalancerSubnets ¶
func (LoadBalancerSubnetsTemplateBuilder) LoadBalancerSubnets(azCount int) Template
type LoadBalancerTemplateBuilder ¶
type LoadBalancerTemplateBuilder struct{}
func NewLoadBalancerTemplateBuilder ¶
func NewLoadBalancerTemplateBuilder() LoadBalancerTemplateBuilder
func (LoadBalancerTemplateBuilder) CFRouterLoadBalancer ¶
func (l LoadBalancerTemplateBuilder) CFRouterLoadBalancer(numberOfAvailabilityZones int, sslCertificateID string) Template
func (LoadBalancerTemplateBuilder) CFSSHProxyLoadBalancer ¶
func (l LoadBalancerTemplateBuilder) CFSSHProxyLoadBalancer(numberOfAvailabilityZones int) Template
func (LoadBalancerTemplateBuilder) ConcourseLoadBalancer ¶
func (l LoadBalancerTemplateBuilder) ConcourseLoadBalancer(numberOfAvailabilityZones int, sslCertificateID string) Template
type NATTemplateBuilder ¶
type NATTemplateBuilder struct{}
func NewNATTemplateBuilder ¶
func NewNATTemplateBuilder() NATTemplateBuilder
func (NATTemplateBuilder) NAT ¶
func (t NATTemplateBuilder) NAT() Template
type Resource ¶
type Resource struct { Type string Properties interface{} `json:",omitempty"` DependsOn interface{} `json:",omitempty"` CreationPolicy interface{} `json:",omitempty"` UpdatePolicy interface{} `json:",omitempty"` DeletionPolicy interface{} `json:",omitempty"` }
type Route ¶
type Route struct { DestinationCidrBlock string `json:",omitempty"` GatewayId interface{} `json:",omitempty"` RouteTableId interface{} `json:",omitempty"` InstanceId interface{} `json:",omitempty"` }
type RouteTable ¶
type RouteTable struct {
VpcId interface{} `json:",omitempty"`
}
type SSHKeyPairTemplateBuilder ¶
type SSHKeyPairTemplateBuilder struct{}
func NewSSHKeyPairTemplateBuilder ¶
func NewSSHKeyPairTemplateBuilder() SSHKeyPairTemplateBuilder
func (SSHKeyPairTemplateBuilder) SSHKeyPairName ¶
func (t SSHKeyPairTemplateBuilder) SSHKeyPairName(keyPairName string) Template
type SecurityGroup ¶
type SecurityGroup struct { VpcId interface{} `json:",omitempty"` GroupDescription string `json:",omitempty"` SecurityGroupIngress []SecurityGroupIngress `json:",omitempty"` SecurityGroupEgress []SecurityGroupEgress }
type SecurityGroupEgress ¶
type SecurityGroupIngress ¶
type SecurityGroupTemplateBuilder ¶
type SecurityGroupTemplateBuilder struct{}
func NewSecurityGroupTemplateBuilder ¶
func NewSecurityGroupTemplateBuilder() SecurityGroupTemplateBuilder
func (SecurityGroupTemplateBuilder) BOSHSecurityGroup ¶
func (s SecurityGroupTemplateBuilder) BOSHSecurityGroup() Template
func (SecurityGroupTemplateBuilder) InternalSecurityGroup ¶
func (s SecurityGroupTemplateBuilder) InternalSecurityGroup() Template
func (SecurityGroupTemplateBuilder) LBInternalSecurityGroup ¶
func (s SecurityGroupTemplateBuilder) LBInternalSecurityGroup(securityGroupName, lbSecurityGroupName, securityGroupDescription, loadBalancerName string, template Template) Template
func (SecurityGroupTemplateBuilder) LBSecurityGroup ¶
func (s SecurityGroupTemplateBuilder) LBSecurityGroup(securityGroupName, securityGroupDescription, loadBalancerName string, template Template) Template
type SubnetRouteTableAssociation ¶
type SubnetRouteTableAssociation struct { RouteTableId interface{} `json:",omitempty"` SubnetId interface{} `json:",omitempty"` }
type Template ¶
type Template struct { AWSTemplateFormatVersion string `json:",omitempty"` Description string `json:",omitempty"` Parameters map[string]Parameter `json:",omitempty"` Mappings map[string]interface{} `json:",omitempty"` Resources map[string]Resource `json:",omitempty"` Outputs map[string]Output `json:",omitempty"` }
type TemplateBuilder ¶
type TemplateBuilder struct {
// contains filtered or unexported fields
}
func NewTemplateBuilder ¶
func NewTemplateBuilder(logger logger) TemplateBuilder
type VPCGatewayAttachment ¶
type VPCTemplateBuilder ¶
type VPCTemplateBuilder struct{}
func NewVPCTemplateBuilder ¶
func NewVPCTemplateBuilder() VPCTemplateBuilder
func (VPCTemplateBuilder) VPC ¶
func (t VPCTemplateBuilder) VPC(envID string) Template
Source Files ¶
- bosh_eip_template_builder.go
- bosh_iam_template_builder.go
- bosh_subnet_template_builder.go
- internal_subnet_template_builder.go
- internal_subnets_template_builder.go
- load_balancer_subnet_template_builder.go
- load_balancer_subnets_template_builder.go
- load_balancer_template_builder.go
- nat_template_builder.go
- security_group_template_builder.go
- ssh_keypair_template_builder.go
- template.go
- template_builder.go
- vpc_template_builder.go
Click to show internal directories.
Click to hide internal directories.