Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CFController ¶
type CFController struct {
Log *zerolog.Logger
Cfg *config.CFControllerConfig
Rest *RestClients
ConfigMaps *TunnelConfigMaps
Context context.Context
CancelFunc context.CancelFunc
// contains filtered or unexported fields
}
func NewCFController ¶ added in v0.0.2
func NewCFController(log *zerolog.Logger) *CFController
func (*CFController) RegisterShutdown ¶ added in v0.0.2
func (cfc *CFController) RegisterShutdown(sfn func()) func()
func (*CFController) Shutdown ¶ added in v0.0.2
func (cfc *CFController) Shutdown()
func (*CFController) WithComponent ¶
func (cfc *CFController) WithComponent(component string, fns ...func(*CFController)) *CFController
type RestClients ¶
type RestClients struct {
K8s *kubernetes.Clientset
// contains filtered or unexported fields
}
func (*RestClients) CFClientWithoutZoneID ¶ added in v0.0.6
func (rc *RestClients) CFClientWithoutZoneID() (*cfapi.RESTClient, error)
func (*RestClients) GetCFClientForDomain ¶ added in v0.0.6
func (rc *RestClients) GetCFClientForDomain(domain string) (*cfapi.RESTClient, error)
type TunnelConfigMap ¶ added in v0.0.8
type TunnelConfigMaps ¶ added in v0.0.8
type TunnelConfigMaps struct {
CmsLock sync.Mutex
Cms map[string]TunnelConfigMap
}
func NewTunnelConfigMaps ¶ added in v0.0.8
func NewTunnelConfigMaps() *TunnelConfigMaps
func (*TunnelConfigMaps) ConfigMaps ¶ added in v0.0.8
func (tcm *TunnelConfigMaps) ConfigMaps() []TunnelConfigMap
func (*TunnelConfigMaps) WatchConfigMaps ¶ added in v0.0.8
func (tcm *TunnelConfigMaps) WatchConfigMaps() WatchFunc
Click to show internal directories.
Click to hide internal directories.