Documentation ¶
Index ¶
- Constants
- func BoolDefaultValue(v types.Bool) planmodifier.Bool
- func DefaultEmptyList() planmodifier.List
- func EmptyIfNull() planmodifier.String
- func New(version string) func() provider.Provider
- type Provider
- func (p Provider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p Provider) DataSources(_ context.Context) []func() datasource.DataSource
- func (p Provider) Metadata(_ context.Context, _ provider.MetadataRequest, resp *provider.MetadataResponse)
- func (p Provider) Resources(_ context.Context) []func() resource.Resource
- func (p Provider) Schema(_ context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse)
- type ProviderModel
Constants ¶
View Source
const ( AnomaloHostEnvName = "ANOMALO_INSTANCE_HOST" AnomaloTokenEnvVarName = "ANOMALO_API_SECRET_TOKEN" )
Variables ¶
This section is empty.
Functions ¶
func BoolDefaultValue ¶
func BoolDefaultValue(v types.Bool) planmodifier.Bool
BoolDefaultValue PlanModifier that allows us to set a default value for undefined configuration inputs of types.Bool
func DefaultEmptyList ¶
func DefaultEmptyList() planmodifier.List
DefaultEmptyList PlanModifier that allows us to set a default value for undefined configuration inputs of types.List
func EmptyIfNull ¶
func EmptyIfNull() planmodifier.String
EmptyIfNull PlanModifier that converts undefined strings to the empty string ""
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
The Anomalo Provider
func (Provider) Configure ¶
func (p Provider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (Provider) DataSources ¶
func (p Provider) DataSources(_ context.Context) []func() datasource.DataSource
func (Provider) Metadata ¶
func (p Provider) Metadata(_ context.Context, _ provider.MetadataRequest, resp *provider.MetadataResponse)
func (Provider) Schema ¶
func (p Provider) Schema(_ context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse)
Click to show internal directories.
Click to hide internal directories.