Documentation ¶
Index ¶
- type SecretsBuilder
- func (b *SecretsBuilder) Build() []*xds_auth.Secret
- func (b *SecretsBuilder) SetIssuers(issuers certificate.IssuerInfo) *SecretsBuilder
- func (b *SecretsBuilder) SetProxy(proxy *models.Proxy) *SecretsBuilder
- func (b *SecretsBuilder) SetProxyCert(cert *certificate.Certificate) *SecretsBuilder
- func (b *SecretsBuilder) SetServiceIdentitiesForService(...) *SecretsBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretsBuilder ¶
type SecretsBuilder struct {
// contains filtered or unexported fields
}
SecretsBuilder is responsible for constructing the SDS response.
func (*SecretsBuilder) Build ¶
func (b *SecretsBuilder) Build() []*xds_auth.Secret
Build generates SDS Secret Resources based on requested certs in the DiscoveryRequest
func (*SecretsBuilder) SetIssuers ¶
func (b *SecretsBuilder) SetIssuers(issuers certificate.IssuerInfo) *SecretsBuilder
SetIssuers sets the trust domain on the builder.
func (*SecretsBuilder) SetProxy ¶
func (b *SecretsBuilder) SetProxy(proxy *models.Proxy) *SecretsBuilder
SetProxy sets the proxy these secrets are destined for.
func (*SecretsBuilder) SetProxyCert ¶
func (b *SecretsBuilder) SetProxyCert(cert *certificate.Certificate) *SecretsBuilder
SetProxyCert sets the proxy's certificate on the builder.
func (*SecretsBuilder) SetServiceIdentitiesForService ¶
func (b *SecretsBuilder) SetServiceIdentitiesForService(serviceIdentitiesForServices map[service.MeshService][]identity.ServiceIdentity) *SecretsBuilder
SetServiceIdentitiesForService setes the list of identities for each service, to be used for SAN validation.
Click to show internal directories.
Click to hide internal directories.