Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsertoFactory ¶
type AsertoFactory struct {
SvcOptions map[x.Service]OptionsBuilder
}
func (*AsertoFactory) AuthorizerClient ¶
func (c *AsertoFactory) AuthorizerClient(ctx context.Context) (*authorizer.Client, error)
func (*AsertoFactory) DecisionLogsClient ¶
func (c *AsertoFactory) DecisionLogsClient(ctx context.Context) (dl.DecisionLogsClient, error)
func (*AsertoFactory) TenantClient ¶
type OptionsBuilder ¶
type OptionsBuilder func() ([]aserto.ConnectionOption, error)
type Overrides ¶
type Overrides interface {
// Address overrides the default address used to connect to a service.
Address() string
// Key provides an API key to be used instead of the default access token.
Key() string
// IsAnonymous means no credentials are sent to the service.
IsAnonymous() bool
// IsInsecure indicates that no TLS verification is performed.
IsInsecure() bool
}
Overrides are options that modify the default behavior of connections to aserto services.
Click to show internal directories.
Click to hide internal directories.