Help us shape the future of Go! Take the 2026 Go Developer Survey

instance

package
v0.56.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2025 License: Apache-2.0 Imports: 25 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
	ProjectId  types.String `tfsdk:"project_id"`  // ProjectId associated with the git instance
	InstanceId types.String `tfsdk:"instance_id"` // InstanceId associated with the git instance
	Name       types.String `tfsdk:"name"`        // Name linked to the git instance
	Url        types.String `tfsdk:"url"`         // Url linked to the git instance
	Version    types.String `tfsdk:"version"`     // Version linked to the git instance
}

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