subprovider

package
v5.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package subprovider defines contract for a subprovider

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Framework

type Framework interface {
	// Resources returns the resources for the sub-provider
	Resources() []func() resource.Resource

	// DataSources returns the datasources for the sub-provider
	DataSources() []func() datasource.DataSource
}

Framework is the interface implemented by the sub-providers using terraform-plugin-framework

type Plugin

type Plugin interface {
	// Resources returns the resources for the sub-provider
	Resources() map[string]*schema.Resource

	// DataSources returns the datasources for the sub-provider
	DataSources() map[string]*schema.Resource
}

Plugin is the interface implemented by the sub-providers using terraform-plugin-sdk

Jump to

Keyboard shortcuts

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