Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizedDirective ¶
type AuthorizedDirective struct {
// contains filtered or unexported fields
}
func NewAuthorizedDirective ¶
func NewAuthorizedDirective(oc openfgav1.OpenFGAServiceClient, air accountinfo.Retriever, storeTTL time.Duration, cf workspace.ClientFactory, log *logger.Logger) *AuthorizedDirective
func NewAuthorizedDirectiveWithFactory ¶ added in v0.9.1
func NewAuthorizedDirectiveWithFactory(oc openfgav1.OpenFGAServiceClient, air accountinfo.Retriever, storeTTL time.Duration, clientFactory workspace.ClientFactory) *AuthorizedDirective
NewAuthorizedDirectiveWithFactory creates a new AuthorizedDirective with a custom ClientFactory. This constructor is primarily intended for testing with mock implementations.
Click to show internal directories.
Click to hide internal directories.