Documentation ¶
Index ¶
- Constants
- type Cmd
- type Executor
- type ExecutorApplyError
- type ExecutorDestroyError
- type Manager
- func (m Manager) Apply(bblState storage.State) (storage.State, error)
- func (m Manager) Destroy(bblState storage.State) (storage.State, error)
- func (m Manager) GetOutputs(tfState, lbType string, domainExists bool) (Outputs, error)
- func (m Manager) ValidateVersion() error
- func (m Manager) Version() (string, error)
- type ManagerApplyError
- type ManagerDestroyError
- type Outputs
Constants ¶
View Source
const BOSHDirectorTemplate = `` /* 1576-byte string literal not displayed */
View Source
const CFDNSTemplate = `` /* 2746-byte string literal not displayed */
View Source
const CFLBTemplate = `` /* 6326-byte string literal not displayed */
View Source
const ConcourseLBTemplate = `` /* 1237-byte string literal not displayed */
View Source
const VarsTemplate = `` /* 333-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
func NewExecutor ¶
type ExecutorApplyError ¶
type ExecutorApplyError struct {
// contains filtered or unexported fields
}
func NewExecutorApplyError ¶
func NewExecutorApplyError(tfState string, err error) ExecutorApplyError
func (ExecutorApplyError) Error ¶
func (t ExecutorApplyError) Error() string
func (ExecutorApplyError) TFState ¶
func (t ExecutorApplyError) TFState() string
type ExecutorDestroyError ¶
type ExecutorDestroyError struct {
// contains filtered or unexported fields
}
func NewExecutorDestroyError ¶
func NewExecutorDestroyError(tfState string, internalError error) ExecutorDestroyError
func (ExecutorDestroyError) Error ¶
func (e ExecutorDestroyError) Error() string
func (ExecutorDestroyError) TFState ¶
func (e ExecutorDestroyError) TFState() string
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(executor executor, templateGenerator templateGenerator, logger logger) Manager
func (Manager) GetOutputs ¶
func (Manager) ValidateVersion ¶
type ManagerApplyError ¶
type ManagerApplyError struct {
// contains filtered or unexported fields
}
func NewManagerApplyError ¶
func NewManagerApplyError(bblState storage.State, executorApplyError executorApplyError) ManagerApplyError
func (ManagerApplyError) BBLState ¶
func (m ManagerApplyError) BBLState() storage.State
func (ManagerApplyError) Error ¶
func (m ManagerApplyError) Error() string
type ManagerDestroyError ¶
type ManagerDestroyError struct {
// contains filtered or unexported fields
}
func NewManagerDestroyError ¶
func NewManagerDestroyError(bblState storage.State, executorDestroyError executorDestroyError) ManagerDestroyError
func (ManagerDestroyError) BBLState ¶
func (m ManagerDestroyError) BBLState() storage.State
func (ManagerDestroyError) Error ¶
func (m ManagerDestroyError) Error() string
type Outputs ¶
type Outputs struct { ExternalIP string `json:"-"` NetworkName string `json:"-"` SubnetworkName string `json:"-"` BOSHTag string `json:"-"` InternalTag string `json:"-"` DirectorAddress string `json:"-"` RouterBackendService string `json:"-"` SSHProxyTargetPool string `json:"-"` TCPRouterTargetPool string `json:"-"` WSTargetPool string `json:"-"` ConcourseTargetPool string `json:"-"` RouterLBIP string `json:"cf_router_lb,omitempty"` SSHProxyLBIP string `json:"cf_ssh_proxy_lb,omitempty"` TCPRouterLBIP string `json:"cf_tcp_router_lb,omitempty"` WebSocketLBIP string `json:"cf_websocket_lb,omitempty"` ConcourseLBIP string `json:"-"` SystemDomainDNSServers []string `json:"cf_system_domain_dns_servers,omitempty"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.