profile

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MPL-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProfileResource

func NewProfileResource() resource.Resource

NewProfileResource returns a new profile resource.

Types

type ProfileModel

type ProfileModel struct {
	Name        types.String `tfsdk:"name"`
	Description types.String `tfsdk:"description"`
	Project     types.String `tfsdk:"project"`
	Remote      types.String `tfsdk:"remote"`
	Devices     types.Set    `tfsdk:"device"`
	Config      types.Map    `tfsdk:"config"`
}

type ProfileResource

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

ProfileResource represent Incus profile resource.

func (*ProfileResource) Configure

func (ProfileResource) Create

func (ProfileResource) Delete

func (ProfileResource) ImportState

func (ProfileResource) Metadata

Metadata for profile resource.

func (ProfileResource) Read

func (ProfileResource) Schema

Schema for profile resource.

func (ProfileResource) SyncState

SyncState fetches the server's current state for a profile and updates the provided model. It then applies this updated model as the new state in Terraform.

func (ProfileResource) Update

Jump to

Keyboard shortcuts

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