Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsertoFactory ¶
type AsertoFactory struct {
// contains filtered or unexported fields
}
func NewClientFactory ¶
func NewClientFactory( services *x.Services, tenantID TenantID, token *tok.CachedToken, ) (*AsertoFactory, error)
func (*AsertoFactory) ControlPlaneClient ¶ added in v0.8.10
func (*AsertoFactory) DecisionLogsClient ¶
func (*AsertoFactory) TenantClient ¶
func (*AsertoFactory) TenantID ¶
func (c *AsertoFactory) TenantID() string
type OptionsBuilder ¶
type OptionsBuilder func() ([]client.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.
type ServiceOptions ¶
type ServiceOptions struct {
// contains filtered or unexported fields
}
func NewServiceOptions ¶
func NewServiceOptions() *ServiceOptions
func (*ServiceOptions) ConfigOverrider ¶ added in v0.8.8
func (b *ServiceOptions) ConfigOverrider(cfg *config.Config)
func (*ServiceOptions) Override ¶
func (b *ServiceOptions) Override(svc x.Service, overrides Overrides)
func (*ServiceOptions) RequireToken ¶
func (b *ServiceOptions) RequireToken()
Click to show internal directories.
Click to hide internal directories.