Documentation ¶
Index ¶
- Constants
- func DeleteGlobalnetObjects(smClientSet *versioned.Clientset, cfg *rest.Config)
- func GetInternalSvcName(name string) string
- func RemoveGlobalIPAnnotationOnNode(cfg *rest.Config)
- func UninstallDataPath()
- type IngressEndpointsControllers
- type IngressPodControllers
- type Interface
- func NewClusterGlobalEgressIPController(config *syncer.ResourceSyncerConfig, localSubnets []string, pool *ipam.IPPool) (Interface, error)
- func NewGatewayMonitor(spec Specification, localCIDRs []string, config *watcher.Config) (Interface, error)
- func NewGlobalEgressIPController(config *syncer.ResourceSyncerConfig, pool *ipam.IPPool) (Interface, error)
- func NewGlobalIngressIPController(config *syncer.ResourceSyncerConfig, pool *ipam.IPPool) (Interface, error)
- func NewNodeController(config *syncer.ResourceSyncerConfig, pool *ipam.IPPool, nodeName string) (Interface, error)
- func NewServiceController(config *syncer.ResourceSyncerConfig, podControllers *IngressPodControllers) (Interface, error)
- func NewServiceExportController(config *syncer.ResourceSyncerConfig, podControllers *IngressPodControllers, ...) (Interface, error)
- type ServiceExportEndpointsControllers
- type Specification
Constants ¶
View Source
const ( ServiceRefLabel = "submariner.io/serviceRef" // InternalServicePrefix is a prefix used for internal services. InternalServicePrefix = "submariner-" // InternalServiceLabel is a label applied on the internal service created by Globalnet controller and // it points to the exported service. InternalServiceLabel = "submariner.io/exportedServiceRef" // InternalServiceFinalizer is applied on the internal services created by Globalnet controller // to protect them from accidental deletion. InternalServiceFinalizer = "submariner.io/globalnet-internal-service" // The prefix used for the ipset chains created by Globalnet pod. IPSetPrefix = "SM-GN-" AddRules = true DeleteRules = false DefaultNumberOfClusterEgressIPs = 8 )
Variables ¶
This section is empty.
Functions ¶
func DeleteGlobalnetObjects ¶ added in v0.12.0
func GetInternalSvcName ¶ added in v0.12.0
func RemoveGlobalIPAnnotationOnNode ¶ added in v0.12.1
func UninstallDataPath ¶ added in v0.12.0
func UninstallDataPath()
Types ¶
type IngressEndpointsControllers ¶ added in v0.13.0
type IngressEndpointsControllers struct {
// contains filtered or unexported fields
}
func NewIngressEndpointsControllers ¶ added in v0.13.0
func NewIngressEndpointsControllers(config *syncer.ResourceSyncerConfig) (*IngressEndpointsControllers, error)
type IngressPodControllers ¶
type IngressPodControllers struct {
// contains filtered or unexported fields
}
func NewIngressPodControllers ¶
func NewIngressPodControllers(config *syncer.ResourceSyncerConfig) (*IngressPodControllers, error)
type Interface ¶
type Interface interface { Start() error Stop() }
func NewGatewayMonitor ¶
func NewNodeController ¶
func NewServiceController ¶
func NewServiceController(config *syncer.ResourceSyncerConfig, podControllers *IngressPodControllers) (Interface, error)
func NewServiceExportController ¶
func NewServiceExportController(config *syncer.ResourceSyncerConfig, podControllers *IngressPodControllers, endpointsControllers *ServiceExportEndpointsControllers, ingressEndpointsControllers *IngressEndpointsControllers, ) (Interface, error)
type ServiceExportEndpointsControllers ¶ added in v0.12.0
type ServiceExportEndpointsControllers struct {
// contains filtered or unexported fields
}
func NewServiceExportEndpointsControllers ¶ added in v0.12.0
func NewServiceExportEndpointsControllers(config *syncer.ResourceSyncerConfig) (*ServiceExportEndpointsControllers, error)
Source Files ¶
- base_controllers.go
- cluster_egressip_controller.go
- egress_pod_watcher.go
- endpoints_controller.go
- gateway_monitor.go
- global_egressip_controller.go
- global_ingressip_controller.go
- ingress_endpoints_controller.go
- ingress_endpoints_controllers.go
- ingress_pod_controller.go
- ingress_pod_controllers.go
- node_controller.go
- service_controller.go
- service_export_controller.go
- service_export_endpoints_controllers.go
- types.go
- uninstall.go
Click to show internal directories.
Click to hide internal directories.