provider

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: MPL-2.0 Imports: 14 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 NewVirtualboxVMResource

func NewVirtualboxVMResource() resource.Resource

Types

type VirtualboxProvider

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

VirtualboxProvider defines the provider implementation.

func (*VirtualboxProvider) Configure

func (*VirtualboxProvider) DataSources

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

func (*VirtualboxProvider) Metadata

func (*VirtualboxProvider) Resources

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

func (*VirtualboxProvider) Schema

type VirtualboxProviderModel

type VirtualboxProviderModel struct {
}

VirtualboxProviderModel describes the provider data model.

type VirtualboxVMResource

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

VirtualboxVMResource defines the resource implementation.

func (*VirtualboxVMResource) Configure

func (*VirtualboxVMResource) Create

func (*VirtualboxVMResource) Delete

func (*VirtualboxVMResource) ImportState

func (*VirtualboxVMResource) Metadata

func (*VirtualboxVMResource) Read

func (*VirtualboxVMResource) Schema

func (*VirtualboxVMResource) Update

type VirtualboxVMResourceModel

type VirtualboxVMResourceModel struct {
	Id      types.String `tfsdk:"id"`
	Name    types.String `tfsdk:"name"`
	Image   types.String `tfsdk:"image"`
	SSHUser types.String `tfsdk:"ssh_user"`
	SSHKey  types.String `tfsdk:"ssh_key"`
	Cpu     types.Int64  `tfsdk:"cpu"`
	Memory  types.Int64  `tfsdk:"memory"`
	SSHPort types.String `tfsdk:"ssh_port"`
}

VirtualboxVMResourceModel describes the resource data model.

Jump to

Keyboard shortcuts

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