Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewProjectResource() resource.Resource
- type PostHogProvider
- func (p *PostHogProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *PostHogProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *PostHogProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *PostHogProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *PostHogProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type PostHogProviderModel
- type Project
- type ProjectCreateInput
- type ProjectResource
- func (r *ProjectResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ProjectResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ProjectResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ProjectResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ProjectResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ProjectResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ProjectResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ProjectResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ProjectResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProjectResource ¶
Types ¶
type PostHogProvider ¶
type PostHogProvider struct {
// contains filtered or unexported fields
}
func (*PostHogProvider) Configure ¶
func (p *PostHogProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*PostHogProvider) DataSources ¶
func (p *PostHogProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*PostHogProvider) Metadata ¶
func (p *PostHogProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*PostHogProvider) Resources ¶
func (p *PostHogProvider) Resources(ctx context.Context) []func() resource.Resource
func (*PostHogProvider) Schema ¶
func (p *PostHogProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type PostHogProviderModel ¶
type ProjectCreateInput ¶
type ProjectCreateInput struct {
Name string `json:"name"`
}
type ProjectResource ¶
type ProjectResource struct {
// contains filtered or unexported fields
}
func (*ProjectResource) Configure ¶
func (r *ProjectResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ProjectResource) Create ¶
func (r *ProjectResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ProjectResource) Delete ¶
func (r *ProjectResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ProjectResource) ImportState ¶
func (r *ProjectResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ProjectResource) Metadata ¶
func (r *ProjectResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ProjectResource) Read ¶
func (r *ProjectResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ProjectResource) Schema ¶
func (r *ProjectResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ProjectResource) Update ¶
func (r *ProjectResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Click to show internal directories.
Click to hide internal directories.