project

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: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProjectResource

func NewProjectResource() resource.Resource

NewProjectResource return new project resource.

Types

type ProjectModel

type ProjectModel struct {
	Name        types.String `tfsdk:"name"`
	Description types.String `tfsdk:"description"`
	Remote      types.String `tfsdk:"remote"`
	Config      types.Map    `tfsdk:"config"`
}

ProjectModel resource data model that matches the schema.

func (ProjectModel) ComputedKeys

func (_ ProjectModel) ComputedKeys() []string

ComputedKeys returns list of computed config keys.

type ProjectResource

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

ProjectResource represent Incus project resource.

func (*ProjectResource) Configure

func (ProjectResource) Create

func (ProjectResource) Delete

func (*ProjectResource) ImportState added in v0.1.0

func (ProjectResource) Metadata

Metadata for project resource.

func (ProjectResource) Read

func (ProjectResource) Schema

Schema for project resource.

func (ProjectResource) SyncState

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

func (ProjectResource) Update

Jump to

Keyboard shortcuts

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