Documentation ¶
Index ¶
- func WithUrlOverride(urlOverride string) func(options *ClientOptions)
- type ClientOptions
- type RaitoClient
- func (c *RaitoClient) AccessProvider() *services.AccessProviderClient
- func (c *RaitoClient) DataObject() *services.DataObjectClient
- func (c *RaitoClient) DataSource() *services.DataSourceClient
- func (c *RaitoClient) IdentityStore() *services.IdentityStoreClient
- func (c *RaitoClient) Role() *services.RoleClient
- func (c *RaitoClient) User() *services.UserClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithUrlOverride ¶
func WithUrlOverride(urlOverride string) func(options *ClientOptions)
WithUrlOverride can be used to override the URL used to communicate with the Raito API.
Types ¶
type ClientOptions ¶
type ClientOptions struct {
UrlOverride string
}
type RaitoClient ¶
type RaitoClient struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(ctx context.Context, domain, user, secret string, ops ...func(options *ClientOptions)) *RaitoClient
NewClient creates a new RaitoClient with the given credentials.
func (*RaitoClient) AccessProvider ¶
func (c *RaitoClient) AccessProvider() *services.AccessProviderClient
AccessProvider returns the AccessProviderClient
func (*RaitoClient) DataObject ¶
func (c *RaitoClient) DataObject() *services.DataObjectClient
DataObject returns the DataObjectClient
func (*RaitoClient) DataSource ¶
func (c *RaitoClient) DataSource() *services.DataSourceClient
DataSource returns the DataSourceClient
func (*RaitoClient) IdentityStore ¶
func (c *RaitoClient) IdentityStore() *services.IdentityStoreClient
IdentityStore returns the IdentityStoreClient
func (*RaitoClient) Role ¶
func (c *RaitoClient) Role() *services.RoleClient
Role returns the RoleClient
func (*RaitoClient) User ¶
func (c *RaitoClient) User() *services.UserClient
User returns the UserClient
Click to show internal directories.
Click to hide internal directories.