provider

package
v1.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2026 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvPostHogAPIKey         = "POSTHOG_API_KEY"
	EnvPostHogHost           = "POSTHOG_HOST"
	EnvPostHogProjectId      = "POSTHOG_PROJECT_ID"
	EnvPostHogOrganizationId = "POSTHOG_ORGANIZATION_ID"
)

Variables

This section is empty.

Functions

func New

func New(version string) func() provider.Provider

Types

type PostHogProvider

type PostHogProvider struct {
	// contains filtered or unexported fields
}

func (*PostHogProvider) Configure

func (*PostHogProvider) DataSources

func (p *PostHogProvider) DataSources(_ context.Context) []func() datasource.DataSource

func (*PostHogProvider) EphemeralResources

func (p *PostHogProvider) EphemeralResources(_ context.Context) []func() ephemeral.EphemeralResource

func (*PostHogProvider) Functions

func (p *PostHogProvider) Functions(_ context.Context) []func() function.Function

func (*PostHogProvider) Metadata

func (*PostHogProvider) Resources

func (p *PostHogProvider) Resources(_ context.Context) []func() frameworkresource.Resource

func (*PostHogProvider) Schema

type PostHogProviderModel

type PostHogProviderModel struct {
	Host           types.String `tfsdk:"host"`
	APIKey         types.String `tfsdk:"api_key"`
	ProjectID      types.String `tfsdk:"project_id"`
	OrganizationID types.String `tfsdk:"organization_id"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL