Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCallbacks ¶
func NewCallbacks(resManager core_manager.ReadOnlyResourceManager, authenticator Authenticator, dpNotFoundRetry DPNotFoundRetry) util_xds.Callbacks
Types ¶
type Authenticator ¶
type Authenticator interface {
Authenticate(ctx context.Context, resource model.Resource, credential Credential) error
}
type Credential ¶
type Credential = string
func ExtractCredential ¶ added in v1.8.1
func ExtractCredential(ctx context.Context) (Credential, error)
type DPNotFoundRetry ¶
type DPNotFoundRetry struct {
Backoff time.Duration
MaxTimes uint
}
DPNotFoundRetry if callbacks are used in xDS other than ADS. It might be useful to have a retry when dataplane is not found, because on Universal ADS is creating it.
Click to show internal directories.
Click to hide internal directories.