fwprovider

package
v0.0.0-...-7000f67 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CredentialsValidator

func CredentialsValidator() validator.String

func New

New is a helper function to simplify provider server and testing implementation.

func NonNegativeDurationValidator

func NonNegativeDurationValidator() validator.String

Types

type FrameworkProvider

type FrameworkProvider struct {
	fwtransport.FrameworkProviderConfig
	Version string
}

FrameworkProvider is the provider implementation.

func (*FrameworkProvider) Configure

Configure prepares an API client for data sources and resources.

func (*FrameworkProvider) DataSources

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

DataSources defines the data sources implemented in the provider.

func (*FrameworkProvider) MetaSchema

MetaSchema returns the provider meta schema.

func (*FrameworkProvider) Metadata

Metadata returns the provider type name.

func (*FrameworkProvider) Resources

func (p *FrameworkProvider) Resources(_ context.Context) []func() resource.Resource

Resources defines the resources implemented in the provider.

func (*FrameworkProvider) Schema

Schema defines the provider-level schema for configuration data.

Jump to

Keyboard shortcuts

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