instance

package
v0.60.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGitDataSource

func NewGitDataSource() datasource.DataSource

NewGitDataSource creates a new instance of the gitDataSource.

func NewGitResource

func NewGitResource() resource.Resource

NewGitResource is a helper function to create a new git resource instance.

Types

type Model

type Model struct {
	Id                    types.String `tfsdk:"id"` // Required by Terraform
	ACL                   types.List   `tfsdk:"acl"`
	ConsumedDisk          types.String `tfsdk:"consumed_disk"`
	ConsumedObjectStorage types.String `tfsdk:"consumed_object_storage"`
	Created               types.String `tfsdk:"created"`
	Flavor                types.String `tfsdk:"flavor"`
	InstanceId            types.String `tfsdk:"instance_id"`
	Name                  types.String `tfsdk:"name"`
	ProjectId             types.String `tfsdk:"project_id"`
	Url                   types.String `tfsdk:"url"`
	Version               types.String `tfsdk:"version"`
}

Model represents the schema for the git resource.

Jump to

Keyboard shortcuts

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