Documentation ¶
Index ¶
- type ConfigFactory
- func (cf *ConfigFactory) DestinationRules() []*v1alpha3.DestinationRule
- func (cf *ConfigFactory) EnvoyFilters() []*v1alpha3.EnvoyFilter
- func (cf *ConfigFactory) IngressGateway() (*v1alpha3.Gateway, error)
- func (cf *ConfigFactory) ServiceEntries() ([]*v1alpha3.ServiceEntry, error)
- func (cf *ConfigFactory) WorkloadEntries() ([]*v1alpha3.WorkloadEntry, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigFactory ¶
type ConfigFactory struct {
// contains filtered or unexported fields
}
func NewConfigFactory ¶
func NewConfigFactory( cfg config.Federation, serviceLister v1.ServiceLister, importedServiceStore *fds.ImportedServiceStore, namespace string, ) *ConfigFactory
func (*ConfigFactory) DestinationRules ¶
func (cf *ConfigFactory) DestinationRules() []*v1alpha3.DestinationRule
DestinationRules customize SNI in the client mTLS connection when the remote ingress is openshift-router, because that ingress requires hosts compatible with https://datatracker.ietf.org/doc/html/rfc952.
func (*ConfigFactory) EnvoyFilters ¶
func (cf *ConfigFactory) EnvoyFilters() []*v1alpha3.EnvoyFilter
EnvoyFilters returns patches for SNI filters matching SNIs of exported services in federation ingress gateway. These patches add SNI compatible with https://datatracker.ietf.org/doc/html/rfc952 required by OpenShift Router. This function returns nil when the local ingress type is "istio".
func (*ConfigFactory) IngressGateway ¶
func (cf *ConfigFactory) IngressGateway() (*v1alpha3.Gateway, error)
func (*ConfigFactory) ServiceEntries ¶
func (cf *ConfigFactory) ServiceEntries() ([]*v1alpha3.ServiceEntry, error)
func (*ConfigFactory) WorkloadEntries ¶
func (cf *ConfigFactory) WorkloadEntries() ([]*v1alpha3.WorkloadEntry, error)
Click to show internal directories.
Click to hide internal directories.