Documentation ¶
Index ¶
Constants ¶
View Source
const OriginSecrets = "secrets"
OriginSecrets is a marker to indicate by which ProxyGenerator resources were generated.
Variables ¶
This section is empty.
Functions ¶
func CreateCaSecretResource ¶
func CreateIdentitySecretResource ¶
func CreateIdentitySecretResource(name string, identity *core_xds.IdentitySecret) *core_xds.Resource
Types ¶
type Generator ¶
type Generator struct { }
func (Generator) Generate ¶
func (g Generator) Generate( ctx xds_context.Context, proxy *core_xds.Proxy, ) (*core_xds.ResourceSet, error)
Generate uses the SecretsTracker on Proxy and generates whatever secrets were used in the config generation.
func (Generator) GenerateForZoneEgress ¶
func (g Generator) GenerateForZoneEgress( ctx xds_context.Context, proxyId core_xds.ProxyId, zoneEgressResource *core_mesh.ZoneEgressResource, secretsTracker core_xds.SecretsTracker, mesh *core_mesh.MeshResource, ) (*core_xds.ResourceSet, error)
GenerateForZoneEgress generates whatever secrets were referenced in the zone egress config generation.
Click to show internal directories.
Click to hide internal directories.