Documentation ¶
Index ¶
Constants ¶
View Source
const (
TemplatesRootDir = "services/terraformer/templates"
)
Variables ¶
View Source
var ( // ErrCreateDNSRecord is returned when an error occurs during the creation of the DNS records ErrCreateDNSRecord = errors.New("failed to create DNS record") // ErrCreateNodePools is returned when an error occurs during the creation of the desired nodepools. ErrCreateNodePools = errors.New("failed to create desired nodepools") )
Functions ¶
This section is empty.
Types ¶
type DNS ¶
type DNS struct { ProjectName string ClusterName string ClusterHash string DesiredNodeIPs []string CurrentNodeIPs []string CurrentDNS *spec.DNS DesiredDNS *spec.DNS // SpawnProcessLimit limits the number of spawned terraform processes. SpawnProcessLimit *semaphore.Weighted }
func (*DNS) CreateDNSRecords ¶
CreateDNSRecords creates DNS records for the Loadbalancer cluster.
type LBcluster ¶
type LBcluster struct { ProjectName string DesiredState *spec.LBcluster CurrentState *spec.LBcluster // SpawnProcessLimit limits the number of spawned terraform processes. SpawnProcessLimit *semaphore.Weighted }
func (*LBcluster) UpdateCurrentState ¶ added in v0.4.0
func (l *LBcluster) UpdateCurrentState()
Click to show internal directories.
Click to hide internal directories.