terraform

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModulePathRoute53                 = "/route53"
	ModulePathRoute53Record           = ModulePathRoute53 + "/record"
	ModulePathLoadBalancer            = "/load-balancer"
	ModulePathApplicationLoadBalancer = ModulePathLoadBalancer + "/application"
	ModulePathNodePool                = "/node-pool"
)

Variables

This section is empty.

Functions

func GetS3BackendAddressPathRoot

func GetS3BackendAddressPathRoot(latticeID v1.LatticeID, namespace, addressID string) string

func GetS3BackendNamespaceStatePathRoot

func GetS3BackendNamespaceStatePathRoot(latticeID v1.LatticeID, namespace string) string

func GetS3BackendNodePoolPathRoot

func GetS3BackendNodePoolPathRoot(latticeID v1.LatticeID, namespace, nodePoolID string) string

func GetS3BackendRoute53PathRoot

func GetS3BackendRoute53PathRoot(latticeID v1.LatticeID, zoneID string) string

func GetS3BackendServiceAddressLoadBalancerPathRoot

func GetS3BackendServiceAddressLoadBalancerPathRoot(latticeID v1.LatticeID, namespace, addressID string) string

func GetS3BackendStatePathRoot

func GetS3BackendStatePathRoot(latticeID v1.LatticeID) string

Types

type ApplicationLoadBalancer

type ApplicationLoadBalancer struct {
	Source string `json:"source"`

	Region string `json:"region"`

	LatticeID v1.LatticeID `json:"lattice_id"`
	SystemID  v1.SystemID  `json:"system_id"`
	VPCID     string       `json:"vpc_id"`
	SubnetIDs []string     `json:"subnet_ids"`

	Name                             string            `json:"name"`
	AutoscalingGroupSecurityGroupIDs map[string]string `json:"autoscaling_group_security_group_ids"`
	Ports                            map[int32]int32   `json:"ports"`
}

func (*ApplicationLoadBalancer) MarshalJSON

func (np *ApplicationLoadBalancer) MarshalJSON() ([]byte, error)

type NodePool

type NodePool struct {
	Source string

	AWSAccountID string
	Region       string

	LatticeID                 v1.LatticeID
	VPCID                     string
	SubnetIDs                 []string
	MasterNodeSecurityGroupID string
	WorkerNodeAMIID           string
	KeyName                   string

	Name         string
	NumInstances int32
	InstanceType string
}

func (*NodePool) MarshalJSON

func (np *NodePool) MarshalJSON() ([]byte, error)

type Route53Record

type Route53Record struct {
	Source string `json:"source"`

	Region string `json:"region"`

	ZoneID string `json:"zone_id"`
	Type   string `json:"type"`
	Name   string `json:"name"`
	Value  string `json:"value"`
}

Jump to

Keyboard shortcuts

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