Documentation
¶
Index ¶
- func BackendTLSPoliciesEnabled(config *config.VirtualClusterConfig) bool
- func GatewayClassesImportEnabled(config *config.VirtualClusterConfig) bool
- func GatewaysEnabled(config *config.VirtualClusterConfig) bool
- func HTTPRoutesEnabled(config *config.VirtualClusterConfig) bool
- func ReferenceGrantSyncEnabled(config *config.VirtualClusterConfig) bool
- func TLSRoutesEnabled(config *config.VirtualClusterConfig) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackendTLSPoliciesEnabled ¶
func BackendTLSPoliciesEnabled(config *config.VirtualClusterConfig) bool
BackendTLSPoliciesEnabled reports whether BackendTLSPolicy sync is enabled.
func GatewayClassesImportEnabled ¶
func GatewayClassesImportEnabled(config *config.VirtualClusterConfig) bool
GatewayClassesImportEnabled reports whether host GatewayClasses are imported into the tenant cluster. The gatewayApi umbrella switch implies the import: tenant Gateway sync only accepts Gateways whose GatewayClass is visible in the tenant cluster, so umbrella-only installs would otherwise sync nothing. The explicit sync.toHost.gatewayApi.gateways switch does not imply it; there the user opts into each piece individually.
func GatewaysEnabled ¶
func GatewaysEnabled(config *config.VirtualClusterConfig) bool
GatewaysEnabled reports whether tenant-created Gateway sync is enabled, either explicitly or via the gatewayApi umbrella switch.
func HTTPRoutesEnabled ¶
func HTTPRoutesEnabled(config *config.VirtualClusterConfig) bool
HTTPRoutesEnabled reports whether HTTPRoute sync is enabled via the legacy umbrella or explicit switch.
func ReferenceGrantSyncEnabled ¶
func ReferenceGrantSyncEnabled(config *config.VirtualClusterConfig) bool
ReferenceGrantSyncEnabled reports whether tenant ReferenceGrants sync to the host cluster. In auto mode grants follow route/policy sync but additionally require namespace sync: without it all tenant namespaces collapse into one host namespace, so grants are only validated against virtual objects and the chart grants read-only host RBAC for them. The tenant ReferenceGrant CRD is installed independently by the route mappers (EnsureReferenceGrantCRD).
func TLSRoutesEnabled ¶
func TLSRoutesEnabled(config *config.VirtualClusterConfig) bool
TLSRoutesEnabled reports whether TLSRoute sync is enabled.
Types ¶
This section is empty.