Documentation
¶
Index ¶
- func WithAccessProviderListFilter(input *types.AccessProviderFilterInput) func(options *AccessProviderListOptions)
- func WithAccessProviderListOrder(input ...types.AccessProviderOrderByInput) func(options *AccessProviderListOptions)
- func WithAccessProviderWhatAccessProviderListFilter(filter *types.AccessProviderWhatAccessProviderFilterInput) func(options *AccessProviderWhatAccessProviderListOptions)
- func WithAccessProviderWhatAccessProviderListOrder(input ...schema.AccessWhatOrderByInput) func(options *AccessProviderWhatAccessProviderListOptions)
- func WithAccessProviderWhatListOrder(input ...schema.AccessWhatOrderByInput) func(options *AccessProviderWhatListOptions)
- func WithAccessProviderWhoListOrder(input ...schema.AccessProviderWhoOrderByInput) func(options *AccessProviderWhoListOptions)
- func WithDataSourceListFilter(input *types.DataSourceFilterInput) func(options *DataSourceListOptions)
- func WithDataSourceListOrder(input ...types.DataSourceOrderByInput) func(options *DataSourceListOptions)
- func WithDataSourceListSearch(input *string) func(options *DataSourceListOptions)
- func WithListIdentityStoresFilter(input *schema.IdentityStoreFilterInput) func(options *ListIdentityStoresOptions)
- func WithListIdentityStoresOrder(input ...schema.IdentityStoreOrderByInput) func(options *ListIdentityStoresOptions)
- type AccessProviderClient
- func (a *AccessProviderClient) ActivateAccessProvider(ctx context.Context, id string) (*types.AccessProvider, error)
- func (a *AccessProviderClient) CreateAccessProvider(ctx context.Context, ap types.AccessProviderInput) (*types.AccessProvider, error)
- func (a *AccessProviderClient) DeactivateAccessProvider(ctx context.Context, id string) (*types.AccessProvider, error)
- func (a *AccessProviderClient) DeleteAccessProvider(ctx context.Context, id string) error
- func (a *AccessProviderClient) GetAccessProvider(ctx context.Context, id string) (*types.AccessProvider, error)
- func (a *AccessProviderClient) GetAccessProviderWhatAccessProviderList(ctx context.Context, id string, ...) <-chan types.ListItem[types.AccessWhatAccessProviderItem]
- func (a *AccessProviderClient) GetAccessProviderWhatDataObjectList(ctx context.Context, id string, ops ...func(*AccessProviderWhatListOptions)) <-chan types.ListItem[types.AccessProviderWhatListItem]
- func (a *AccessProviderClient) GetAccessProviderWhoList(ctx context.Context, id string, ops ...func(*AccessProviderWhoListOptions)) <-chan types.ListItem[types.AccessProviderWhoListItem]
- func (a *AccessProviderClient) ListAccessProviders(ctx context.Context, ops ...func(*AccessProviderListOptions)) <-chan types.ListItem[types.AccessProvider]
- func (a *AccessProviderClient) UpdateAccessProvider(ctx context.Context, id string, ap schema.AccessProviderInput) (*types.AccessProvider, error)
- type AccessProviderListOptions
- type AccessProviderWhatAccessProviderListOptions
- type AccessProviderWhatListOptions
- type AccessProviderWhoListOptions
- type DataObjectClient
- type DataSourceClient
- func (c *DataSourceClient) AddIdentityStoreToDataSource(ctx context.Context, dsId string, isId string) error
- func (c *DataSourceClient) CreateDataSource(ctx context.Context, ds types.DataSourceInput) (*types.DataSource, error)
- func (c *DataSourceClient) DeleteDataSource(ctx context.Context, id string) error
- func (c *DataSourceClient) GetDataSource(ctx context.Context, id string) (*types.DataSource, error)
- func (c *DataSourceClient) GetMaskingMetadata(ctx context.Context, id string) (*types.MaskingMetadata, error)
- func (c *DataSourceClient) ListDataSources(ctx context.Context, ops ...func(*DataSourceListOptions)) <-chan types.ListItem[types.DataSource]
- func (c *DataSourceClient) ListIdentityStores(ctx context.Context, dsId string) ([]types.IdentityStore, error)
- func (c *DataSourceClient) RemoveIdentityStoreFromDataSource(ctx context.Context, dsId string, isId string) error
- func (c *DataSourceClient) UpdateDataSource(ctx context.Context, id string, ds types.DataSourceInput) (*types.DataSource, error)
- type DataSourceListOptions
- type IdentityStoreClient
- func (c *IdentityStoreClient) CreateIdentityStore(ctx context.Context, is types.IdentityStoreInput) (*types.IdentityStore, error)
- func (c *IdentityStoreClient) DeleteIdentityStore(ctx context.Context, id string) error
- func (c *IdentityStoreClient) GetIdentityStore(ctx context.Context, id string) (*types.IdentityStore, error)
- func (c *IdentityStoreClient) ListIdentityStores(ctx context.Context, ops ...func(options *ListIdentityStoresOptions)) <-chan types.ListItem[types.IdentityStore]
- func (c *IdentityStoreClient) UpdateIdentityStore(ctx context.Context, id string, is types.IdentityStoreInput) (*types.IdentityStore, error)
- type ListIdentityStoresOptions
- type UserClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAccessProviderListFilter ¶
func WithAccessProviderListFilter(input *types.AccessProviderFilterInput) func(options *AccessProviderListOptions)
WithAccessProviderListFilter can be used to filter the returned AccessProviders.
func WithAccessProviderListOrder ¶
func WithAccessProviderListOrder(input ...types.AccessProviderOrderByInput) func(options *AccessProviderListOptions)
WithAccessProviderListOrder can be used to specify the order of the returned AccessProviders.
func WithAccessProviderWhatAccessProviderListFilter ¶
func WithAccessProviderWhatAccessProviderListFilter(filter *types.AccessProviderWhatAccessProviderFilterInput) func(options *AccessProviderWhatAccessProviderListOptions)
WithAccessProviderWhatAccessProviderListFilter can be used to specify the filter of the returned AccessProviderWhatAccessProviderList.
func WithAccessProviderWhatAccessProviderListOrder ¶
func WithAccessProviderWhatAccessProviderListOrder(input ...schema.AccessWhatOrderByInput) func(options *AccessProviderWhatAccessProviderListOptions)
WithAccessProviderWhatAccessProviderListOrder can be used to specify the order of the returned AccessProviderWhatAccessProviderList
func WithAccessProviderWhatListOrder ¶
func WithAccessProviderWhatListOrder(input ...schema.AccessWhatOrderByInput) func(options *AccessProviderWhatListOptions)
WithAccessProviderWhatListOrder can be used to specify the order of the returned AccessProviderWhatList
func WithAccessProviderWhoListOrder ¶
func WithAccessProviderWhoListOrder(input ...schema.AccessProviderWhoOrderByInput) func(options *AccessProviderWhoListOptions)
WithAccessProviderWhoListOrder can be used to specify the order of the returned AccessProviderWhoList
func WithDataSourceListFilter ¶
func WithDataSourceListFilter(input *types.DataSourceFilterInput) func(options *DataSourceListOptions)
WithDataSourceListFilter sets the filter of the returned DataSources in the ListDataSources call.
func WithDataSourceListOrder ¶
func WithDataSourceListOrder(input ...types.DataSourceOrderByInput) func(options *DataSourceListOptions)
WithDataSourceListOrder sets the order of the returned DataSources in the ListDataSources call.
func WithDataSourceListSearch ¶
func WithDataSourceListSearch(input *string) func(options *DataSourceListOptions)
WithDataSourceListSearch sets the search query of the returned DataSources in the ListDataSources call.
func WithListIdentityStoresFilter ¶
func WithListIdentityStoresFilter(input *schema.IdentityStoreFilterInput) func(options *ListIdentityStoresOptions)
WithListIdentityStoresFilter sets the filter of the returned IdentityStores in the ListIdentityStores call.
func WithListIdentityStoresOrder ¶
func WithListIdentityStoresOrder(input ...schema.IdentityStoreOrderByInput) func(options *ListIdentityStoresOptions)
WithListIdentityStoresOrder sets the order of the returned IdentityStores in the ListIdentityStores call.
Types ¶
type AccessProviderClient ¶
type AccessProviderClient struct {
// contains filtered or unexported fields
}
func NewAccessProviderClient ¶
func NewAccessProviderClient(client graphql.Client) AccessProviderClient
func (*AccessProviderClient) ActivateAccessProvider ¶
func (a *AccessProviderClient) ActivateAccessProvider(ctx context.Context, id string) (*types.AccessProvider, error)
func (*AccessProviderClient) CreateAccessProvider ¶
func (a *AccessProviderClient) CreateAccessProvider(ctx context.Context, ap types.AccessProviderInput) (*types.AccessProvider, error)
CreateAccessProvider creates a new AccessProvider in Raito Cloud. They valid AccessProvider is returned if the creation is successful. Otherwise, an error is returned
func (*AccessProviderClient) DeactivateAccessProvider ¶
func (a *AccessProviderClient) DeactivateAccessProvider(ctx context.Context, id string) (*types.AccessProvider, error)
func (*AccessProviderClient) DeleteAccessProvider ¶
func (a *AccessProviderClient) DeleteAccessProvider(ctx context.Context, id string) error
DeleteAccessProvider deletes an existing AccessProvider in Raito Cloud. If the deletion is successful, nil is returned. Otherwise, an error is returned.
func (*AccessProviderClient) GetAccessProvider ¶
func (a *AccessProviderClient) GetAccessProvider(ctx context.Context, id string) (*types.AccessProvider, error)
GetAccessProvider returns a specific AccessProvider
func (*AccessProviderClient) GetAccessProviderWhatAccessProviderList ¶
func (a *AccessProviderClient) GetAccessProviderWhatAccessProviderList(ctx context.Context, id string, ops ...func(*AccessProviderWhatAccessProviderListOptions)) <-chan types.ListItem[types.AccessWhatAccessProviderItem]
GetAccessProviderWhatAccessProviderList returns all what access providers of an AccessProvider in Raito Cloud.
func (*AccessProviderClient) GetAccessProviderWhatDataObjectList ¶
func (a *AccessProviderClient) GetAccessProviderWhatDataObjectList(ctx context.Context, id string, ops ...func(*AccessProviderWhatListOptions)) <-chan types.ListItem[types.AccessProviderWhatListItem]
GetAccessProviderWhatDataObjectList returns all what items of an AccessProvider in Raito Cloud. The order of the list can be specified with WithAccessProviderWhatListOrder. A channel is returned that can be used to receive the list of AccessProviderWhatDataObjectListItem. To close the channel ensure to cancel the context.
func (*AccessProviderClient) GetAccessProviderWhoList ¶
func (a *AccessProviderClient) GetAccessProviderWhoList(ctx context.Context, id string, ops ...func(*AccessProviderWhoListOptions)) <-chan types.ListItem[types.AccessProviderWhoListItem]
GetAccessProviderWhoList returns all who items of an AccessProvider in Raito Cloud. The order of the list can be specified with WithAccessProviderWhoListOrder. A channel is returned that can be used to receive the list of AccessProviderWhoListItem. To close the channel ensure to cancel the context.
func (*AccessProviderClient) ListAccessProviders ¶
func (a *AccessProviderClient) ListAccessProviders(ctx context.Context, ops ...func(*AccessProviderListOptions)) <-chan types.ListItem[types.AccessProvider]
ListAccessProviders returns a list of AccessProviders in Raito Cloud. The order of the list can be specified with WithAccessProviderListOrder. A filter can be specified with WithAccessProviderListFilter. A channel is returned that can be used to receive the list of AccessProviders. To close the channel ensure to cancel the context.
func (*AccessProviderClient) UpdateAccessProvider ¶
func (a *AccessProviderClient) UpdateAccessProvider(ctx context.Context, id string, ap schema.AccessProviderInput) (*types.AccessProvider, error)
UpdateAccessProvider updates an existing AccessProvider in Raito Cloud. The updated AccessProvider is returned if the update is successful. Otherwise, an error is returned.
type AccessProviderListOptions ¶
type AccessProviderListOptions struct {
// contains filtered or unexported fields
}
type AccessProviderWhatAccessProviderListOptions ¶
type AccessProviderWhatAccessProviderListOptions struct {
// contains filtered or unexported fields
}
AccessProviderWhatAccessProviderListOptions options for listing what access providers of an AccessProvider in Raito Cloud.
type AccessProviderWhatListOptions ¶
type AccessProviderWhatListOptions struct {
// contains filtered or unexported fields
}
type AccessProviderWhoListOptions ¶
type AccessProviderWhoListOptions struct {
// contains filtered or unexported fields
}
type DataObjectClient ¶
type DataObjectClient struct {
// contains filtered or unexported fields
}
func NewDataObjectClient ¶
func NewDataObjectClient(client graphql.Client) DataObjectClient
func (*DataObjectClient) GetDataObjectIdByName ¶
func (c *DataObjectClient) GetDataObjectIdByName(ctx context.Context, fullname string, dataSource string) (string, error)
GetDataObjectIdByName returns the ID of the DataObject with the given name and dataSource.
type DataSourceClient ¶
type DataSourceClient struct {
// contains filtered or unexported fields
}
func NewDataSourceClient ¶
func NewDataSourceClient(client graphql.Client) DataSourceClient
func (*DataSourceClient) AddIdentityStoreToDataSource ¶
func (c *DataSourceClient) AddIdentityStoreToDataSource(ctx context.Context, dsId string, isId string) error
AddIdentityStoreToDataSource adds an existing IdentityStore to an existing DataSource. Returns nil if successful. Otherwise, returns an error.
func (*DataSourceClient) CreateDataSource ¶
func (c *DataSourceClient) CreateDataSource(ctx context.Context, ds types.DataSourceInput) (*types.DataSource, error)
CreateDataSource creates a new DataSource. Returns the newly created DataSource if successful. Otherwise, returns an error.
func (*DataSourceClient) DeleteDataSource ¶
func (c *DataSourceClient) DeleteDataSource(ctx context.Context, id string) error
DeleteDataSource deletes an existing DataSource. Returns nil if successful. Otherwise, returns an error.
func (*DataSourceClient) GetDataSource ¶
func (c *DataSourceClient) GetDataSource(ctx context.Context, id string) (*types.DataSource, error)
GetDataSource returns an existing DataSource.
func (*DataSourceClient) GetMaskingMetadata ¶
func (c *DataSourceClient) GetMaskingMetadata(ctx context.Context, id string) (*types.MaskingMetadata, error)
GetMaskingMetadata Get masking information for a DataSource
func (*DataSourceClient) ListDataSources ¶
func (c *DataSourceClient) ListDataSources(ctx context.Context, ops ...func(*DataSourceListOptions)) <-chan types.ListItem[types.DataSource]
ListDataSources return a list of DataSources The order of the list can be specified with WithDataSourceListOrder. A filter can be specified with WithDataSourceListFilter. A channel is returned that can be used to receive the list of DataSourceListItem. To close the channel ensure to cancel the context.
func (*DataSourceClient) ListIdentityStores ¶
func (c *DataSourceClient) ListIdentityStores(ctx context.Context, dsId string) ([]types.IdentityStore, error)
ListIdentityStores returns a list of IdentityStores for a given DataSource.
func (*DataSourceClient) RemoveIdentityStoreFromDataSource ¶
func (*DataSourceClient) UpdateDataSource ¶
func (c *DataSourceClient) UpdateDataSource(ctx context.Context, id string, ds types.DataSourceInput) (*types.DataSource, error)
UpdateDataSource updates an existing DataSource. Returns the updated DataSource if successful. Otherwise, returns an error.
type DataSourceListOptions ¶
type DataSourceListOptions struct {
// contains filtered or unexported fields
}
DataSourceListOptions list options for listing DataSources.
type IdentityStoreClient ¶
type IdentityStoreClient struct {
// contains filtered or unexported fields
}
func NewIdentityStoreClient ¶
func NewIdentityStoreClient(client graphql.Client) IdentityStoreClient
func (*IdentityStoreClient) CreateIdentityStore ¶
func (c *IdentityStoreClient) CreateIdentityStore(ctx context.Context, is types.IdentityStoreInput) (*types.IdentityStore, error)
CreateIdentityStore creates a new IdentityStore for a given DataSource. Returns the newly created IdentityStore if successful. Otherwise, returns an error.
func (*IdentityStoreClient) DeleteIdentityStore ¶
func (c *IdentityStoreClient) DeleteIdentityStore(ctx context.Context, id string) error
DeleteIdentityStore deletes an existing IdentityStore for a given DataSource. If successful, returns nil. Otherwise, returns an error.
func (*IdentityStoreClient) GetIdentityStore ¶
func (c *IdentityStoreClient) GetIdentityStore(ctx context.Context, id string) (*types.IdentityStore, error)
GetIdentityStore returns an existing IdentityStore for a given DataSource. If successful, returns the IdentityStore. Otherwise, returns an error.
func (*IdentityStoreClient) ListIdentityStores ¶
func (c *IdentityStoreClient) ListIdentityStores(ctx context.Context, ops ...func(options *ListIdentityStoresOptions)) <-chan types.ListItem[types.IdentityStore]
ListIdentityStores returns a list of IdentityStores for a given DataSource. The order of the list can be specified with WithListIdentityStoresOrder. A filter can be specified with WithListIdentityStoresFilter. A channel is returned that can be used to receive the list of IdentityStores. To close the channel ensure to cancel the context.
func (*IdentityStoreClient) UpdateIdentityStore ¶
func (c *IdentityStoreClient) UpdateIdentityStore(ctx context.Context, id string, is types.IdentityStoreInput) (*types.IdentityStore, error)
UpdateIdentityStore updates an existing IdentityStore for a given DataSource. Returns the updated IdentityStore if successful. Otherwise, returns an error.
type ListIdentityStoresOptions ¶
type ListIdentityStoresOptions struct {
// contains filtered or unexported fields
}
type UserClient ¶
type UserClient struct {
// contains filtered or unexported fields
}
func NewUserClient ¶
func NewUserClient(client graphql.Client) UserClient