Documentation ¶
Index ¶
- Constants
- func New(version string) func() provider.Provider
- type PermitProvider
- func (p *PermitProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *PermitProvider) DataSources(_ context.Context) []func() datasource.DataSource
- func (p *PermitProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *PermitProvider) Resources(_ context.Context) []func() resource.Resource
- func (p *PermitProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type PermitProviderModel
Constants ¶
View Source
const ( DefaultApiUrl = "https://api.permit.io" PDPApiUrl = "https://localhost:3000" DefaultTimeout = 10 * time.Second )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PermitProvider ¶
type PermitProvider struct {
// contains filtered or unexported fields
}
PermitProvider defines the provider implementation.
func (*PermitProvider) Configure ¶
func (p *PermitProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*PermitProvider) DataSources ¶
func (p *PermitProvider) DataSources(_ context.Context) []func() datasource.DataSource
func (*PermitProvider) Metadata ¶
func (p *PermitProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*PermitProvider) Resources ¶
func (p *PermitProvider) Resources(_ context.Context) []func() resource.Resource
func (*PermitProvider) Schema ¶
func (p *PermitProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
Click to show internal directories.
Click to hide internal directories.