provider

package
v0.2.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

func NewFoldersDataSource

func NewFoldersDataSource() datasource.DataSource

func NewOsInfoDataSource

func NewOsInfoDataSource() datasource.DataSource

func NewPrivateIPDataSource added in v0.2.0

func NewPrivateIPDataSource() datasource.DataSource

func NewPublicIPDataSource

func NewPublicIPDataSource() datasource.DataSource

Types

type ConfigurationData added in v0.2.0

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

type FoldersDataSource

type FoldersDataSource struct {
}

FoldersDataSource defines the data source implementation.

func (*FoldersDataSource) Configure

func (*FoldersDataSource) Metadata

func (*FoldersDataSource) Read

func (*FoldersDataSource) Schema

type FoldersDataSourceModel

type FoldersDataSourceModel struct {
	Id   types.String `tfsdk:"id"`
	Home types.String `tfsdk:"home"`
	SSH  types.String `tfsdk:"ssh"`
}

FoldersDataSourceModel describes the data source data model.

type LocalOsProvider

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

LocalOsProvider defines the provider implementation.

func (*LocalOsProvider) Configure

func (*LocalOsProvider) DataSources

func (p *LocalOsProvider) DataSources(ctx context.Context) []func() datasource.DataSource

func (*LocalOsProvider) Metadata

func (*LocalOsProvider) Resources

func (p *LocalOsProvider) Resources(ctx context.Context) []func() resource.Resource

func (*LocalOsProvider) Schema

type LocalOsProviderModel

type LocalOsProviderModel struct {
}

LocalOsProviderModel describes the provider data model.

type NICModel added in v0.2.0

type NICModel struct {
	Name    types.String `tfsdk:"name"`
	Ip      types.String `tfsdk:"ip"`
	Cidr    types.String `tfsdk:"cidr"`
	Network types.String `tfsdk:"network"`
}

type OsInfoDataSource

type OsInfoDataSource struct {
}

OsInfoDataSource defines the data source implementation.

func (*OsInfoDataSource) Configure

func (*OsInfoDataSource) Metadata

func (*OsInfoDataSource) Read

func (*OsInfoDataSource) Schema

type OsInfoDataSourceModel

type OsInfoDataSourceModel struct {
	Id          types.String `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	Arch        types.String `tfsdk:"arch"`
	Windows     types.Bool   `tfsdk:"is_windows"`
	Environment types.Map    `tfsdk:"environment"`
}

OsInfoDataSourceModel describes the data source data model.

type PrivateIPDataSource added in v0.2.0

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

PrivateIPDataSource defines the data source implementation.

func (*PrivateIPDataSource) Configure added in v0.2.0

func (*PrivateIPDataSource) Metadata added in v0.2.0

func (*PrivateIPDataSource) Read added in v0.2.0

func (*PrivateIPDataSource) Schema added in v0.2.0

type PrivateIPDataSourceModel added in v0.2.0

type PrivateIPDataSourceModel struct {
	Id          types.String `tfsdk:"id"`
	Primary     types.Object `tfsdk:"primary"`
	Secondaries types.List   `tfsdk:"secondaries"` //< NICModel
}

PrivateIPDataSourceModel describes the data source data model.

type PublicIPDataSource

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

PublicIPDataSource defines the data source implementation.

func (*PublicIPDataSource) Configure

func (*PublicIPDataSource) Metadata

func (*PublicIPDataSource) Read

func (*PublicIPDataSource) Schema

type PublicIPDataSourceModel

type PublicIPDataSourceModel struct {
	Id   types.String `tfsdk:"id"`
	Cidr types.String `tfsdk:"cidr"`
	IP   types.String `tfsdk:"ip"`
}

PublicIPDataSourceModel describes the data source data model.

Jump to

Keyboard shortcuts

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