Documentation ¶
Index ¶
- Constants
- func FindServiceExportStatusCondition(conditions []mcsv1a1.ServiceExportCondition, ...) *mcsv1a1.ServiceExportCondition
- func GetGlobalIngressIPObj() *unstructured.Unstructured
- type AgentConfig
- type AgentSpecification
- type Controller
- type EndpointController
- type IngressIP
- type ServiceImportController
Constants ¶
View Source
const ( ClusterIPService = "ClusterIPService" HeadlessServicePod = "HeadlessServicePod" )
Variables ¶
This section is empty.
Functions ¶
func FindServiceExportStatusCondition ¶ added in v0.14.0
func FindServiceExportStatusCondition(conditions []mcsv1a1.ServiceExportCondition, condType mcsv1a1.ServiceExportConditionType, ) *mcsv1a1.ServiceExportCondition
func GetGlobalIngressIPObj ¶ added in v0.10.1
func GetGlobalIngressIPObj() *unstructured.Unstructured
Types ¶
type AgentConfig ¶ added in v0.9.0
type AgentSpecification ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(spec *AgentSpecification, syncerConf broker.SyncerConfig, kubeClientSet kubernetes.Interface, syncerMetricNames AgentConfig, ) (*Controller, error)
func (*Controller) Cleanup ¶ added in v0.12.0
func (a *Controller) Cleanup() error
func (*Controller) Start ¶ added in v0.6.0
func (a *Controller) Start(stopCh <-chan struct{}) error
type EndpointController ¶ added in v0.7.0
type EndpointController struct {
// contains filtered or unexported fields
}
Each EndpointController listens for the endpoints that backs a service and have a ServiceImport It will create an endpoint slice corresponding to an endpoint object and set the owner references to ServiceImport. The app label from the endpoint will be added to endpoint slice as well.
type IngressIP ¶ added in v0.10.1
type IngressIP struct {
// contains filtered or unexported fields
}
type ServiceImportController ¶ added in v0.7.0
type ServiceImportController struct {
// contains filtered or unexported fields
}
The ServiceImportController listens for ServiceImport resources created in the target namespace and creates an EndpointController in response. The EndpointController will use the app label as filter to listen only for the endpoints event related to ServiceImport created.
Click to show internal directories.
Click to hide internal directories.